tstrait
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/
Installation
python -m pip install tstrait
# or
conda install -c conda-forge tstrait
Quickstart
See the documentation quickstart and examples: https://tskit.dev/tstrait/docs/stable/
Release files for tstrait 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tstrait-0.2.0.tar.gz | 330.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tstrait-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 357.4 kB
Release files / tstrait-0.2.0.tar.gz
| Download URL | tstrait-0.2.0.tar.gz |
|---|---|
| Size | 330.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc1db1280c8b75c0733ca78b298a336171895dc497b4d8206fa9e5968185c03e
|
|
BLAKE2b-256 checksum How to use checksums |
6142c33238ad0a0ab019ffcaccf040003295ed02afef1484a0ce491a7d4ca718
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / tstrait-0.2.0-py3-none-any.whl
| Download URL | tstrait-0.2.0-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83b834900c3617f67f17a4e598a33590224bbffc2f5c78824bbac5fd2c6777d3
|
|
BLAKE2b-256 checksum How to use checksums |
6656fad6b0e15f8ec90e85f9f686ad8fbb8ac9eb995d64c02fa4fc93c605a7e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log