-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestDirectSimulator.xml
46 lines (38 loc) · 1.79 KB
/
testDirectSimulator.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<beast version="2.0" namespace="beast.core
:beast.evolution.alignment
:beast.evolution.tree
:beast.math.distributions
:beast.evolution.speciation
:beast.core.util
:beast.core.parameter">
<run spec="DirectSimulator" nSamples="100">
<distribution spec="CompoundDistribution" id="fullModel">
<distribution spec="YuleModel" id="yuleModel">
<tree spec="Tree" id="tree">
<taxonset spec="TaxonSet">
<taxon spec="Taxon" id="t1"/>
<taxon spec="Taxon" id="t2"/>
<taxon spec="Taxon" id="t3"/>
<taxon spec="Taxon" id="t4"/>
<taxon spec="Taxon" id="t5"/>
</taxonset>
</tree>
<birthDiffRate spec="RealParameter" id="birthDiffRateParam" value="1.0"/>
</distribution>
<distribution spec="beast.math.distributions.Prior" id="birthDiffRatePrior">
<distr spec="Exponential" id="xExpParamDist" mean="1"/>
<x idref="birthDiffRateParam"/>
</distribution>
</distribution>
<logger logEvery="1" fileName="$(filebase).log">
<log idref="birthDiffRateParam"/>
<log id="clockRate" spec="beast.util.Script" expression="0.5/TreeHeight">
<x id="TreeHeight" spec="beast.evolution.tree.TreeHeightLogger" tree="@tree"/>
</log>
<log idref="TreeHeight"/>
</logger>
<logger logEvery="1" fileName="$(filebase).trees">
<log idref="tree"/>
</logger>
</run>
</beast>