Email updates

Keep up to date with the latest news and content from BMC Bioinformatics and BioMed Central.

Open Access Software

PhyloSim - Monte Carlo simulation of sequence evolution in the R statistical computing environment

Botond Sipos12*, Tim Massingham1, Gregory E Jordan1 and Nick Goldman1

Author Affiliations

1 EMBL-European Bioinformatics Institute, Hinxton, UK

2 Laboratory of Molecular Biodiversity, Institute of Genetics, Biological Research Center, Szeged, Hungary

For all author emails, please log on.

BMC Bioinformatics 2011, 12:104  doi:10.1186/1471-2105-12-104

Published: 19 April 2011

Abstract

Background

The Monte Carlo simulation of sequence evolution is routinely used to assess the performance of phylogenetic inference methods and sequence alignment algorithms. Progress in the field of molecular evolution fuels the need for more realistic and hence more complex simulations, adapted to particular situations, yet current software makes unreasonable assumptions such as homogeneous substitution dynamics or a uniform distribution of indels across the simulated sequences. This calls for an extensible simulation framework written in a high-level functional language, offering new functionality and making it easy to incorporate further complexity.

Results

PhyloSim is an extensible framework for the Monte Carlo simulation of sequence evolution, written in R, using the Gillespie algorithm to integrate the actions of many concurrent processes such as substitutions, insertions and deletions. Uniquely among sequence simulation tools, PhyloSim can simulate arbitrarily complex patterns of rate variation and multiple indel processes, and allows for the incorporation of selective constraints on indel events. User-defined complex patterns of mutation and selection can be easily integrated into simulations, allowing PhyloSim to be adapted to specific needs.

Conclusions

Close integration with R and the wide range of features implemented offer unmatched flexibility, making it possible to simulate sequence evolution under a wide range of realistic settings. We believe that PhyloSim will be useful to future studies involving simulated alignments.