tree_matching_distance
An implementation of the tree distance metric suggested by Lin, Rajan, and Moret, at ISBRA 2011.
Description
This package contains a function to import and provides a command-line tool that compares two given trees and return a distance between them.
Usage
Run the program like
tree_matching_distance t1.tree t2.tree
where the two file parameters contain trees in Newick format on the same taxa.
To use the distance method from within your own code, write
from ete3 import Tree
from tree_matching_distance import distance
t1 = Tree('((a, b), (c, d));')
t2 = Tree('((a, c), (b, d));')
d = distance(t1, t2)
print(d)
for a simple test. Note that this package requires ETE3 trees.
Metadata
Release files for tree-matching-distance 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tree_matching_distance-1.0.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for tree_matching_distance-1.0.7-py2.py3-none-any.whl |
Release files / tree_matching_distance-1.0.7-py2.py3-none-any.whl
| Download URL | tree_matching_distance-1.0.7-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2399e559ef8d4db1dc6e8c198d1a32b45095ca547e96a1b5773a36749d7360de
|
|
BLAKE2b-256 checksum How to use checksums |
56a034e52ab18a1b36e440b4ff40678e7017c51aece10362696aee28173d271f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3
|
Security for tree-matching-distance 1.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.