Debian Codegraph @

examples/Calibrations/constrainedTaxaTest8.xml

raw symbols SCIP
1 <?xml version="1.0" standalone="yes"?>
2 <!-- simple test 3: one monophyletic, one not -->
3 <beast>
4
5 <taxa id="taxa">
6 <taxon id="A"/>
7 <taxon id="B"/>
8 <taxon id="C"/>
9 <taxon id="D"/>
10 </taxa>
11
12 <taxa id="AB">
13 <taxon idref="A"/>
14 <taxon idref="B"/>
15 </taxa>
16
17 <taxa id="AC">
18 <taxon idref="A"/>
19 <taxon idref="C"/>
20 </taxa>
21
22 <constantSize id="constant" units="years">
23 <populationSize>
24 <parameter id="popSize" value="100"/>
25 </populationSize>
26 </constantSize>
27
28 <coalescentTree id="startingTree">
29 <constrainedTaxa>
30 <taxa idref="taxa"/>
31 <tmrca monophyletic="false">
32 <taxa idref="AB"/>
33 <uniformDistributionModel>
34 <lower>40.0</lower>
35 <upper>100.0</upper>
36 </uniformDistributionModel>
37 </tmrca>
38 <tmrca>
39 <taxa idref="AC"/>
40 </tmrca>
41 </constrainedTaxa>
42 <constantSize idref="constant"/>
43 </coalescentTree>
44
45
46 <treeModel id="treeModel">
47 <coalescentTree idref="startingTree"/>
48 <rootHeight>
49 <parameter id="treeModel.rootHeight"/>
50 </rootHeight>
51 <nodeHeights internalNodes="true">
52 <parameter id="treeModel.internalNodeHeights"/>
53 </nodeHeights>
54 <nodeHeights internalNodes="true" rootNode="true">
55 <parameter id="treeModel.allInternalNodeHeights"/>
56 </nodeHeights>
57 </treeModel>
58
59 <tmrcaStatistic id="mAB">
60 <mrca>
61 <taxa idref="AB"/>
62 </mrca>
63 <treeModel idref="treeModel"/>
64 </tmrcaStatistic>
65
66 <monophylyStatistic id="mAC">
67 <mrca>
68 <taxa idref="AC"/>
69 </mrca>
70 <treeModel idref="treeModel"/>
71 </monophylyStatistic>
72
73
74 <mcmc id="mcmc" chainLength="1" preBurnin="0">
75 <posterior id="posterior">
76 <prior id="prior">
77 <uniformPrior lower="40.0" upper="100.0">
78 <tmrcaStatistic idref="mAB"/>
79 </uniformPrior>
80 <booleanLikelihood>
81 <monophylyStatistic idref="mAC"/>
82 </booleanLikelihood>
83 </prior>
84 </posterior>
85
86 <operators>
87 <scaleOperator scaleFactor="0.75" weight="1">
88 <parameter id="xx" value="10" lower="0.0" upper="100.0"/>
89 </scaleOperator>
90 </operators>
91 <log logEvery="1000">
92 <column label="Posterior" dp="4" width="12">
93 <posterior idref="posterior"/>
94 </column>
95 </log>
96 </mcmc>
97
98 <report>
99 <treeModel idref="treeModel"/>
100 </report>
101
102 </beast>