-
Notifications
You must be signed in to change notification settings - Fork 2
/
evidence_schema.txt
executable file
·337 lines (336 loc) · 17.6 KB
/
evidence_schema.txt
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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
Schema inferred by Spark:
# ss.read.json(EXTRACT_DIR.resolve("evidence_raw.json").toString).printSchema
root
|-- _corrupt_record: string (nullable = true)
|-- access_level: string (nullable = true)
|-- disease: struct (nullable = true)
| |-- biosample: struct (nullable = true)
| | |-- id: string (nullable = true)
| | |-- name: string (nullable = true)
| |-- id: string (nullable = true)
| |-- name: string (nullable = true)
| |-- source_name: string (nullable = true)
|-- drug: struct (nullable = true)
| |-- id: string (nullable = true)
| |-- molecule_name: string (nullable = true)
| |-- molecule_type: string (nullable = true)
|-- evidence: struct (nullable = true)
| |-- biological_model: struct (nullable = true)
| | |-- allele_ids: string (nullable = true)
| | |-- allelic_composition: string (nullable = true)
| | |-- date_asserted: string (nullable = true)
| | |-- evidence_codes: array (nullable = true)
| | | |-- element: string (containsNull = true)
| | |-- genetic_background: string (nullable = true)
| | |-- is_associated: boolean (nullable = true)
| | |-- model_gene_id: string (nullable = true)
| | |-- model_id: string (nullable = true)
| | |-- phenotypes: array (nullable = true)
| | | |-- element: struct (containsNull = true)
| | | | |-- id: string (nullable = true)
| | | | |-- label: string (nullable = true)
| | | | |-- species: string (nullable = true)
| | | | |-- term_id: string (nullable = true)
| | |-- provenance_type: struct (nullable = true)
| | | |-- database: struct (nullable = true)
| | | | |-- id: string (nullable = true)
| | | | |-- version: string (nullable = true)
| | |-- resource_score: struct (nullable = true)
| | | |-- method: struct (nullable = true)
| | | | |-- description: string (nullable = true)
| | | |-- type: string (nullable = true)
| | | |-- value: double (nullable = true)
| | |-- species: string (nullable = true)
| | |-- zygosity: string (nullable = true)
| |-- clinical_significance: string (nullable = true)
| |-- comparison_name: string (nullable = true)
| |-- confidence_level: string (nullable = true)
| |-- date_asserted: string (nullable = true)
| |-- disease_model_association: struct (nullable = true)
| | |-- date_asserted: string (nullable = true)
| | |-- disease_id: string (nullable = true)
| | |-- evidence_codes: array (nullable = true)
| | | |-- element: string (containsNull = true)
| | |-- human_phenotypes: array (nullable = true)
| | | |-- element: struct (containsNull = true)
| | | | |-- id: string (nullable = true)
| | | | |-- label: string (nullable = true)
| | | | |-- species: string (nullable = true)
| | | | |-- term_id: string (nullable = true)
| | |-- is_associated: boolean (nullable = true)
| | |-- model_id: string (nullable = true)
| | |-- model_phenotypes: array (nullable = true)
| | | |-- element: struct (containsNull = true)
| | | | |-- id: string (nullable = true)
| | | | |-- label: string (nullable = true)
| | | | |-- species: string (nullable = true)
| | | | |-- term_id: string (nullable = true)
| | |-- provenance_type: struct (nullable = true)
| | | |-- database: struct (nullable = true)
| | | | |-- id: string (nullable = true)
| | | | |-- version: string (nullable = true)
| | |-- resource_score: struct (nullable = true)
| | | |-- method: struct (nullable = true)
| | | | |-- description: string (nullable = true)
| | | |-- type: string (nullable = true)
| | | |-- value: double (nullable = true)
| |-- drug2clinic: struct (nullable = true)
| | |-- clinical_trial_phase: struct (nullable = true)
| | | |-- label: string (nullable = true)
| | | |-- numeric_index: long (nullable = true)
| | |-- date_asserted: string (nullable = true)
| | |-- evidence_codes: array (nullable = true)
| | | |-- element: string (containsNull = true)
| | |-- is_associated: boolean (nullable = true)
| | |-- provenance_type: struct (nullable = true)
| | | |-- expert: struct (nullable = true)
| | | | |-- status: boolean (nullable = true)
| | |-- resource_score: struct (nullable = true)
| | | |-- type: string (nullable = true)
| | | |-- value: double (nullable = true)
| | |-- status: string (nullable = true)
| | |-- urls: array (nullable = true)
| | | |-- element: struct (containsNull = true)
| | | | |-- nice_name: string (nullable = true)
| | | | |-- url: string (nullable = true)
| |-- evidence_codes: array (nullable = true)
| | |-- element: string (containsNull = true)
| |-- experiment_overview: string (nullable = true)
| |-- gene2variant: struct (nullable = true)
| | |-- date_asserted: string (nullable = true)
| | |-- evidence_codes: array (nullable = true)
| | | |-- element: string (containsNull = true)
| | |-- functional_consequence: string (nullable = true)
| | |-- is_associated: boolean (nullable = true)
| | |-- provenance_type: struct (nullable = true)
| | | |-- database: struct (nullable = true)
| | | | |-- dbxref: struct (nullable = true)
| | | | | |-- id: string (nullable = true)
| | | | | |-- url: string (nullable = true)
| | | | | |-- version: string (nullable = true)
| | | | |-- id: string (nullable = true)
| | | | |-- version: string (nullable = true)
| | | |-- expert: struct (nullable = true)
| | | | |-- statement: string (nullable = true)
| | | | |-- status: boolean (nullable = true)
| | | |-- literature: struct (nullable = true)
| | | | |-- references: array (nullable = true)
| | | | | |-- element: struct (containsNull = true)
| | | | | | |-- lit_id: string (nullable = true)
| | |-- resource_score: struct (nullable = true)
| | | |-- method: struct (nullable = true)
| | | | |-- description: string (nullable = true)
| | | |-- type: string (nullable = true)
| | | |-- value: double (nullable = true)
| | |-- urls: array (nullable = true)
| | | |-- element: struct (containsNull = true)
| | | | |-- nice_name: string (nullable = true)
| | | | |-- url: string (nullable = true)
| |-- is_associated: boolean (nullable = true)
| |-- known_mutations: array (nullable = true)
| | |-- element: struct (containsNull = true)
| | | |-- functional_consequence: string (nullable = true)
| | | |-- inheritance_pattern: string (nullable = true)
| | | |-- number_mutated_samples: long (nullable = true)
| | | |-- number_samples_tested: long (nullable = true)
| | | |-- number_samples_with_mutation_type: long (nullable = true)
| | | |-- preferred_name: string (nullable = true)
| | | |-- role_in_cancer: string (nullable = true)
| |-- literature_ref: struct (nullable = true)
| | |-- lit_id: string (nullable = true)
| | |-- mined_sentences: array (nullable = true)
| | | |-- element: struct (containsNull = true)
| | | | |-- d_end: long (nullable = true)
| | | | |-- d_start: long (nullable = true)
| | | | |-- section: string (nullable = true)
| | | | |-- t_end: long (nullable = true)
| | | | |-- t_start: long (nullable = true)
| | | | |-- text: string (nullable = true)
| |-- log2_fold_change: struct (nullable = true)
| | |-- percentile_rank: long (nullable = true)
| | |-- value: double (nullable = true)
| |-- organism_part: string (nullable = true)
| |-- orthologs: struct (nullable = true)
| | |-- date_asserted: string (nullable = true)
| | |-- evidence_codes: array (nullable = true)
| | | |-- element: string (containsNull = true)
| | |-- human_gene_id: string (nullable = true)
| | |-- is_associated: boolean (nullable = true)
| | |-- model_gene_id: string (nullable = true)
| | |-- provenance_type: struct (nullable = true)
| | | |-- database: struct (nullable = true)
| | | | |-- id: string (nullable = true)
| | | | |-- version: string (nullable = true)
| | |-- resource_score: struct (nullable = true)
| | | |-- method: struct (nullable = true)
| | | | |-- description: string (nullable = true)
| | | |-- type: string (nullable = true)
| | | |-- value: double (nullable = true)
| | |-- species: string (nullable = true)
| |-- provenance_type: struct (nullable = true)
| | |-- database: struct (nullable = true)
| | | |-- dbxref: struct (nullable = true)
| | | | |-- id: string (nullable = true)
| | | | |-- url: string (nullable = true)
| | | | |-- version: string (nullable = true)
| | | |-- id: string (nullable = true)
| | | |-- version: string (nullable = true)
| | |-- expert: struct (nullable = true)
| | | |-- statement: string (nullable = true)
| | | |-- status: boolean (nullable = true)
| | |-- literature: struct (nullable = true)
| | | |-- references: array (nullable = true)
| | | | |-- element: struct (containsNull = true)
| | | | | |-- lit_id: string (nullable = true)
| |-- reference_replicates_n: long (nullable = true)
| |-- reference_sample: string (nullable = true)
| |-- resource_score: struct (nullable = true)
| | |-- method: struct (nullable = true)
| | | |-- description: string (nullable = true)
| | | |-- reference: string (nullable = true)
| | | |-- url: string (nullable = true)
| | |-- type: string (nullable = true)
| | |-- value: double (nullable = true)
| |-- target2drug: struct (nullable = true)
| | |-- action_type: string (nullable = true)
| | |-- date_asserted: string (nullable = true)
| | |-- evidence_codes: array (nullable = true)
| | | |-- element: string (containsNull = true)
| | |-- is_associated: boolean (nullable = true)
| | |-- mechanism_of_action: string (nullable = true)
| | |-- provenance_type: struct (nullable = true)
| | | |-- database: struct (nullable = true)
| | | | |-- id: string (nullable = true)
| | | | |-- version: string (nullable = true)
| | | |-- expert: struct (nullable = true)
| | | | |-- status: boolean (nullable = true)
| | | |-- literature: struct (nullable = true)
| | | | |-- references: array (nullable = true)
| | | | | |-- element: struct (containsNull = true)
| | | | | | |-- lit_id: string (nullable = true)
| | |-- resource_score: struct (nullable = true)
| | | |-- type: string (nullable = true)
| | | |-- value: long (nullable = true)
| | |-- urls: array (nullable = true)
| | | |-- element: struct (containsNull = true)
| | | | |-- nice_name: string (nullable = true)
| | | | |-- url: string (nullable = true)
| |-- test_replicates_n: long (nullable = true)
| |-- test_sample: string (nullable = true)
| |-- unique_experiment_reference: string (nullable = true)
| |-- urls: array (nullable = true)
| | |-- element: struct (containsNull = true)
| | | |-- nice_name: string (nullable = true)
| | | |-- url: string (nullable = true)
| |-- variant2disease: struct (nullable = true)
| | |-- clinical_significance: string (nullable = true)
| | |-- confidence_interval: string (nullable = true)
| | |-- date_asserted: string (nullable = true)
| | |-- evidence_codes: array (nullable = true)
| | | |-- element: string (containsNull = true)
| | |-- gwas_panel_resolution: long (nullable = true)
| | |-- gwas_sample_size: long (nullable = true)
| | |-- is_associated: boolean (nullable = true)
| | |-- odds_ratio: string (nullable = true)
| | |-- provenance_type: struct (nullable = true)
| | | |-- database: struct (nullable = true)
| | | | |-- dbxref: struct (nullable = true)
| | | | | |-- id: string (nullable = true)
| | | | | |-- url: string (nullable = true)
| | | | | |-- version: string (nullable = true)
| | | | |-- id: string (nullable = true)
| | | | |-- version: string (nullable = true)
| | | |-- expert: struct (nullable = true)
| | | | |-- statement: string (nullable = true)
| | | | |-- status: boolean (nullable = true)
| | | |-- literature: struct (nullable = true)
| | | | |-- references: array (nullable = true)
| | | | | |-- element: struct (containsNull = true)
| | | | | | |-- lit_id: string (nullable = true)
| | |-- resource_score: struct (nullable = true)
| | | |-- exponent: long (nullable = true)
| | | |-- mantissa: long (nullable = true)
| | | |-- method: struct (nullable = true)
| | | | |-- description: string (nullable = true)
| | | | |-- url: string (nullable = true)
| | | |-- type: string (nullable = true)
| | | |-- value: double (nullable = true)
| | |-- unique_experiment_reference: string (nullable = true)
| | |-- urls: array (nullable = true)
| | | |-- element: struct (containsNull = true)
| | | | |-- nice_name: string (nullable = true)
| | | | |-- url: string (nullable = true)
|-- literature: struct (nullable = true)
| |-- references: array (nullable = true)
| | |-- element: struct (containsNull = true)
| | | |-- lit_id: string (nullable = true)
|-- sourceID: string (nullable = true)
|-- target: struct (nullable = true)
| |-- activity: string (nullable = true)
| |-- binding_subunit_known: boolean (nullable = true)
| |-- complex_id: string (nullable = true)
| |-- id: string (nullable = true)
| |-- target_class: array (nullable = true)
| | |-- element: string (containsNull = true)
| |-- target_name: string (nullable = true)
| |-- target_type: string (nullable = true)
| |-- tier: string (nullable = true)
|-- type: string (nullable = true)
|-- unique_association_fields: struct (nullable = true)
| |-- alleleOrigin: string (nullable = true)
| |-- cases: string (nullable = true)
| |-- chembl_molecule: string (nullable = true)
| |-- clinvarAccession: string (nullable = true)
| |-- comparison_name: string (nullable = true)
| |-- dbSnps: string (nullable = true)
| |-- disease_acronym: string (nullable = true)
| |-- disease_id: string (nullable = true)
| |-- disease_iri: string (nullable = true)
| |-- disease_phenodigm_id: string (nullable = true)
| |-- disease_uri: string (nullable = true)
| |-- efo_id: string (nullable = true)
| |-- gene: string (nullable = true)
| |-- geneID: string (nullable = true)
| |-- gene_name: string (nullable = true)
| |-- gene_set: string (nullable = true)
| |-- model_description: string (nullable = true)
| |-- model_gene_id: string (nullable = true)
| |-- model_genetic_background: string (nullable = true)
| |-- mutationDescription: string (nullable = true)
| |-- mutation_type: string (nullable = true)
| |-- mutations: string (nullable = true)
| |-- odds_ratio: string (nullable = true)
| |-- original_disease_label: string (nullable = true)
| |-- original_disease_name: string (nullable = true)
| |-- panel_diseasegroup: string (nullable = true)
| |-- panel_diseasesubgroup: string (nullable = true)
| |-- panel_id: string (nullable = true)
| |-- panel_name: string (nullable = true)
| |-- panel_version: string (nullable = true)
| |-- pathway_id: string (nullable = true)
| |-- phenotype: string (nullable = true)
| |-- pmid: string (nullable = true)
| |-- predictionModel: string (nullable = true)
| |-- previous_code: string (nullable = true)
| |-- probe_id: string (nullable = true)
| |-- publication_id: string (nullable = true)
| |-- pubmed_refs: string (nullable = true)
| |-- pvalue_annotation: string (nullable = true)
| |-- reaction_activity: string (nullable = true)
| |-- reaction_id: string (nullable = true)
| |-- score: string (nullable = true)
| |-- study_id: string (nullable = true)
| |-- study_name: string (nullable = true)
| |-- symbol: string (nullable = true)
| |-- target: string (nullable = true)
| |-- target_id: string (nullable = true)
| |-- tumor_type: string (nullable = true)
| |-- tumor_type_acronym: string (nullable = true)
| |-- uniprot_release: string (nullable = true)
| |-- url: string (nullable = true)
| |-- variant: string (nullable = true)
| |-- variant_id: string (nullable = true)
|-- validated_against_schema_version: string (nullable = true)
|-- variant: struct (nullable = true)
| |-- id: string (nullable = true)
| |-- type: string (nullable = true)