tstrait is a quantitative trait simulator of tskit tree sequences. It supports simulation of quantitative traits, sampling genetic effect sizes from various distributions, modelling pleiotropic phenotypes and environmental noise, and computing per-individual, per-node, and per-edge genetic values given the effect sizes of causal mutations.
Documentation: https://tskit.dev/tstrait/docs/stable/ (latest: https://tskit.dev/tstrait/docs/latest/) Learn more about tree sequences: https://tskit.dev/learn/
python -m pip install tstrait
# or
conda install -c conda-forge tstraitSee the documentation quickstart and examples: https://tskit.dev/tstrait/docs/stable/