In development
Maintenance release
- Upgrade supported Python versions to 3.11 -> 3.14
- Generalise the traversal algorithm to return node values {pr}
154 - Upgrade supported Python versions to 3.10 -> 3.13
sim_geneticfunction is no longer supported, and users should be usinggenetic_valuefunction instead. The newgenetic_valuefunction uses trait dataframe as an input, butrandom_seedis not a necessary argument, as there is no randomness involved. The frequency dependence architecture is implemented insim_traitfunction instead ofsim_geneticfunction, so users should put thealphaparameter insim_traitfunction instead.negativeinput in exponential and gamma distribution trait models are no longer supported, and users should be usingrandom_signinstead {pr}114
- Remove
num_causaldependence on simulating effect sizes {pr}107 - Add options to simulate effect sizes from
random_signin fixed value trait model {pr}109 - Add frequency dependence architecture in
sim_traitfunction, and allele frequency is given as an output as well {pr}111 - Implement
genetic_valuefunction to compute genetic values based on the trait dataframe. There is no randomness involved, and frequency dependence architecture is not implemented {pr}112 - Add option to input the causal site IDs, instead of randomly selecting them in
sim_phenotypeandsim_traitfunctions {pr}124 - Add
normalise_phenotypesfunction to normalize the simulated phenotypes {pr}130 - Add delta degrees of freedom input in
normalise_phenotypesfunction {pr}136 - Add
normalise_genetic_valuefunction to normalize the genetic values {pr}145
- Raise error when there are no individuals {pr}
97 - Raise error when incorrect values are given in the
num_causalargument {pr}99 - Remove
# pragma: no coverin certain functions {pr}119 - Modify default input arguments of
sim_trait,sim_envandsim_phenotypefunctions {pr}120 - Add
verification.pyfor statistical tests {pr}129 - Add statistical tests against external simulators {pr}
132 - Change the dtype of
trait_idinput ingenetic_valuefunction {pr}134 - Add density plot in
verification.py{pr}138 - Add multithreading in
verification.py{pr}139 - Conduct exact tests against AlphaSimR, simplePHENOTYPES and the simulation framework described in ARG-Needle paper in
verification.py{pr}140
- Modify introduction {pr}
96 - Document ploidy {pr}
98 - Documentation for the new
sim_traitfunction {pr}115 - Documentation for
random_signinput in trait distribution models {pr}122 - Modify phrasing in documentation {pr}
123 - Documentation for specifying causal site IDs {pr}
126 - Documentation for modifying the numericalization of genotypes {pr}
133 - Modify the frequency dependence explanation in the documentation {pr}
141 - Fix typo in documentation {pr}
142
- Initial stable release of tstrait in PyPI https://pypi.org/project/tstrait/
- Initial stable release of tstrait in conda-forge
- tstrait description in https://tskit.dev/software/
- Jerome Kelleher
- Ben Jeffery
- Gertjan Bisschop
- Daiki Tagami
Test release of the package before releasing it to conda-forge
- Jerome Kelleher
- Ben Jeffery
- Gertjan Bisschop
- Daiki Tagami
- Release of tstrait documentation in https://tskit.dev/tstrait/docs/latest/
- Hide private functions and classes {pr}
73 - Modify docstring explanations and examples {pr}
76
- Create infrastructure for documentation {pr}
77 - Build initial documentation {pr}
78 - Add Changelog to documentation {pr}
79
- Daiki Tagami
- Gertjan Bisschop
- Jerome Kelleher
Initial alpha release of the package.
- Daiki Tagami
- Gertjan Bisschop
- Jerome Kelleher