User Tools

Site Tools


unicycler-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
unicycler-software [2019/02/15 21:07]
aorth created
unicycler-software [2019/02/15 21:16]
aorth
Line 19: Line 19:
 === Example Batch Job === === Example Batch Job ===
  
-<​code></​code>​+<​code>​#​!/​usr/​bin/​env bash 
 +#SBATCH -p batch 
 +#SBATCH -n 4 
 +#SBATCH -J unicycler 
 + 
 +module load unicycler/​0.4.7 
 + 
 +readonly DATADIR=~/​sample_data 
 +readonly OUTDIR=/​var/​scratch/​2019-02-15-aorth-unicycler 
 + 
 +# create output directory on compute node 
 +mkdir -p ${OUTDIR} 
 + 
 +# run unicycler with the number of threads requested by SLURM 
 +unicycler -t ${SLURM_NTASKS} -1 ${DATADIR}/​short_reads_1.fastq.gz -2 ${DATADIR}/​short_reads_2.fastq.gz -o ${OUTDIR} 
 + 
 +echo 
 +echo "​Remember to check (and clean!) output directory on ${SLURM_JOB_NODELIST}:"​ 
 +echo 
 +echo " ​ ${OUTDIR}"​</​code>​
  
 ===== Installation ====== ===== Installation ======
unicycler-software.txt · Last modified: 2019/02/15 21:36 by aorth