tspyro
is a Pyro
-based method for inferring posterior distributions on the geographic location and age of ancestral nodes in a tree sequence. tspyro
can operate on any valid tree sequence in the tskit
format, including those simulated with SLiM
(possibly using Slendr
) or msprime
, or inferred by tsinfer
.
tspyro
is not yet available via PyPI or conda, so to install tspyro
please clone this repo.
The required Python packages can be installed with:
pip3 install -r requirements.txt