I have this script
annotatepeaks.pl file mm9 -annStats filename > output
I use this script to run one job:
annotatepeaks.pl file.xls mm9 -annStats file_stat.xls > file_ann.xls
Since I have multiple files and want to run in batch (add Batchparallel.pl
)
Batchparallel.pl annotatepeaks.pl ann.xls mm9 -annStats filename -f *.xls
that basically runs parallel command for the one job. The problem is -annStats
only give me one output file. How to specify the file name so that it takes the input name and use it for output for that specific flag (-annStats
).
I am very new to this so hopefully my question makes sense for everyone.
Thanks for your help!