Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, zypper 安装 bcftools

查看 bcftools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bcftools

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install bcftools

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

Linux

Debian apt已验证 · 92%
sudo apt install bcftools

Debian stable package indexes · bcftools · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install bcftools

Fedora Rawhide package metadata · bcftools · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#bcftools

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

openSUSE zypper已验证 · 92%
sudo zypper install bcftools

openSUSE Tumbleweed package metadata · bcftools · 来源: download.opensuse.org

概览

软件包摘要

Tools for BCF/VCF files and variant calling from samtools

命令和别名

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

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bcftoolscli全局可执行文件
color-chrs.plcli全局可执行文件
gff2gffcli全局可执行文件
gff2gff.pycli全局可执行文件
guess-ploidy.pycli全局可执行文件
plot-roh.pycli全局可执行文件
plot-vcfstatscli全局可执行文件
roh-vizcli全局可执行文件
run-roh.plcli全局可执行文件
vcfutils.plcli全局可执行文件
vrfs-variancescli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.24
管理器更新时间2026-07-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/samtools/bcftools

安装元数据

软件包元数据

软件包键brew:bcftools
版本1.24
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bcftools
主页https://www.htslib.org/
仓库https://github.com/samtools/bcftools
上游文档https://samtools.github.io/bcftools/bcftools.html
许可证GPL-3.0-or-later
源码归档https://github.com/samtools/bcftools/releases/download/1.24/bcftools-1.24.tar.bz2
最后更新2026-07-09T19:52:13Z
Pulseupdated
依赖gsl, htslib
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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