# 使用 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 minimap2
```

  证据: Debian stable package indexes: minimap2 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
- **版本:** 2.31
- **来源摘要:** Versatile pairwise aligner for genomic and spliced nucleotide sequences
- **主页:** <https://lh3.github.io/minimap2>
- **仓库:** <https://github.com/lh3/minimap2>
- **最后更新:** 2026-05-20T00:41:23Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.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。


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

- 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


## Combined YAML source

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


## 来源

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