Skip to content

Commit

Permalink
add sequence location sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwagner committed Apr 19, 2024
1 parent 6a8e955 commit 5617264
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schema/vrs/def/SequenceLocation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ Some SequenceLocation attributes are inherited from :ref:`Ga4ghIdentifiableObjec
- integer | :ref:`Range`
- 0..1
- The end coordinate or range of the SequenceLocation. The minimum value of this coordinate or range is 0. MUST represent a coordinate or range greater than or equal to the value of `start`.
* - sequence
- :ref:`SequenceString`
- 0..1
- The literal sequence encoded by the `sequenceReference` at these coordinates.
4 changes: 4 additions & 0 deletions schema/vrs/json/SequenceLocation
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
}
],
"description": "The end coordinate or range of the SequenceLocation. The minimum value of this coordinate or range is 0. MUST represent a coordinate or range greater than or equal to the value of `start`."
},
"sequence": {
"description": "The literal sequence encoded by the `sequenceReference` at these coordinates.",
"$ref": "/ga4gh/schema/vrs/2.x/json/SequenceString"
}
},
"required": [],
Expand Down
4 changes: 4 additions & 0 deletions schema/vrs/vrs-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ $defs:
The end coordinate or range of the SequenceLocation.
The minimum value of this coordinate or range is 0.
MUST represent a coordinate or range greater than or equal to the value of `start`.
sequence:
description: >-
The literal sequence encoded by the `sequenceReference` at these coordinates.
$ref: "#/$defs/SequenceString"

SequenceReference:
maturity: draft
Expand Down

0 comments on commit 5617264

Please sign in to comment.