Versions Compared

Key

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

...

To edit the Bowtie2 and RSEM bash script:

Code Block
nano rsemBowtie2.sh

To test the pipeline run the following command. Jobs will not be submitted to the scheduler.

Code Block
runAsPipeline "rsemBowtie2.sh -r mm10" "sbatch -p short --mem 6G -t 2:0:0 -n 1" useTmp

# this is a test run

To run the pipeline:

Code Block
runAsPipeline "rsemBowtie2.sh -r dm3mm10" "sbatch -p short --mem 6G -t 2:0:0 -n 1" useTmp 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.21