Skip to main content

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 PhyloTree runtime 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bijux_phylogenetics-0.1.1.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bijux_phylogenetics-0.1.1-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

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

Hashes for bijux_phylogenetics-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f3331cc99741dfb321ef0245056d7250f642b101e7c3a63d9a326799711f85d8
MD5 2ffaff2b18176cdd23bf1cc71b50094f
BLAKE2b-256 fd6a7f8b8947436a933d4286c6d71415e1e9065cb62f045ed97911b46c1b414c

See more details on using hashes here.

Provenance

The following attestation bundles were made for bijux_phylogenetics-0.1.1.tar.gz:

Publisher: release-pypi.yml on bijux/bijux-phylogenetics

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bijux_phylogenetics-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bijux_phylogenetics-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 449f6359012149a7309f0e2c7db6160f5199ff93b8c8c7c71af661fe1bf3a40d
MD5 306c163c210e947c369c0412ca22e121
BLAKE2b-256 3408b9fb5e6d0b721130a8975fd9ba96dfdaff8ee0a1252ac66b047afecfaf17

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page