Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update variation property to account for multiple alleles #58

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@
"id": "GENO:0000136",
"label": "homozygous"
},
{
"id": "GENO:0000458",
"label": "simple heterozygous"
},
{
"id": "GENO:0000402",
"label": "compound heterozygous"
},
{
"id": "GENO:0000604",
"label": "hemizygous X-linked"
Expand Down Expand Up @@ -555,17 +563,18 @@
"$ref": "#/definitions/VariantLevelData"
},
"variation": {
"oneOf": [
{
"$ref": "https://raw.githubusercontent.com/ga4gh/vrs/1.2/schema/vrs.json#/definitions/MolecularVariation"
},
{
"$ref": "https://raw.githubusercontent.com/ga4gh/vrs/1.2/schema/vrs.json#/definitions/SystemicVariation"
},
{
"$ref": "#/definitions/LegacyVariation"
}
]
"type": "array",
"description": "An array of variations, starting with the reference allele and then the alternate alleles. Alleles can be referenced by their index in the array."
"items": {
"oneOf": [
{
"$ref": "https://raw.githubusercontent.com/ga4gh/vrs/1.2/schema/vrs.json#/definitions/MolecularVariation"
},
{
"$ref": "https://raw.githubusercontent.com/ga4gh/vrs/1.2/schema/vrs.json#/definitions/SystemicVariation"
}
]
}
}
},
"required": [
Expand All @@ -574,4 +583,4 @@
],
"title": "Genomic Variation",
"type": "object"
}
}