Skip to main content

Companion tool with experiments and evaluation for Bayesian Evolutionary Layered Learning Architectures (BELLA) BEAST2 package.

Project description

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.

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

bella_companion-0.1.40.tar.gz (278.0 kB view details)

Uploaded Source

Built Distribution

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

bella_companion-0.1.40-py3-none-any.whl (323.8 kB view details)

Uploaded Python 3

File details

Details for the file bella_companion-0.1.40.tar.gz.

File metadata

  • Download URL: bella_companion-0.1.40.tar.gz
  • Upload date:
  • Size: 278.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for bella_companion-0.1.40.tar.gz
Algorithm Hash digest
SHA256 4f4788679c5545a8fdec6695ec2bc98a3dd491a9c00e45d8e8e580857376f6fd
MD5 1834ba3ae89ff18c73daec96648b6c38
BLAKE2b-256 02530115578b8f0923bc6813b37ed98dfd5fe1a1a1cd9df6da8014b9a2413479

See more details on using hashes here.

File details

Details for the file bella_companion-0.1.40-py3-none-any.whl.

File metadata

File hashes

Hashes for bella_companion-0.1.40-py3-none-any.whl
Algorithm Hash digest
SHA256 dd9aeaa77226ac7829268f9e4cd7a0a5bbe921eb52c4118293aeedb746d5bd76
MD5 d673fd7e27d44f1ff2ee575e7d20b912
BLAKE2b-256 5da3d41b85cbdccd359d1b6fd1e4d1d14ccbabc3ce1446f867a2b1290ae3cb7d

See more details on using hashes here.

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