This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
samtools-software [2017/12/24 14:38] aorth |
samtools-software [2021/01/17 10:22] aorth |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| samtools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format. | samtools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format. | ||
| - | * Latest Version: 1.6 | + | * Latest Version: 1.11 |
| * Added: February, 2015 | * Added: February, 2015 | ||
| - | * Updated: | + | * Updated: |
| * Link: http:// | * Link: http:// | ||
| Line 12: | Line 12: | ||
| < | < | ||
| - | Load a particular version of samtools: | + | Load a particular version of samtools |
| - | < | + | < |
| + | $ samtools</ | ||
| ===== Installation ===== | ===== Installation ===== | ||
| Line 20: | Line 21: | ||
| < | < | ||
| - | $ wget https:// | + | $ wget https:// |
| - | $ tar xf samtools-1.6.tar.bz2 | + | $ tar xf samtools-1.11.tar.bz2 |
| - | $ cd samtools-1.6 | + | $ cd samtools-1.11 |
| - | $ ./configure --enable-plugins --enable-libcurl --prefix=/ | + | # install a newer compiler from Red Hat software collections |
| - | $ make all all-htslib | + | $ sudo yum install devtoolset-7-gcc devtoolset-7-gcc-gfortran devtoolset-7-libquadmath-devel devtoolset-7-gcc-c++ |
| - | $ sudo mkdir / | + | $ scl enable devtoolset-7 bash |
| - | $ sudo chown aorth / | + | $ ./configure --enable-plugins --enable-libcurl --prefix=/ |
| - | $ make install | + | $ make |
| - | $ sudo chown -R root:root / | + | $ sudo mkdir -p / |
| + | $ sudo chown aorth / | ||
| + | $ make install | ||
| + | $ sudo chown -R root:root / | ||
| + | |||
| + | This links against htslib/ | ||