Skip to content

samtools/htslib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

be22a2a · Apr 3, 2018
Apr 3, 2018
Mar 26, 2018
Dec 24, 2017
Dec 6, 2017
Mar 15, 2018
Mar 15, 2018
Mar 29, 2018
Feb 9, 2018
Feb 20, 2018
Feb 16, 2018
Jun 27, 2014
Mar 28, 2018
Apr 3, 2018
Aug 15, 2014
Jul 5, 2016
Mar 13, 2018
Jan 10, 2018
Mar 15, 2018
Apr 3, 2018
Mar 29, 2018
Jan 13, 2017
Feb 20, 2018
Nov 10, 2017
Aug 25, 2015
Jun 4, 2017
Dec 14, 2017
Dec 15, 2016
Jan 17, 2018
Mar 15, 2018
Oct 28, 2015
Jan 17, 2018
Mar 26, 2018
Jan 17, 2018
Dec 6, 2017
Apr 3, 2018
Jan 3, 2018
Jun 6, 2017
Feb 17, 2017
May 9, 2017
Jan 27, 2016
Mar 15, 2018
Mar 15, 2018
Jan 25, 2017
Oct 11, 2017
Jul 28, 2016
Feb 5, 2018
Feb 8, 2018
Sep 27, 2017
Jul 30, 2014
Mar 15, 2018
Mar 15, 2018
Apr 3, 2018
Mar 15, 2018
Jun 4, 2017
Jan 17, 2018
Jan 17, 2018
Mar 15, 2018
Oct 11, 2016
Jul 30, 2014
Mar 15, 2018
Dec 2, 2016
Mar 15, 2018
Apr 3, 2018

Repository files navigation

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. HTSlib only depends on zlib. It is known to be compatible with gcc, g++ and clang.

HTSlib implements a generalized BAM index, with file extension .csi (coordinate-sorted index). The HTSlib file reader first looks for the new index and then for the old if the new index is absent.

This project also includes the popular tabix indexer, which indexes both .tbi and .csi formats, and the bgzip compression utility.

Building HTSlib

See INSTALL for complete details. Release tarballs contain generated files that have not been committed to this repository, so building the code from a Git repository requires extra steps:

autoheader     # If using configure, generate the header template...
autoconf       # ...and configure script (or use autoreconf to do both)
./configure    # Optional, needed for choosing optional functionality
make
make install