terminal - Create output file names based on input file name in OSX -


i have script

annotatepeaks.pl file mm9 -annstats filename > output 

i use script run 1 job:

annotatepeaks.pl file.xls mm9 -annstats file_stat.xls > file_ann.xls 

since have multiple files , want run in batch (add batchparallel.pl)

batchparallel.pl annotatepeaks.pl ann.xls mm9 -annstats filename -f *.xls 

that runs parallel command 1 job. problem -annstats give me 1 output file. how specify file name takes input name , use output specific flag (-annstats).

i new question makes sense everyone.

thanks help!


Comments