I have a shell script: pipeline.sh
I'd like to run the shell script 1000 times. This will be done by submitting each script to a linux server queue.
A TMP folder is set up for each job's files:
When multiple runs are taking place at the same time, there seems to be a problem with $queryfile being passed to fastacutter.pl.
I'm wondering if it is at all possible to give the created $queryfile a unique (job specific) name and then for this unique $queryfile to be used by fastacutter.pl?
I think it's currently erroring as multiple scripts have fastacutter.pl calling the same $queryfile.