# 使用 Homebrew 安装 vcflib

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

## 安装

```sh
sudo av install brew:vcflib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vcflib
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:vcflib
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/vcflib>
- **版本:** 1.0.15
- **来源摘要:** C++ library and cmdline tools for parsing and manipulating VCF files
- **主页:** <https://github.com/vcflib/vcflib>
- **仓库:** <https://github.com/vcflib/vcflib>
- **上游文档:** <https://github.com/vcflib/vcflib#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/vcflib/vcflib/releases/download/v1.0.15/vcflib-1.0.15-src.tar.gz>
- **最后更新:** 2026-06-21T00:20:16Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- abba-baba (cli)
- bFst (cli)
- bed2region (cli)
- bgziptabix (cli)
- dumpContigsFromHeader (cli)
- genotypeSummary (cli)
- hapLrt (cli)
- iHS (cli)
- meltEHH (cli)
- normalize-iHS (cli)
- pFst (cli)
- pVst (cli)
- permuteGPAT++ (cli)
- permuteSmooth (cli)
- plotHaps (cli)
- popStats (cli)
- segmentFst (cli)
- segmentIhs (cli)
- sequenceDiversity (cli)
- smoother (cli)
- vcf2bed.py (cli)
- vcf2dag (cli)
- vcf2fasta (cli)
- vcf2sqlite.py (cli)
- vcf2tsv (cli)
- vcf_strip_extra_headers (cli)
- vcfaddinfo (cli)
- vcfafpath (cli)
- vcfallelicprimitives (cli)
- vcfaltcount (cli)
- vcfannotate (cli)
- vcfannotategenotypes (cli)
- vcfbiallelic (cli)
- vcfbreakmulti (cli)
- vcfcat (cli)
- vcfcheck (cli)
- vcfclassify (cli)
- vcfcleancomplex (cli)
- vcfclearid (cli)
- vcfclearinfo (cli)
- vcfcombine (cli)
- vcfcommonsamples (cli)
- vcfcomplex (cli)
- vcfcountalleles (cli)
- vcfcreatemulti (cli)
- vcfdistance (cli)
- vcfecho (cli)
- vcfentropy (cli)
- vcfevenregions (cli)
- vcffilter (cli)
- vcffirstheader (cli)
- vcffixup (cli)
- vcfflatten (cli)
- vcfgeno2alleles (cli)
- vcfgeno2haplo (cli)
- vcfgenosamplenames (cli)
- vcfgenosummarize (cli)
- vcfgenotypecompare (cli)
- vcfgenotypes (cli)
- vcfglbound (cli)
- vcfglxgt (cli)
- vcfgtcompare.sh (cli)
- vcfhetcount (cli)
- vcfhethomratio (cli)
- vcfindelproximity (cli)
- vcfindels (cli)
- vcfindex (cli)
- vcfinfo2qual (cli)
- vcfinfosummarize (cli)
- vcfintersect (cli)
- vcfjoincalls (cli)
- vcfkeepgeno (cli)
- vcfkeepinfo (cli)
- vcfkeepsamples (cli)
- vcfld (cli)
- vcfleftalign (cli)
- vcflength (cli)
- vcfmultiallelic (cli)
- vcfmultiway (cli)
- vcfmultiwayscripts (cli)
- vcfnobiallelicsnps (cli)
- vcfnoindels (cli)
- vcfnosnps (cli)
- vcfnulldotslashdot (cli)
- vcfnullgenofields (cli)
- vcfnumalt (cli)
- vcfoverlay (cli)
- vcfparsealts (cli)
- vcfplotaltdiscrepancy.r (cli)
- vcfplotaltdiscrepancy.sh (cli)
- vcfplotsitediscrepancy.r (cli)
- vcfplottstv.sh (cli)
- vcfprimers (cli)
- vcfprintaltdiscrepancy.r (cli)
- vcfprintaltdiscrepancy.sh (cli)
- vcfqual2info (cli)
- vcfqualfilter (cli)
- vcfrandom (cli)
- vcfrandomsample (cli)
- vcfregionreduce (cli)
- vcfregionreduce_and_cut (cli)
- vcfregionreduce_pipe (cli)
- vcfregionreduce_uncompressed (cli)
- vcfremap (cli)
- vcfremoveaberrantgenotypes (cli)
- vcfremovenonATGC (cli)
- vcfremovesamples (cli)
- vcfroc (cli)
- vcfsample2info (cli)
- vcfsamplediff (cli)
- vcfsamplenames (cli)
- vcfsitesummarize (cli)
- vcfsnps (cli)
- vcfsort (cli)
- vcfstats (cli)
- vcfstreamsort (cli)
- vcfuniq (cli)
- vcfuniqalleles (cli)
- vcfvarstats (cli)
- vcfwave (cli)
- wcFst (cli)
- abba-baba (别名)
- bFst (别名)
- bed2region (别名)
- bgziptabix (别名)
- dumpContigsFromHeader (别名)
- genotypeSummary (别名)
- hapLrt (别名)
- iHS (别名)
- meltEHH (别名)
- normalize-iHS (别名)
- pFst (别名)
- pVst (别名)
- permuteGPAT++ (别名)
- permuteSmooth (别名)
- plotHaps (别名)
- popStats (别名)
- segmentFst (别名)
- segmentIhs (别名)
- sequenceDiversity (别名)
- smoother (别名)
- vcf2bed.py (别名)
- vcf2dag (别名)
- vcf2fasta (别名)
- vcf2sqlite.py (别名)
- vcf2tsv (别名)
- vcf_strip_extra_headers (别名)
- vcfaddinfo (别名)
- vcfafpath (别名)
- vcfallelicprimitives (别名)
- vcfaltcount (别名)
- vcfannotate (别名)
- vcfannotategenotypes (别名)
- vcfbiallelic (别名)
- vcfbreakmulti (别名)
- vcfcat (别名)
- vcfcheck (别名)
- vcfclassify (别名)
- vcfcleancomplex (别名)
- vcfclearid (别名)
- vcfclearinfo (别名)
- vcfcombine (别名)
- vcfcommonsamples (别名)
- vcfcomplex (别名)
- vcfcountalleles (别名)
- vcfcreatemulti (别名)
- vcfdistance (别名)
- vcfecho (别名)
- vcfentropy (别名)
- vcfevenregions (别名)
- vcffilter (别名)
- vcffirstheader (别名)
- vcffixup (别名)
- vcfflatten (别名)
- vcfgeno2alleles (别名)
- vcfgeno2haplo (别名)
- vcfgenosamplenames (别名)
- vcfgenosummarize (别名)
- vcfgenotypecompare (别名)
- vcfgenotypes (别名)
- vcfglbound (别名)
- vcfglxgt (别名)
- vcfgtcompare.sh (别名)
- vcfhetcount (别名)
- vcfhethomratio (别名)
- vcfindelproximity (别名)
- vcfindels (别名)
- vcfindex (别名)
- vcfinfo2qual (别名)
- vcfinfosummarize (别名)
- vcfintersect (别名)
- vcfjoincalls (别名)
- vcfkeepgeno (别名)
- vcfkeepinfo (别名)
- vcfkeepsamples (别名)
- vcfld (别名)
- vcfleftalign (别名)
- vcflength (别名)
- vcfmultiallelic (别名)
- vcfmultiway (别名)
- vcfmultiwayscripts (别名)
- vcfnobiallelicsnps (别名)
- vcfnoindels (别名)
- vcfnosnps (别名)
- vcfnulldotslashdot (别名)
- vcfnullgenofields (别名)
- vcfnumalt (别名)
- vcfoverlay (别名)
- vcfparsealts (别名)
- vcfplotaltdiscrepancy.r (别名)
- vcfplotaltdiscrepancy.sh (别名)
- vcfplotsitediscrepancy.r (别名)
- vcfplottstv.sh (别名)
- vcfprimers (别名)
- vcfprintaltdiscrepancy.r (别名)
- vcfprintaltdiscrepancy.sh (别名)
- vcfqual2info (别名)
- vcfqualfilter (别名)
- vcfrandom (别名)
- vcfrandomsample (别名)
- vcfregionreduce (别名)
- vcfregionreduce_and_cut (别名)
- vcfregionreduce_pipe (别名)
- vcfregionreduce_uncompressed (别名)
- vcfremap (别名)
- vcfremoveaberrantgenotypes (别名)
- vcfremovenonATGC (别名)
- vcfremovesamples (别名)
- vcfroc (别名)
- vcfsample2info (别名)
- vcfsamplediff (别名)
- vcfsamplenames (别名)
- vcfsitesummarize (别名)
- vcfsnps (别名)
- vcfsort (别名)
- vcfstats (别名)
- vcfstreamsort (别名)
- vcfuniq (别名)
- vcfuniqalleles (别名)
- vcfvarstats (别名)
- vcfwave (别名)
- wcFst (别名)

## 依赖

- htslib
- libomp
- wfa2-lib
- xz

## 构建依赖

- cmake
- pkgconf
- pybind11
- python@3.14

## macOS 提供的库

- bzip2

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.0.15
- 管理器更新时间: 2026-06-21
- 本地数据: OK
- 上游仓库: https://github.com/vcflib/vcflib
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

vcflib is both a C++ library and a large collection of command-line utilities for parsing, transforming, filtering, normalizing, annotating, and summarizing VCF files. It is one of the Unix-style toolkits that grew around VCF after the format became the standard interchange format for genomic variant calls.

### 项目历史

The vcflib README presents VCF as the de facto reporting format for many genomic variant detectors and describes vcflib as an API plus a command-line utility collection for complex VCF manipulation. The project originated with Erik Garrison and later became part of a broader vcflib organization containing related VCF tools.

In 2022, Garrison, Kronenberg, Dawson, Pedersen, and Prins published a PLOS Computational Biology software paper covering vcflib, bio-vcf, cyvcf2, hts-nim, and slivar. The paper describes more than 125 free and open-source tools and libraries for VCF processing, with vcflib providing performance-oriented C++ tools and a reusable API.

### 采用历史

The 2022 PLOS paper states that VCF has been widely adopted since 2011 in population studies and somatic and germline mutation studies, and that the authors' tools run in critical biomedical pipelines and many shell scripts. That is the adoption setting in which vcflib matters: it is a toolbox for the messy middle of sequencing workflows.

The project has seen packaging and maintenance transitions common to mature bioinformatics software. GitHub releases show a 1.0 release in September 2019, a Python 3 transition around 2019, and continued 1.x releases into the 2020s.

### 使用方式

vcflib tools are designed to be composed in streaming pipelines. The README explicitly encourages using Unix pipes to interface with VCFtools, BEDTools, GATK, HTSlib, bio-vcf, bcftools, and FreeBayes while avoiding unnecessary intermediate files.

Typical commands cover filtering, set operations, left-aligning indels, decomposing or merging alleles, checking reference consistency, generating statistics, population-genetics metrics, converting VCF to other representations, and annotating records from BED or genotype information.

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

vcflib is package-nerd significant because it is a bag of sharp, small bioinformatics commands rather than one monolithic analysis application. Installing it adds dozens of executables whose names encode the workflow vocabulary of VCF-heavy pipelines.

It also captures a real packaging challenge in scientific software: one project ships C++ utilities, scripts, Python bindings, and library headers, and users expect it to compose with a wider command-line genomics stack across Linux, macOS, containers, and workflow systems.

### 时间线

- 2011: VCF is introduced and described with VCFtools, establishing the ecosystem vcflib later serves.
- 2016-02-08: vcflib v1.0.0-rc1 appears in GitHub releases.
- 2019-09-03: vcflib v1.0.0 is released.
- 2022-05-31: The PLOS Computational Biology software paper on vcflib and related VCF tools is published.
- 2023: vcflib 1.0.x maintenance releases continue on GitHub.

### Related projects

- VCFtools is the older VCF suite and standard paper that established much of the file-format context.
- bio-vcf, cyvcf2, hts-nim, and slivar are discussed with vcflib in the 2022 software paper as complementary tools for VCF processing.
- FreeBayes is a related variant caller and companion project in the VCF ecosystem.
- BEDTools, HTSlib, bcftools, GATK, and tabix-indexed workflows are common neighbors in pipelines that use vcflib.

### 来源

- <https://api.github.com/repos/vcflib/vcflib/releases>
- <https://github.com/vcflib/vcflib>
- <https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009123>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** vcflib
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [htslib](https://www.automicvault.com/zh-hans/pkg/brew/htslib/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/zh-hans/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [pybind11](https://www.automicvault.com/zh-hans/pkg/brew/pybind11/) - Build dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Build dependency declared by Homebrew.
- [vcftools](https://www.automicvault.com/zh-hans/pkg/brew/vcftools/) - Shares av.db curated category or tags: bioinformatics, c-plus-plus, cli, genomics, science.
- [vcfanno](https://www.automicvault.com/zh-hans/pkg/brew/vcfanno/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science, vcf.
- [abricate](https://www.automicvault.com/zh-hans/pkg/brew/abricate/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [freebayes](https://www.automicvault.com/zh-hans/pkg/brew/freebayes/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science, variant-calling.
- [gffread](https://www.automicvault.com/zh-hans/pkg/brew/gffread/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [minigraph](https://www.automicvault.com/zh-hans/pkg/brew/minigraph/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [stringtie](https://www.automicvault.com/zh-hans/pkg/brew/stringtie/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [tabixpp](https://www.automicvault.com/zh-hans/pkg/brew/tabixpp/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.

## Combined YAML source

View the package source record on GitHub. [combined/vcflib.yml](https://github.com/automic-vault/db/blob/main/combined/vcflib.yml)


## 来源

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