Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
module load gcc/6.2.0 python/2.7.12 rcbio/1.1
cp /n/app/rcbio/1.1/bin/star.sh ./


Now you can modify the options as needed. 


Code Block
nano star.sh

To test the pipeline run the following command. Jobs will not be submitted to the scheduler. Here -r is the reference, -l is the read length. 

Code Block
runAsPipeline "star.sh -r hg38 -l 100" "sbatch -p short --mem 6G -t 10:0 -n 1" noTmp

# this is test run

To run the pipeline. Here -r is the reference, -l is the read length. 

Code Block
runAsPipeline "star.sh -r hg38 -l 100" "sbatch -p short --mem 6G -t 10:0 -n 1" noTmp run 2>&1 | tee output.log

# notice here 'run 2>&1 | tee output.log' is added to the command

To understand how 'runAsPipeline' works, please visit: Run Bash Script As Slurm Pipeline through rcbio/1.1