-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmodels_metadata.yml.hmp
314 lines (266 loc) · 8.75 KB
/
models_metadata.yml.hmp
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
# THIS FILE CAN BE AUTO-GENERATED (minus descriptions) USING util/generated_models_metadata_yml.py
metadata_mapping:
# This section configures the following areas:
# 1) UI - The autocomplete mapping for adding facets on the search page
# 2) API - Fields for Aggregations class in models.py
# 3) API - Converting UI facet/field names to Neo4j cypher
# subject props
subtype:
cypher_field: "subject.subtype"
description: "The subtype of the study"
doc_type: "cases"
field: "subject subtype"
type: "string"
project_subtype:
cypher_field: "subject.project_subtype"
description: "The subtype of the project"
doc_type: "cases"
field: "subject project subtype"
type: "string"
id:
cypher_field: "subject.id"
description: "The subject's UUID"
doc_type: "cases"
field: "subject ID"
type: "string"
rand_subject_id:
cypher_field: "subject.rand_subject_id"
description: "The subject's per-study ID (can view in individual sample page)"
doc_type: "cases"
field: "subject study ID"
type: "string"
project_id:
cypher_field: "subject.project_id"
description: ""
doc_type: "cases"
field: "subject project ID"
type: "string"
race:
cypher_field: "subject.race"
description: "The subject's race/ethnicity"
doc_type: "cases"
field: "subject race"
type: "string"
project_name:
cypher_field: "subject.project_name"
description: "The name of the project within which the sequencing was organized"
doc_type: "cases"
field: "subject project name"
type: "string"
gender:
cypher_field: "subject.gender"
description: "The subject's sex"
doc_type: "cases"
field: "subject gender"
type: "string"
# sample props
geo_loc_name:
cypher_field: "sample.geo_loc_name"
description: "The geographical origin of the sample as defined by the country or sea name followed by specific region name"
doc_type: "cases"
field: "sample geo location name"
type: "string"
subtype:
cypher_field: "sample.subtype"
description: "The subtype of the sample"
doc_type: "cases"
field: "sample subtype"
type: "string"
study_subtype:
cypher_field: "sample.study_subtype"
description: "The subtype of the study"
doc_type: "cases"
field: "sample study subtype"
type: "string"
env_package:
cypher_field: "sample.env_package"
description: "Controlled vocabulary of MIGS/MIMS environmental packages"
doc_type: "cases"
field: "sample environmental package"
type: "string"
id:
cypher_field: "sample.id"
description: "The iHMP ID of the sample"
doc_type: "cases"
field: "sample id"
type: "string"
study_center:
cypher_field: "sample.study_center"
description: "The study's sequencing center"
doc_type: "cases"
field: "sample study center"
type: "string"
study_srp_id:
cypher_field: "sample.study_srp_id"
description: "NCBI Sequence Read Archive (SRA) project ID"
doc_type: "cases"
field: "sample study SRP ID"
type: "string"
study_name:
cypher_field: "sample.study_name"
description: "The name of the study"
doc_type: "cases"
field: "sample study name"
type: "string"
visit_subtype:
cypher_field: "sample.visit_subtype"
description: "The subtype of the visit"
doc_type: "cases"
field: "sample visit subtype"
type: "string"
visit_id:
cypher_field: "sample.visit_id"
description: "The identifier used by the sequence center to uniquely identify the visit"
doc_type: "cases"
field: "sample visit ID"
type: "string"
study_description:
cypher_field: "sample.study_description"
description: "A longer description of the study"
doc_type: "cases"
field: "sample study description"
type: "string"
study_contact:
cypher_field: "sample.study_contact"
description: "The study's primary contact at the sequencing center"
doc_type: "cases"
field: "sample study contact"
type: "string"
body_site:
cypher_field: "sample.body_site"
description: "Body site from which the sample was obtained using the FMA ontology"
doc_type: "cases"
field: "sample body site"
type: "string"
biome:
cypher_field: "sample.biome"
description: "Biomes are defined based on factors such as plant structures leaf types plant spacing and other factors like climate"
doc_type: "cases"
field: "sample biome"
type: "string"
collection_date:
cypher_field: "sample.collection_date"
description: "time of sampling either as an instance (single point in time) or interval"
doc_type: "cases"
field: "sample collection date"
type: "string"
visit_visit_number:
cypher_field: "sample.visit_visit_number"
description: "A sequential number that is assigned as visits occur for a subject"
doc_type: "cases"
field: "sample visit number"
type: "string"
body_product:
cypher_field: "sample.body_product"
description: "Substance produced by the body e.g. stool mucus where the sample was obtained from"
doc_type: "cases"
field: "sample body product"
type: "string"
feature:
cypher_field: "sample.feature"
description: "Environmental feature level includes geographic environmental features"
doc_type: "cases"
field: "sample feature"
type: "string"
lat_lon:
cypher_field: "sample.lat_lon"
description: "Latitude/longitude in WGS 84 coordinates"
doc_type: "cases"
field: "sample latitude longitude"
type: "string"
visit_interval:
cypher_field: "sample.visit_interval"
description: "The amount of time since the last visit (in days)"
doc_type: "cases"
field: "sample visit interval"
type: "string"
rel_to_oxygen:
cypher_field: "sample.rel_to_oxygen"
description: "Whether the organism is an aerobe or anaerobe"
doc_type: "cases"
field: "sample relationship to oxygen"
type: "string"
samp_size:
cypher_field: "sample.samp_size"
description: "Amount or size of sample (volume mass or area) that was collected"
doc_type: "cases"
field: "sample size"
type: "string"
samp_mat_process:
cypher_field: "sample.samp_mat_process"
description: "Any processing applied to the sample during or after retrieving the sample from environment"
doc_type: "cases"
field: "sample material process"
type: "string"
material:
cypher_field: "sample.material"
description: "Matter that was displaced by the sample before the sampling event"
doc_type: "cases"
field: "sample material"
type: "string"
samp_collect_device:
cypher_field: "sample.samp_collect_device"
description: "The method or device employed for collecting the sample"
doc_type: "cases"
field: "sample collection device"
type: "string"
visit_date:
cypher_field: "sample.visit_date"
description: "Date when the visit occurred"
doc_type: "cases"
field: "sample visit date"
type: "string"
fecalcal:
cypher_field: "sample.fecalcal"
description: "FecalCal result exists if measured for the sample"
doc_type: "cases"
field: "sample fecalcal"
type: "string"
supersite:
cypher_field: "sample.supersite"
description: "Body supersite from which the sample was obtained"
doc_type: "cases"
field: "sample supersite"
type: "string"
# file props
format:
cypher_field: "file.format"
description: "The format of the file"
doc_type: "file"
field: "file format"
type: "string"
node_type:
cypher_field: "file.node_type"
description: "The node type of the file"
doc_type: "file"
field: "file type"
type: "string"
id:
cypher_field: "file.id"
description: "The iHMP ID of the file"
doc_type: "file"
field: "file id"
type: "string"
matrix_type:
cypher_field: "file.matrix_type"
description: "The type of data used to generate the abundance matrix"
doc_type: "file"
field: "file matrix type"
type: "string"
annotation_pipeline:
cypher_field: "file.annotation_pipeline"
description: "The annotation pipeline used to generate the file"
doc_type: "file"
field: "file annotation pipeline"
type: "string"
# token props
# tag props
term:
cypher_field: "tag.term"
description: ""
doc_type: "file"
field: "tag term"
type: "string"
# user props
# session props
# query props