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
samtools-software [2019/09/03 22:00] aorthsamtools-software [2022/06/23 09:35] (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.9+  * Latest Version: 1.15.1
   * Added: February, 2015   * Added: February, 2015
-  * Updated: September2019+  * Updated: June2022
   * Link: http://www.htslib.org   * Link: http://www.htslib.org
  
 ===== Usage ===== ===== Usage =====
-Show all available versions of samtools: 
  
 +Show all available versions:
 <code>$ module avail samtools</code> <code>$ module avail samtools</code>
  
-Load a particular version of samtools: +Load one version into your environment and run it
- +<code>$ module load samtools/1.15.1 
-<code>$ module load samtools/1.9</code>+$ samtools</code>
  
 ===== Installation ===== ===== Installation =====
Line 20: Line 20:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2 +$ wget https://github.com/samtools/samtools/releases/download/1.15.1/samtools-1.15.1.tar.bz2 
-$ tar xf samtools-1.9.tar.bz2 +$ tar xf samtools-1.15.1.tar.bz2 
-$ cd samtools-1.+$ cd samtools-1.15.1 
-# install a newer compiler from Red Hat software collections +$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/samtools/1.15.1 --with-htslib=/export/apps/htslib/1.15.1
-$ 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.--with-htslib=/export/apps/htslib/1.9+
 $ make $ make
-$ sudo mkdir -p /export/apps/samtools/1.9 +$ sudo mkdir -p /export/apps/samtools/1.15.1 
-$ sudo chown aorth /export/apps/samtools/1.9+$ sudo chown aorth /export/apps/samtools/1.15.1
 $ make install $ make install
-$ sudo chown -R root:root /export/apps/samtools/1.9</code>+$ sudo chown -R root:root /export/apps/samtools/1.15.1</code>
  
-This links against htslib installed as a module in htslib/1.9.+This links against htslib/1.15.1, which is installed as a module. As of 1.15.1 this was compiled on CentOS 8 Stream.
samtools-software.1567548041.txt.gz · Last modified: 2019/09/03 22:00 by aorth