damicore-tree-builder
damicore-tree-builder builds a deterministic Neighbor Joining tree from a
distance matrix and its labels. It is the third stage of the DAMICORE pipeline;
most users install the aggregate damicore distribution, which runs all four
stages end to end. Install this package alone to build trees without the rest of
the pipeline.
pip install damicore-tree-builder
Python
from damicore_tree_builder import build_tree
result = build_tree("distance.npy", "labels.json", "run")
distance.npy and labels.json are produced by the sibling damicore-distance
distribution; the call writes tree.json plus Newick, and tree.json is the
input the sibling damicore-clusterizer distribution consumes. The path API
copies into a temporary memory map, reuses slots, evaluates Q pairwise without
materializing it, and preserves negative branches. neighbor_joining(matrix, labels) is available for small in-memory matrices.
Links
- Repository: https://github.com/Delbem-Research-and-Innovation/damicore
- Issues: https://github.com/Delbem-Research-and-Innovation/damicore/issues
- Documentation: https://github.com/Delbem-Research-and-Innovation/damicore/blob/main/docs/quickstart.md
Licensed under Apache-2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file damicore_tree_builder-0.1.0.tar.gz.
File metadata
- Download URL: damicore_tree_builder-0.1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5f2e46ed3cbd600ea3b7da012e29e45ba31d108e7178c8a6130cb64ef8515b
|
|
| MD5 |
25c97d19655debfc8a1a7f28c9433bc1
|
|
| BLAKE2b-256 |
72cfdf9d79d22a5731159ec1c80ed80bdcc61ef0cfc64b7177d333e901c82763
|
Provenance
The following attestation bundles were made for damicore_tree_builder-0.1.0.tar.gz:
Publisher:
release.yml on Delbem-Research-and-Innovation/damicore
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
damicore_tree_builder-0.1.0.tar.gz -
Subject digest:
6a5f2e46ed3cbd600ea3b7da012e29e45ba31d108e7178c8a6130cb64ef8515b - Sigstore transparency entry: 2440762163
- Sigstore integration time:
-
Permalink:
Delbem-Research-and-Innovation/damicore@62ab82a12ae3069a4eb564e4679a5186490dcc22 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Delbem-Research-and-Innovation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@62ab82a12ae3069a4eb564e4679a5186490dcc22 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file damicore_tree_builder-0.1.0-py3-none-any.whl.
File metadata
- Download URL: damicore_tree_builder-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
949dae8d7ac5da42c194315c7fc6dca4cd8892ab04cf368d4dfc7e3fac948838
|
|
| MD5 |
16972849491a2b98ad94ddc7af44ef40
|
|
| BLAKE2b-256 |
b78023e4959d9ac6300c994e5952f642958e8999cf474fe0f7939d3d533fc5d9
|
Provenance
The following attestation bundles were made for damicore_tree_builder-0.1.0-py3-none-any.whl:
Publisher:
release.yml on Delbem-Research-and-Innovation/damicore
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
damicore_tree_builder-0.1.0-py3-none-any.whl -
Subject digest:
949dae8d7ac5da42c194315c7fc6dca4cd8892ab04cf368d4dfc7e3fac948838 - Sigstore transparency entry: 2440762293
- Sigstore integration time:
-
Permalink:
Delbem-Research-and-Innovation/damicore@62ab82a12ae3069a4eb564e4679a5186490dcc22 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Delbem-Research-and-Innovation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@62ab82a12ae3069a4eb564e4679a5186490dcc22 -
Trigger Event:
workflow_dispatch
-
Statement type: