pkg.sopackage field notes

brew / rank 2434

Install bcftools with Homebrew

Tools for BCF/VCF files and variant calling from samtools. Version 1.24 via Homebrew; verified 2026-07-09.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bcftools

provider-native install command

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 bottle metadata was recorded.

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
bcftoolsexecutableindexed executableDiscovered from the local executable index.
color-chrs.plexecutableindexed executableDiscovered from the local executable index.
gff2gffexecutableindexed executableDiscovered from the local executable index.
gff2gff.pyexecutableindexed executableDiscovered from the local executable index.
guess-ploidy.pyexecutableindexed executableDiscovered from the local executable index.
plot-roh.pyexecutableindexed executableDiscovered from the local executable index.
plot-vcfstatsexecutableindexed executableDiscovered from the local executable index.
roh-vizexecutableindexed executableDiscovered from the local executable index.
run-roh.plexecutableindexed executableDiscovered from the local executable index.
vcfutils.plexecutableindexed executableDiscovered from the local executable index.
vrfs-variancesexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version1.24
manager updated2026-07-09
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:bcftools
Version1.24
Package managerHomebrew
Homepagehttps://www.htslib.org/
Repositoryhttps://github.com/samtools/bcftools
Last updated2026-07-09T19:52:13Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • curated package history
  • pkgdb category and tag curation