bioRxivBioinformaticsPreprint
SFS_CODE: More Efficient and Flexible Forward Simulations
Abstract
SUMMARYModern implementations of forward population genetic simulations are efficient and flexible, enabling the exploration of complex models that may otherwise be intractable. Here we describe an updated version of SFS_CODE, which has increased efficiency and includes many novel features. Among these features is an arbitrary model of dominance, the ability to simulate partial and soft selective sweeps, as well as track the trajectories of mutations and/or ancestries across multiple populations under complex models that are not possible under a coalescent framework. We also release sfs_coder, a Python wrapper to SFS_CODE allowing the user to easily generate command lines for common models of demography, selection, and human genome structure, as well as parse and simulate phenotypes from SFS_CODE output.\n\nAvailability and ImplementationOur open source software is written in C and Python, and are available under the GNU General Public License at http://sfscode.sourceforge.net.\n\nContactryan.hernandez@ucsf.edu\n\nSupplementary informationDetailed usage information is available from the project website at http://sfscode.sourceforge.net.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- SimBit: A high performance, flexible and easy-to-use population genetic simulator
R. Matthey-Doret·bioRxiv·May 12, 2020
- discoal: flexible coalescent simulations with selection
Andrew D. Kern, Daniel Schrider·bioRxiv·Jul 12, 2016
- CoalMiner: a coalescent model generator for fastsimcoal2
Raya Esplin, Arun Sethuraman·bioRxiv·Jun 30, 2026
- Cosi2 : An efficient simulator of exact and approximate coalescent with selection
Ilya Shlyakhter, Pardis C. Sabeti, Stephen F. Schaffner·BioinformaticsPeer-reviewed·Aug 22, 2014
- Efficient pedigree recording for fast population genetics simulation
Jerome Kelleher, Kevin Thornton, … Peter L. Ralph·PLoS Computational BiologyPeer-reviewed·Nov 1, 2018
- Accessible, realistic genome simulation with selection using stdpopsim
Graham Gower, Nathaniel S. Pope, … Andrew D. Kern·Molecular Biology and EvolutionPeer-reviewed·Sep 25, 2025