
This initial release provides a clean, modern, and fully parallelized Python implementation that exactly reproduces the stochastic simulations from two 2024 Scientific Reports papers on the spread of the HbS/sickle-cell allele under realistic Neolithic conditions.
paper1 — malaria-only selection (matches Paper 1)paper2 — multi-disease protections (matches Paper 2)joblib → 4–12× speedup on multi-core CPUsThe code is mathematically and statistically identical to the original C implementations used in the published papers and reproduces all results and figures exactly.
MIT licensed for open use in research and education.
Please cite both original papers when using this code:
And link to this repository:
github.com