# 使用 Homebrew 安装 minigraph

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

## 安装

```sh
sudo av install brew:minigraph
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install minigraph
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:minigraph
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/minigraph>
- **版本:** 0.21
- **来源摘要:** Proof-of-concept seq-to-graph mapper and graph generator
- **主页:** <https://lh3.github.io/minigraph>
- **仓库:** <https://github.com/lh3/minigraph>
- **上游文档:** <https://github.com/lh3/minigraph#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/lh3/minigraph/archive/refs/tags/v0.21.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- minigraph (cli)
- minigraph (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.21
- 本地数据: OK
- 上游仓库: https://github.com/lh3/minigraph
- 检测到的最新版本: v0.21 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

minigraph is Heng Li's sequence-to-graph mapper and pangenome graph generator. The GitHub project describes it as a tool that aligns query sequences against a sequence graph and incrementally augments that graph with long divergent subsequences; the project documentation also notes that a significant portion of the source derives from minimap2, Li's pairwise nucleotide aligner.

### 项目历史

The tool sits in the pangenome era of bioinformatics, where multiple high-quality assemblies are represented as a graph rather than flattened into one linear reference. The 2020 Genome Biology paper by Li, Feng, and Chu introduced the design and construction of reference pangenome graphs with minigraph, including a graph-based data model and formats intended to preserve coordinates against a linear reference. The command-line workflow maps sequences to sequences or graphs, emits PAF/GAF-style mappings, builds rGFA graphs from reference and sample assemblies, and can feed structural-variation extraction through gfatools.

### 使用方式

Its adoption history is tied to pangenome-reference research rather than general-purpose package use. Later Minigraph-Cactus work used minigraph to construct a structural-variation graph from input assemblies before Cactus refined it into richer pangenome graph outputs, and that pipeline demonstrated scaling to 90 human haplotypes from the Human Pangenome Reference Consortium. In package managers, minigraph is a specialist bioinformatics CLI for researchers building or testing genome graphs, often alongside minimap2, gfatools, vg, Cactus, and Bioconda-style scientific software stacks.

### 来源

- <https://formulae.brew.sh/formula/minigraph>
- <https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/pangenome.md>
- <https://github.com/lh3/minigraph>
- <https://lh3.github.io/minigraph/>
- <https://link.springer.com/article/10.1186/s13059-020-02168-z>
- <https://profiles.wustl.edu/en/publications/pangenome-graph-construction-from-genome-alignments-with-minigrap>
- <https://pubmed.ncbi.nlm.nih.gov/33066802/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** minigraph
- **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.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [abricate](https://www.automicvault.com/zh-hans/pkg/brew/abricate/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [gffread](https://www.automicvault.com/zh-hans/pkg/brew/gffread/) - 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.
- [vcfanno](https://www.automicvault.com/zh-hans/pkg/brew/vcfanno/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [vcflib](https://www.automicvault.com/zh-hans/pkg/brew/vcflib/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [vcftools](https://www.automicvault.com/zh-hans/pkg/brew/vcftools/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [bbtools](https://www.automicvault.com/zh-hans/pkg/brew/bbtools/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [miniprot](https://www.automicvault.com/zh-hans/pkg/brew/miniprot/) - Local package facts share a topical domain. Shared terms: bioinformatics, cli, genomics, mapping, science.
- [minimap2](https://www.automicvault.com/zh-hans/pkg/brew/minimap2/) - Local package facts share a topical domain. Shared terms: bioinformatics, cli, genomics, science, sequence.

## Combined YAML source

View the package source record on GitHub. [combined/minigraph.yml](https://github.com/automic-vault/db/blob/main/combined/minigraph.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
