# 溯祖理论

溯祖理论是群体遗传学中的一个数学框架，它沿时间回溯，对一组DNA序列样本的谱系进行建模，将该谱系中的溯祖时间与种群大小联系起来，并从序列数据中估计人口统计学和演化参数。其输出包括谱系（基因树，或在存在重组时，祖先重组图）、随时间变化的有效种群大小估计、[最近共同祖先](https://www.edgepedia.org/zh/most-recent-common-ancestor)时间，以及诸如种群突变参数 \( \theta \) 之类的派生量。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6972798/)</sup><sup> • </sup><sup>[2](https://www.sciencedirect.com/science/article/pii/0304414982900114)</sup>

| 关键事实 | 详情 |
|---|---|
| 建模对象 | 大种群中 \( n \) 个成员样本之间的亲缘关系，表现为世系合并的连续时间马尔可夫链<sup>[2](https://www.sciencedirect.com/science/article/pii/0304414982900114)</sup> |
| 期望时间 | 有 \( k \) 个世系时，\( E(T_{k}) = 4N/(k \cdot (k-1)) \)；TMRCA的期望值为 \( 4N \cdot (1-1/k) \approx 4N \)<sup>[3](https://gtpb.github.io/PGDH19/assets/Wright-Fisher_model_and_Kingman's_coalescent.pdf)</sup> |
| 核心参数 | \( \theta = 4N_{e} \cdot \mu \)，通常由 \( \pi \)（每位点平均核苷酸差异数）估计；\( N_{e} \approx \theta/(4 \cdot \mu) \)<sup>[4](https://elinck.org/popgen_congen_notes/coalescent.html)</sup> |
| 起源 | 约翰·金曼于1982年发表的 \( n \)-溯祖<sup>[5](https://doi.org/10.1016/0304-4149%2882%2990011-4)</sup> |
| 主要模拟器 | ms、msprime、MaCS、scrm、fastsimcoal、msms；msprime可精确模拟带重组的溯祖过程<sup>[6](https://www.frontiersin.org/journals/genetics/articles/10.3389/fgene.2026.1753780/full)</sup> |
| 核心假设 | 选择中性、随机交配，且每次仅有两个世系发生溯祖<sup>[7](https://people.eecs.berkeley.edu/~jordan/sail/readings/nordborg.pdf)</sup><sup> • </sup><sup>[8](https://doi.org/10.1534/genetics.118.301684)</sup> |
| 近期转变 | ARG的使用正日益广泛应用于群体遗传学各领域<sup>[9](https://www.nature.com/articles/s41576-024-00772-4)</sup> |

## 工作原理

溯祖理论将样本的祖先谱系视为一个沿时间回溯的随机过程。从当前时刻回看，成对的采样世系在随机事件中到达共同祖先；每次溯祖使不同祖先的数量减少一个，因此大小为 \( n \) 的样本的历史包含 \( n-1 \) 次溯祖事件。<sup>[10](https://people.eecs.berkeley.edu/~jordan/sail/readings/wakeley-chapter3.pdf)</sup> 金曼证明了这种世系合并为共同祖先的过程可由一个特定的数学过程——\( n \)-溯祖——来描述，并且它是包括赖特-费舍尔模型和莫兰模型在内的广泛种群结构的极限祖先过程。<sup>[10](https://people.eecs.berkeley.edu/~jordan/sail/readings/wakeley-chapter3.pdf)</sup> 形式上，\( n \)-溯祖是定义在有限状态集上的连续时间[马尔可夫链](https://www.edgepedia.org/zh/markov-chain)，描述从大单倍体种群中抽取的 \( n \) 个成员样本之间的亲缘关系；其转移概率可分解为一个纯灭过程和一个离散时间跳跃链。<sup>[2](https://www.sciencedirect.com/science/article/pii/0304414982900114)</sup>

时间尺度由有效种群大小 \( N_{e} \) 设定。有 \( k \) 个世系时，在大小为 \( N \) 的二倍体种群中，下一次溯祖的期望等待时间为 \( E(T_{k}) = 4N/(k \cdot (k-1)) \)，最近共同祖先的期望时间为 \( E(\mathrm{TMRCA}) = 4N \cdot (1-1/k) \approx 4N \)；最后一次合并的期望为 \( E(T_{2}) = 2N \)。在赖特-费舍尔种群中，一代中的任意两个等位基因在上一代以概率 \( 1/(2N_{e}) \) 同源相同。突变通过种群突变参数 \( \theta = 4N_{e} \cdot \mu \) 叠加到谱系上，其中 \( \mu \) 是每位点突变率；\( \theta \) 通常由 \( \pi \) 估计，\( N_{e} \) 则可由 \( \theta/(4 \cdot \mu) \) 得出。该模型下的期望杂合度为 \( \bar{H} = 4 \cdot \mu \cdot N_{e}/(4 \cdot \mu \cdot N_{e} + 1) \)。

## 实施方法

实践者通常以两种模式之一开展工作：模拟或推断。模拟是溯祖理论的实用优势所在：由于该过程仅追踪与样本相关的祖先，溯祖模拟比前向赖特-费舍尔模拟快得多，尽管其通用性较差，且更难针对新情况进行修改。<sup>[11](https://web.stanford.edu/group/pritchardlab/HGbook/Release-2023-09/HGBook-2023-09-chapters/HGBook-2023-09-23-ch2.2.pdf)</sup> 在哈德森算法下，为 \( n \) 个基因的样本模拟谱系仅需 \( O(n) \) 时间和空间。<sup>[12](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1004842)</sup> Python包msprime可精确模拟带重组的溯祖过程，在重组参数 \( \rho \) 大约达到20000之前，比SMC近似方法MaCS和scrm更快，且远快于该比较中唯一另一个精确模拟器msms。<sup>[12](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1004842)</sup> fastsimcoal可在任意复杂的演化场景下模拟基因组多样性。<sup>[13](https://doi.org/10.1093/bioinformatics/btr124)</sup>

溯祖理论下的全似然推断较为困难，因为除亲本独立突变情形外，所需似然函数没有显式表达式；主要替代方案是汇总统计量和近似贝叶斯计算方法，以及李-斯蒂芬斯策略——在一个具有溯祖理论许多性质的可处理模型下进行推断。<sup>[14](https://ar5iv.labs.arxiv.org/html/1006.1514)</sup> [重要性采样](https://www.edgepedia.org/zh/importance-sampling)和近似条件乘积方法已被应用于全似然问题。<sup>[15](https://www.cambridge.org/core/journals/journal-of-applied-probability/article/computational-inference-beyond-kingmans-coalescent/5B4EC7ED42FBE5B7292BA49A7EEF49C1)</sup> 对于重组数据，祖先重组图推断方法在成本和精度上差异显著：在一项包含8个单倍型的基准测试中，ARGweaver总共耗时641个计算小时，Relate耗时17小时，而tsinfer和tsdate合计仅需5分钟。<sup>[16](http://academic.oup.com/genetics/article/221/1/iyac044/6554197)</sup> 已发表的比较研究支持使用多种方法并比较其推断结果。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6972798/)</sup> Moonshine.jl是一个用于基因组规模基于模型的ARG推断的Julia包，于2026年发表于《遗传学前沿》。<sup>[6](https://www.frontiersin.org/journals/genetics/articles/10.3389/fgene.2026.1753780/full)</sup>

## 起源

溯祖理论由[约翰·金曼](https://www.edgepedia.org/zh/john-kingman)引入，他于1982年在《随机过程及其应用》上发表了 \( n \)-溯祖<sup>[5](https://doi.org/10.1016/0304-4149%2882%2990011-4)</sup>，并于同年在《应用概率论杂志》上发表了配套论述《论大种群的谱系》。<sup>[17](https://doi.org/10.2307/3213548)</sup> 该框架建立在早期工作之上，包括塔瓦雷1984年对群体遗传学模型中世系传承和谱系过程的综述。<sup>[18](https://doi.org/10.1016/0040-5809%2884%2990027-3)</sup> 哈德森1991年的综述将基因树作为序列数据统计检验和参数估计的基础。<sup>[19](https://home.uchicago.edu/rhudson1/popgen356/OxfordSurveysEvolBiol7_1-44.pdf)</sup> 直到能够模拟带重组溯祖过程的软件出现后，该理论才得到广泛应用；用C语言编写的ms是此类软件中的第一个。<sup>[6](https://www.frontiersin.org/journals/genetics/articles/10.3389/fgene.2026.1753780/full)</sup>

## 变体

**重组与ARG。** 结合重组和溯祖的随机过程，其每个位点的局部谱系等价于金曼的单位点溯祖。<sup>[16](http://academic.oup.com/genetics/article/221/1/iyac044/6554197)</sup> 祖先重组图一词最初用于指代与带重组溯祖等价的随机过程，现在通常用于表示代表样本可能谱系历史的固定图。<sup>[20](https://pmc.ncbi.nlm.nih.gov/articles/PMC8936483/)</sup>

**序贯马尔可夫溯祖。** SMC限制了哈德森溯祖的状态空间，使该过程在时间回溯方向和沿基因组方向均具有马尔可夫性；SMC′（马乔拉姆和沃尔，2006）是一种改进，还允许具有相邻基因组区间的世系发生溯祖，总体上是对ARG更好的近似。<sup>[21](https://pmc.ncbi.nlm.nih.gov/articles/PMC12774825/)</sup><sup> • </sup><sup>[22](http://academic.oup.com/genetics/article/201/1/281/5930094/)</sup> 应用方法包括PSMC、MSMC和SMC++。MSMC可揭示近至2000年前的人类人口统计学事件，而PSMC无法可靠解析过去20000年内的有效大小变化；SMC++可容纳比MSMC多得多的基因组，无需定相，且对近期种群大小的估计以及在存在定相误差时的推断更为准确。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6972798/)</sup> PHLASH于2025年发表于《自然·遗传学》，通过平均溯祖强度函数的随机低维投影，从全基因组序列数据推断种群大小历史；在模拟数据上，它往往比SMC++、MSMC2和FITCOAL更快且误差更低。<sup>[23](https://www.nature.com/articles/s41588-025-02323-x)</sup>

**其他扩展。** 在结构溯祖中，斑块 \( i \) 中的每对世系以速率 \( 1/c_{i} \) 独立溯祖，每个世系沿时间回溯以速率 \( B_{ij}/2 \) 迁移至斑块 \( j \)。<sup>[7](https://people.eecs.berkeley.edu/~jordan/sail/readings/nordborg.pdf)</sup> 该模型被扩展至随时间变化的有效种群大小 \( N_{e}(t) \)，天际线图估计则始于将 \( N_{e}(t) \) 建模为分段常数，在每个溯祖时间发生变化。<sup>[24](https://arxiv.org/pdf/2602.06148)</sup> 多物种溯祖将框架扩展至物种树，更一般的 \( \Lambda \)-溯祖和 \( \Xi \)-溯祖允许多个世系同时合并。<sup>[15](https://www.cambridge.org/core/journals/journal-of-applied-probability/article/computational-inference-beyond-kingmans-coalescent/5B4EC7ED42FBE5B7292BA49A7EEF49C1)</sup>

## 应用

**人口统计学历史。** PSMC分析已解析出现代人类和其他大型猿类超过一百万年的种群历史。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6972798/)</sup> Popsicle方法是一种将 \( N_{e}(t) \) 与溯祖时间分布联系起来的精确解析解，在10000个或更多位点下表现良好，应用于来自四个种群的人类基因组时，它重建了走出非洲的瓶颈，并提示早在40万年前就存在潜在的非洲与非非洲种群大小差异。<sup>[25](https://pmc.ncbi.nlm.nih.gov/articles/PMC5105851/)</sup> 一种结合SMC′的贝叶斯非参数方法产生的点估计比最大似然估计精确四倍，并证实了过去15万年间已知的人类种群大小历史。<sup>[22](http://academic.oup.com/genetics/article/201/1/281/5930094/)</sup>

**物种树与ARG。** 多物种溯祖下的物种树估计解决了以下问题：不完全谱系分选（祖先基因变异在物种分化时未能清晰分选）、基因重复与丢失、水平基因转移和杂交都可能导致基因树与物种历史不一致。<sup>[26](https://www.annualreviews.org/content/journals/10.1146/annurev-ecolsys-012121-095340)</sup> 基于ARG的方法现已应用于种群大小历史、迁移、混合、重组、突变和选择。<sup>[9](https://www.nature.com/articles/s41576-024-00772-4)</sup> msprime已被用于基于谱系信息模拟加拿大魁北克省约140万人的逼真全基因组序列。<sup>[27](https://journals.plos.org/plosgenetics/article?id=10.1371%2Fjournal.pgen.1011110)</sup>

## 局限与替代方案

金曼溯祖是作为赖特-费舍尔模型（基因频率在世代间变化的基本模型）的极限推导而来，并共享其恒定大小、随机交配、世代不重叠和泊松后代分布等假设。<sup>[8](https://doi.org/10.1534/genetics.118.301684)</sup> 它还关键依赖于选择中性：如果一个世系的等位基因状态影响其繁殖成功率，则世系传承无法与状态分离，尽管选择可通过祖先选择图纳入。<sup>[7](https://people.eecs.berkeley.edu/~jordan/sail/readings/nordborg.pdf)</sup>

若干条件打破了每次仅两个世系溯祖的假设：后代数方差大、强选择、大样本量以及反复的选择性扫荡，这些都会产生多合并谱系。<sup>[8](https://doi.org/10.1534/genetics.118.301684)</sup> 对于后代分布高度偏斜的生物（如病毒），基于金曼的方法即使在选择中性条件下也可能严重误判。<sup>[8](https://doi.org/10.1534/genetics.118.301684)</sup> 种群大小估计也可能被自然选择扭曲；纯化选择移除遗传变异，导致种群大小表观减少，而连锁中性变异可能受到附近选择位点搭车效应的影响。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6972798/)</sup> 种群结构是另一个混杂因素：在岛屿模型低迁移下，序贯方法推断的溯祖有效种群大小可能远大于真实种群大小，因此人口统计学图上的峰值可能反映结构而非大小变化。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6972798/)</sup> 基于ARG的方法有其自身偏差：ARGweaver、Relate和tsinfer/tsdate都倾向于高估小的溯祖时间并低估大的溯祖时间。<sup>[16](http://academic.oup.com/genetics/article/221/1/iyac044/6554197)</sup> 最后，PSMC和MSMC不提供正式的假设检验框架；自举重复只能给出近似的置信区间。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC6972798/)</sup>

## References

1. [A practical introduction to sequentially Markovian coalescent methods for estimating demographic history from genomic data](https://pmc.ncbi.nlm.nih.gov/articles/PMC6972798/)
2. [The coalescent (Kingman, Stochastic Processes and their Applications, 1982), publisher page](https://www.sciencedirect.com/science/article/pii/0304414982900114)
3. [The basics of inference in population genetics: Wright–Fisher and the coalescent (course notes)](https://gtpb.github.io/PGDH19/assets/Wright-Fisher_model_and_Kingman's_coalescent.pdf)
4. [The Coalescent – Fundamentals of Population and Conservation Genetics (course notes)](https://elinck.org/popgen_congen_notes/coalescent.html)
5. [The coalescent (Stochastic Processes and their Applications, 1982)](https://doi.org/10.1016/0304-4149%2882%2990011-4)
6. [Moonshine.jl: a Julia package for genome-scale model-based ancestral recombination graph inference (Frontiers in Genetics, 2026)](https://www.frontiersin.org/journals/genetics/articles/10.3389/fgene.2026.1753780/full)
7. [Coalescent Theory (Nordborg, handbook chapter)](https://people.eecs.berkeley.edu/~jordan/sail/readings/nordborg.pdf)
8. [Andrew M Sackman, Rebecca B Harris, Jeffrey D Jensen (2019). Inferring Demography and Selection in Organisms Characterized by Skewed Offspring Distributions. Genetics.](https://doi.org/10.1534/genetics.118.301684)
9. [Inference and applications of ancestral recombination graphs (Nature Reviews Genetics, 2024)](https://www.nature.com/articles/s41576-024-00772-4)
10. [The Coalescent (Wakeley, Coalescent Theory: An Introduction, ch. 3)](https://people.eecs.berkeley.edu/~jordan/sail/readings/wakeley-chapter3.pdf)
11. [HG Book ch. 2.2: The coalescent, a short history (Pritchard lab textbook)](https://web.stanford.edu/group/pritchardlab/HGbook/Release-2023-09/HGBook-2023-09-chapters/HGBook-2023-09-23-ch2.2.pdf)
12. [Efficient Coalescent Simulation and Genealogical Analysis for Large Sample Sizes (msprime)](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1004842)
13. [Laurent Excoffier, Matthieu Foll (2011). fastsimcoal: a continuous-time coalescent simulator of genomic diversity under arbitrarily complex evolutionary scenarios. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btr124)
14. [The coalescent and its descendants (review monograph, arXiv)](https://ar5iv.labs.arxiv.org/html/1006.1514)
15. [Computational Inference Beyond Kingman's Coalescent (Journal of Applied Probability)](https://www.cambridge.org/core/journals/journal-of-applied-probability/article/computational-inference-beyond-kingmans-coalescent/5B4EC7ED42FBE5B7292BA49A7EEF49C1)
16. [Evaluation of methods for estimating coalescence times using ancestral recombination graphs (Genetics, 2022)](http://academic.oup.com/genetics/article/221/1/iyac044/6554197)
17. [J. F. C. Kingman (1982). On the genealogy of large populations. Journal of Applied Probability.](https://doi.org/10.2307/3213548)
18. [Line-of-descent and genealogical processes, and their applications in population genetics models (Theoretical Population Biology, 1984)](https://doi.org/10.1016/0040-5809%2884%2990027-3)
19. [Hudson, Oxford Surveys in Evolutionary Biology (1991), coalescent review](https://home.uchicago.edu/rhudson1/popgen356/OxfordSurveysEvolBiol7_1-44.pdf)
20. [Bayesian inference of ancestral recombination graphs (ARGinfer)](https://pmc.ncbi.nlm.nih.gov/articles/PMC8936483/)
21. [Likelihoods for a general class of ARGs under the SMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12774825/)
22. [Bayesian Nonparametric Inference of Population Size Changes from Sequential Genealogies (Genetics)](http://academic.oup.com/genetics/article/201/1/281/5930094/)
23. [Accelerated Bayesian inference of population size history from recombining sequence data (PHLASH, Nature Genetics, 2025)](https://www.nature.com/articles/s41588-025-02323-x)
24. [Large-sample analysis of cost functionals for inference under the coalescent (arXiv preprint)](https://arxiv.org/pdf/2602.06148)
25. [Inferring Past Effective Population Size from Distributions of Coalescent Times (Popsicle)](https://pmc.ncbi.nlm.nih.gov/articles/PMC5105851/)
26. [Multispecies Coalescent: Theory and Applications in Phylogenetics (Annual Review of Ecology, Evolution, and Systematics)](https://www.annualreviews.org/content/journals/10.1146/annurev-ecolsys-012121-095340)
27. [The era of the ARG: An introduction to ancestral recombination graphs and their significance in empirical evolutionary genomics](https://journals.plos.org/plosgenetics/article?id=10.1371%2Fjournal.pgen.1011110)

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

Topic: 生命与健康 › 生物学基础 › 演化与生命史 › Evolutionary mechanisms and processes › Natural selection and adaptation

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/coalescent-theory

English original: https://www.edgepedia.org/coalescent-theory
