forked from datatagsuite/schema
-
Notifications
You must be signed in to change notification settings - Fork 4
/
genome_location_schema.json
51 lines (51 loc) · 1.54 KB
/
genome_location_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
{
"id": "https://w3id.org/dats/schema/genome_location_schema.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GenomeLocation",
"description": "Location of a sequence object used both by display, and by jbrowse to render a browser. The addition to DATS uses the genomeLocation as defined by AGR [https://github.com/alliance-genome/agr_schemas/blob/develop/gene/genomeLocation.json]",
"type": "object",
"properties": {
"@context": {
"description": "The JSON-LD context",
"anyOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
]
},
"@id": {
"description": "The JSON-LD identifier",
"type": "string", "format": "uri"
},
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "GenomeLocation" ]},
"assembly": {
"type" : "string",
"description" : "The assembly on which the position and chromosome are based."
},
"startPosition":{
"type": "number",
"description": "the start position of the location."
},
"endPosition":{
"type": "number",
"description": "the end position of the location."
},
"chromosome":{
"type": "string",
"description": "the chromosome of the genomic feature. Note: whatever loaded here, will be used in JBrowse."
},
"strand":{
"enum": ["+","-","."],
"description": "strand of the genome location."
}
},
"required": [ "assembly","chromosome" ]
}