Sign in
Evolutionary BiologybioRxiv
Preprint

Bridging forward-in-time and coalescent simulations using pyslim

Shyamalika GopalaniD, Murillo F. RodriguesiD, Peter L. RalphiD, Benjamin C. HalleriD

Abstract

Ancestral Recombination Graphs (ARGs) provide an expressive and compact way to represent genetic variation data generated by simulations embedded within its genealogical history, and it can dramatically speed up simulations. The fact that the ARG records genealogical as well as genomic information opens up the possibility for a number of new analysis and simulation techniques. Here, we aim to introduce the reader to this deep source of information as produced by the forwards simulator SLiM. SLiM records the ARG using the tree sequence format, which can be manipulated using the tskit and pyslim python packages. We first describe the information that SLiM records in the tree sequence, then provide several examples that use the tree sequence as a format to losslessly pass population states between simulators: recapitation of a forwards simulation with coalescent simulation; initiation of a forwards simulation using the results of a coalescent simulation; and parallelization of simulations, first across branches of a phylogenetic tree, and then across the populations of parasites infecting different hosts.

PDFDOI

02 /Specification & Classification

Click any tag to browse matching papers

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.

Similarity Map
SelectedSame fieldCross-field
THISHaller '18Kelleher '18Kelleher '16Palamara '16Matthey‐Dor '21Loay '26
65% semantic matchEvolutionary Biology
B. C. Haller, J. Galloway, J. Kelleher+2 more·bioRxiv·Nov 6, 2018