Skip to main content
v2026.11,986 entries · CC-BY 4.0

BEAST 2: Bayesian Phylogenetics Software Explained

BEAST 2 is open-source software for Bayesian phylogenetics: what its programs and packages do, how it differs from BEAST X, and how to cite it.

Written and maintained by CASRAI Editorial Board

Published

On this page

BEAST 2 is a cross-platform program for Bayesian phylogenetic analysis of molecular sequences. It estimates rooted, time-measured evolutionary trees under strict or relaxed molecular clock models, using Markov chain Monte Carlo (MCMC) to weight trees by their posterior probability. The current release shown on the project site on 2026-11-17 is version 2.7.8. It is a separate program from BEAST X and from BEAST 1.x, and this page is about the software, not the monster supplement or the beer that share the name.

What BEAST 2 is and what it is for

The project site describes BEAST 2 as a program for Bayesian analysis of molecular sequences that estimates rooted, time-measured phylogenies. Instead of returning one best tree, MCMC samples trees, so the result is a distribution over trees and model parameters. The project’s own tagline on GitHub is “Bayesian Evolutionary Analysis by Sampling Trees”. For readers new to the underlying idea, see our guide to Markov chain Monte Carlo and the wider field overview in what is evolutionary biology.

The 2019 BEAST 2.5 paper by Bouckaert and colleagues, published in PLoS Computational Biology, calls BEAST 2 a complete rewrite of the original BEAST software. Its emphasis is joint inference: analysing different kinds of data in one model, such as genomes, sampling dates, fossils and geographic locations. The 2014 paper that introduced it presents it as an open-source, extensible platform and a redesign of BEAST 1.

The source code is hosted on GitHub in the CompEvol/beast2 repository under the LGPL, version 2.1 or later, and the repository README points users to beast2.org for ready-to-run binaries. The project site lists installers for Windows, macOS and Linux, a graphical interface for standard analyses and separate programs for analysing results.

How an analysis is set up and run

BEAST 2 is a family of programs rather than a single executable. The 2019 paper lists BEAUti, BEAST, LogAnalyser, LogCombiner, TreeAnnotator and DensiTree as core programs. The sources give these roles:

Program Role stated in the sources
BEAUti 2 The graphical interface for setting up an analysis. The 2014 paper says its design integrates with the analysis engine so that new models can appear in the interface without GUI programming, through an XML template mechanism.
BEAST The analysis engine that runs the MCMC chain. It reads the same XML file format that BEAUti produces.
LogCombiner, LogAnalyser, DensiTree Named in the 2014 paper as post-processing tools.
TreeAnnotator Listed among the core programs in the 2019 paper.

Because BEAUti and BEAST share one XML format, an analysis specification can be reloaded in BEAUti, and the XML file is the complete, shareable record of the model and settings. The 2014 paper also reports that the full state of an MCMC chain can be written to and read from disk, which supports checkpointing and sharing a run across instances. The project site provides tutorials, an FAQ, an error-message guide and an online XML reference, and questions are directed to the beast-users mailing list.

For users who start from a tree they have already built with a different method, the choice of method matters before software does; our guide to how to make a phylogenetic tree walks through the general workflow, and maximum-likelihood alternatives are covered in the IQ-TREE guide. Visualising a finished tree in R is covered in the ggtree guide.

Packages and model families

The defining design choice of BEAST 2 is that models live in packages. The 2014 paper defines a package as a collection of extensions built on the core platform, and says packages let third-party developers add functionality without rebuilding or redistributing the platform; it also describes packages as a way of separating stable, experimental and dead code. Packages are installed through the BEAST 2 Package Manager, which the project site says is part of the graphical interface. The 2019 paper adds that the package manager works from the command line and the GUI, can use multiple repositories, and lets different versions of a package coexist.

The 2019 paper describes the packages and models added in version 2.5 by family. The data table below compares those families. Beyond it, the paper notes that relaxed and random local clock models are part of the core, and that the available tree priors include birth-death, fossilized birth-death, coalescent, structured coalescent, multispecies coalescent and sampled-ancestor trees. The 2014 paper names earlier substitution models in this ecosystem (K80, F81, HKY85, TN93 and GTR through model averaging) and the Yule tree prior used in its worked example.

Two things follow for practice. First, a model name in a methods section often refers to a package, not to the core program, so a reader needs the package name to reproduce it. Second, the project’s recommended citation page says BEAST uses models and techniques from other publications that should be cited where possible, which includes the original papers for relaxed clocks, the Bayesian skyline and MCMC phylogenetics.

