Samtools is a suite of programs for interacting with high-throughput sequencing data. It consists of three separate repositories:
Samtools and BCFtools both use HTSlib internally, but these source packages contain their own copies of htslib so they can be built independently.