A stochastic simulator of birth-death master equations with application to phylodynamics

Mol Biol Evol. 2013 Jun;30(6):1480-93. doi: 10.1093/molbev/mst057. Epub 2013 Mar 16.

Abstract

In this article, we present a versatile new software tool for the simulation and analysis of stochastic models of population phylodynamics and chemical kinetics. Models are specified via an expressive and human-readable XML format and can be used as the basis for generating either single population histories or large ensembles of such histories. Importantly, phylogenetic trees or networks can be generated alongside the histories they correspond to, enabling investigations into the interplay between genealogies and population dynamics. Summary statistics such as means and variances can be recorded in place of the full ensemble, allowing for a reduction in the amount of memory used--an important consideration for models including large numbers of individual subpopulations or demes. In the case of population size histories, the resulting simulation output is written to disk in the flexible JSON format, which is easily read into numerical analysis environments such as R for visualization or further processing. Simulated phylogenetic trees can be recorded using the standard Newick or NEXUS formats, with extensions to these formats used for non-tree-like inheritance relationships.

Keywords: chemical kinetics simulation; epidemic modeling; phylogenetic trees; population genetics; stochastic simulation.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms
  • Animals
  • Computer Simulation
  • Epidemiology
  • Genetics, Population / methods*
  • Host-Pathogen Interactions
  • Kinetics
  • Models, Genetic*
  • Phylogeny*
  • Stochastic Processes
  • Virus Diseases / epidemiology*