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 --engine lphy 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.8.0.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

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

phylorun-0.8.0-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phylorun-0.8.0.tar.gz
Algorithm Hash digest
SHA256 c59ec8e18e74a8ca5ca159956b64d0285e97236eda33abd521ce3b8385a36e6e
MD5 ded60e97879859170e97fcc7ac0535c5
BLAKE2b-256 caf21ec5e2dda07f9174cef7a16a2b001c1cfbea4f768c854f281fcf2b3de177

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for phylorun-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0e9366f3526ab0003bc9acec4e52b26dd45d1375314b1b9f6c285d7d8b37dce
MD5 597587d9dce239204666763d3eed24e9
BLAKE2b-256 c8c7c2c1998d3a70d2ffc2e9e845fd926ffd5e05a2dd7ae6780a93fb2e2e47de

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