Debian Codegraph @

examples/TestXML/testMSSD.xml

raw symbols SCIP
1 <?xml version="1.0" ?>
2 <beast>
3 <!-- DATA SPECIFICATION -->
4 <taxa id="taxa">
5 <taxon id="mm"/>
6 <taxon id="rn"/>
7 <taxon id="hg"/>
8 <taxon id="panTro"/>
9 </taxa>
10
11 <generalDataType id="binaryDataType">
12 <state code="1"/>
13 <!-- No splice sites -->
14 <state code="2"/>
15 <!-- Splice sites present -->
16 <ambiguity code="B" states="12"/>
17 </generalDataType>
18
19 <extendedDataType id="alsDataType">
20 <dataType idref="binaryDataType"/>
21 <deathState code="0"/>
22 <!-- Exon not present -->
23 <ambiguity code="U"/>
24 </extendedDataType>
25
26 <!-- <alignment id="short">
27 <dataType idref="alsDataType"/>
28 <sequence> <taxon idref="hg"/> 222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222</sequence>
29 <sequence> <taxon idref="panTro"/>U000000000000000000000000011111111111111111111111112222222222222222222222222BBBBBBBBBBBBBBBBBBBBBBBBBUUUUUUUUUUUUUUUUUUUUUUUUU</sequence>
30 <sequence> <taxon idref="mm"/> U000001111122222BBBBBUUUUU000001111122222BBBBBUUUUU000001111122222BBBBBUUUUU000001111122222BBBBBUUUUU000001111122222BBBBBUUUUU</sequence>
31 <sequence> <taxon idref="rn"/> U012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU012BU</sequence>
32 </alignment> -->
33
34 <alignment id="short">
35 <dataType idref="alsDataType"/>
36 <sequence>
37 <taxon idref="hg"/>
38 12222
39 </sequence>
40 <sequence>
41 <taxon idref="panTro"/>
42 U212U
43 </sequence>
44 <sequence>
45 <taxon idref="mm"/>
46 U122U
47 </sequence>
48 <sequence>
49 <taxon idref="rn"/>
50 U012U
51 </sequence>
52 </alignment>
53
54 <newick id="shortTree"> <!-- rescaleHeight="0.1"> -->
55 ((hg:0.1,panTro:0.1):1.8,(rn:0.9,mm:0.9):1);
56 </newick>
57 <ascertainedPatterns from="2" id="shortPatterns">
58 <alignment idref="short"/>
59 <!--<excludePatterns from="5" to="6"/>-->
60 <excludePatterns from="1" to="2"/>
61 </ascertainedPatterns>
62
63 <frequencyModel id="binaryFreqModel">
64 <dataType idref="binaryDataType"/>
65 <frequencies>
66 <parameter dimension="2" value="0.5 0.5" id="binary.frequencies"/>
67 </frequencies>
68 </frequencyModel>
69
70 <generalSubstitutionModel id="binaryModel">
71 <frequencies>
72 <frequencyModel idref="binaryFreqModel"/>
73 </frequencies>
74 <rates relativeTo="1">
75 <parameter id="binary.rates" dimension="0"/>
76 </rates>
77 </generalSubstitutionModel>
78
79 <mutationDeathModel id="alsModel">
80 <parameter id="als.death" lower="0.0" value="1.0"/>
81 <substitutionModel idref="binaryModel"/>
82 <dataType idref="alsDataType"/>
83 <mutationRate>
84 <parameter id="substitutionRate" lower="0.0" value="2.0"/>
85 </mutationRate>
86 </mutationDeathModel>
87
88 <siteModel id="siteModel">
89 <substitutionModel>
90 <mutationDeathModel idref="alsModel"/>
91 </substitutionModel>
92 <mutationRate>
93 <parameter id="overallRate" lower="0.0" value="1.0"/>
94 </mutationRate>
95 </siteModel>
96
97 <treeModel id="treeModel">
98 <tree idref="shortTree"/>
99 <rootHeight>
100 <parameter id="treeModel.rootHeight"/>
101 </rootHeight>
102 <nodeHeights internalNodes="true" rootNode="false">
103 <parameter id="treeModel.internalNodeHeights"/>
104 </nodeHeights>
105 <nodeHeights internalNodes="true" rootNode="true">
106 <parameter id="treeModel.allInternalNodeHeights"/>
107 </nodeHeights>
108 </treeModel>
109
110 <scaledTreeLengthModel id="treeLengthScaling">
111 <treeModel idref="treeModel"/>
112 <scalingFactor>
113 <parameter id="totalTreeLength" lower="0.0" value="1.0"/>
114 </scalingFactor>
115 </scaledTreeLengthModel>
116
117 <alsTreeLikelihood id="alsLikelihood" integrateGainRate="true">
118 <patterns idref="shortPatterns"/>
119 <treeModel idref="treeModel"/>
120 <siteModel idref="siteModel"/>
121 <scaledTreeLengthModel idref="treeLengthScaling"/>
122 <observationProcess type="singleTip" taxon="hg"/>
123 </alsTreeLikelihood>
124
125 <exponentialBranchLengthsPrior id="treePrior">
126 <treeModel idref="treeModel"/>
127 </exponentialBranchLengthsPrior>
128
129 <ctmcScalePrior id="scalePrior">
130 <ctmcScale>
131 <parameter idref="substitutionRate"/>
132 </ctmcScale>
133 <treeModel idref="treeModel"/>
134 </ctmcScalePrior>
135
136 <gammaPrior id="deathRatePrior" scale="1" shape="0.0001" offset="0">
137 <parameter idref="als.death"/>
138 </gammaPrior>
139
140 <operators id="operators">
141 <scaleOperator scaleFactor="0.54" weight="1">
142 <parameter idref="substitutionRate"/>
143 </scaleOperator>
144 <deltaMixOperator delta=".5" weight="1" autoOptimize="false">
145 <parameter idref="binary.frequencies"/>
146 </deltaMixOperator>
147
148 <!-- <deltaExchange delta=".1" weight="1" autoOptimize="true">
149 <parameter idref="binary.frequencies"/>
150 </deltaExchange> -->
151
152 <scaleOperator scaleFactor="0.65" weight="1">
153 <parameter idref="als.death"/>
154 </scaleOperator>
155 <!-- <scaleOperator scaleFactor="0.5" weight="1">
156 <parameter idref="als.birth"/>
157 </scaleOperator>-->
158 </operators>
159
160 <mcmc id="mcmc" chainLength="300000" autoOptimize="false">
161 <posterior id="posterior">
162 <likelihood id="likelihood">
163 <treeLikelihood idref="alsLikelihood"/>
164 </likelihood>
165 <prior id="prior">
166 <likelihood idref="treePrior"/>
167 <likelihood idref="deathRatePrior"/>
168 <likelihood idref="scalePrior"/>
169 </prior>
170 </posterior>
171
172 <operators idref="operators"/>
173 <log logEvery="1000">
174 <!-- <column label="Lam" sf="4" width="12">
175 <parameter idref="als.birth"/>
176 </column> -->
177 <column label="Del" sf="4" width="12">
178 <parameter idref="als.death"/>
179 </column>
180 <column label="P" sf="8" width="12">
181 <parameter idref="binary.frequencies"/>
182 </column>
183 <column label="Mrate" sf="4" width="12">
184 <parameter idref="substitutionRate"/>
185 </column>
186 <column dp="8" label="Likelihood" width="12">
187 <likelihood idref="likelihood"/>
188 </column>
189 <column label="Prior" dp="8" width="12">
190 <prior idref="prior"/>
191 </column>
192 <column label="Posterior" dp="8" width="12">
193 <posterior idref="posterior"/>
194 </column>
195 </log>
196 <log id="fileLog" logEvery="1" fileName="scalePrior.log">
197 <!-- <parameter idref="als.birth" /> -->
198 <parameter idref="als.death"/>
199 <parameter idref="binary.frequencies"/>
200 <parameter idref="substitutionRate"/>
201 <likelihood idref="likelihood"/>
202 <!--<alsTreeLikelihood idref="alsLikelihood"/>-->
203 <!-- <likelihood idref="prior"/>
204 <likelihood idref="posterior"/>-->
205 </log>
206 </mcmc>
207
208 </beast>