ArticleslgStudy

computer science

BEAST 2

BEAST 2 is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand BEAST 2 rather than just read about it. In short: BEAST 2 is a cross-platform program for Bayesian analysis of molecular sequences. Using MCMC, it estimates rooted, timed phylogenies using a range of substitution and clock models, and a variety of tree priors.

Key takeaways

  • BEAST 2 belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect BEAST 2 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of BEAST 2 from memory before moving on to harder problems.

Reference excerpt

BEAST 2 is a cross-platform program for Bayesian analysis of molecular sequences. Using MCMC, it estimates rooted, timed phylogenies using a range of substitution and clock models, and a variety of tree priors. There is an associated tool, called BEAUTi, for setting up standard analyses (which are specified using XML). BEAST 2 is a complete re-write of the earlier BEAST program (which is still actively developed and has recently been renamed BEASTX). A notable feature of BEAST 2 is the packaging system which has simplified the process of implementing novel models. Taming the BEAST is a community driven resource which teaches the use of BEAST 2 and related phylogenetic software.

BEAUti BEAUti stands for "Bayesian Evolutionary Analysis Utility." It is a graphical user interface (GUI) that is used to create the input files for BEAST 2. It allows users to easily specify the various options and settings for their phylogenetic analysis, such as the data file, the model of molecular evolution, and the prior distributions of model parameters. BEAUti also allows users to specify the parameters for the MCMC analysis, such as the chain length and the sampling frequency. This makes it a user-friendly way to run BEAST 2, as it eliminates the need for users to manually edit XML input files. BEAUti allows users to easily install and manage different packages, such as models of molecular evolution or coalescent models. These packages can be installed directly from within BEAUti. This makes it easier to add new functionality to the analysis without needing to manually download and install the packages.

CBAN The Comprehensive BEAST Archive Network (CBAN) is the official repository for BEAST 2 packages. Packages in CBAN can be installed via BEAUti out of the box.

LinguaPhylo A related project is LinguaPhylo (LPhy). LPhy is a probabilistic programming language for defining phylogenetic analyses with a syntax similar to OpenBUGS. It provides a way to generate BEAST 2 XML files (and similar model specifications for other phylogenetics packages) without needing to write the XML by hand.

StarBEAST StarBEAST (originally *BEAST) is a set of packages for inferring species trees under the multispecies coalescent model, which accounts for incomplete lineage sorting by modelling gene trees as evolving within the branches of a shared species tree. The original method, described by Joseph Heled and Alexei Drummond in 2010, jointly estimates the species tree, divergence times, ancestral effective population sizes and the gene trees. It was extended as a new BEAST 2 package in StarBEAST2 (2017), which added multispecies-coalescent-aware relaxed clock models for per-species substitution rates, and extended in StarBeast3 (2022), which introduced adaptive parallelised inference for data sets of several hundred loci. Reviews of multispecies-coalescent inference describe *BEAST and BPP as "the two Bayesian programs implementing the model in common use".

MASTER/remaster A particularly important package in the BEAST 2 ecosystems is remaster (formerly MASTER). Remaster is a tool for simulating population trajectories and phylogenies from birth-death and coalescent models. It is used in simulation studies to validate novel methodologies.

References

External links Official website

Worked examples

Example 1 — a first encounter with BEAST 2

Start with the simplest possible case. Write down what BEAST 2 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to BEAST 2 before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about BEAST 2 ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of BEAST 2

In research
BEAST 2 appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses BEAST 2 in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
BEAST 2 is common in secondary-school and first-year university syllabi. It links to neighbouring topics Phylogenetics software, Science software stubs, so understanding it makes those chapters shorter.
In everyday life
Look for BEAST 2 outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “BEAST 2” →

How to study BEAST 2 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what BEAST 2 means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain BEAST 2 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is BEAST 2 in simple terms?

BEAST 2 is a cross-platform program for Bayesian analysis of molecular sequences. Using MCMC, it estimates rooted, timed phylogenies using a range of substitution and clock models, and a variety of tree priors.

Why does BEAST 2 matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study BEAST 2?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on BEAST 2.

Tags

  • Phylogenetics software
  • Science software stubs

Keep exploring