Automic VaultAutomic Vault

brew

Install bcftools with Homebrew, apt, dnf, MacPorts, Nix, zypper

Tools for BCF/VCF files and variant calling from samtools. Version 1.23.1 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bcftools

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install bcftools

MacPorts ports tree · science/bcftools/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install bcftools

Debian stable package indexes · bcftools · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install bcftools

Fedora Rawhide package metadata · bcftools · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#bcftools

nixpkgs package indexes · pkgs/by-name/bc/bcftools/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install bcftools

openSUSE Tumbleweed package metadata · bcftools · source: download.opensuse.org

overview

Package summary

Tools for BCF/VCF files and variant calling from samtools

Commands and aliases

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

history

Project history and usage

bcftools is one of the core command-line toolkits of modern genomics: it reads, writes, filters, queries, summarizes, and calls variants in VCF, BCF, and gVCF formats.

Project history

BCFtools grew out of the SAMtools ecosystem for high-throughput sequencing data. The upstream README says it implements utilities for variant calling, in conjunction with SAMtools, and for manipulating VCF and BCF files, with the intention of replacing Perl-based tools from vcftools.

The Samtools project now presents three related repositories: Samtools for SAM/BAM/CRAM, BCFtools for BCF2/VCF/gVCF and variant calling/filtering/summarising SNPs and short indels, and HTSlib as the underlying C library.

Adoption history

The 2021 GigaScience paper by the SAMtools/BCFtools authors describes SAMtools and BCFtools as widely used programs for processing and analysing high-throughput sequencing data, first appearing online 12 years earlier and used in many other projects and genomic pipelines.

The same paper reports that both SAMtools and BCFtools had been installed more than one million times via Bioconda, making bcftools a rare CLI package whose package-manager footprint maps directly to scientific infrastructure.

How it is used

bcftools is used for file-format conversion and manipulation, sorting, querying, statistics, variant calling, filtering, and effect analysis. In pipelines it commonly appears after alignment and BAM/CRAM processing, where it calls or filters variants into VCF/BCF outputs.

The executable is usually scripted rather than used as a single monolithic command: subcommands such as view, query, filter, stats, mpileup, call, norm, annotate, merge, and concat make it a toolkit for repeatable genomics workflows.

Why package nerds care

bcftools is package-nerd significant because it is a dependency-shaped scientific standard: small enough to install as a CLI, but central enough that entire variant-calling workflows assume it is available and versioned consistently.

It is also a good example of package-manager science: Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and Bioconda-style environments turn a research-code lineage into a reproducible command people can pin in workflows, containers, and clusters.

The BCF/VCF domain makes versioning matter. File formats, reference assumptions, compression/indexing via HTSlib, and pipeline reproducibility all mean bcftools is not just a convenience binary; it is part of the scientific record for many analyses.

Timeline

  • 2009: SAMtools/BCFtools lineage begins, per the 2021 'Twelve years' project history.
  • 2013: Official GitHub bcftools repository created.
  • 2021: GigaScience publishes 'Twelve years of SAMtools and BCFtools'.
  • 2020s: bcftools continues as part of the Samtools/HTSlib ecosystem and remains broadly packaged.

Related projects

  • SAMtools handles SAM/BAM/CRAM operations in the same project family.
  • HTSlib is the C library used internally for high-throughput sequencing formats.
  • vcftools is the older Perl-based toolkit that bcftools was intended to replace for many VCF/BCF operations.
  • Bioconda, workflow engines, and containerized genomics environments are major adoption channels.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bcftoolscliglobal executable
color-chrs.plcliglobal executable
gff2gffcliglobal executable
gff2gff.pycliglobal executable
guess-ploidy.pycliglobal executable
plot-roh.pycliglobal executable
plot-vcfstatscliglobal executable
roh-vizcliglobal executable
run-roh.plcliglobal executable
vcfutils.plcliglobal executable
vrfs-variancescliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.23.1
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/samtools/bcftools

install metadata

Package metadata

Package keybrew:bcftools
Version1.23.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bcftools
Homepagehttps://www.htslib.org/
Repositoryhttps://github.com/samtools/bcftools
Upstream docshttps://samtools.github.io/bcftools/bcftools.html
LicenseGPL-3.0-or-later
Source archivehttps://github.com/samtools/bcftools/releases/download/1.23.1/bcftools-1.23.1.tar.bz2
Last updated2026-06-22T14:02:52-07:00
Pulseupdated
Dependenciesgsl, htslib
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebcftools
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

bcftools 1.21-1

genomic variant calling and manipulation of VCF/BCF files

https://samtools.github.io/bcftools/

sudo apt install bcftools
  • Section: science
  • Architecture: amd64
  • 2 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Bcftools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bcftools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bcftools

nix profile install nixpkgs#bcftools
  • normalized package name match
  • Matched by: Bcftools
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bc/bcftools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bcftools 1.19-1build2

genomic variant calling and manipulation of VCF/BCF files

https://samtools.github.io/bcftools/

sudo apt install bcftools
  • Section: universe/science
  • Architecture: amd64
  • 2 dependencies
  • 5 optional deps
  • normalized package name match
  • Matched by: Bcftools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bcftools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

bcftools 1.23.1-1.fc45

Tools for genomic variant calling and manipulating VCF/BCF files

https://www.htslib.org/

sudo dnf install bcftools
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bcftools
  • 9 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bcftools
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bcftools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

bcftools 1.21-1.3

Tools for manipulating variant calls in the Variant Call Format (VCF)

http://www.htslib.org/

sudo zypper install bcftools
  • License: MIT
  • Category: Productivity/Scientific/Other
  • Architecture: x86_64
  • Source Package: bcftools
  • 11 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bcftools
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: bcftools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

bcftools

sudo port install bcftools
  • normalized package name match
  • Matched by: Bcftools
MacPorts ports tree · api.github.com · MacPorts ports tree: science/bcftools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment