Comprehensive phylogenetics runtime for tree analysis, native inference, comparative models, parsimony, and evidence-linked reporting.
Project description
bijux-phylogenetics
Canonical runtime package for the bijux-phylogenetics repository.
bijux-phylogenetics is the full public Python and CLI surface for tree
validation, alignment handling, native likelihood and inference, comparative
analysis, ancestral reconstruction, explicit parsimony, and evidence-linked
report generation.
Choose this package when you want the full runtime contract rather than the shorter compatibility alias.
The full handbook includes diagrams, architecture maps, and study navigation on the documentation site. This PyPI page stays text-first so it renders cleanly in the package index.
Install
bijux-phylogenetics supports Python 3.11 and newer.
python3.11 -m pip install bijux-phylogenetics
bijux-phylogenetics --help
The installed runtime also ships packaged example inputs:
from pathlib import Path
from bijux_phylogenetics.core import copy_example_inputs
copy_example_inputs(Path("artifacts/example-inputs"))
What This Package Covers
| Capability family | Examples |
|---|---|
| Trees | validation, rootedness review, support normalization, clade extraction, MRCA lookup, comparison, rendering, tree-set inspection |
| Alignments | FASTA validation, trimming, coding checks, translation, partition-aware input handling |
| Native likelihood | nucleotide, protein, codon, and discrete Mk finite-state likelihood foundations |
| Native inference | native maximum-likelihood tree inference results and native Bayesian public inference entry points |
| Comparative analysis | PGLS, signal, Brownian and OU modeling, discrete-state evolution, comparative diagnostics |
| Ancestral analysis | continuous and discrete reconstruction, uncertainty ledgers, transition review, report artifacts |
| Parsimony | Fitch, Wagner, Sankoff, Dollo, Camin-Sokal, ACCTRAN, DELTRAN, bootstrap, jackknife, NNI, SPR, ratchet |
| Reports and artifacts | reviewer-facing TSV, JSON, HTML, manifest, benchmark, and evidence-linked bundle surfaces |
Why This Package Is More Than A Thin Wrapper
- it owns the
PhyloTreeruntime and the topology, support, and tree-distance semantics that sit underneath multiple workflows - it exposes typed Python workflow results with stable artifact writers instead of only printing shell output
- it includes native maximum-likelihood tree inference results and native Bayesian public inference entry points as documented public surfaces
- it keeps wrapper-backed orchestration honest by separating native ownership from external-engine execution
Trust And Evidence
The runtime surface is broader than the closed evidence surface, and the evidence surface is narrower than the full runtime surface. That distinction is deliberate:
- a documented runtime surface is usable
- a native surface is locally implemented rather than only wrapped
- an evidence-book study explains how much trust a scientific claim currently carries
Use the package for execution. Use the docs and evidence-book when you need quality boundaries, parity review, or study-specific provenance.
Python Workflow Surface
The stable notebook-and-pipeline surface lives under bijux_phylogenetics.api.
It exposes typed workflow results for:
- FASTA validation
- multiple-sequence alignment
- alignment trimming
- full FASTA-to-tree execution
- maximum-likelihood tree inference
- branch-support estimation
- topology comparison
- PGLS comparative modeling
- discrete ancestral reconstruction
- reviewer-facing report generation
- config-driven workflow execution
from pathlib import Path
from bijux_phylogenetics.api import (
render_report_workflow,
run_comparative_model_workflow,
run_sequence_to_tree_workflow,
)
workflow = run_sequence_to_tree_workflow(
Path("dataset/sequences.fasta"),
out_dir=Path("artifacts/sequence-to-tree"),
sequence_type="dna",
)
comparative = run_comparative_model_workflow(
Path("dataset/tree.nwk"),
Path("dataset/traits.tsv"),
response="response",
predictors=["predictor_one"],
lambda_value=1.0,
)
report = render_report_workflow(
tree_path=workflow.output_paths["tree"],
alignment_path=workflow.output_paths["trimmed_alignment"],
traits_path=Path("dataset/traits.tsv"),
metadata_path=Path("dataset/metadata.tsv"),
out_path=Path("artifacts/sequence-to-tree/report.html"),
)
workflow.write_json(Path("artifacts/sequence-to-tree/workflow.json"))
workflow.write_tsv(Path("artifacts/sequence-to-tree/workflow.tsv"))
comparative.write_tsv(Path("artifacts/comparative-model.tsv"))
Choose This Package When
- you want the canonical package name for notebooks, papers, or downstream integration
- you want both CLI workflows and typed Python workflow results
- you want the full public runtime contract rather than the shorter alias surface
Read Next
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
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 bijux_phylogenetics-0.1.1.tar.gz.
File metadata
- Download URL: bijux_phylogenetics-0.1.1.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3331cc99741dfb321ef0245056d7250f642b101e7c3a63d9a326799711f85d8
|
|
| MD5 |
2ffaff2b18176cdd23bf1cc71b50094f
|
|
| BLAKE2b-256 |
fd6a7f8b8947436a933d4286c6d71415e1e9065cb62f045ed97911b46c1b414c
|
Provenance
The following attestation bundles were made for bijux_phylogenetics-0.1.1.tar.gz:
Publisher:
release-pypi.yml on bijux/bijux-phylogenetics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bijux_phylogenetics-0.1.1.tar.gz -
Subject digest:
f3331cc99741dfb321ef0245056d7250f642b101e7c3a63d9a326799711f85d8 - Sigstore transparency entry: 2073207634
- Sigstore integration time:
-
Permalink:
bijux/bijux-phylogenetics@068908505dcec267eb5a365ea25fe5ae6283cab4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bijux
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@068908505dcec267eb5a365ea25fe5ae6283cab4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bijux_phylogenetics-0.1.1-py3-none-any.whl.
File metadata
- Download URL: bijux_phylogenetics-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
449f6359012149a7309f0e2c7db6160f5199ff93b8c8c7c71af661fe1bf3a40d
|
|
| MD5 |
306c163c210e947c369c0412ca22e121
|
|
| BLAKE2b-256 |
3408b9fb5e6d0b721130a8975fd9ba96dfdaff8ee0a1252ac66b047afecfaf17
|
Provenance
The following attestation bundles were made for bijux_phylogenetics-0.1.1-py3-none-any.whl:
Publisher:
release-pypi.yml on bijux/bijux-phylogenetics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bijux_phylogenetics-0.1.1-py3-none-any.whl -
Subject digest:
449f6359012149a7309f0e2c7db6160f5199ff93b8c8c7c71af661fe1bf3a40d - Sigstore transparency entry: 2073207661
- Sigstore integration time:
-
Permalink:
bijux/bijux-phylogenetics@068908505dcec267eb5a365ea25fe5ae6283cab4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bijux
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@068908505dcec267eb5a365ea25fe5ae6283cab4 -
Trigger Event:
workflow_dispatch
-
Statement type: