You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
root 5404e09047 first commit 3 weeks ago
..
cram first commit 3 weeks ago
htscodecs/htscodecs first commit 3 weeks ago
htslib first commit 3 weeks ago
m4 first commit 3 weeks ago
os first commit 3 weeks ago
LICENSE first commit 3 weeks ago
Makefile first commit 3 weeks ago
README first commit 3 weeks ago
bcf_sr_sort.c first commit 3 weeks ago
bcf_sr_sort.h first commit 3 weeks ago
bgzf.c first commit 3 weeks ago
builddir_vars.mk.in first commit 3 weeks ago
config.guess first commit 3 weeks ago
config.h first commit 3 weeks ago
config.h.in first commit 3 weeks ago
config.mk.in first commit 3 weeks ago
config.sub first commit 3 weeks ago
configure first commit 3 weeks ago
configure.ac first commit 3 weeks ago
errmod.c first commit 3 weeks ago
faidx.c first commit 3 weeks ago
fuzz_settings.h first commit 3 weeks ago
header.c first commit 3 weeks ago
header.h first commit 3 weeks ago
hfile.c first commit 3 weeks ago
hfile_gcs.c first commit 3 weeks ago
hfile_internal.h first commit 3 weeks ago
hfile_libcurl.c first commit 3 weeks ago
hfile_s3.c first commit 3 weeks ago
hfile_s3_write.c first commit 3 weeks ago
hts.c first commit 3 weeks ago
hts_expr.c first commit 3 weeks ago
hts_internal.h first commit 3 weeks ago
hts_os.c first commit 3 weeks ago
hts_time_funcs.h first commit 3 weeks ago
htscodecs_bundled.mk first commit 3 weeks ago
htscodecs_external.mk first commit 3 weeks ago
htslib.mk first commit 3 weeks ago
htslib.pc.in first commit 3 weeks ago
htslib_vars.mk first commit 3 weeks ago
kfunc.c first commit 3 weeks ago
kstring.c first commit 3 weeks ago
md5.c first commit 3 weeks ago
multipart.c first commit 3 weeks ago
plugin.c first commit 3 weeks ago
probaln.c first commit 3 weeks ago
realn.c first commit 3 weeks ago
regidx.c first commit 3 weeks ago
region.c first commit 3 weeks ago
sam.c first commit 3 weeks ago
sam_internal.h first commit 3 weeks ago
sam_mods.c first commit 3 weeks ago
simd.c first commit 3 weeks ago
synced_bcf_reader.c first commit 3 weeks ago
tbx.c first commit 3 weeks ago
textutils.c first commit 3 weeks ago
textutils_internal.h first commit 3 weeks ago
thread_pool.c first commit 3 weeks ago
thread_pool_internal.h first commit 3 weeks ago
vcf.c first commit 3 weeks ago
vcf_sweep.c first commit 3 weeks ago
vcfutils.c first commit 3 weeks ago
version.sh first commit 3 weeks ago

README

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

See INSTALL for building and installation instructions.

Please cite this paper when using HTSlib for your publications:

HTSlib: C library for reading/writing high-throughput sequencing data
James K Bonfield, John Marshall, Petr Danecek, Heng Li, Valeriu Ohan, Andrew Whitwham, Thomas Keane, Robert M Davies
GigaScience, Volume 10, Issue 2, February 2021, giab007, https://doi.org/10.1093/gigascience/giab007

@article{10.1093/gigascience/giab007,
author = {Bonfield, James K and Marshall, John and Danecek, Petr and Li, Heng and Ohan, Valeriu and Whitwham, Andrew and Keane, Thomas and Davies, Robert M},
title = "{HTSlib: C library for reading/writing high-throughput sequencing data}",
journal = {GigaScience},
volume = {10},
number = {2},
year = {2021},
month = {02},
abstract = "{Since the original publication of the VCF and SAM formats, an explosion of software tools have been created to process these data files. To facilitate this a library was produced out of the original SAMtools implementation, with a focus on performance and robustness. The file formats themselves have become international standards under the jurisdiction of the Global Alliance for Genomics and Health.We present a software library for providing programmatic access to sequencing alignment and variant formats. It was born out of the widely used SAMtools and BCFtools applications. Considerable improvements have been made to the original code plus many new features including newer access protocols, the addition of the CRAM file format, better indexing and iterators, and better use of threading.Since the original Samtools release, performance has been considerably improved, with a BAM read-write loop running 5 times faster and BAM to SAM conversion 13 times faster (both using 16 threads, compared to Samtools 0.1.19). Widespread adoption has seen HTSlib downloaded \\>1 million times from GitHub and conda. The C library has been used directly by an estimated 900 GitHub projects and has been incorporated into Perl, Python, Rust, and R, significantly expanding the number of uses via other languages. HTSlib is open source and is freely available from htslib.org under MIT/BSD license.}",
issn = {2047-217X},
doi = {10.1093/gigascience/giab007},
url = {https://doi.org/10.1093/gigascience/giab007},
note = {giab007},
eprint = {https://academic.oup.com/gigascience/article-pdf/10/2/giab007/36332285/giab007.pdf},
}