Dear all,
I need help with parallel command. I have one script in shell. And I would like to run it 12time in same time. But for each script I need different name of output. output is .tsv and the name is same like name of input, could you help how to do that?
Thanks a lot
see Gnu Parallel - Parallelize Serial Command Line Programs Without Changing Them
please post your standard shell command line;
the parallel command would be somthing like
parallel scriptname <hardcoded options for the script> {1}.input {1}.output ::: prefixes
Show some example of what is input and output.
I have script with name bin.sh where is input 1.bam and output will be 1.tsv. Every input is in the different folder with same name from 1-12. In this folder are 1.bam (imput), 1.bai (input) => they are reading with shell script. Output will 1.tsv and etc. for each bam file.
parallel myscript {} {.}.bai '>' {.}.tsv ::: */*.bam