User Tools

Site Tools


This is an old revision of the document!

Table of Contents


htslib is an implementation of a unified C library for accessing common file formats, such as SAM, CRAM and VCF, used for high-throughput sequencing data, and is the core library used by samtools and bcftools



See versions of htslib which are available:

$ module avail htslib

Load one version into your environment:

$ module load htslib/1.8


Notes from the sysadmin during installation:

$ cd /tmp
$ wget
$ tar xf htslib-1.9.tar.bz2
$ cd htslib-1.9
# 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
$ sudo mkdir -p /export/apps/htslib/1.9
$ sudo chown aorth /export/apps/htslib/1.9
$ make install
$ sudo chown -R root:root /export/apps/htslib/1.9
htslib-software.1567547162.txt.gz · Last modified: 2019/09/03 21:46 by aorth