BEAST-Bayesian Evolutionary Analysis Sampling Trees

Yuwei BaoAugust 25, 2023

BEAST [1] s a software package for phylogenetic analysis with an emphasis on time-scaled trees.

Pre-requisites

Java 8 [2]

Install BEAST

wget https://github.com/beast-dev/beast-mcmc/releases/download/v1.10.4/BEASTv1.10.4.tgz
tar -zxvf BEASTv1.10.4.tgz

cd BEASTv1.10.4/bin
./beauti
./beast

Adding the executables to the system path

nano ~/.bashrc
export PATH=$PATH:$HOME/BEASTv1.10.4/bin/
source ~/.bashrc  # or ~/.bash_profile, ~/.zshrc, etc.
echo $PATH

Running BEAST from a jar file (with GUI)

cd PATH_TO/BEASTv1.10.4/lib
java -jar beauti.jar
java -jar beast.jar

Running BEAUti and BEAST from a jar file (without GUI)

cd PATH_TO/BEASTv1.10.4/lib
java -jar beast.jar -seed 1234 example.xml
Failed to load BEAGLE library: no hmsbeagle-jni in java.library.path:
BEAGLE not installed/found

  1. https://beast.community/open in new window ↩︎

  2. https://beast.community/installingopen in new window ↩︎