Related Experiment Video
Updated: Jul 8, 2025

Daily Transfers, Archiving Populations, and Measuring Fitness in the Long-Term Evolution Experiment with Escherichia coli
Published on: August 18, 2023
STUN: forward-time simulation on TUnable fitNess landscapes in recombining populations
André Amado1,2, Juan Li1,2, Claudia Bank1,2
1Institute of Ecology and Evolution, University of Bern, 3012 Bern, Switzerland.
Motivation:
Understanding the population genetics of complex polygenic traits during adaptation is challenging.
Results:
Here, we implement a forward-in-time population-genetic simulator (STUN) based on Wright-Fisher dynamics. STUN is a flexible and user-friendly software package for simulating the polygenic adaptation of recombining haploid populations using either new mutations or standing genetic variation. STUN assumes that populations adapt to sudden environmental changes by undergoing selection on a new fitness landscape. With pre-implemented fitness landscape models like Rough Mount Fuji, NK, Block, additive, and House-of-Cards, users can explore the effect of different levels of epistasis (ruggedness of the fitness landscape). Custom fitness landscapes and recombination maps can also be defined. STUN empowers both experimentalists and advanced programmers to study the evolution of complex polygenic traits and to dissect the adaptation process.
Availability And Implementation:
STUN is implemented in Rust. Its source code is available at https://github.com/banklab/STUN and archived on Zenodo under doi: 10.5281/zenodo.10246377. The repository includes a link to the software's manual and binary files for Linux, macOS and Windows.
Related Concept Videos
Speciation Rates
Genetic Drift
Mutation, Gene Flow, and Genetic Drift
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Life Histories
Genetics of Speciation

