Skip to content

Commit 5d2f29b

Browse files
authored
Merge pull request #1 from bjoelle/master
updated for 2.7
2 parents 9902ffe + e19671e commit 5d2f29b

10 files changed

Lines changed: 2332 additions & 2136 deletions

‎README.md‎

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
22
author: David A. Rasmussen,Carsten Magnus,Remco Bouckaert
3-
beastversion: 2.x
43
title: Substitution-model-averaging
54
level: Intermediate
6-
beastversion: 2.6.x
5+
beastversion: 2.7.x
76
tracerversion: 1.7.0
8-
bmodeltestversion: 1.2.1
7+
bmodeltestversion: 1.3.3
98
---
109

1110

@@ -172,7 +171,7 @@ In the **Clock Model** and **Prior** tabs, we do not need to change any of the d
172171
173172
<figure>
174173
<a id="fig:beastRun"></a>
175-
<img style="width:50.0%;" src="figures/beastRun.png" alt="">
174+
<img style="width:80.0%;" src="figures/beastRun.png" alt="">
176175
<figcaption>Figure 4: Running the analysis in BEAST.</figcaption>
177176
</figure>
178177
<br>
@@ -282,28 +281,35 @@ Select pairs of the **rateAC, ... ,rateGT** parameters (using **shift+click**) a
282281
Another really nice feature of bModelTest is that we can graphically analyze the output using the **BModelAnalyser App**.
283282

284283

285-
> In BEAUti, select **File > Launch Apps** and then launch the **BModelAnalyser App**. A dialogue window should pop up ([Figure 11](#fig:analyzerDialogue)). Enter `primate-mtDNA-bMT.log` as the file to analyze. You can leave the other entries at their default settings but make sure **transitionTransversionSplit** is selected for the Model Set and the box next to **Use Browser For Visualization** is checked. Then click **OK**.
284+
> In BEAUti, select **File > Launch Apps**. You can filter the apps by the package they are attached to, here **bModelTest** ([Figure 11](#fig:findingApp)). Find and launch the **BModelAnalyser App**. A dialogue window should pop up ([Figure 12](#fig:analyzerDialogue)). Enter `primate-mtDNA-bMT.log` as the file to analyze. You can leave the other entries at their default settings but make sure **transitionTransversionSplit** is selected for the Model Set and the box next to **Use Browser For Visualization** is checked. Then click **OK**.
286285
>
287286
287+
<figure>
288+
<a id="fig:findingApp"></a>
289+
<img style="width:60.0%;" src="figures/findingApp.png" alt="">
290+
<figcaption>Figure 11: Finding the BModelAnalyser App.</figcaption>
291+
</figure>
292+
<br>
293+
288294
<figure>
289295
<a id="fig:analyzerDialogue"></a>
290296
<img style="width:60.0%;" src="figures/analyzerDialogue.png" alt="">
291-
<figcaption>Figure 11: Running the BModelAnalyser App.</figcaption>
297+
<figcaption>Figure 12: Running the BModelAnalyser App.</figcaption>
292298
</figure>
293299
<br>
294300

295301

296-
After BModelAnalyser runs, a new window should appear in your default web browser that represents the model selection results graphically ([Figure 12](#fig:modelGraph)). This graph depicts the nested relationship of the different substitution models: an arrow pointing from one model to another indicates that the model at the tail is nested within the model at the head of the arrow. As we can see, JC69 is nested within all other models and all other models are nested within GTR.
302+
After BModelAnalyser runs, a new window should appear in your default web browser that represents the model selection results graphically ([Figure 13](#fig:modelGraph)). This graph depicts the nested relationship of the different substitution models: an arrow pointing from one model to another indicates that the model at the tail is nested within the model at the head of the arrow. As we can see, JC69 is nested within all other models and all other models are nested within GTR.
297303

298304
<figure>
299305
<a id="fig:modelGraph"></a>
300306
<img src="figures/modelGraph2.png" alt="">
301-
<figcaption>Figure 12: A graphical representation of the model selection results produced by BModelAnalyzer.</figcaption>
307+
<figcaption>Figure 13: A graphical representation of the model selection results produced by BModelAnalyzer.</figcaption>
302308
</figure>
303309
<br>
304310

305311

306-
The area of the circle surrounding each model is proportional to the the posterior support for that model. The colours represent whether the model is contained within the 95% credible set (blue) or not (red). For the primate data set, the HKY model clearly has the highest posterior support ([Figure 12](#fig:modelGraph)). However, other models such as TN93 and two unnamed models, **121323** and **121123**, also have fairly high posterior support. The six digit model code describes how the different substitution rates are grouped in the order of {% eqinline r_{ac} %}, {% eqinline r_{ag} %}, {% eqinline r_{at} %}, {% eqinline r_{cg} %}, {% eqinline r_{ct} %} and {% eqinline r_{gt} %}. For instance, **121323** is a slight variant of the HKY model with an additional group for the rates {% eqinline r_{ct} %} and {% eqinline r_{gt} %}. The six digit codes for all models are shown in [Figure 6](#fig:modelIndexes).
312+
The area of the circle surrounding each model is proportional to the the posterior support for that model. The colours represent whether the model is contained within the 95% credible set (blue) or not (red). For the primate data set, the HKY model clearly has the highest posterior support ([Figure 13](#fig:modelGraph)). However, other models such as TN93 and two unnamed models, **121323** and **121123**, also have fairly high posterior support. The six digit model code describes how the different substitution rates are grouped in the order of {% eqinline r_{ac} %}, {% eqinline r_{ag} %}, {% eqinline r_{at} %}, {% eqinline r_{cg} %}, {% eqinline r_{ct} %} and {% eqinline r_{gt} %}. For instance, **121323** is a slight variant of the HKY model with an additional group for the rates {% eqinline r_{ct} %} and {% eqinline r_{gt} %}. The six digit codes for all models are shown in [Figure 6](#fig:modelIndexes).
307313

308314

309315
> **Topic for discussion:** We have used bModelTest to explore a large set of substitution models. But how do we know that any of the substitution models actually fit the observed sequence data well?

‎figures/analyzerDialogue.png‎

-47.2 KB
Loading

‎figures/beastRun.png‎

-481 KB
Loading

‎figures/findingApp.png‎

40.1 KB
Loading

‎figures/install_bModelTest.png‎

-222 KB
Loading

‎figures/partitions.png‎

-22 KB
Loading

‎figures/siteModel.png‎

-30.5 KB
Loading

0 commit comments

Comments
 (0)