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 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/
Installation
python -m pip install tstrait
# or
conda install -c conda-forge tstraitQuickstart
See the documentation quickstart and examples: https://tskit.dev/tstrait/docs/stable/