/htslib

Primary LanguageC

HTSlib is an experimental implementation of a unified C library for accessing common file formats, such as SAM and VCF, used for high-throughput sequencing data. 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.

HTSlib is unfinished. It has not been tested on large-scale real data. Some useful APIs are missing.