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.1.tar.gz
(58.1 kB
view hashes)
Built Distribution
hstrat-0.1.1-py2.py3-none-any.whl
(84.6 kB
view hashes)
Close
Hashes for hstrat-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e568f30808d3bd7859b45bf50c79699a36d0b55fedf428c5bb5e84e90c5ee5 |
|
MD5 | 4dd4a03a257925d6cd87729166e4ffc6 |
|
BLAKE2b-256 | 541ebc6b092eabfedfda37b421be43d042c433abd746f4af8a86026ebc80b5bf |