Related Experiment Video
Updated: Apr 25, 2026

Analyzing Multifactorial RNA-Seq Experiments with DiCoExpress
Published on: July 29, 2022
Cosi2: an efficient simulator of exact and approximate coalescent with selection
Ilya Shlyakhter1, Pardis C Sabeti1, Stephen F Schaffner2
1Broad Institute of MIT and Harvard, MA 02142 and Department of Organismic and Evolutionary Biology, Harvard University, Cambridge, MA 02138, USA Broad Institute of MIT and Harvard, MA 02142 and Department of Organismic and Evolutionary Biology, Harvard University, Cambridge, MA 02138, USA.
Motivation:
Efficient simulation of population genetic samples under a given demographic model is a prerequisite for many analyses. Coalescent theory provides an efficient framework for such simulations, but simulating longer regions and higher recombination rates remains challenging. Simulators based on a Markovian approximation to the coalescent scale well, but do not support simulation of selection. Gene conversion is not supported by any published coalescent simulators that support selection.
Results:
We describe cosi2, an efficient simulator that supports both exact and approximate coalescent simulation with positive selection. cosi2 improves on the speed of existing exact simulators, and permits further speedup in approximate mode while retaining support for selection. cosi2 supports a wide range of demographic scenarios, including recombination hot spots, gene conversion, population size changes, population structure and migration. cosi2 implements coalescent machinery efficiently by tracking only a small subset of the Ancestral Recombination Graph, sampling only relevant recombination events, and using augmented skip lists to represent tracked genetic segments. To preserve support for selection in approximate mode, the Markov approximation is implemented not by moving along the chromosome but by performing a standard backwards-in-time coalescent simulation while restricting coalescence to node pairs with overlapping or near-overlapping genetic material. We describe the algorithms used by cosi2 and present comparisons with existing selection simulators.
Availability And Implementation:
A free C++ implementation of cosi2 is available at http://broadinstitute.org/mpg/cosi2.
More Related Videos
07:59Author Spotlight: Alignment of Synchronized Time-Series Data Using the Characterizing Loss of Cell Cycle Synchrony Model for Cross-Experiment Comparisons
Published on: June 9, 2023
07:11Digital PCR-based Competitive Index for High-throughput Analysis of Fitness in Salmonella
Published on: May 13, 2019
Related Concept Videos
One-Compartment Open Model: Wagner-Nelson and Loo Riegelman Method for ka Estimation
On...
Frequency-dependent Selection
Distributions to Estimate Population Parameter
Assumptions of Survival Analysis
Limits to Natural Selection
Multi-species Conserved Sequences
Although the genome of each species varies greatly from each other, a few sequences are highly conserved. Such conserved...