# 使用 Homebrew, apt, Nix 安装 minimap2

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

## 安装

```sh
sudo av install brew:minimap2
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install minimap2
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install libminimap2-dev
```

  证据: Debian stable package indexes: libminimap2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#minimap2
```

  证据: nixpkgs package indexes: pkgs/by-name/mi/minimap2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:minimap2
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/minimap2>
- **版本:** 2.31
- **来源摘要:** Versatile pairwise aligner for genomic and spliced nucleotide sequences
- **主页:** <https://lh3.github.io/minimap2>
- **仓库:** <https://github.com/lh3/minimap2>
- **上游文档:** <https://lh3.github.io/minimap2/minimap2.html>
- **许可证:** MIT
- **源码归档:** <https://github.com/lh3/minimap2/archive/refs/tags/v2.31.tar.gz>
- **最后更新:** 2026-05-20T00:41:23Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- minimap2 (cli)
- sdust (cli)
- minimap2 (别名)
- sdust (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.31
- 管理器更新时间: 2026-05-20
- 本地数据: OK
- 上游仓库: https://github.com/lh3/minimap2
- 检测到的最新版本: v2.31 (当前)
## 项目历史与用法

minimap2 is Heng Li's successor to the original minimap, designed for the alignment problems created by long-read sequencing and large genomic assemblies. The 2017 preprint and 2018 Bioinformatics paper present it as a general-purpose pairwise aligner for DNA and long mRNA sequences, motivated by ultra-long reads, full-length transcript reads, and contigs that older aligners could not process efficiently at scale.

### 项目历史

Its major technical contribution is being broad without being slow. The paper describes minimap2 as usable for short reads, assembly contigs, noisy long genomic reads, RNA-seq reads, read overlap detection, and full-genome alignment. The implementation combines fast chaining with base-level alignment improvements, including Suzuki-Kasahara dynamic programming, to make long-read and splice-aware alignment practical. The project README highlights the same practical presets: PacBio and Oxford Nanopore genomic reads, Iso-Seq and Nanopore RNA/cDNA alignment, Illumina reads, assembly-to-assembly comparison, and related-species genome alignment.

### 使用方式

minimap2 became a core bioinformatics command-line tool because long-read sequencing workflows needed one aligner that could cover many data types. It is invoked directly in pipelines and through higher-level platforms, producing SAM or PAF output for downstream tools such as samtools, variant callers, assemblers, and transcript analysis software. In package managers it sits in the genomics CLI niche beside aligners such as BWA-MEM, Bowtie2, BLASR, NGMLR, and GMAP, with its reputation tied to speed, accuracy, and long-read versatility.

### 来源

- <https://academic.oup.com/bioinformatics/article/34/18/3094/4994778>
- <https://arxiv.org/abs/1708.01492>
- <https://galaxyproject.org/news/2017-11-04minimap2/>
- <https://github.com/lh3/minimap2>


## 安全说明

没有找到 minimap2 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** minimap2
- **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

## 其他软件包管理器记录

- Debian apt - libminimap2-dev - 2.27+dfsg-1+b3: normalized package name match | Debian stable package indexes: libminimap2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development headers for libminimap | https://github.com/lh3/minimap2
- Debian apt - minimap2 - 2.27+dfsg-1+b3: normalized package name match | Debian stable package indexes: minimap2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | versatile pairwise aligner for genomic and spliced nucleotide sequences | https://github.com/lh3/minimap2
- Debian apt - python3-mappy - 2.27+dfsg-1+b3: normalized package name match | Debian stable package indexes: python3-mappy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python3 interface minimap2 | https://github.com/lh3/minimap2
- Nix - minimap2: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/minimap2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libminimap2-dev - 2.26+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libminimap2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development headers for libminimap | https://github.com/lh3/minimap2
- Ubuntu apt - minimap2 - 2.26+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: minimap2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | versatile pairwise aligner for genomic and spliced nucleotide sequences | https://github.com/lh3/minimap2
- Ubuntu apt - python3-mappy - 2.26+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-mappy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python3 interface minimap2 | https://github.com/lh3/minimap2


## 相关链接

- [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.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/zh-hans/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [abpoa](https://www.automicvault.com/zh-hans/pkg/brew/abpoa/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [diamond](https://www.automicvault.com/zh-hans/pkg/brew/diamond/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [lastz](https://www.automicvault.com/zh-hans/pkg/brew/lastz/) - Shares av.db curated category or tags: bioinformatics, cli, dna, genomics, science.
- [mafft](https://www.automicvault.com/zh-hans/pkg/brew/mafft/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [mummer](https://www.automicvault.com/zh-hans/pkg/brew/mummer/) - Shares av.db curated category or tags: bioinformatics, cli, dna, genomics, science.
- [bbtools](https://www.automicvault.com/zh-hans/pkg/brew/bbtools/) - Shares av.db curated category or tags: bioinformatics, cli, dna, genomics, science.
- [blast](https://www.automicvault.com/zh-hans/pkg/brew/blast/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science, sequence-alignment.
- [breseq](https://www.automicvault.com/zh-hans/pkg/brew/breseq/) - Shares av.db curated category or tags: bioinformatics, cli, dna, genomics, science.
- [miniprot](https://www.automicvault.com/zh-hans/pkg/brew/miniprot/) - Local package facts share a topical domain. Shared terms: alignment, bioinformatics, cli, genomics, science.
- [bwa](https://www.automicvault.com/zh-hans/pkg/brew/bwa/) - Local package facts share a topical domain. Shared terms: aligner, alignment, bioinformatics, cli, dna.

## Combined YAML source

View the package source record on GitHub. [combined/minimap2.yml](https://github.com/automic-vault/db/blob/main/combined/minimap2.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
- external package-manager database matches
- cross-ecosystem install command graph
