Coalescent Simulation with msprime
Coalescent simulation is a fundamental tool in modern population genetics. The msprime library provides unprecedented scalability in terms of both the simulations that can be performed and the efficiency with which the results can be processed. We show how coalescent models for population structure...
Saved in:
| Published in | Methods in molecular biology Vol. 2090; p. 191 |
|---|---|
| Main Authors | , |
| Format | Journal Article Book Chapter |
| Language | English |
| Published |
United States
2020
|
| Subjects | |
| Online Access | Get full text |
| ISSN | 1064-3745 1940-6029 1940-6029 |
| DOI | 10.1007/978-1-0716-0199-0_9 |
Cover
| Summary: | Coalescent simulation is a fundamental tool in modern population genetics. The msprime library provides unprecedented scalability in terms of both the simulations that can be performed and the efficiency with which the results can be processed. We show how coalescent models for population structure and demography can be constructed using a simple Python API, as well as how we can process the results of such simulations to efficiently calculate statistics of interest. We illustrate msprime's flexibility by implementing a simple (but functional) approximate Bayesian computation inference method in just a few tens of lines of code. |
|---|---|
| ISSN: | 1064-3745 1940-6029 1940-6029 |
| DOI: | 10.1007/978-1-0716-0199-0_9 |