User Tools

Site Tools


samtools-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
samtools-software [2021/01/17 10:22] aorthsamtools-software [2021/09/05 10:32] 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.11+  * Latest Version: 1.13
   * Added: February, 2015   * Added: February, 2015
-  * Updated: January, 2021+  * Updated: September, 2021
   * Link: http://www.htslib.org   * Link: http://www.htslib.org
  
Line 14: Line 14:
 Load a particular version of samtools into your environment and run it: Load a particular version of samtools into your environment and run it:
  
-<code>$ module load samtools/1.11+<code>$ module load samtools/1.13
 $ samtools</code> $ samtools</code>
  
Line 21: Line 21:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://github.com/samtools/samtools/releases/download/1.11/samtools-1.11.tar.bz2 +$ wget https://github.com/samtools/samtools/releases/download/1.13/samtools-1.13.tar.bz2 
-$ tar xf samtools-1.11.tar.bz2 +$ tar xf samtools-1.13.tar.bz2 
-$ cd samtools-1.11+$ cd samtools-1.13
 # install a newer compiler from Red Hat software collections # install a newer compiler from Red Hat software collections
 $ sudo yum install devtoolset-7-gcc devtoolset-7-gcc-gfortran devtoolset-7-libquadmath-devel devtoolset-7-gcc-c++ $ sudo yum install devtoolset-7-gcc devtoolset-7-gcc-gfortran devtoolset-7-libquadmath-devel devtoolset-7-gcc-c++
 $ scl enable devtoolset-7 bash $ scl enable devtoolset-7 bash
-$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/samtools/1.11 --with-htslib=/export/apps/htslib/1.11+$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/samtools/1.13 --with-htslib=/export/apps/htslib/1.13
 $ make $ make
-$ sudo mkdir -p /export/apps/samtools/1.11 +$ sudo mkdir -p /export/apps/samtools/1.13 
-$ sudo chown aorth /export/apps/samtools/1.11+$ sudo chown aorth /export/apps/samtools/1.13
 $ make install $ make install
-$ sudo chown -R root:root /export/apps/samtools/1.11</code>+$ sudo chown -R root:root /export/apps/samtools/1.13</code>
  
-This links against htslib/1.11, which is installed as a module.+This links against htslib/1.13, which is installed as a module.
samtools-software.txt · Last modified: 2022/06/23 09:35 by aorth