We provide here scripts allowing forward simulations of temporal samples in several demographic scenarios using SLiM 2.6, and converting the output into microsatellite data following the stepwise mutation model.
The demographic scenarios simulated are:
-
isolated population of constant demographic size (isolated_pop_input.sh);
-
isolated population undergoing bottlenecks (bottleneck_input.sh);
-
population of constant demographic size in an island model of migration (migration_input.sh);
-
population in an island model undergoing admixture or extinction-recolonization events (admixture_input.sh).
R scripts to convert SLiM output into microsatellite data (readCustomSlimOutput.R and slim2microsat.R), as well as scripts to perform diversity analyses (DivStats.R, percentLD.R and MLGFS.R) are also provided. A readme file describing the details of each script is provided.
SLiM, 2.6