Skip to main content

BELLA-Companion

⚠️🚧🚨 The documentation for this repository is still under development.

Installation

BELLA-Companion is a Python package, and can be installed via pip:

pip install bella-companion

To reproduce BEAST analyses, you will need to have BEAST2 as well as SLURM installed and properly configured on your system, as well as the following BEAST2 packages:

CLI

The CLI entrypoint is bella (see src/bella_companion/cli.py). It requires an .env file to be present in the current working directory defining the settings for the analyses to be run.

Basic usage is as follows:

bella <command> <subcommand> <...>

Where commands and subcommands are as follows:

sim
  generate            Generate synthetic simulation datasets.
  run                 Run BEAST2 analyses on simulated datasets.
  summarize           Summarize BEAST2 log outputs for simulated datasets.
  metrics             Compute and print metrics for simulated datasets.
  plot
    all               Generate plots for all simulation scenarios.
    epi-multitype     Generate plots for the epi-multitype scenario.
    epi-skyline       Generate plots for the epi-skyline scenarios.
    fbd-2traits       Generate plots for the fbd-2traits scenario.
    fbd-no-traits     Generate plots for the fbd-no-traits scenarios.
    scenarios         Generate scenario overview plots.

platyrrhine
  run                 Run BEAST2 analyses on empirical platyrrhine datasets.
  summarize           Summarize BEAST2 log outputs for empirical datasets.
  plot
    all               Generate plots for all platyrrhine datasets.
    estimates         Generate parameter estimate plots.
    trees             Generate tree-mapped parameter estimate plots.
    shap              Generate SHAP plots.

eucovid
  run                 Run BEAST2 analyses on empirical eucovid datasets.
  summarize           Summarize BEAST2 log outputs for empirical datasets.
  plot
    all                       Generate plots for all eucovid datasets.
    likelihood                Generate likelihood distribution plots.
    sankey                    Generate sankey plots.
    trees                     Generate tree plots.
    flights-and-populations   Plots for the flights and populations scenario.
    flights-over-populations  Plots for the flights over populations scenario.

Metadata

Release files for bella-companion 0.1.52

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bella-companion 0.1.52
File Size Uploaded Provenance Actions
bella_companion-0.1.52.tar.gz 280.4 kB Without provenance Details for bella_companion-0.1.52.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bella-companion 0.1.52
File Interpreter ABI Platform Actions
bella_companion-0.1.52-py3-none-any.whl Python 3 none any Details for bella_companion-0.1.52-py3-none-any.whl

Total release size: 620.3 kB

Release files / bella_companion-0.1.52.tar.gz

Download URL bella_companion-0.1.52.tar.gz
Size 280.4 kB
Tags Source
SHA-256 checksum
How to use checksums
67be68a1e1d0a159535b7924499d37a31bbcaa2bd573a9cc052f49e44e4dd412
BLAKE2b-256 checksum
How to use checksums
7e9a9e83f9f3791a93bf1f50b3abefc9f66e8cf76a1fed0445a97f0b4d05c953
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / bella_companion-0.1.52-py3-none-any.whl

Download URL bella_companion-0.1.52-py3-none-any.whl
Size 339.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50d3042ff0bc42859dea487a0a8b05bd93a64a9a67490b61c364c354ea3c072c
BLAKE2b-256 checksum
How to use checksums
3938c4d32d4603c2c3c7776fedc1c884a4e8b5e56786d5bb6768ee5ea0c1331c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Security for bella-companion 0.1.52

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.

Release history Release notifications | RSS feed

This release

0.1.52 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page