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 revision Previous revision
Next revision
Previous revision
htslib-software [2018/06/01 21:52]
aorth
htslib-software [2019/09/04 00:47] (current)
aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Latest Version: 1.8+  * Latest Version: 1.9
   * Added: March, 2015   * Added: March, 2015
-  * Updated: ​June2018+  * Updated: ​September2019
   * Link: https://​github.com/​samtools/​htslib   * Link: https://​github.com/​samtools/​htslib
  
Line 14: Line 14:
 <​code>​$ module avail htslib</​code>​ <​code>​$ module avail htslib</​code>​
  
-Load one version into your environment:​ +Load one version into your environment ​and run some common commands
-<​code>​$ module load htslib/1.8</​code>​+<​code>​$ module load htslib/1.
 +$ tabix 
 +$ bgzip</​code>​
  
 ===== Installation ====== ===== Installation ======
Line 21: Line 23:
  
 <​code>​$ cd /tmp <​code>​$ cd /tmp
-$ wget https://​github.com/​samtools/​htslib/​releases/​download/​1.8/htslib-1.8.tar.bz2 +$ wget https://​github.com/​samtools/​htslib/​releases/​download/​1.9/htslib-1.9.tar.bz2 
-$ tar xf htslib-1.8.tar.bz2  +$ tar xf htslib-1.9.tar.bz2 
-$ cd htslib-1.8 +$ cd htslib-1.
-$ ./configure --enable-plugins --enable-libcurl --prefix=/​export/​apps/​htslib/​1.8+# install a newer compiler from Red Hat software collections 
 +$ 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.9
 $ make $ make
-$ sudo mkdir /​export/​apps/​htslib/​1.8 +$ sudo mkdir -p /​export/​apps/​htslib/​1.9 
-$ sudo chown aorth:aorth /​export/​apps/​htslib/​1.8+$ sudo chown aorth /​export/​apps/​htslib/​1.9
 $ make install $ make install
-$ sudo chown -R root:root /​export/​apps/​htslib/​1.8</​code>​+$ sudo chown -R root:root /​export/​apps/​htslib/​1.9</​code>​
htslib-software.1527879151.txt.gz · Last modified: 2018/06/01 21:52 by aorth