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.6.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.6.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phylorun-0.6.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.6.0.tar.gz
Algorithm Hash digest
SHA256 7f6594f30f3e6da151521ab58373ce5b3deeeb7d140c7c261d365136e8b05aab
MD5 39f441955bcc3b086297ed06bf1e0957
BLAKE2b-256 4bcd9b6776db22de55d597188c12f2a136f507b38286c78180c2cc66599c7987

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phylorun-0.6.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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5429fea8d74b79546ea2fce7026358272dfe6e5bdd524e510d33f9c7d6a179b2
MD5 a3a9a9a587134b30da14beb68a1c438e
BLAKE2b-256 b9e05d1d71fe59b60b83154f63d02d4051281c16092e69604c74a3661b582548

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