-
Notifications
You must be signed in to change notification settings - Fork 4
/
eva_schema.json
369 lines (369 loc) · 10.7 KB
/
eva_schema.json
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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
{
"$schema": "http://json-schema.org/draft-07/schema#",
"version": "1.0.0",
"$id": "EVA_metadata_schema",
"author": "EVA",
"type": "object",
"title": "EVA metadata schema",
"description": "",
"required": [
"submitterDetails",
"project",
"sample",
"analysis",
"files"
],
"properties": {
"submitterDetails": {
"type": "array",
"description": "Contact details of the submitter",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"lastName",
"firstName",
"email",
"laboratory",
"centre"
],
"properties": {
"lastName": {
"type": "string",
"description": "Last name of the contact"
},
"firstName": {
"type": "string",
"description": "First name of the contact"
},
"telephone": {
"type": "string",
"description": "Contact's phone number"
},
"email": {
"type": "string",
"format": "email",
"description": "Contact's Email",
"examples": [
"user@domain.com"
]
},
"laboratory": {
"description": "Name of the laboratory or department of the contact",
"type": "string"
},
"centre": {
"description": "Name of the Centre, company or institute the contact belongs to",
"type": "string"
},
"address": {
"description": "Address of the Centre, company or institute the contact belongs to",
"type": "string"
}
}
}
},
"project": {
"type": "object",
"description": "General information about the Project",
"required": [
"title",
"description",
"taxId",
"centre"
],
"properties": {
"title": {
"type": "string",
"description": "Title of the project"
},
"description": {
"type": "string",
"description": "Description of the project"
},
"centre": {
"type": "string",
"description": "Centre, institute or company submitting the project"
},
"taxId": {
"type": "number",
"description": "Taxonomy ID of the species associated with the project (found here: http://www.ncbi.nlm.nih.gov/taxonomy)"
},
"publications": {
"type": "array",
"items": true
},
"parentProject": {
"$ref": "#/definitions/projectAccession"
},
"childProjects": {
"type": "array",
"items": {
"$ref": "#/definitions/projectAccession"
}
},
"peerProjects": {
"type": "array",
"items": {
"$ref": "#/definitions/projectAccession"
}
},
"links": {
"type": "array",
"items": {
"type": "string"
}
},
"holdDate": {
"type": "string",
"format": "date",
"examples": [
"2018-11-13"
]
}
}
},
"analysis": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"analysisTitle",
"analysisAlias",
"description",
"experimentType",
"referenceGenome"
],
"properties": {
"analysisTitle": {
"type": "string",
"description": "Title of the analysis"
},
"analysisAlias": {
"type": "string",
"description": "Shortened identifier for the analysis"
},
"description": {
"type": "string",
"description": "Description of the analysis"
},
"experimentType": {
"type": "string",
"description": "Type of experiment",
"enum": [
"Whole genome sequencing",
"Whole transcriptome sequencing",
"Exome sequencing",
"Genotyping by array",
"Curation",
"Genotyping by sequencing",
"Target sequencing",
"Transcriptomics"
]
},
"referenceGenome": {
"type": "string",
"description": "Reference against which the analysis was performed. ENA or NCBI accession (starting with GCA) accepted."
},
"referenceFasta": {
"type": "string",
"description": "The path to the reference in fasta format that was used to create the VCF. (This is a local path)"
},
"assemblyReport": {
"type": "string",
"description": "The path to the assembly report associated with the assembly as found in NCBI assemblies. (This is a local path and only applicable for GCAs)"
},
"platform": {
"description": "Platform used to generate the raw data.",
"type": "string",
"examples": [
"454 GS",
"454 GS 20",
"454 GS FLX",
"454 GS FLX Titanium",
"454 GS FLX+",
"454 GS Junior",
"AB 3130 Genetic Analyzer",
"AB 3300 Genetic Analyzer",
"AB 3730xl",
"AB 5500 Genetic Analyzer",
"AB 5500xl Genetic Analyzer",
"AB SOLiD 3 Plus System",
"AB SOLiD 4 System",
"AB SOLiD 4hq System",
"AB SOLiD PI System",
"AB SOLiD System",
"AB SOLiD System 2.0",
"AB SOLiD System 3.0",
"ABI 3500 Genetic Analyzer",
"ABI PRISM 310 Genetic Analyzer",
"Affymetrix",
"BGISEQ-500",
"Bio-Rad CFX96",
"Complete Genomics",
"Illumina",
"Illumina CanineHD",
"Illumina Genome Analyzer",
"Illumina Genome Analyzer II",
"Illumina Genome Analyzer IIx",
"Illumina HiScanSQ",
"Illumina HiSeq 1000",
"Illumina HiSeq 2000",
"Illumina HiSeq 2500",
"Illumina HiSeq 3500",
"Illumina HiSeq 4000",
"Illumina HiSeq X Ten",
"Illumina Hiseq Xten",
"Illumina iScan",
"Illumina MiniSeq",
"Illumina MiSeq",
"Illumina NextSeq 500",
"Illumina NovaSeq 6000",
"Ion Personal Genome Machine (PGM) System v2",
"Ion S5XL",
"Ion Torrent PGM",
"Ion Torrent Proton",
"MGISEQ-2000",
"Nimblegen 4.2M Probe Custom DNA Microarray",
"Oxford Nanopore PromethION",
"unspecified"
]
},
"software": {
"description": "Software used to generate the analysis.",
"type": "array",
"items": {
"type": "string"
}
},
"pipelineDescriptions": {
"type": "string"
},
"imputation": {
"description": "Specify if imputation was used to generate the variants",
"type": "boolean"
},
"phasing": {
"description": "Specify if the variants have been phased",
"type": "boolean"
},
"centre": {
"description": "Centre, institute or company where the analysis was performed (if different from the project's centre).",
"type": "string"
},
"date": {
"description": "Date in which the analysis was performed",
"type": "string"
},
"links": {
"description": "Link(s) to external resources related to this analysis in the form DB:ID:LABEL.",
"type": "array",
"items": {
"type": "string"
}
},
"runAccessions": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(E|D|S)RR[0-9]{6,}$"
},
"description": "List of run accessions linking to the raw data used in this analysis if applicable (e.g. SRR576651, SRR576652)"
}
}
}
},
"sample": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"oneOf": [
{
"required": [
"analysisAlias",
"sampleInVCF",
"bioSampleAccession"
]
},
{
"required": [
"analysisAlias",
"sampleInVCF",
"bioSampleObject"
]
}
],
"properties": {
"analysisAlias": {
"type": "array",
"description": "Aliases of the analyses performed on this sample",
"minItems": 1,
"items": {
"type": "string"
}
},
"sampleInVCF": {
"type": "string",
"description": "Sample Name used in the VCF file"
},
"sampleAccession": {
"type": "string",
"description": "Accession of the sample (BioSamples, ENA or EGA)"
},
"bioSampleObject": {
"type": "object",
"anyOf": [
{
"$ref": "eva-biosamples.json"
},
{
"$ref": "https://www.ebi.ac.uk/biosamples/schema/store/registry/schemas/ERC000011"
},
{
"$ref": "https://www.ebi.ac.uk/biosamples/schemas/certification/plant-miappe.json"
}
]
}
}
}
},
"files": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"analysisAlias",
"fileName"
],
"properties": {
"analysisAlias": {
"type": "string",
"description": "Alias of the analysis that produced the file"
},
"fileName": {
"type": "string",
"description": "File name"
},
"fileSize": {
"type": "number",
"description": "Size of file in bytes"
},
"md5": {
"type": "string",
"description": "MD5 hash of the file"
}
}
}
}
},
"definitions": {
"projectAccession": {
"type": "string",
"description": "ENA project accession",
"pattern": "^PRJ(EB|NA)\\d+$"
}
}
}