This BEAST 2 package contains implementations of the the Bayesian Skyline Plot (BSP) and the Bayesian Epoch Sampling Skyline Plot (BESP) in BEAST2.
KV Parag, L du Plessis, OG Pybus. Jointly inferring the dynamics of population size and sampling intensity from molecular sequences, Molecular Biology and Evolution (2020) https://doi.org/10.1093/molbev/msaa016
To install BESP:
- Download and install BEAST2 (at least version 2.5.0).
- Launch the BEAUti application distributed with BEAST2.
- From the File menu select "Manage Packages".
- Click the "Package repositories" button at the bottom of the Package Manager dialog box.
- Select "Add URL" and enter the following URL:
https://laduplessis.github.io/besp/package.xml
. - Click the "Done" button, then select "besp" from the list of packages.
- Click the "Install/Upgrade" button. Once installation is complete, XML files with BESP classes can be used in BEAST2.
To build this package from source, ensure that you have the following installed:
- Java JDK v1.8
- Apache Ant v1.9 or later
- An internet connection
The internet connection is required since the build script downloads the most recent version of the BEAST 2 source to build the package against. Assuming both Java and Ant are on your execution path and your CWD is the root of this repository, simply type "ant build" from the command line to build the package. This may take up to a minute due to the script fetching the BEAST2 source, and the resulting binary will be left in the /dist
directory. To run the unit tests, use "ant test".
This software is free (as in freedom). You are welcome to use it, modify it, and distribute your modified versions provided you extend the same courtesy to users of your modified version. Specifically, it is made available under the terms of the GNU General Public License version 3.
Work on this project was supported by
- The European Commission Seventh Framework Programme (FP7/2007--2013)/European Research Council grant agreement 614725-PATHPHYLODYN
- The UK MRC and Department for International Development under grant reference MR/R015600/1
- The Oxford Martin School
Louis du Plessis, 2019