Welcome to stdgrimmsim

Population genetic simulations for German folklore and mythology.

stdgrimmsim is a library of demographic and genome models for beings from German folklore, fairy tales (Grimm), and regional mythology. Simulate dwarves, water spirits (Nix), Rübezahl, Frau Holle, the Loreley, and Black Forest spirits with made-up but population-genetically plausible parameters — powered by msprime and SLiM and built on the stdpopsim framework.

Es war einmal … — Grimms’ Fairy Tales

First steps

  • Install: Installation — get stdgrimmsim on your machine.

  • Explore: Catalog — 32 species and 150 demographic models.

  • Run: Tutorial — examples and workflows.

Quick run

Install and simulate 10 mountain dwarf samples over 100 kb:

$ pip install stdgrimmsim
$ stdgrimmsim ZweBerg -d BlackForest_1D12 -o dwarves.trees -L 100000 BlackForest:10

Then open dwarves.trees in tskit or continue with the tutorial.

Catalog at a glance

The full catalog lists every species and demographic model. By category:

Indices and tables