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
Next revision
Previous revision
Next revisionBoth sides next revision
samtools-software [2015/06/09 16:41] aorthsamtools-software [2019/09/03 22:00] 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.
  
-  * Version: 1.2+  * Latest Version: 1.9
   * Added: February, 2015   * Added: February, 2015
-  * Link: http://www.htslib.org/+  * Updated: September, 2019 
 +  * Link: http://www.htslib.org
  
 ===== Usage ===== ===== Usage =====
Line 13: Line 14:
 Load a particular version of samtools: Load a particular version of samtools:
  
-<code>$ module load samtools/1.2</code>+<code>$ module load samtools/1.9</code>
  
 ===== Installation ===== ===== Installation =====
 Notes from the sysadmin during installation: Notes from the sysadmin during installation:
  
-<code>git clone git@github.com:samtools/htslib.git +<code>cd /tmp 
-git clone git@github.com:samtools/samtools.git +wget https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2 
-cd samtools +tar xf samtools-1.9.tar.bz2 
-git checkout 1.2 +cd samtools-1.
-$ sudo mkdir -/export/apps/samtools/1.2/ +# install a newer compiler from Red Hat software collections 
-$ sudo chown joguya:joguya /export/apps/samtools/1.2/+$ sudo yum install devtoolset-7-gcc devtoolset-7-gcc-gfortran devtoolset-7-libquadmath-devel devtoolset-7-gcc-c++ 
 +$ scl enable devtoolset-7 bash 
 +$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/samtools/1.9 --with-htslib=/export/apps/htslib/1.9
 $ make $ make
-make prefix=/export/apps/samtools/1.2/ install +sudo mkdir -p /export/apps/samtools/1.
-$ sudo chown -R root:root /export/apps/samtools/1.2/</code>+$ sudo chown aorth /export/apps/samtools/1.9 
 +$ make install 
 +$ sudo chown -R root:root /export/apps/samtools/1.9</code> 
 + 
 +This links against htslib installed as a module in htslib/1.9.
samtools-software.txt · Last modified: 2022/06/23 09:35 by aorth