Versions Compared

Key

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

...

Each step above can be done with commands below

Code Block
module load samtools samtools view -bS <samfile> > <bamfile>
samtools sort <bamfile> <prefix of sorted bamfile>
samtools index <sorted bamfile>
Code Block
titleCopy a an exercise SAM file to your SCRATCH directory
cds
mkdir samtools_exercise
cd samtools_exercise
cp /corral-repl/utexas/BioITeam/core_ngs_tools/yeast_stuff/yeast_chip.sam .

...

Expand
titlesolution
Code Block
module load samtools
samtools view -bS yeast_chip.sam > yeast_chip.bam
samtools sort yeast_chip.bam yeast_chip_sort
samtools index yeast_chip_sort.bam

...