# 使用 Homebrew 安装 minigraph

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install minigraph
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:minigraph
- **软件包管理器:** Homebrew
- **版本:** 0.21
- **来源摘要:** Proof-of-concept seq-to-graph mapper and graph generator
- **主页:** <https://lh3.github.io/minigraph>
- **仓库:** <https://github.com/lh3/minigraph>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- minigraph (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.21
## 项目历史与用法

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


## Combined YAML source

View the package source record on GitHub. [combined/minigraph.yml](https://github.com/mxcl/pkgdb/blob/main/combined/minigraph.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
