User Tools

Site Tools


htslib-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
htslib-software [2021/09/05 10:17] aorthhtslib-software [2025/03/03 07:02] (current) aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Latest Version: 1.13+  * Latest Version: 1.17
   * Added: March, 2015   * Added: March, 2015
-  * Updated: September2021+  * Updated: March2025
   * Link: https://github.com/samtools/htslib   * Link: https://github.com/samtools/htslib
  
 ===== Usage ===== ===== Usage =====
  
-See versions of htslib which are available:+See versions which are available:
 <code>$ module avail htslib</code> <code>$ module avail htslib</code>
  
-Load one version into your environment and run some common commands+Load one version into your environment and run it
-<code>$ module load htslib/1.13+<code>$ module load htslib/1.17
 $ tabix $ tabix
 $ bgzip</code> $ bgzip</code>
Line 23: Line 23:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://github.com/samtools/htslib/releases/download/1.13/htslib-1.13.tar.bz2 +$ wget https://github.com/samtools/htslib/releases/download/1.17/htslib-1.17.tar.bz2 
-$ tar xf htslib-1.13.tar.bz2  +$ tar xf htslib-1.17.tar.bz2 
-$ cd htslib-1.13 +$ cd htslib-1.17 
-# install a newer compiler from Red Hat software collections +$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/htslib/1.17
-$ 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/htslib/1.13+
 $ make $ make
-$ sudo mkdir -p /export/apps/htslib/1.13 +$ sudo mkdir -p /export/apps/htslib/1.17 
-$ sudo chown aorth /export/apps/htslib/1.13+$ sudo chown aorth /export/apps/htslib/1.17
 $ make install $ make install
-$ sudo chown -R root:root /export/apps/htslib/1.13</code>+$ sudo chown -R root:root /export/apps/htslib/1.17</code> 
 + 
 +Note: as of 1.17 this is compiled on CentOS Stream 8.
htslib-software.1630837043.txt.gz · Last modified: 2021/09/05 10:17 by aorth