Skip to main content

A package of BEAST 2 pipelines for phylodynamics.

Project description

(Français)

BEAST_pype: An automated pipeline for high throughput phylodynamic analyses using BEAST 2.

BEAST_pype is a pipeline with aim of automating and parallelizing many of the steps involved in phylodynamics using BEAST 2. The workflows expedite phylodynamic analyses using BEAST 2 via a series of python-based Jupyter Notebooks.

BEAST_pype was concieved with the aim to speed up and automate the use of BEAST 2 analyses for routine public health use at the Public Health Agency of Canada.
Activities include running routine analyses on continuously circulating viruses, such as SARS-CoV-2 or Influenza, to extract epidemiological parameters of interest for surviellance. Also, for accelerating research or outbreak investigations that require several experimental runs for optimization and more rapid results generation.

Features of BEAST_pype include:

  • Command-line launchable, and Yaml file controlled pipeline.
  • Improved XML generation and re-use. e.g. using user-provided BEAST-2 xmls as a template for generating a new BEAST-2 xml from new sequences with the associated metadata.
  • Launching several parallelized runs and a GUI for selecting converged MCMC chains.
  • Automated generation of reports analysing BEAST 2 runs (diagnostic and result plots and statistics).
  • Ability to create and include initial trees for faster runs.
  • Incorporating downsampling techniques.

For instructions, getting started, and more details, please see BEAST_pype's wiki.

IMPORTANT NOTES

  • With this early access version of beast_pype the beast_pype python package is installed with the -e flag. This means it is intsalled in an editable development mode. MEANING IF YOU MAKE ANY CHANGES TO THE FILES IN src/beast_pype THIS WILL AFFECT YOUR beast_pype INSTALLATION
  • For ease of distribution reasons beast_pype uses the version of BEAST 2 that is available via conda, specifically bioconda, 2.6 as 2025-Jun-25. Template beast2 xmls from other versions of may not work. BEAST 2.7.7 is available on the conda channel millerjeremya. However, I tested this on a Linux OS (2025-06-04) and could not get the command line arguments to work.

Installation instructions:

See the wiki's installation instructions section.

Guides on Running BEAST_pype Workflows

The documentation for running BEAST_pype's workflows is in the repo's wiki.

How to Contribute

See CONTRIBUTING.md

Legal

Copyright (c) His Majesty the King in Right of Canada, as represented by the Minister of Health, 2025.

Unless otherwise noted, the source code of this project is covered under Crown Copyright, Government of Canada, and is distributed under the GPL-2 license.

The Canada wordmark and related graphics associated with this distribution are protected under trademark law and copyright law. No permission is granted to use them outside the parameters of the Government of Canada's corporate identity program. For more information, see Federal identity requirements.

Contributors

Martin Grunnill martin.grunnill@phac-aspc.gc.ca
Carmen Lia Murall carmen.lia.murall@phac-aspc.gc.ca
Rachelle Di Tullio
Kodjovi Mlaga

Acknowledgments

Useful Software

A forerunner and inspiration of this work was CoV flow.

BEAST_pype would not be possible without:

Feedback During Development

George Long
Venketa Duvvuri
Louis Du Plessis
Samuel Alizon
Remco Bouckaert Gonche Danesh


BEAST_pype: ...

  • Quel est ce projet?
  • Comment ça marche?
  • Qui utilisera ce projet?
  • Quel est le but de ce projet?

Comment contribuer

Voir CONTRIBUTING.md

Licence

Sauf indication contraire, le code source de ce projet est protégé par le droit d'auteur de la Couronne du gouvernement du Canada et distribué sous la licence GPL-2.

Le mot-symbole « Canada » et les éléments graphiques connexes liés à cette distribution sont protégés en vertu des lois portant sur les marques de commerce et le droit d'auteur. Aucune autorisation n'est accordée pour leur utilisation à l'extérieur des paramètres du programme de coordination de l'image de marque du gouvernement du Canada. Pour obtenir davantage de renseignements à ce sujet, veuillez consulter les Exigences pour l'image de marque.

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

beast_pype-0.1.0.tar.gz (96.8 kB view details)

Uploaded Source

Built Distribution

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

beast_pype-0.1.0-py3-none-any.whl (131.7 kB view details)

Uploaded Python 3

File details

Details for the file beast_pype-0.1.0.tar.gz.

File metadata

  • Download URL: beast_pype-0.1.0.tar.gz
  • Upload date:
  • Size: 96.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for beast_pype-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4cd92e4470d97b8d06de4f99037742c187b16e1351480a0420e5a889434f9eb
MD5 12673529e0ce3e13b2fb66746eece291
BLAKE2b-256 f27a0e41691542926ec0eda7dbe747854d9a1a93c49b9e65f79e14ff416feb0d

See more details on using hashes here.

File details

Details for the file beast_pype-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: beast_pype-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 131.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for beast_pype-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8414ffae8d9c71ac0fadd758ace58ff7ecbac3e7a1cee7c7dc6e345629760e
MD5 32a4e26f06c3e865d779c45cc10d5477
BLAKE2b-256 7dcbf9eaae77cff53179c1b374f46da1999b2c512e55a39f70d4c47cf5178a52

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