Hi,
Brand new to these forums, and I hope that someone can help me out.
I'm trying to run the following command in UNIX
It executes the SplitSamFile from GATK, but I want to run 3 additional commands, in a sequence. I can get them to run simultaneously but not in sequence, as I'm not able to pause the jobs (using ctrl + z) and put them in the background.
I've tried the following in my UNIX bash system (example with just two commands):
but this gives me the following error:
I've tried to consider doing a SH script, but can't figure out how to make the commands come in sequence rather than all starting at the same time.
Hope someone can help me out.
Brand new to these forums, and I hope that someone can help me out.
I'm trying to run the following command in UNIX
Code:
java -jar GenomeAnalysisTK.jar -T SplitSamFile -dt NONE -R reference.fa -I my.bam --outputRoot /my/path/SampleFiles/Sample_
I've tried the following in my UNIX bash system (example with just two commands):
Code:
java -jar GenomeAnalysisTK.jar -T SplitSamFile -dt NONE -R reference.fa -I my1.bam --outputRoot /my/path/SampleFiles/Sample_ &; java -jar GenomeAnalysisTK.jar -T SplitSamFile -dt NONE -R reference.fa -I my2.bam --outputRoot /my/path/SampleFiles/Sample_ &
Code:
-bash: syntax error near unexpected token `;'
Hope someone can help me out.