# 全基因组比对

全基因组比对是一种生物信息学方法，通过比对完整基因组的DNA序列，识别物种或菌株之间保守的、重排的和分化的区域。用于[双序列比对](https://www.edgepedia.org/zh/pairwise-sequence-alignment)的动态规划算法需要 \( O(n \cdot m) \) 的时间和空间，当 \( n \) 和 \( m \) 增长到基因组尺度时变得不切实际，因此基因组比对器转而依赖锚点、共线性（即不同物种中基因在同一染色体上的物理共定位）和图结构。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6450745/)</sup>

| 关键事实 | 数值 |
|---|---|
| 首个基于后缀树的全基因组比对器 | MUMmer，1999年；30秒至2分钟内比对数百万个核苷酸<sup>[2](https://doi.org/10.1093/nar/27.11.2369)</sup> |
| 感知重排的多重比对 | Mauve，2004年；局部共线块，模拟中骨架准确率超过98%<sup>[3](https://doi.org/10.1101/gr.2289704)</sup> |
| 哺乳动物规模的多重比对 | progressiveMauve 人-鼠：90 GB内存，约32个计算小时<sup>[4](https://doi.org/10.1371/journal.pone.0011147)</sup> |
| 哺乳动物双序列比对 | nucmer4：在一台32核服务器上约3小时完成两个哺乳动物基因组的比对；人类与黑猩猩在96%的长度上98%相同<sup>[5](https://doi.org/10.1371/journal.pcbi.1005944)</sup> |
| 当时最大的多重脊椎动物比对 | Progressive Cactus，超过600个羊膜动物基因组，运行时间随基因组数量线性增长<sup>[6](https://doi.org/10.1038/s41586-020-2871-y)</sup> |
| 泛基因组规模的匹配 | Mumemto：320个人类组装（960 GB）的多重MUM，25.7小时，800 GB内存<sup>[7](https://link.springer.com/article/10.1186/s13059-025-03644-0)</sup> |
| 泛基因组图构建 | Minigraph-Cactus：90个人类泛基因组参考联盟单倍型的图<sup>[8](https://doi.org/10.1038/s41587-023-01793-w)</sup> |

## 工作原理

通过动态规划对两个序列进行**全局比对**是精确的，但需要O(mn)时间，其中m和n为序列长度，且其共线性限制意味着全局比对器无法正确比对哪怕仅分化了几百万年的基因组，因为许多同源关系位于单一共线对应之外。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6450745/)</sup> 在全基因组尺度上进行朴素的局部比对，沿袭Smith-Waterman的传统，在较大的演化距离下灵敏度和特异性都太低，会捕获虚假比对。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6450745/)</sup>

**锚定-延伸**方法将问题简化为短精确匹配。MUMmer执行最大唯一匹配（MUM）分解，提取有序MUM的最长递增子序列，并用Smith-Waterman比对填补间隙。<sup>[2](https://doi.org/10.1093/nar/27.11.2369)</sup> NUCmer对此进行了推广：它寻找长度大于 \( l \) 的精确匹配，聚类间隔不超过 \( g \) 个核苷酸的匹配，提取组合长度至少为 \( c \) 的共线链，并用Smith-Waterman动态规划延伸这些链。<sup>[9](https://doi.org/10.1186/gb-2004-5-2-r12)</sup>

**基于共线性**的方法首先将基因组划分为同源块。Mauve识别局部共线块（LCB），即不含重排的同源区域，放宽了早期比对器的共线性假设。<sup>[3](https://doi.org/10.1101/gr.2289704)</sup> progressiveMauve增加了锚点配置的配对和断点评分、在该评分下优化锚点的贪心启发式方法，以及一个同源性隐[马尔可夫模型](https://www.edgepedia.org/zh/markov-model)，用于在基因内容差异区域拒绝无关序列的比对。<sup>[4](https://doi.org/10.1371/journal.pone.0011147)</sup>

**基于图的渐进式**比对显式处理重排和重复。Cactus用仙人掌图表示比对——仙人掌图是连通图，其中任意边至多属于一个简单环——并应用仙人掌比对过滤器（CAF）和碱基级比对精化（BAR）。<sup>[10](https://doi.org/10.1101/gr.123356.111)</sup> Progressive Cactus使用指导树将大型比对拆分为子问题，每个子问题通常比较2到5个基因组，从LASTZ双序列局部比对开始；外群基因组指示一个 indel 是缺失还是插入，以及一个重复是早于还是晚于该节点的物种形成事件。<sup>[6](https://doi.org/10.1038/s41586-020-2871-y)</sup>

## 操作流程

**Cactus风格的多重比对**接收软屏蔽的基因组FASTA组装及其系统发育树，每个叶节点一个基因组，输出HAL格式的多重基因组比对，包含每个内部节点的祖先序列；不再允许多分支，分支长度决定双序列比对参数。<sup>[11](https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/progressive.md)</sup> 基因组应进行软屏蔽，最好使用RepeatMasker：未屏蔽的基因组比对时间可能长数十倍，强烈不建议硬屏蔽（用N串替换重复序列）。<sup>[11](https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/progressive.md)</sup>

**MUMmer风格的双序列比较**使用nucmer对高度相似且存在大量重排的序列进行全对全核苷酸比较，或使用promer，后者将核苷酸输入按全部六个阅读框翻译，适用于分化较大的基因组。<sup>[12](https://mummer4.github.io/manual/manual.html)</sup> dnadiff包装器报告比对统计、SNP和断点，show-diff将重排特征分类为GAP、DUP、BRK、JMP、INV和SEQ（需要跳转到新查询序列的易位）。<sup>[12](https://mummer4.github.io/manual/manual.html)</sup>

**泛基因组模式**放弃指导树：Minigraph-Cactus使用极小化子摘要进行初始锚定，用部分顺序比对精化，除HAL外还输出vg/GFA图格式，保留一个参考基因组（例如GRCh38或CHM13）不折叠作为坐标系。<sup>[13](https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/pangenome.md)</sup> 由于cactus-align的内存在输入序列约10 Gbp后变得不可承受，因此按染色体运行以扩展到数十个人类大小的基因组。<sup>[13](https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/pangenome.md)</sup>

## 起源

基础是Needleman-Wunsch全局比对算法，由索尔·B·尼德曼（Saul B. Needleman）和克里斯蒂安·D·温施（Christian D. Wunsch）于1970年报道，<sup>[14](https://doi.org/10.1016/0022-2836%2870%2990057-4)</sup>以及Smith-Waterman局部比对算法，由T.F.史密斯（T.F. Smith）和M.S.沃特曼（M.S. Waterman）于1981年报道。<sup>[15](https://doi.org/10.1016/0022-2836%2881%2990087-5)</sup> MUMmer是首个使用后缀树的全基因组双序列比对系统，由德尔彻（Delcher）及其同事于1999年在《核酸研究》上报道；<sup>[2](https://doi.org/10.1093/nar/27.11.2369)</sup> TIGR当年发布MUMmer 1.0，作为首个能够比较兆碱基尺度基因组的系统，其动机是1997年和1999年发表的两株[幽门螺杆菌](https://www.edgepedia.org/zh/helicobacter-pylori)。<sup>[16](https://mummer.sourceforge.net/applications.html)</sup> 库尔茨（Kurtz）及其同事于2004年在《基因组生物学》上描述了包含NUCmer和PROMER的MUMmer 3.0。<sup>[9](https://doi.org/10.1186/gb-2004-5-2-r12)</sup> Mauve是首个通过局部共线块处理重排的多重基因组比对系统，由达林（Darling）及其同事于2004年在《基因组研究》上报道。<sup>[3](https://doi.org/10.1101/gr.2289704)</sup> MAVID在共线多重比对中使用祖先重建，由尼古拉·布雷（Nicolas Bray）和[利奥尔·帕赫特](https://www.edgepedia.org/zh/lior-pachter)（Lior Pachter）于2004年报道，<sup>[17](https://doi.org/10.1101/gr.1960404)</sup> 而Enredo和Pecan流程用于全基因组哺乳动物基于一致性并考虑旁系同源的多重比对，由帕滕（Paten）及其同事于2008年报道。<sup>[18](https://doi.org/10.1101/gr.076554.108)</sup> 达林（Darling）、毛（Mau）和佩尔纳（Perna）于2010年在《PLoS ONE》上报道了progressiveMauve，<sup>[4](https://doi.org/10.1371/journal.pone.0011147)</sup> 帕滕（Paten）及其同事于2011年在《基因组研究》上报道了Cactus。<sup>[10](https://doi.org/10.1101/gr.123356.111)</sup> 希基（Hickey）及其同事于2013年描述了HAL层次比对格式，<sup>[19](https://doi.org/10.1093/bioinformatics/btt128)</sup> 厄尔（Earl）及其同事于2014年组织了全基因组比对基准Alignathon。<sup>[20](https://doi.org/10.1101/gr.174920.114)</sup> 后续工作包括：TwoPaCo用于紧凑德布鲁因图构建，由伊利亚·明金（Ilia Minkin）、桑·范（Son Pham）和保罗·梅德韦杰夫（Paul Medvedev）于2016年报道；<sup>[21](https://doi.org/10.1093/bioinformatics/btw609)</sup> MUMmer4，由马赛（Marçais）及其同事于2018年报道；<sup>[5](https://doi.org/10.1371/journal.pcbi.1005944)</sup> minimap2，由李恒（Heng Li）于2018年报道；<sup>[22](https://doi.org/10.1093/bioinformatics/bty191)</sup> vg变异图工具包，由加里森（Garrison）及其同事于2018年报道；<sup>[23](https://doi.org/10.1038/nbt.4227)</sup> SibeliaZ，由明金（Minkin）和梅德韦杰夫（Medvedev）于2020年报道；<sup>[24](https://doi.org/10.1038/s41467-020-19777-8)</sup> Progressive Cactus，由阿姆斯特朗（Armstrong）及其同事于2020年在《自然》上报道；<sup>[6](https://doi.org/10.1038/s41586-020-2871-y)</sup> minigraph，由[李恒](https://www.edgepedia.org/zh/heng-li)（Heng Li）、冯晓文（Xiaowen Feng）和褚冲（Chong Chu）于2020年报道；<sup>[25](https://doi.org/10.1186/s13059-020-02168-z)</sup> Minigraph-Cactus，由希基（Hickey）及其同事于2023年报道；<sup>[8](https://doi.org/10.1038/s41587-023-01793-w)</sup> 以及人类泛基因组参考联盟的人类泛基因组参考草图。<sup>[26](https://doi.org/10.1038/s41586-023-05896-x)</sup>

## 变体

MUMmer4用48位后缀数组替换了32位后缀树，消除了nucmer3对参考序列约500 Mb和查询序列4 Gb的限制，将理论输入上限提高到141万亿碱基，并增加了并行处理、保存索引的两步模式、SAM输出以及Perl、Python和C++绑定。<sup>[5](https://doi.org/10.1371/journal.pcbi.1005944)</sup> 它比Mauve和LASTZ快得多，但在默认设置下LASTZ更灵敏，运行速度则慢得多；超过2天的基准运行被中止。<sup>[5](https://doi.org/10.1371/journal.pcbi.1005944)</sup> progressiveMauve产生位置同源比对，比对重复序列中位置保守的拷贝，其断点消除映射不允许重复，而Cactus同时处理重排和重复。<sup>[4](https://doi.org/10.1371/journal.pone.0011147)</sup> minimap2是一种基于哈希和链式锚定的比对器。<sup>[27](https://www.mdpi.com/2076-3417/14/11/4837)</sup> 在16个小鼠品系（每个品系2.6至2.8 Gbp）上，SibeliaZ在12小时内完成，而Cactus一周内未完成；在2只小鼠上，SibeliaZ比Cactus快10倍以上。<sup>[24](https://doi.org/10.1038/s41467-020-19777-8)</sup> 与Progressive Cactus不同，Minigraph-Cactus依赖一个预定的参考基因组，该基因组在最终图中保证无环，其初始图仅包含长于50 bp的变异，之后Cactus添加碱基级比对。<sup>[13](https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/pangenome.md)</sup> Mumemto使用前缀无关解析计算泛基因组中的多重MUM。<sup>[7](https://link.springer.com/article/10.1186/s13059-025-03644-0)</sup>

## 应用

全基因组比对直接支持比较基因组学和菌株比较。对23个肠杆菌科基因组进行progressiveMauve比对，揭示了一个核心基因组，平均占每个基因组的2.46 Mb。<sup>[4](https://doi.org/10.1371/journal.pone.0011147)</sup> 人类与黑猩猩的nucmer4比对显示这两个物种在96%的长度上98%相同。<sup>[5](https://doi.org/10.1371/journal.pcbi.1005944)</sup> 重排输出可供给结构变异调用器：MUM&Co从使用MUMmer的nucmer构建的全基因组比对中检测所有SV类型。<sup>[28](https://doi.org/10.1093/bioinformatics/btaa115)</sup> 比对还为用于基因分型的泛基因组图提供种子：西伦（Sirén）及其同事在5202个多样基因组中展示了基于泛基因组对已知结构变异的基因分型。<sup>[29](https://doi.org/10.1126/science.abg8871)</sup>

## 局限与替代方案

**直系同源与重复序列**是主要的失效模式。现代基因组比对器中的直系同源检测过于简单且不太准确，许多比对器在单拷贝限制下运行。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6450745/)</sup> 基于双序列局部比对的策略随重复序列扩展性很差，因为双序列局部比对的数量随重复序列拷贝数呈二次增长。<sup>[24](https://doi.org/10.1038/s41467-020-19777-8)</sup>

**与读段比对相比**，基因组间比对不能替代专用读段比对器：对于2.64亿条Illumina和390万条PacBio读段，nucmer4使用45.1 GB内存，而BWA-MEM为11.2 GB，Bowtie2为4.0 GB，尽管nucmer4最快，但专用读段比对器更灵敏、更准确。<sup>[5](https://doi.org/10.1371/journal.pcbi.1005944)</sup> 基于比对构建的泛基因组图方法避免了参考偏差，但有其自身局限：识别应构成泛基因组的比对对于VNTR、片段重复和串联重复阵列尤其具有挑战性，将泛基因组结果投影回BAM和VCF等线性格式可能造成信息损失，且尚无广泛采用的基于图的VCF替代方案。<sup>[30](https://www.annualreviews.org/content/journals/10.1146/annurev-genom-021623-081639)</sup> 使用CHM13端粒到端粒参考可提高Minigraph-Cactus泛基因组的准确性，优于基于GRCh38的版本。<sup>[8](https://doi.org/10.1038/s41587-023-01793-w)</sup>

## References

1. [Whole-Genome Alignment and Comparative Annotation (Annual Review of Genomics and Human Genetics)](https://pmc.ncbi.nlm.nih.gov/articles/PMC6450745/)
2. [A. L. Delcher and colleagues (1999). Alignment of whole genomes. Nucleic Acids Research.](https://doi.org/10.1093/nar/27.11.2369)
3. [Aaron C.E. Darling and colleagues (2004). Mauve: Multiple Alignment of Conserved Genomic Sequence With Rearrangements. Genome Research.](https://doi.org/10.1101/gr.2289704)
4. [Aaron E. Darling, Bob Mau, Nicole T. Perna (2010). progressiveMauve: Multiple Genome Alignment with Gene Gain, Loss and Rearrangement. PLoS ONE.](https://doi.org/10.1371/journal.pone.0011147)
5. [Guillaume Marçais and colleagues (2018). MUMmer4: A fast and versatile genome alignment system. PLoS Computational Biology.](https://doi.org/10.1371/journal.pcbi.1005944)
6. [Joel Armstrong and colleagues (2020). Progressive Cactus is a multiple-genome aligner for the thousand-genome era. Nature.](https://doi.org/10.1038/s41586-020-2871-y)
7. [Mumemto: efficient maximal matching across pangenomes (Genome Biology, 2025)](https://link.springer.com/article/10.1186/s13059-025-03644-0)
8. [Glenn Hickey and colleagues (2023). Pangenome graph construction from genome alignments with Minigraph-Cactus. Nature Biotechnology.](https://doi.org/10.1038/s41587-023-01793-w)
9. [Stefan Kurtz and colleagues (2004). Versatile and open software for comparing large genomes. Genome biology.](https://doi.org/10.1186/gb-2004-5-2-r12)
10. [Benedict Paten and colleagues (2011). Cactus: Algorithms for genome multiple sequence alignment. Genome Research.](https://doi.org/10.1101/gr.123356.111)
11. [Cactus documentation: progressive.md](https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/progressive.md)
12. [MUMmer 4.x manual](https://mummer4.github.io/manual/manual.html)
13. [Cactus documentation: pangenome.md (Minigraph-Cactus)](https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/pangenome.md)
14. [A general method applicable to the search for similarities in the amino acid sequence of two proteins (Journal of Molecular Biology, 1970)](https://doi.org/10.1016/0022-2836%2870%2990057-4)
15. [Identification of common molecular subsequences (Journal of Molecular Biology, 1981)](https://doi.org/10.1016/0022-2836%2881%2990087-5)
16. [MUMmer comparative applications and timing analysis](https://mummer.sourceforge.net/applications.html)
17. [Nicolas Bray, Lior Pachter (2004). MAVID: Constrained Ancestral Alignment of Multiple Sequences. Genome Research.](https://doi.org/10.1101/gr.1960404)
18. [Benedict Paten and colleagues (2008). Enredo and Pecan: Genome-wide mammalian consistency-based multiple alignment with paralogs. Genome Research.](https://doi.org/10.1101/gr.076554.108)
19. [Glenn Hickey and colleagues (2013). HAL: a hierarchical format for storing and analyzing multiple genome alignments. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btt128)
20. [Dent Earl and colleagues (2014). Alignathon: a competitive assessment of whole-genome alignment methods. Genome Research.](https://doi.org/10.1101/gr.174920.114)
21. [Ilia Minkin, Son Pham, Paul Medvedev (2016). TwoPaCo: an efficient algorithm to build the compacted de Bruijn graph from many complete genomes. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btw609)
22. [Heng Li (2018). Minimap2: pairwise alignment for nucleotide sequences. Bioinformatics.](https://doi.org/10.1093/bioinformatics/bty191)
23. [Erik Garrison and colleagues (2018). Variation graph toolkit improves read mapping by representing genetic variation in the reference. Nature Biotechnology.](https://doi.org/10.1038/nbt.4227)
24. [Ilia Minkin, Paul Medvedev (2020). Scalable multiple whole-genome alignment and locally collinear block construction with SibeliaZ. Nature Communications.](https://doi.org/10.1038/s41467-020-19777-8)
25. [Heng Li, Xiaowen Feng, Chong Chu (2020). The design and construction of reference pangenome graphs with minigraph. Genome biology.](https://doi.org/10.1186/s13059-020-02168-z)
26. [Wen-Wei Liao and colleagues (2023). A draft human pangenome reference. Nature.](https://doi.org/10.1038/s41586-023-05896-x)
27. [Whole-Genome Alignment: Methods, Challenges, and Future Directions (Applied Sciences, 2024)](https://www.mdpi.com/2076-3417/14/11/4837)
28. [Samuel O’Donnell, Gilles Fischer (2020). MUM&Co: accurate detection of all SV types through whole-genome alignment. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btaa115)
29. [Jouni Sirén and colleagues (2021). Pangenomics enables genotyping of known structural variants in 5202 diverse genomes. Science.](https://doi.org/10.1126/science.abg8871)
30. [Beyond the Human Genome Project: The Age of Complete Human Genome Sequences and Pangenome References (Annual Review of Genomics and Human Genetics)](https://www.annualreviews.org/content/journals/10.1146/annurev-genom-021623-081639)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 生命与健康 › 生物学基础 › 遗传学与基因组参考资料 › Genomics, sequencing, and genome resources › Sequence assembly, alignment, and mapping

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/whole-genome-alignment

English original: https://www.edgepedia.org/whole-genome-alignment
