Command-line tool
samtools
brew/samtools
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Tools for manipulating next-generation sequencing data
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install samtools
Linux
brew install samtools
Convert a SAM input file to BAM stream and save to file
samtools view -S -b input.sam > output.bam
Take input from `stdin` (-) and print the SAM header and any reads overlapping a specific region to `stdout`
other_command | samtools view -h - chromosome:start-end
Sort file and save to BAM (the output format is automatically determined from the output file's extension)
samtools sort input -o output.bam
Related command-line tools
- flye
De novo assembler for single molecule sequencing reads using repeat graphs - picard-tools
Tools for manipulating HTS data and formats cross-platform foss music audio 音频 音乐 tag 标签 跨平台 标记 musicbrainz tagger - bcftools
Tools for BCF/VCF files and variant calling from samtools - libtar
C library for manipulating POSIX tar files - crossterm
A crossplatform terminal library for manipulating terminals. - libpng
Library for manipulating PNG images - libyubikey
C library for manipulating Yubico one-time passwords - cmdow
Win32 console application for manipulating program windows.
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents