Skip to main content

Add your description here

Project description

🧬 PhyloRun

PhyloRun allows you to run BEAST X, BEAST 2, RevBayes, and LPhy experiments using a single tool.

📦 Installation

Use pip to install the CLI tool:

pip install --upgrade phylorun

🚀 Features

Run BEAST X, BEAST 2, RevBayes and LPhy analyses

phylorun someBeastXModel.xml
phylorun someBeast2Model.xml
phylorun someRevModel.rev
phylorun someRevModel.lphy

phylorun automatically detects which MCMC engine to use.

By default, phylorun tries to use your existing installation of the engine. If this fails, you can specify the location of the binary on your system:

phylorun --bin "/Applications/BEAST X 10.5.0/bin/beast" someBeastXModel.xml
phylorun --bin "/Applications/BEAST 2.7.7/bin/beast" someBeast2Model.xml
phylorun --bin "/usr/bin/rev" someRevModel.rev

If you don't have an engine installed on your local system, you can use the --container flag and phylorun automatically installs everything that's needed in an isolated environment:

phylorun --container someBeastXModel.xml
phylorun --container someBeast2Model.xml
phylorun --container someRevModel.rev

Currently, this does not work when your BEAST 2 analysis uses packages.

Run PhyloSpec analyses

phylorun can run a PhyloSpec analysis using any of the engines:

phylorun --beastx model.phylospec
phylorun --beast2 model.phylospec
phylorun --revbayes model.phylospec

Benchmark engines

You can use phylorun to see which engine is the fastest for your PhyloSpec model:

phylorun benchmark model.phylospec

Validate engines

You can use phylorun to validate that the engines produce the same results for your PhyloSpec model:

phylorun validate model.phylospec

Configuration

All unknown arguments are directly passed to the engine (put them at the end of the command):

phylorun someBeast2Model.xml -resume

For LPhy, arguments prefixed with --beast2 will be passed to BEAST 2 and not to LPhyBeast:

phylorun someLphyModel.lphy --beast2-resume

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

phylorun-0.5.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

phylorun-0.5.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file phylorun-0.5.0.tar.gz.

File metadata

  • Download URL: phylorun-0.5.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.1

File hashes

Hashes for phylorun-0.5.0.tar.gz
Algorithm Hash digest
SHA256 313bf0146fdc458273f376a5b032b5e2f316f3621e999bfb08515c23746ff6ec
MD5 2935e47b7996a324c487034b83b90a60
BLAKE2b-256 0f66114a200a2261a7be6d973a82e6de76c94aeffd7b131108a1483fb896a284

See more details on using hashes here.

File details

Details for the file phylorun-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: phylorun-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.1

File hashes

Hashes for phylorun-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b80141d4b8847363ff60c36bb513948d012b10bd7303b5b6dfed522ad0bd48b
MD5 6b3f706ae1553ac093f66bc4c8045347
BLAKE2b-256 45efe736705db150e684e6e02ebb209531463c497324a7183820788edba63f9a

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