BEAST 2 compared with BEAST X and BEAST 1

Three names cause confusion. The sourced differences are narrower than many summaries suggest, so the table lists only what the readable sources state.

Name What the sources say
BEAST 2 A rewrite of BEAST 1.x with a more modular design (project site); a complete rewrite and an extensible platform whose models arrive as packages (2014 and 2019 papers). Current version 2.7.8 on the project site.
BEAST 1.x The original software. The 2014 paper says BEAST 1 was built from three separately maintained parts (model classes, XML parsing and BEAUti), had no architecture for third-party extensions without rebuilding the whole package, an inconsistent XML format and patchy documentation.
BEAST X A separate program with its own documentation and release cycle. See the CASRAI guide to BEAST X for what it covers; files, settings and package names should not be assumed to carry across between the two programs.

Where it matters for labs and research computing

For a laboratory or a research-computing team, the sourced facts reduce to a short reproducibility checklist. Each item traces to the project’s documentation or papers:

  • Record the BEAST 2 version number. The project site lists 2.7.8 as current and says older releases are kept on GitHub; the 2.7.x line is upgraded through the package manager.
  • Record every package used and its version. The 2019 paper states that package versions can coexist, which makes the version of each package part of the analysis record.
  • Keep the XML file that BEAUti produced. Both papers describe BEAST and BEAUti as sharing the XML format, so the file captures the model and priors.
  • Keep the chain state if a run may be extended. The 2014 paper reports that the MCMC chain state can be saved to and read from disk.
  • Cite the software and the models used, as set out below.

The project site also states that the program is cross-platform, with separate downloads for Windows, macOS and Linux (x86 and aarch64), which matters when a group runs the same analysis on a laptop and on a cluster.

Common misunderstandings

BEAST 2 is not the same program as BEAST X

The two are separate programs with separate documentation. An XML file, package or tutorial written for one should be checked against the other’s own documentation before use.

BEAST 2 is not one fixed model

The core program is a platform. Which clock, tree prior or substitution model an analysis uses depends on the choices made in BEAUti and on the packages installed, as the data table shows.

The output is a distribution, not a single tree

Because MCMC weights trees by posterior probability, results are summarised over sampled trees. The MCMC guide linked in the first section explains what that sampling does.

How to cite BEAST 2

The project’s citation page recommends citing Bouckaert et al. (2019), BEAST 2.5: An advanced software platform for Bayesian evolutionary analysis, PLoS Computational Biology 15(4): e1006650, DOI 10.1371/journal.pcbi.1006650. The earlier paper is Bouckaert et al. (2014), BEAST 2: A software platform for Bayesian evolutionary analysis, PLoS Computational Biology 10(4): e1003537, DOI 10.1371/journal.pcbi.1003537. The page adds that BEAST uses models and techniques from a range of other publications, which should be cited if possible. Its examples include the relaxed clock paper (Drummond et al. 2006, PLoS Biology 4: e88), the Bayesian skyline paper (Drummond et al. 2005, Molecular Biology and Evolution 22: 1185-1192) and the original MCMC phylogenetics paper (Drummond et al. 2002, Genetics 161: 1307-1320).

Sources

Data: BEAST 2 model families and example packages described for version 2.5

Compiled from the 2019 BEAST 2.5 paper (Bouckaert et al.), which describes the packages and models added in version 2.5 by model family. Each row groups the packages and models the paper names under one family, so researchers can see which part of an analysis (clock, tree prior, substitution model, phylodynamics) each package serves.

BEAST 2 model families and example packages described for version 2.5
Model familyPackages and models namedSource
Clock modelsRelaxed clocks and random local clocks (core); FLC package2019 paper
Tree priorsBirth-death, fossilized birth-death, coalescent, structured coalescent, multispecies coalescent, sampled-ancestor trees2019 paper
Substitution and site modelsbModelTest (reversible-jump site model averaging), PoMo, codon models, OBAMA (amino acid), MM (morphological), BEASTvntr (microsatellite)2019 paper
Phylodynamicsbdsky, bdmm, BASTA, MASCOT, PhyDyn2019 paper
Multispecies and gene flowSpeciesNetwork, AIM, DENIM2019 paper
TransmissionSCOTTI, BadTrIP2019 paper
Model testingNested sampling, TreeModelAdequacy2019 paper
SimulationMASTER, LanguageSequenceGen2019 paper

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about BEAST 2: Bayesian Phylogenetics Software Explained

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →