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.7.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.7.0-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phylorun-0.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 5644eae98ed18aa443d224cf89908302c3cc131143fae8f7084cd20dab24b2b5
MD5 5d506c93c132f290a4266c6cc2e2d483
BLAKE2b-256 ccb8eaff263e84f8f3f0facccfc69c0dbf36d2891d764819390f5cca7cd922dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phylorun-0.7.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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b00b88016ed930d3934f9857899784c65ed1e552e17884310e4de77622a60af
MD5 a00f585ca315e1bf49b13d838d9b62c0
BLAKE2b-256 c1fe1d1827d6f97ff696b092a652822ac3dbbd8452860322fe5b7ae2eb63fb24

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