A BEAST 2 package containing a series of optimisations made to improve the performance of the phylogenetic relaxed clock model. Depending on the dataset, the methods presented here can yield relaxed clock model mixing up to 65 times faster than the standard BEAST 2 relaxed clock model setup. The gap widens as the alignment becomes longer making this package very effective at doing inference on long alignments.
"Adaptive dating and fast proposals: revisiting the phylogenetic relaxed clock model." J. Douglas, R. Zhang, and R. Bouckaert https://doi.org/10.1371/journal.pcbi.1008322
Also see BEAST 2 blog post
The main branch of this repository is for BEAST 2.7. To see example sessions and code compatible with 2.6, please refer to the v2.6 branch.
ORC uses the constant distance operator to move the internal node of a tree, along with the three incident branch rates, as depicted below. The y-axis shows node height, and nodes are coloured by branch rate under the relaxed clock model. Darker branches have faster rates.
This operator was introduced by Zhang and Drummond 2020.
- Launch BEAUti
- Click on File -> Manage Packages
-
Install ORC
-
Import an alignment and set up the model as per usual
-
On the Clock Model tab, select 'Optimised Relaxed Clock' from the dropdown menu
-
To confirm this has worked, display the Operators tab by pressing
View => Show operators panel
-
You should see the following 4 adaptive operators in the Operators tab:
- File -> Save As and run the .xml file using BEAST 2 as per usual
Run matlab/GenerateOperators.m using MATLAB to generate all 47 solvable operators with non-zero Jacobians from the complete set of 63 (excluding narrow exchange)
For xml files used during benchmarking, please see
https://github.com/jordandouglas/ClockModelPaper
Please note that these xml files are dependent on the 'FastRelaxedClockLogNormal' package, which can be installed using beauti
To fix the starting tree, please refer to the Fix starting tree blog post.
If the optimised relaxed clock is also being used, then this operator also needs to be switched off: id="ORCAdaptableOperatorSampler_NER.c..."
. This operator performs a narrow exchange topology operation, while also accounting for branch rates.
Jordan Douglas, Rong Zhang,Remco Bouckaert. Adaptive dating and fast proposals: Revisiting the phylogenetic relaxed clock model. PLoS computational biology. 2021 Feb 2;17(2):e1008322. link