Skip to content
Browse files

update tutorial to use MCMC2NS utility

  • Loading branch information...
rbouckaert committed Mar 24, 2019
1 parent a72fb79 commit fe86ed9962d589af316e897bdf6d8b3122a4dd00
Showing with 19 additions and 1 deletion.
  1. +19 −1
  2. BIN figures/MCMC2NS.png
@@ -4,7 +4,7 @@ level: Intermediate
title: Model selection
subtitle: Model selection with nested sampling
beastversion: 2.5.2
nsversion: 1.0.3
nsversion: 1.0.4

@@ -137,6 +137,24 @@ To use nested sampling, first have to install the NS (version {{ page.nsversion

## Setting up the nested sampling analyses

You can convert an MCMC analysis to an NS analysis using the `MCMC2NS` tool that comes with the NS package.

> * launch the applauncher via the `File > Launch apps` menu in BEAUti
> * in the dialog that pops up, select the `MCMC to NS converter` app, and click `Launch`
> * select the XML file with strict clock analysis, set `HBVStrict-NS.xml` as output file in the same directory.
> * change settings as in the figure below
> * click `OK`, and the file with the nested sampling analysis will be created
> * repeat the process for the relaxed clock analysis
<a name="fig:priors"></a>
<img style="width:80.0%;" src="figures/MCMC2NS.png" alt="">
<figcaption>Figure 4: converting an MCMC analysis to an NS analysis using the applauncher</figcaption>

Alternatively, you can do this in a text editor as follows:

> * copy the file `HBVStrict.xml` to `HBVStric-NS.xml` and
> * copy `HBVUCLN.xml` to `HBVUCLN-NS.xml`
> * start a text editor and in both copied files, change
BIN +59.8 KB figures/MCMC2NS.png
Binary file not shown.

0 comments on commit fe86ed9

Please sign in to comment.
You can’t perform that action at this time.