skelesim: an extensible, general framework for population genetic simulation in R

Christian M. Parobek, Frederick I. Archer, Michelle E. DePrenger-Levin, Sean M. Hoban, Libby Liggins, Allan E. Strand
2016 Molecular Ecology Resources  
Simulations are a key tool in molecular ecology for inference and forecasting, as well as for evaluating new methods. Due to growing computational power and a diversity of software with different capabilities, simulations are becoming increasingly powerful and useful. However, the widespread use of simulations by geneticists and ecologists is hindered by difficulties in understanding these softwares' complex capabilities, composing code and input files, a daunting bioinformatics barrier, and a
more » ... teep conceptual learning curve. skeleSim (an R package) guides users in choosing appropriate simulations, setting parameters, calculating genetic summary statistics, and organizing data output, in a reproducible pipeline within the R environment. skeleSim is designed to be an extensible framework that can 'wrap' around any simulation software (inside or outside the R environment) and be extended to calculate and graph any genetic summary statistics. Currently, skeleSim implements coalescent and forward-time models available in the fastsimcoal2 and rmetasim simulation engines to produce null distributions for multiple population genetic statistics and marker types, under a variety of demographic conditions. skeleSim is intended to make simulations easier while still allowing full model complexity to ensure that simulations play a fundamental role in molecular ecology investigations. skeleSim can also serve as a teaching tool: demonstrating the outcomes of stochastic population genetic processes; teaching general concepts of simulations; and providing an introduction to the R environment with a user-friendly graphical user interface (using shiny). Corresponding author: cmp@unc.edu. Data Accessibility • Source code and current development version available from GitHub (github.com/christianparobek/skeleSim) • Vignettes ship with the package, and additionally can be accessed in markdown form at (https://github.com/ christianparobek/skeleSim/blob/master/vignettes) • Stable version of skeleSim and vignettes will be available from CRAN
doi:10.1111/1755-0998.12607 pmid:27736016 pmcid:PMC5161633 fatcat:35cam4r5drboldvlli7ntubzny