User Tools

Site Tools


htslib-software

Table of Contents

htslib

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

Information

Usage

See versions of htslib which are available:

$ module avail htslib

Load one version into your environment and run some common commands:

$ module load htslib/1.11
$ tabix
$ bgzip

Installation

Notes from the sysadmin during installation:

$ cd /tmp/
$ wget https://github.com/samtools/htslib/releases/download/1.11/htslib-1.11.tar.bz2
$ tar xf htslib-1.11.tar.bz2
$ cd htslib-1.11
$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/htslib/1.11
$ make
$ sudo mkdir -p /export/apps/htslib/1.11
$ sudo chown aorth /export/apps/htslib/1.11
$ make install
$ sudo chown -R root:root /export/apps/htslib/1.11
htslib-software.txt · Last modified: 2021/01/06 09:16 by aorth