Welcome to stdferdowsim

Population genetic simulations for Persian mythology and the Shahnameh.

stdferdowsim is a library of demographic and genome models for creatures, spirits, and heroes from Persian mythology, Ferdowsi’s Shahnameh, and Zoroastrian cosmology. Simulate Simurgh, Divs, Jinn, Manticores, and dozens more with made-up but population-genetically plausible parameters — powered by msprime and SLiM and built on the stdpopsim framework.

Be not content with the stories that come before you. Unfold your own myth. — Rumi

First steps

  • Install: Installation — get stdferdowsim on your machine.

  • Explore: Catalog — 36 species and 360 demographic models.

  • Run: Tutorial — examples and workflows.

Quick run

Install and simulate 10 Simurgh samples with a ghost-admixture model:

$ pip install stdferdowsim
$ stdferdowsim SimAvi -d GhostAdmixture_3F10 -o simurgh.trees -L 100000 Main:10 Secondary:10

Then open simurgh.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