This document outlines the steps necessary to recreate the analyses of Shrinkage-based random local clocks with scalable inference
- Ensure you have Java version 1.8 or later installed.
- From the command line, type
java -version. - The output should start with
java version "1.8.0_<other numbers>". - If java is not installed or the wrong version of java is installed, please follow the instructions here.
- From the command line, type
- Ensure you have
gitinstalled.- From the command line, type
git --version. The version of git should be returned. - If
gitis not installed, please follow the instructions here.
- From the command line, type
- Ensure you have
antinstalled.- From the command line, type
ant -version. The version of ant should be returned. - If
antis not installed, please follow the instructions here.
- From the command line, type
- Download and build BEAST
- Enter the following on the command line.
git clone https://github.com/beast-dev/beast-mcmc.git
cd beast-mcmc
git checkout hmc-clock
ant
- Clone and build the beagle library (see https://github.com/beagle-dev/beagle-lib for reference)
git clone https://github.com/beagle-dev/beagle-lib.git
cd beagle-lib
git checkout hmc-clock
./autogen.sh
./configure
make install
Note where the beagle library installs (typically /usr/local/lib)
- Navigate to the directory with the
beast.jarfile.- From the
beast-mcmcdirectory (see above), enter the following into the command line:
- From the
cd build/dist
- Run an
.xmlfile from the command line * Enterjava -jar -Djava.library.path=/usr/local/lib beast.jar path/to/your/file.xml.-
Note that
library.pathshould point to install location oflibhmsbeagle*.sofiles -
BEAST should begin running on the command line.
-
The output
.logfile will be in the./beast-mcmc/build/distdirectory.
-
- Use Tracer to view the
.logfile.- Tracer installation and usage instructions can be found here.