This is an old revision of the document!
samtools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format.
Show all available versions of samtools:
$ module avail samtools
Load a particular version of samtools:
$ module load samtools/1.8
Notes from the sysadmin during installation:
$ cd /tmp $ wget https://github.com/samtools/samtools/releases/download/1.8/samtools-1.8.tar.bz2 $ tar xf samtools-1.8.tar.bz2 $ cd samtools-1.8 $ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/samtools/1.8 --with-htslib=/export/apps/htslib/1.8 $ make $ sudo mkdir /export/apps/samtools/1.8 $ sudo chown aorth:aorth /export/apps/samtools/1.8 $ make install $ sudo chown -R root:root /export/apps/samtools/1.8
This links against a system-wide version of htslib/1.8.