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 revision Previous revision
Next revision
Previous revision
samtools-software [2017/02/05 11:38]
joguya
samtools-software [2021/01/17 10:22] (current)
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.3.1 +  * Latest Version: 1.11
-  * Updated: February, 2017+
   * Added: February, 2015   * Added: February, 2015
-  * Link: http://www.htslib.org/+  * Updated: January, 2021 
 +  * Link: http://www.htslib.org
  
 ===== Usage ===== ===== Usage =====
Line 12: Line 12:
 <code>$ module avail samtools</code> <code>$ module avail samtools</code>
  
-Load a particular version of samtools:+Load a particular version of samtools into your environment and run it:
  
-<code>$ module load samtools/1.3.1</code>+<code>$ module load samtools/1.11 
 +$ samtools</code>
  
 ===== Installation ===== ===== Installation =====
 Notes from the sysadmin during installation: Notes from the sysadmin during installation:
  
-<code> +<code>$ cd /tmp 
-$ cd /tmp +$ wget https://github.com/samtools/samtools/releases/download/1.11/samtools-1.11.tar.bz2 
-$ wget -qO- "https://github.com/samtools/samtools/releases/download/1.3.1/samtools-1.3.1.tar.bz2" | tar xjv +$ tar xf samtools-1.11.tar.bz2 
-$ cd samtools-1.3.1/ +$ cd samtools-1.11 
-$ scl enable devtoolset-bash +# install a newer compiler from Red Hat software collections 
-sudo mkdir /export/apps/samtools/1.3.+$ sudo yum install devtoolset-7-gcc devtoolset-7-gcc-gfortran devtoolset-7-libquadmath-devel devtoolset-7-gcc-c++ 
-$ sudo chown -R joguya:joguya /export/apps/samtools/1.3.1 +$ scl enable devtoolset-bash 
-./configure --enable-plugins --enable-libcurl --with-plugin-path=$PWD/htslib-1.3.1 --prefix=/export/apps/samtools/1.3.1 +./configure --enable-plugins --enable-libcurl --prefix=/export/apps/samtools/1.11 --with-htslib=/export/apps/htslib/1.11 
-$ make all install-htslib +$ make 
-$ make install install-htslib +$ sudo mkdir -/export/apps/samtools/1.11 
-$ sudo chown -R root:root /export/apps/samtools/1.3.1 +sudo chown aorth /export/apps/samtools/1.11 
-</code>+$ make install 
 +$ sudo chown -R root:root /export/apps/samtools/1.11</code> 
 + 
 +This links against htslib/1.11, which is installed as a module.
samtools-software.1486294723.txt.gz · Last modified: 2017/02/05 11:38 by joguya