Simulation of bacterial populations with SLiM - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles Peer Community Journal Year : 2022

Simulation of bacterial populations with SLiM


Simulation of genomic data is a key tool in population genetics, yet, to date, there is no forward-in-time simulator of bacterial populations that is both computationally efficient and adaptable to a wide range of scenarios. Here we demonstrate how to simulate bacterial populations with SLiM, a forward-in-time simulator built for eukaryotes. SLiM has gained many users in recent years, due to its speed and power, and has extensive documentation showcasing various scenarios that it can simulate. This paper focuses on a simple demographic scenario, to explore unique aspects of modeling bacteria in SLiM’s scripting language. In addition, we illustrate the flexibility of SLiM by simulating the growth of bacteria on a Petri dish with antibiotic. To foster the development of bacterial simulations based upon this recipe, we explain the inner workings of its code. We also validate the simulator, by extensively testing the results of simulations against existing simulators, and against theoretical expectations for some summary statistics. This protocol, with the flexibility and power of SLiM, will enable the community to simulate bacterial populations efficiently under a wide range of evolutionary scenarios.
Fichier principal
Vignette du fichier
Cury et al. - 2020 - Simulation of bacterial populations with SLiM.pdf (3.89 Mo) Télécharger le fichier
Origin Publisher files allowed on an open archive

Dates and versions

hal-03152153 , version 1 (25-02-2021)
hal-03152153 , version 2 (03-03-2021)
hal-03152153 , version 3 (13-01-2022)




Jean Cury, Benjamin C Haller, Guillaume Achaz, Flora Jay. Simulation of bacterial populations with SLiM. Peer Community Journal, 2022, ⟨10.24072/pcjournal.72⟩. ⟨hal-03152153v3⟩
477 View
319 Download



Gmail Mastodon Facebook X LinkedIn More