title: A stochastic simulator of birth-death master equations with application to phylodynamics.
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.
authors.affiliation: Allan Wilson Centre for Molecular Ecology and Evolution, Massey University, Palmerston North, New Zealand. t.g.vaughan@massey.ac.nz
authors.forename: Timothy G
authors.initials: TG
authors.lastname: Vaughan
authors.forename: Alexei J
authors.initials: AJ
authors.lastname: Drummond
mesh_terms: D000465:Algorithms; D000818:Animals; D003198:Computer Simulation; D004813:Epidemiology; D005828:Genetics, Population / Q000379:methods*; D054884:Host-Pathogen Interactions; D007700:Kinetics; D008957:Models, Genetic; D010802:Phylogeny; D013269:Stochastic Processes; D014777:Virus Diseases / Q000453:epidemiology*
keywords: chemical kinetics simulation; epidemic modeling; phylogenetic trees; population genetics; stochastic simulation