Releases: neherlab/treetime
v0.12.1
- fix
infer_ancestral_sequencessilently falling back to joint reconstruction instead of marginal in all iterations after the first whenbranch_length_mode='marginal'issue #601 PR #602
v0.12.0
- fix
treetime clocknot writingmolecular_clock.txtwith the rate estimate, despite documentation listing it among output files. Also fix copy-paste message intreetime timetreethat said "Inferred sequence evolution model" for the molecular clock file. Reported by @1ucyb issue #574, fixed by @ivan-aksamentov PR #575 - drop Python 3.7 from supported versions
v0.11.5
- fix
fill_overhangsfilling terminal gaps withN(asparagine) instead ofX(ambiguous) for amino acid sequences by @jbloom issue #522 PR #523 - fix crash when combining
branch_length_mode='marginal'withstochastic_resolve=True. Reported by @jameshadfield issue #516, fixed by @ivan-aksamentov PR #517 - fix
KeyError: 1when loading mugration weights CSV with pandas 3.x by @ivan-aksamentov PR #518
Bug fix release
- fix output of mutations into the
branch_mutation.txtfile which was masked by a conditional - adjust CLI help
- adjust output precision
Bug fix release
- calls to some random number generator error-ed after the recent switch to treetime owned RNGs.
- default argument for clock-filter method had a spelling mistake
- a branch length optimization function didn't handle profiles==True correctly
0.11.2: improvements in VCF parsing/writing + clock-filter functionality
0.11.2: improvements in VCF parsing/writing + clock-filter functionality
- rewrite of the vcf reading and writing code including many more tests, closer alignment with spec, and performance improvements by @jameshadfield PR #263
- clock-filter command can now remove detected outliers with the additional flag
--prune-outliers.
v0.11.1
Bug fixes and tweaks to plotting
- fix division by zero error during GTR inference
- improve doc strings in parse dates
- tweaks to background shading in timetree plot function (
plot_vs_years) - allow to specify branches on which date confidence intervals are shown.
v0.11.0
Feature: Better clock-filtering
Previously, only a crude analysis of whether the divergence of tips roughly follows a linear trend was implemented. Tips that deviated too much from that regression line were flagged as outliers and this threshold was parameterized as number of interquartile distances of the distribution of residuals n_iqd. This filter is not very sensitive and often misses misdated tips that severely distort the tree but still fall within the distribution of root-to-tip distances at that time. To overcome this, we implemented a novel filtering method that fits a simple gaussian model of divergence accumulation. Information on outliers is saved in a pandas DataFrame self.outliers of TreeTime and written to file as a tsv file when running treetime as command line tool.
Other fixes
- error when rate estimate is negative during the rate susceptibility calculation. Give hint in error message to specify the rate and its uncertainty explicitly.
- Fix bug issue #250 introduced in 0.10.0 where treetime fails in absence of an alignment when trying to create an auspice json file. PR #251
0.10.1: bug fix release
- avoid probability loss at the end of the domain of distributions (addresses #242)
- fix erroneous check for merger model
- raise error when probability is lost.
- improve initial guess in branch length optimizations
v0.10.0: add auspice.json output, drop python 3.6
- the output directory now contains a json file that is compatible with auspice.us. Both time scaled phylogenies and ancestral inferences can now be visualized and explored using auspice. Available colorings are "Date", "genotype", "Branch support", and "Excluded". See PR #232 for details.
- move most function related to IO of the command line wrappers into a separate file.
- make TreeTime own its random number generator and add
--rng-seedto control state in CLI. Any previous usage ofnumpy.random.seedwill now be ignored in favor of--rng-seed. See PR #234 - add flag
--greedy-resolve(currently default) as inverse to--stochastic-resolvewith the aim of switching the default behavior in the future.
Add deprecation warning forgreedy-resolve. - tighten conditions that trigger approximation of narrow distribution as a delta function in convolution using FFT PR #235.
- Drop support for python 3.6.
- Don't attempt to show figure when calling
Phylo.drawto suppress matplotlib back-end warning.