forked from ga4gh-beacon/specification-v2-default-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_variant_schema.yaml
100 lines (100 loc) · 2.56 KB
/
default_variant_schema.yaml
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
openapi: 3.0.2
servers: []
info:
version: "0.1"
title: GA4GH Beacon Veriant Default Schema
description: >-
Schema for variants to be used as default by the Beacon.
contact:
email: beacon@ga4gh.org
license:
name: Apache 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
externalDocs:
description: |
'Beacon Project'
url: 'http://beacon-project.io/'
paths: {}
components:
schemas:
Chromosome:
description: |
Reference name (chromosome). Accepting values 1-22, X, Y, MT.
type: string
enum:
- '1'
- '2'
- '3'
- '4'
- '5'
- '6'
- '7'
- '8'
- '9'
- '10'
- '11'
- '12'
- '13'
- '14'
- '15'
- '16'
- '17'
- '18'
- '19'
- '20'
- '21'
- '22'
- 'X'
- 'Y'
- 'MT'
VariantDetails:
description: |
Description of the variant.
type: object
properties:
chromosome:
$ref: '#/components/schemas/Chromosome'
referenceBases:
description: |
Reference bases for this variant (starting from `start`).
type: string
pattern: '^([ACGTN]+)$'
alternateBases:
description: |
The bases that appear instead of the reference bases.
type: string
pattern: '^([ACGTN]+)$'
variantType:
description: |
Ontology value from Sequence Ontology describing the type of
variant, e.g. SNV (SO:0001483), structural variant(SO:0001537).
type: string
example: SO:0001483
start:
description: |
Start position of the variant in 0-based (interbase) coordinates.
type: integer
format: int64
minimum: 0
end:
description: |
End position of the variant in 0-based (interbase) coordinates.
type: integer
format: int64
minimum: 1
assemblyId:
description: |
Genomic assembly accession as Genome Reference consortium Human
name, e.g. GRCh38.
type: string
example: GRCh38
info:
description: |
Additional unspecified metadata about the dataset response or its
content.
type: object
example:
additionalInfoKey1:
- additionalInfoValue1
- additionalInfoValue2
additionalInfoKey2: additionalInfoValue3