File: esummary_clinvar.dtd

package info (click to toggle)
python-biopython 1.85%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 126,372 kB
  • sloc: xml: 1,047,995; python: 332,722; ansic: 16,944; sql: 1,208; makefile: 140; sh: 81
file content (319 lines) | stat: -rw-r--r-- 8,040 bytes parent folder | download
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<!-- DocSum DTD for clinvar database -->

<!--~~ !dtd
~~json
   <json type='esummary' version='0.3'>
       <config lcnames='true'/>
   </json>
~~-->

<!ENTITY	 % T_string		"(#PCDATA)">

<!-- Members definition of Structure type: T_variation_xref -->
<!ELEMENT	db_source		%T_string;>
<!ELEMENT	db_id		%T_string;>

<!-- Definition of Structure type: T_variation_xref -->
<!--~~ <variation_xref>
~~json <object/>
~~-->
<!ENTITY	 % T_variation_xref "(
			db_source?,
			db_id?
			)
			">

<!-- Definition of List type: T_VariationXRefList -->
<!ELEMENT	variation_xref	%T_variation_xref;>
<!ENTITY	 % T_VariationXRefList	"(variation_xref)*">

<!-- Definition of List type: T_AliasesType -->
<!ELEMENT	string	%T_string;>
<!ENTITY	 % T_AliasesType	"(string)*">

<!-- Members definition of Structure type: T_assembly_set -->
<!ELEMENT	status		%T_string;>
<!ELEMENT	assembly_name		%T_string;>
<!ELEMENT	chr		%T_string;>
<!ELEMENT	band		%T_string;>
<!ELEMENT	start		%T_string;>
<!ELEMENT	stop		%T_string;>
<!ELEMENT	inner_start		%T_string;>
<!ELEMENT	inner_stop		%T_string;>
<!ELEMENT	outer_start		%T_string;>
<!ELEMENT	outer_stop		%T_string;>
<!ELEMENT	display_start		%T_string;>
<!ELEMENT	display_stop		%T_string;>
<!ELEMENT	assembly_acc_ver		%T_string;>
<!ELEMENT	annotation_release		%T_string;>
<!ELEMENT	alt		%T_string;>
<!ELEMENT	ref		%T_string;>

<!-- Definition of Structure type: T_assembly_set -->
<!--~~ <assembly_set>
~~json <object/>
~~-->
<!ENTITY	 % T_assembly_set "(
			status?,
			assembly_name?,
			chr?,
			band?,
			start?,
			stop?,
			inner_start?,
			inner_stop?,
			outer_start?,
			outer_stop?,
			display_start?,
			display_stop?,
			assembly_acc_ver?,
			annotation_release?,
			alt?,
			ref?
			)
			">

<!-- Definition of List type: T_VariationLocType -->
<!ELEMENT	assembly_set	%T_assembly_set;>
<!ENTITY	 % T_VariationLocType	"(assembly_set)*">

<!-- Members definition of Structure type: T_allele_freq -->
<!ELEMENT	source		%T_string;>
<!ELEMENT	value		%T_string;>
<!ELEMENT	minor_allele		%T_string;>

<!-- Definition of Structure type: T_allele_freq -->
<!--~~ <allele_freq>
~~json <object/>
~~-->
<!ENTITY	 % T_allele_freq "(
			source?,
			value?,
			minor_allele?
			)
			">

<!-- Definition of List type: T_AlleleFreqSetType -->
<!ELEMENT	allele_freq	%T_allele_freq;>
<!ENTITY	 % T_AlleleFreqSetType	"(allele_freq)*">

<!-- Members definition of Structure type: T_variation -->
<!ELEMENT	measure_id		%T_string;>
<!ELEMENT	variation_xrefs		%T_VariationXRefList;>
<!ELEMENT	variation_name		%T_string;>
<!ELEMENT	cdna_change		%T_string;>
<!ELEMENT	aliases		%T_AliasesType;>
<!ELEMENT	variation_loc		%T_VariationLocType;>
<!ELEMENT	allele_freq_set		%T_AlleleFreqSetType;>
<!ELEMENT	variant_type		%T_string;>
<!ELEMENT	canonical_spdi		%T_string;>

<!-- Definition of Structure type: T_variation -->
<!--~~ <variation>
~~json <object/>
~~-->
<!ENTITY	 % T_variation "(
			measure_id?,
			variation_xrefs?,
			variation_name?,
			cdna_change?,
			aliases?,
			variation_loc?,
			allele_freq_set?,
			variant_type?,
			canonical_spdi?
			)
			">

<!-- Definition of List type: T_VariationSetType -->
<!ELEMENT	variation	%T_variation;>
<!ENTITY	 % T_VariationSetType	"(variation)*">

<!-- Definition of List type: T_SCVType -->
<!-- Already defined ...
	string	 as %T_string;>
 ... Already defined -->
<!ENTITY	 % T_SCVType	"(string)*">

<!-- Definition of List type: T_RCVType -->
<!-- Already defined ...
	string	 as %T_string;>
 ... Already defined -->
<!ENTITY	 % T_RCVType	"(string)*">

<!-- Members definition of Structure type: T_SupportingSubmissionsType -->
<!ELEMENT	scv		%T_SCVType;>
<!ELEMENT	rcv		%T_RCVType;>

<!-- Definition of Structure type: T_SupportingSubmissionsType -->
<!--~~ <SupportingSubmissionsType>
~~json <object/>
~~-->
<!ENTITY	 % T_SupportingSubmissionsType "(
			scv?,
			rcv?
			)
			">
