hstrat makes working with values that might be None safer and easier
Project description
hstrat
hstrat enables phylogenetic inference on distributed digital evolution populations
Free software: MIT license
Documentation: https://hstrat.readthedocs.io.
from hstrat import hstrat
individual1 = hstrat.HereditaryStratigraphicColumn()
individual2 = hstrat.HereditaryStratigraphicColumn()
individual1_child1 = individual1.CloneDescendant()
individual1.HasAnyCommonAncestorWith(individual2) # -> False
individual1_child1.HasAnyCommonAncestorWith(individual2) # -> False
individual1_grandchild1 = individual1_child1.CloneDescendant()
individual1_grandchild2 = individual1_child1.CloneDescendant()
individual1_grandchild1.CalcRankOfMrcaBoundsWith(
individual1_grandchild2,
) # -> (1, 2)
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.0.0 (2022-02-22)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hstrat-0.1.0.tar.gz
(57.8 kB
view hashes)
Built Distribution
hstrat-0.1.0-py2.py3-none-any.whl
(84.3 kB
view hashes)
Close
Hashes for hstrat-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 691d420ae9628a4c096174cf4d98a74d606e7afb389750b62579d9390e276d67 |
|
MD5 | 35d57af7dc27f488d7c40458464aaca2 |
|
BLAKE2b-256 | 342ef275049590a3280b25a71412cb58a9adbccce62fff05350c311fd30fe0b5 |