tskit-dev/tskit: Python 0.5.4
- Jerome Kelleher1
- Ben Jeffery2
- Yan Wong1
- Peter Ralph3
- Georgia Tsambos3
- Shing Hei Zhan4
- Daniel Goldstein5
- Kevin R. Thornton6
- Anthony Wilder Wohns7
- pyup.io bot8
- Graham Gower9
- Hugo van Kemenade10
- Brian Zhang
- Murillo R.3
- Castedo Ellerman11
- Clemens Weiss
- Gertjan Bisschop
- Jeremy Guez
- Savita Karthikeyan
- Inés Rebollo
- Saurabh Belsare12
- Andrew Kern3
- Duncan Palmer
- marianne-aspbury
- Alexis Simon13
- Jeet Sukumaran14
- Jonathan Terhorst
- 1. Big Data Institute
- 2. Oxford University
- 3. University of Oregon
- 4. University of Oxford
- 5. Broad Institute of MIT and Harvard
- 6. University of California Irvine
- 7. Stanford University School of Medicine
- 8. @pyupio
- 9. University of Copenhagen
- 10. Nord Software
- 11. castedo.com
- 12. Kern-Ralph Co-Lab, University of Oregon
- 13. UC Davis
- 14. http://sukumaranlab.org
Description
Features
A new
Tree.is_rootmethod avoids the need to to search the potentially large list ofTree.roots(@hyanwong, #2669, #2620)The
TreeSequenceobject now has the attributesmin_timeandmax_time, which are the minimum and maximum among the node times and mutation times, respectively. (@szhan, #2612, #2271)The
draw_svgmethods now have amax_num_treesparameter to truncate the total number of trees shown, giving a readable display for tree sequences with many trees (@hyanwong, #2652)The
draw_svgmethods now accept acanvas_sizeparameter to allow extra room on the canvas e.g. for long labels or repositioned graphical elements (@hyanwong, #2646, #2645)The
Treeobject now has the methodsiblingsto get the siblings of a node. It returns an empty tuple if the node has no siblings, is not a node in the tree, is the virtual root, or is an isolated non-sample node. (@szhan, #2618, #2616)The
msprime.RateMapclass has been ported into tskit: functionality should be identical to the version in msprime, apart from minor changes in the formatting of tabular text output (@hyanwong, @jeromekelleher, #2678)Tskit now supports and has wheels for Python 3.11. This Python version has a significant performance boost. (@benjeffery , #2624 , #2248 )
Breaking Changes
Files
tskit-dev/tskit-0.5.4.zip
Additional details
Related works
- Is supplement to
- https://github.com/tskit-dev/tskit/tree/0.5.4 (URL)