-
Notifications
You must be signed in to change notification settings - Fork 3
/
lineage_schema_1-0-0.yml
59 lines (59 loc) · 1.68 KB
/
lineage_schema_1-0-0.yml
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
# yaml-language-server: $schema=https://json-schema.org/draft/2020-12/schema
type: object
additionalProperties: false
required:
- name
- unaliased_name
- designation_date
- defining_snps
- reference_sequences
- parent
properties:
name:
type: string
description: The name of the lineage, must match file name
unaliased_name:
type: string
description: The unaliased name of the lineage, must be fully unaliased, i.e. start with A
parent:
type: string
description: The name of the parent lineage
alias:
type: string
description: The alias of the lineage, must not contain `.`
designation_date:
type: string
description: The date the lineage was designated in format "2022-07-30"
defining_snps:
type: array
uniqueItems: true
description: The defining SNPs of the lineage.
items:
type: object
properties:
pos:
type: integer
description: 1-indexed nucleotide positions
nucleotide:
enum: [A, C, G, T]
description: The target nucleotide of the SNP
reference_sequences:
type: array
uniqueItems: true
description: Reference sequence(s) of the lineage. If there are multiple sequences listed, they stand in for their MRCA.
items:
type: object
required:
- source
- accession
properties:
source:
enum:
- genbank
description: Source of the reference sequence, e.g. genbank
accession:
type: string
description: The accession of the reference sequence.
isolate:
type: string
description: The isolate (aka strain) name of the reference sequence.