User Tools

Site Tools


samtools-software

Table of Contents

samtools

samtools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format.

Usage

Show all available versions of samtools:

$ module avail samtools

Load a particular version of samtools:

$ module load samtools/1.8

Installation

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.

samtools-software.txt · Last modified: 2018/06/01 22:31 by aorth