SAMtools?and?BCFtools?are distributed as individual packages. The code uses HTSlib internally, but these source packages contain their own copies of htslib so they can be built independently.
HTSlib?is also distributed as a separate package which can be installed if you are writing your own programs against the HTSlib API. HTSlib also provides the?bgzip,?htsfile, and tabix?utilities, so you may also want to build and install HTSlib to get these utilities, or see the additional instructions in?
INSTALL?to install them from a samtools or bcftools source package.
Download current source releases: ???samtools-1.2????bcftools-1.2????htslib-1.2.1
安装 bcftools 1.2,??? htslib-1.2.1
bgzip -c file.vcf > file.vcf.gz
tabix -p vcf file.vcf.gz
相关资源：DIN 6784-82 倒角标注