BEAST 2

Morphological models

BEAST2 version

To use morphological models download the latest version of BEAST 2.

Morph-models package

Then install the morph-models package using package manager (which can be found in the file menu) in BEAUti 2.

Example data set

We will use the nexus file here to demonstrate setting up morph-models in BEAUti 2.

Run BEAUti and add the alignment by hitting plus button at the bottom left corner of the main window. Choose add MK morphological data and then choose a nexus file with morphological data (such as an example one). BEAUti will add the alignment of morphological characters partitioning it in groups with the same number of character states. The number of character states for each character is either obtained from the CHARSTATELABELS block in the nexus file or calculated as the number of different character codes that occur in the alignment for a given character if it is not given in the CHARSTATELABELS block.

Each partition is assigned a site model with the appropriate Lewis MK substitution model, i.e., Lewis MK model with the same number of states as the number of states for characters in the partition. The clock models and trees for each partition are linked by default, that is, all partitions are considered to evolve on the same tree and under the same clock model. For each Lewis MK model you can specify Gamma category count and either fix or estimate Shape parameter in the Site Model panel. Leave Proportion Invariant fixed to zero.

Further you can specify other parts of the analysis as usual and save the output XML file.

Example XML

If you have followed the instructions above correctly you should get the same XML as here. You can now run BEAST2 with the resulting XML file.

Bayesian evolutionary analysis by sampling trees

Served through Jekyll, customised theme based on the twentyfourteen wordpress theme.