Updated 2019-07-08

samtools.pbs

#PBS -N samtoolsTest
#PBS -l nodes=1:ppn=2
#PBS -l pmem=8gb
#PBS -l walltime=10:00
#PBS -q force-6
#PBS -j oe
#PBS -o samtoolsTest.out

cd $PBS_O_WORKDIR
module load samtools

# Convert SAM to its binary counterpart, BAM
samtools view -S -b sample.sam > sample.bam