Skip to content

Commit 6b4607f

Browse files
committed
update SeqLoc documentation to discuss sequence attribute
1 parent 5617264 commit 6b4607f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/source/concepts/location/SequenceLocation.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,22 @@ of a copy number segment), this is specified using the :ref:`Range` class for th
2828

2929
.. admonition:: New in v2
3030

31-
In VRS v1.x, the ``SequenceLocation`` class had an ``interval`` property which contained ``start`` and ``end``
31+
In VRS v1, the ``SequenceLocation`` class had an ``interval`` property which contained ``start`` and ``end``
3232
attributes. This intermediate object layer has been removed in v2.0, making ``start`` and ``end``
3333
top-level properties of the ``SequenceLocation``.
3434

35+
The "Ref" Allele
36+
################
37+
38+
In some variant representation formats (e.g. HGVS, VCF) sequence variants are described by both their "reference"
39+
(ref) and "alternate" (alt) alleles. When representing an Allele with VRS v2, it is also possible to describe the
40+
ref sequence (derived from the :ref:SequenceReference at the location) using the `sequence` property.
41+
42+
.. admonition:: New in v2
43+
44+
In VRS v1, sequence derived from the reference was not transmitted. This feature was added in VRS v2 due to
45+
this common practice in other variant formats.
46+
3547
Linear and Circular Sequence Coordinates
3648
########################################
3749

0 commit comments

Comments
 (0)