๐ Welcome to krsim
Malaria transmission simulator
A forward simulator that brings together malaria modelling and population genetics to model parasite transmission. Whole-genome information is tracked through every recombination event as an ancestral recombination graph, stored efficiently with tskit. From the recorded genealogy (a tree sequence), krsim overlays mutations and outputs coalescence times across the genome and VCF files at the strain level and at the (observed) host level.
Install krsim, then start with the quick start.
Pipeline
krsim runs as a series of commands. Each one reads the files written by an earlier stage and writes new ones.

Each grey box is a krsim command, and the files inside its dashed outline are the ones it writes. Arrows show which files each command reads. Every command also records what it did in KR_sim_{seed}.log in its --output_dir.
See the command-line reference for every option and Output files for what each file contains.