<!ENTITY	 % T_date		"(#PCDATA)">

<!-- Members definition of Structure type: T_trait_xref -->
<!-- Already defined ...
	db_source	 as 	%T_string;
 ... Already defined -->
<!-- Already defined ...
	db_id	 as 	%T_string;
 ... Already defined -->

<!-- Definition of Structure type: T_trait_xref -->
<!--~~ <trait_xref>
~~json <object/>
~~-->
<!ENTITY	 % T_trait_xref "(
			db_source?,
			db_id?
			)
			">

<!-- Definition of List type: T_TraitXrefsType -->
<!ELEMENT	trait_xref	%T_trait_xref;>
<!ENTITY	 % T_TraitXrefsType	"(trait_xref)*">

<!-- Members definition of Structure type: T_trait -->
<!ELEMENT	trait_xrefs		%T_TraitXrefsType;>
<!ELEMENT	trait_name		%T_string;>

<!-- Definition of Structure type: T_trait -->
<!--~~ <trait>
~~json <object/>
~~-->
<!ENTITY	 % T_trait "(
			trait_xrefs?,
			trait_name?
			)
			">

<!-- Definition of List type: T_TraitSetType -->
<!ELEMENT	trait	%T_trait;>
<!ENTITY	 % T_TraitSetType	"(trait)*">

<!-- Members definition of Structure type: T_ClassificationType -->
<!ELEMENT	description		%T_string;>
<!ELEMENT	last_evaluated		%T_date;>
<!ELEMENT	review_status		%T_string;>
<!ELEMENT	fda_recognized_database		%T_string;>
<!ELEMENT	trait_set		%T_TraitSetType;>

<!-- Definition of Structure type: T_ClassificationType -->
<!--~~ <ClassificationType>
~~json <object/>
~~-->
<!ENTITY	 % T_ClassificationType "(
			description?,
			last_evaluated?,
			review_status?,
			fda_recognized_database?,
			trait_set?
			)
			">

<!-- Members definition of Structure type: T_gene -->
<!ELEMENT	symbol		%T_string;>
<!ELEMENT	GeneID		%T_string;>
<!ELEMENT	strand		%T_string;>
<!-- Already defined ...
	source	 as 	%T_string;
 ... Already defined -->

<!-- Definition of Structure type: T_gene -->
<!--~~ <gene>
~~json <object/>
~~-->
<!ENTITY	 % T_gene "(
			symbol?,
			GeneID?,
			strand?,
			source?
			)
			">

<!-- Definition of List type: T_GenesType -->
<!ELEMENT	gene	%T_gene;>
<!ENTITY	 % T_GenesType	"(gene)*">

<!-- Definition of List type: T_MolecularConsequenceListType -->
<!-- Already defined ...
	string	 as %T_string;>
 ... Already defined -->
<!ENTITY	 % T_MolecularConsequenceListType	"(string)*">

<!-- Members definition of Structure type: T_DocSum -->
<!ELEMENT	obj_type		%T_string;>
<!ELEMENT	accession		%T_string;>
<!ELEMENT	accession_version		%T_string;>
<!ELEMENT	title		%T_string;>
<!ELEMENT	variation_set		%T_VariationSetType;>
<!ELEMENT	supporting_submissions		%T_SupportingSubmissionsType;>
<!ELEMENT	germline_classification		%T_ClassificationType;>
<!ELEMENT	clinical_impact_classification		%T_ClassificationType;>
<!ELEMENT	oncogenicity_classification		%T_ClassificationType;>
<!ELEMENT	record_status		%T_string;>
<!ELEMENT	gene_sort		%T_string;>
<!ELEMENT	chr_sort		%T_string;>
<!ELEMENT	location_sort		%T_string;>
<!ELEMENT	variation_set_name		%T_string;>
<!ELEMENT	variation_set_id		%T_string;>
<!ELEMENT	genes		%T_GenesType;>
<!ELEMENT	molecular_consequence_list		%T_MolecularConsequenceListType;>
<!ELEMENT	protein_change		%T_string;>
<!-- Already defined ...
	fda_recognized_database	 as 	%T_string;
 ... Already defined -->
<!ELEMENT	error		%T_string;>

<!-- Definition of Structure type: T_DocSum -->
<!--~~ <DocumentSummary>
~~json <object name='@uid'/>
~~-->
<!ENTITY	 % T_DocSum "((
			obj_type?,
			accession?,
			accession_version?,
			title?,
			variation_set?,
			supporting_submissions?,
			germline_classification?,
			clinical_impact_classification?,
			oncogenicity_classification?,
			record_status?,
			gene_sort?,
			chr_sort?,
			location_sort?,
			variation_set_name?,
			variation_set_id?,
			genes?,
			molecular_consequence_list?,
			protein_change?,
			fda_recognized_database?
			)
			| error)
			">

<!ELEMENT DocumentSummary %T_DocSum;>
<!ATTLIST DocumentSummary uid CDATA #IMPLIED>

<!ELEMENT DbBuild      %T_string;>
<!ELEMENT DocumentSummarySet (DbBuild?, DocumentSummary*)>
<!ATTLIST DocumentSummarySet status CDATA #REQUIRED>
<!--~~ <DocumentSummarySet>
~~json
   <object key="result">
       <array key="uids" select='DocumentSummary/@uid'/>
       <members select='DocumentSummary'/>
   </object>
~~-->
<!--~~ <eSummaryResult>
~~ json <member/>
~~-->

<!ELEMENT eSummaryResult (DocumentSummarySet?)>