Versions Compared

Key

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

...

We're going to run this script and a similar Bowtie2 alignment script, on the yeast data using the TACC batch system. In a new directory, copy over the commands and submit the batch job. We ask for 2 hours (-t 2) with 4 tasks/node (-w 4); since we have 4 commands, this will run on 1 compute node.


Expand
titleCatch up (if needed)
Code Block
languagebash
# Copy over the Yeast data 
and a pre-built reference if you haven't already
if needed
mkdir -p $SCRATCH/core_ngs/alignment/
references rsync -avrP
fastq
cp $CORENGS/
references/
alignment/Sample_Yeast*.gz $SCRATCH/core_ngs/
references
alignment/fastq/

# Copy a pre-built sacCer3 reference if you didn't build one already
mkdir -p $SCRATCH/core_ngs/
alignment/fastq cp
references
rsync -avrP $CORENGS/
alignment
references/
*fastq.gz
 $SCRATCH/core_ngs/references/


Code Block
languagebash
alignment/fastq/

# Make a new alignment directory for running these scripts
mkdir -p $SCRATCH/core_ngs/alignment/bwa_script
cd $SCRATCH/core_ngs/alignment/bwa_script
ln -s -f ../fastq

# Copy the alignment commands file and submit the batch job
cp $CORENGS/tacc/aln_script.cmds .
launcher_maker.py -n aln_script.cmds -t 2 -w 4 -a UT-2015-05-18 -v --reservation=CCBB
sbatch aln_script.slurm
showq -u

...