There is a newer version of the record available.

Published March 30, 2025 | Version 0.2.2
Software Open

Tsdate

Description

Features

  • An allow_unary flag (False by default) has been added to all methods.

  • A set_metadata flag has been added so that node and mutation metadata can be omitted, saved (default), or overwritten even if this requires changing the schema.

  • An environment variable TSDATE_ENABLE_NUMBA_CACHE can be set to cache JIT compiled code, speeding up loading time (useful when testing).

  • The time taken for running tsdate is now recorded in the provenance data

  • Historical samples (sample nodes with time > 0) are now allowed in the tree sequence.

Documentation

  • Various fixes in documentation, including documenting returned fits.

Breaking changes

  • The return_posteriors argument has been removed and replaced with return_fit. An instance of one of two previously internal classes, ExpectationPropagation and BeliefPropagation, are now returned when return_fit=True, and posteriors can be obtained using fit.node_posteriors().

  • Topology-only dating (setting mutation_rate=None) has been removed for tree sequences of more than one tree, as tests have found that span-weighting the conditional coalescent causes substantial bias.

  • The trim_telomeres parameter in the tsdate.preprocess_ts() function has been renamed to erase_flanks, to match tinfer.preprocess(). The previous name is kept as a deprecated alias.

Notes

If you use tsdate in your work, please cite it as below.

Files

tskit-dev/tsdate-0.2.2.zip

Files (252.2 kB)

Name Size Download all
md5:62de8df158d07c8fc2879e9d440c15aa
252.2 kB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/tskit-dev/tsdate/tree/0.2.2 (URL)

Software