Skip to content

samtools/htslib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ca2f667 · Dec 16, 2019
Nov 19, 2019
Dec 13, 2019
Nov 4, 2019
Nov 4, 2019
Dec 13, 2019
Nov 5, 2019
Mar 29, 2018
Nov 22, 2019
Nov 4, 2019
Jul 13, 2018
Jan 1, 2019
Dec 16, 2019
Dec 6, 2019
Aug 15, 2014
Dec 13, 2019
Oct 1, 2018
Jul 27, 2018
Nov 19, 2019
Sep 26, 2019
Nov 19, 2019
Dec 6, 2019
Sep 19, 2019
Jul 29, 2019
Nov 19, 2019
Nov 19, 2019
Jun 20, 2018
Nov 19, 2019
Nov 20, 2019
Nov 19, 2019
Nov 19, 2019
Nov 5, 2019
Nov 19, 2019
Nov 11, 2019
Oct 28, 2015
Nov 19, 2019
Nov 19, 2019
Nov 19, 2019
Nov 19, 2019
Nov 5, 2019
Dec 6, 2019
Sep 5, 2019
Dec 6, 2019
Nov 19, 2019
Feb 17, 2017
Nov 22, 2019
Nov 19, 2019
Nov 19, 2019
Nov 19, 2019
Nov 5, 2019
Nov 19, 2019
Nov 19, 2019
Nov 19, 2019
Nov 19, 2019
Nov 5, 2019
Nov 5, 2019
Nov 19, 2019
Nov 20, 2019
Sep 20, 2019
Dec 2, 2019
Dec 6, 2019
Oct 31, 2019
Nov 19, 2019
Nov 22, 2019
Nov 19, 2019
Nov 19, 2019
Mar 6, 2019
Nov 19, 2019
Dec 16, 2019
Nov 19, 2019
Nov 19, 2019
Dec 6, 2019

Repository files navigation

Build Status Build status Github All Releases

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 but recommended, for choosing extra functionality
make
make install