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

158.2. samtools-1.24

Sort, index and view alignments

1.24-1 · MIT · 0.5 SBU · 1.6 MiB, 67 files · 41_system, 210 of 1047 · ports/core/bioscience/samtools

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, ncurses, zlib.

Required by: no port names it.

Sources: samtools-1.24.tar.bz2 (9.1 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 samtools'

build.sh:

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

Programs: ace2sam, blast2sam.pl, bowtie2sam.pl, export2sam.pl, fasta-sanitize.pl, interpolate_sam.pl, maq2sam-long, maq2sam-short, md5fa, md5sum-lite, novo2sam.pl, plot-ampliconstats, plot-bamstats, psl2sam.pl, sam2vcf.pl, samtools, samtools.pl, seq_cache_populate.pl, seq_cache_populate.py, soap2sam.pl, wgsim, wgsim_eval.pl, zoom2sam.pl.

Directories: /usr/share/licenses/samtools.