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 [2018/06/01 19:31] aorthsamtools-software [2025/03/03 07:12] (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.8+  * Latest Version: 1.17
   * Added: February, 2015   * Added: February, 2015
-  * Updated: June2018+  * Updated: March2025
   * 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.17 
-<code>$ module load samtools/1.8</code>+$ samtools</code>
  
 ===== Installation ===== ===== Installation =====
Line 20: Line 20:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://github.com/samtools/samtools/releases/download/1.8/samtools-1.8.tar.bz2 +$ wget https://github.com/samtools/samtools/releases/download/1.17/samtools-1.17.tar.bz2 
-$ tar xf samtools-1.8.tar.bz2  +$ tar xf samtools-1.17.tar.bz2 
-$ cd samtools-1.8 +$ cd samtools-1.17 
-$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/samtools/1.--with-htslib=/export/apps/htslib/1.8+$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/samtools/1.17 --with-htslib=/export/apps/htslib/1.17
 $ make $ make
-$ sudo mkdir /export/apps/samtools/1.8 +$ sudo mkdir -p /export/apps/samtools/1.17 
-$ sudo chown aorth:aorth /export/apps/samtools/1.8+$ sudo chown aorth /export/apps/samtools/1.17
 $ make install $ make install
-$ sudo chown -R root:root /export/apps/samtools/1.8</code>+$ sudo chown -R root:root /export/apps/samtools/1.17</code>
  
-This links against a system-wide version of htslib/1.8.+Note: this links against htslib/1.17, which is installed as a module. As of 1.17 this was compiled on CentOS Stream.
samtools-software.1527881461.txt.gz · Last modified: 2018/06/01 19:31 by aorth