Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

158.3. bcftools-1.24

Call and filter variants

1.24-1 · GPL-3.0-or-later · 0.5 SBU · 3.4 MiB, 54 files · 41_system, 211 of 1047 · ports/core/bioscience/bcftools

Homepage: https://www.htslib.org/

Why it is in KDOS. The comment above the 3 ports from htslib to bcftools in script/phases/41_system/packages.d/bioscience.txt:

The three move together on one version number and each checks the library it was built against — a mismatch is a runtime complaint, not a link error. samtools bundles its own htslib, which is why --with-htslib=system matters.

Depends on: pkgconf, htslib, zlib, gsl, openblas.

Required by: no port names it.

Sources: bcftools-1.24.tar.bz2 (7.9 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install bcftools'

build.sh:

./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--with-htslib=system \
	--enable-libgsl \
	--with-cblas=openblas
make
make DESTDIR=$PKG install

Programs: bcftools, color-chrs.pl, gff2gff, gff2gff.py, guess-ploidy.py, plot-roh.py, plot-vcfstats, roh-viz, run-roh.pl, vcfutils.pl, vrfs-variances.

Directories: /usr/libexec/bcftools, /usr/share/licenses/bcftools.