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

158.4. minimap2-2.31

Align long reads to a reference

2.31-2 · MIT · 0.1 SBU · 424.9 KiB, 4 files · 41_system, 212 of 1047 · ports/core/bioscience/minimap2

Homepage: https://lh3.github.io/minimap2/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/bioscience.txt:

A runtime dispatcher that the makefile still needs telling about: the default target puts -msse4.1 on EVERYTHING, so a build here SIGILLs elsewhere.

Depends on: zlib.

Required by: no port names it.

Sources: minimap2-2.31.tar.gz (264.8 KiB). Every step kpkg takes applies to this port.

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

build.sh:

make CFLAGS="$CFLAGS" LIBS="$LDFLAGS -lm -lz -lpthread"
install -Dm755 minimap2 $PKG/usr/bin/minimap2
install -Dm644 minimap2.1 $PKG/usr/share/man/man1/minimap2.1
install -Dm644 misc/paftools.js $PKG/usr/share/minimap2/paftools.js

Programs: minimap2.

Directories: /usr/share/licenses/minimap2, /usr/share/minimap2.