This is the manual for msprime, a population genetics simulator of ancestry and DNA sequence evolution based on tskit. msprime can simulate ancestral histories for a sample of individuals, consistent with a given demography under a range of different models and evolutionary processes. It can also simulate mutations on a given ancestral history (which can be produced by msprime ancestry simulations or other programs supporting tskit) under a variety of different models of genome sequence evolution.

Besides this manual, there are a number of other resources available for learning about tskit and msprime:


If you use msprime in your work, please remember to cite it appropriately: see the citations page for details.


Getting started