Debian Codegraph @

examples/Calibrations/constrainedTaxaTest7.xml

raw symbols SCIP
1 <?xml version="1.0" standalone="yes"?>
2 <!-- simple test 6: two constraints, both with root heights -->
3 <beast>
4
5 <taxa id="taxa">
6 <taxon id="A"/>
7 <taxon id="B"/>
8 <taxon id="C"/>
9 </taxa>
10
11 <taxa id="AB">
12 <taxon idref="A"/>
13 <taxon idref="B"/>
14 </taxa>
15
16 <taxa id="ABC">
17 <taxon idref="A"/>
18 <taxon idref="B"/>
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>
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="ABC"/>
40 <uniformDistributionModel>
41 <lower>30.0</lower>
42 <upper>60.0</upper>
43 </uniformDistributionModel>
44 </tmrca>
45 </constrainedTaxa>
46 <constantSize idref="constant"/>
47 </coalescentTree>
48
49
50 <treeModel id="treeModel">
51 <coalescentTree idref="startingTree"/>
52 <rootHeight>
53 <parameter id="treeModel.rootHeight"/>
54 </rootHeight>
55 <nodeHeights internalNodes="true">
56 <parameter id="treeModel.internalNodeHeights"/>
57 </nodeHeights>
58 <nodeHeights internalNodes="true" rootNode="true">
59 <parameter id="treeModel.allInternalNodeHeights"/>
60 </nodeHeights>
61 </treeModel>
62
63 <tmrcaStatistic id="mAB">
64 <mrca>
65 <taxa idref="AB"/>
66 </mrca>
67 <treeModel idref="treeModel"/>
68 </tmrcaStatistic>
69
70 <tmrcaStatistic id="mABC">
71 <mrca>
72 <taxa idref="ABC"/>
73 </mrca>
74 <treeModel idref="treeModel"/>
75 </tmrcaStatistic>
76
77 <mcmc id="mcmc" chainLength="1" preBurnin="0">
78 <posterior id="posterior">
79 <prior id="prior">
80 <uniformPrior lower="40.0" upper="100.0">
81 <tmrcaStatistic idref="mAB"/>
82 </uniformPrior>
83 <uniformPrior lower="30.0" upper="60.0">
84 <tmrcaStatistic idref="mABC"/>
85 </uniformPrior>
86 </prior>
87 </posterior>
88
89 <operators>
90 <scaleOperator scaleFactor="0.75" weight="1">
91 <parameter id="xx" value="10" lower="0.0" upper="100.0"/>
92 </scaleOperator>
93 </operators>
94 <log logEvery="1000">
95 <column label="Posterior" dp="4" width="12">
96 <posterior idref="posterior"/>
97 </column>
98 </log>
99 </mcmc>
100
101 <report>
102 <treeModel idref="treeModel"/>
103 </report>
104
105 </beast>