Skip to content

Commit

Permalink
Release log and ga4gh.inherent (#604)
Browse files Browse the repository at this point in the history
* add 2.0 release notes

* update ga4gh inherent convention (closes #598)
  • Loading branch information
ahwagner authored Nov 26, 2024
1 parent 8eec2b5 commit 0106b48
Show file tree
Hide file tree
Showing 33 changed files with 97 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jsonschema
referencing
ipython
pyyaml
ga4gh.gks.metaschema==0.3.0b17
ga4gh.gks.metaschema==0.3.0
sphinx ~= 7.2
sphinx-rtd-theme ~= 1.2
jupyterlab
Expand Down
17 changes: 8 additions & 9 deletions docs/source/appendices/ga4gh_identifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ reference:

GA4GH Digest Keys
#################
When creating computed identifiers from objects, VRS uses a custom schema
attribute, *ga4ghDigest*, that contains the keys used for filtering out
properties. For example, the Allele JSON Schema:
When creating computed identifiers from objects, VRS uses a custom schema attribute,
*ga4gh.inherent*, that contains the property names used for computing digests. For example,
the Allele JSON Schema:

.. parsed-literal::
Expand All @@ -81,9 +81,9 @@ properties. For example, the Allele JSON Schema:
"title": "Allele",
"type": "object",
"maturity": "draft",
"ga4ghDigest": {
"ga4gh": {
"prefix": "VA",
"keys": [
"inherent": [
"location",
"state",
"type"
Expand All @@ -95,9 +95,8 @@ properties. For example, the Allele JSON Schema:
.. note::

The `ga4ghDigest` property names are currently being aligned with the Sequence
Collections effort (see `SeqCol#84 <https://github.com/ga4gh/refget/issues/84>`_)
and may potentially change.
The `ga4gh` JSON Schema namespace is aligned with the Sequence Collections effort
(see `SeqCol#84 <https://github.com/ga4gh/refget/issues/84>`_).

GA4GH Type Prefixes
@@@@@@@@@@@@@@@@@@@
Expand All @@ -122,4 +121,4 @@ We use the following guidelines for type prefixes:
Administration
##############

Type prefix administration is to be managed by the `GA4GH TASC`_.
Type prefixes, pURL registration, and JSON Schema keyword administration are coordinated with the `GA4GH TASC`_.
16 changes: 16 additions & 0 deletions docs/source/releases/2.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
2.0
!!!

2.0.0
@@@@@

Major Changes
#############

* implements the :ref:`_maturity-model` for all data classes
* classes now support descriptive metadata
* digests now rely on inherent property descriptions
* object references now use IRI references instead of CURIEs
* supports structural variation
* imports from the GKS-core library for cross-specification alignment
* renames Haplotype to CisPhasedBlock
2 changes: 1 addition & 1 deletion schema/vrs/def/Adjacency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `Adjacency` class represents the adjoining of the end of a sequence with the
:widths: auto

* - Prefix
- Keys
- Inherent

* - AJ
- ['adjoinedSequences', 'linker', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/Allele.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The state of a molecule at a :ref:`Location`.
:widths: auto

* - Prefix
- Keys
- Inherent

* - VA
- ['location', 'state', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/CisPhasedBlock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An ordered set of co-occurring :ref:`variants <Variation>` on the same molecule.
:widths: auto

* - Prefix
- Keys
- Inherent

* - CPB
- ['members', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/CopyNumberChange.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An assessment of the copy number of a :ref:`Location` within a system (e.g. geno
:widths: auto

* - Prefix
- Keys
- Inherent

* - CX
- ['copyChange', 'location', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/CopyNumberCount.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The absolute count of discrete copies of a :ref:`Location` within a system (e.g.
:widths: auto

* - Prefix
- Keys
- Inherent

* - CN
- ['copies', 'location', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/DerivativeMolecule.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A molecule derived from segments of multiple adjoined molecular sequences, typic
:widths: auto

* - Prefix
- Keys
- Inherent

* - DM
- ['components', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/Ga4ghIdentifiableObject.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An object for which a GA4GH computed identifier can be created.
:widths: auto

* - Prefix
- Keys
- Inherent

* - None
- ['type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/LengthExpression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A sequence expressed only by its length.
:widths: auto

* - Prefix
- Keys
- Inherent

* - None
- ['length', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/LiteralSequenceExpression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An explicit expression of a Sequence.
:widths: auto

* - Prefix
- Keys
- Inherent

* - None
- ['sequence', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/ReferenceLengthExpression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An expression of a sequence that is derived from repeating a subsequence of an a
:widths: auto

* - Prefix
- Keys
- Inherent

* - None
- ['length', 'repeatSubunitLength', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/SequenceExpression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An expression describing a :ref:`Sequence`.
:widths: auto

* - Prefix
- Keys
- Inherent

* - None
- ['type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/SequenceLocation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A :ref:`Location` defined by an interval on a referenced :ref:`Sequence`.
:widths: auto

* - Prefix
- Keys
- Inherent

* - SL
- ['end', 'sequenceReference', 'start', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/SequenceReference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A sequence of nucleic or amino acid character codes.
:widths: auto

* - Prefix
- Keys
- Inherent

* - None
- ['refgetAccession', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/Terminus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `Terminus` data class provides a structure for describing the end (terminus)
:widths: auto

* - Prefix
- Keys
- Inherent

* - TM
- ['location', 'type']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/TraversalBlock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A component used to describe the orientation of applicable molecular variation w
:widths: auto

* - Prefix
- Keys
- Inherent

* - None
- ['type', 'component', 'orientation']
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/def/Variation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A representation of the state of one or more biomolecules.
:widths: auto

* - Prefix
- Keys
- Inherent

* - None
- ['type']
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/Adjacency
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"title": "Adjacency",
"type": "object",
"maturity": "trial use",
"ga4ghDigest": {
"ga4gh": {
"prefix": "AJ",
"keys": [
"inherent": [
"adjoinedSequences",
"linker",
"type"
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/Allele
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"title": "Allele",
"type": "object",
"maturity": "trial use",
"ga4ghDigest": {
"ga4gh": {
"prefix": "VA",
"keys": [
"inherent": [
"location",
"state",
"type"
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/CisPhasedBlock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"title": "CisPhasedBlock",
"type": "object",
"maturity": "trial use",
"ga4ghDigest": {
"ga4gh": {
"prefix": "CPB",
"keys": [
"inherent": [
"members",
"type"
]
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/CopyNumberChange
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"title": "CopyNumberChange",
"type": "object",
"maturity": "draft",
"ga4ghDigest": {
"keys": [
"ga4gh": {
"inherent": [
"copyChange",
"location",
"type"
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/CopyNumberCount
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"title": "CopyNumberCount",
"type": "object",
"maturity": "trial use",
"ga4ghDigest": {
"keys": [
"ga4gh": {
"inherent": [
"copies",
"location",
"type"
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/DerivativeMolecule
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"title": "DerivativeMolecule",
"type": "object",
"maturity": "draft",
"ga4ghDigest": {
"ga4gh": {
"prefix": "DM",
"keys": [
"inherent": [
"components",
"type"
]
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/LengthExpression
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"title": "LengthExpression",
"type": "object",
"maturity": "draft",
"ga4ghDigest": {
"keys": [
"ga4gh": {
"inherent": [
"length",
"type"
]
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/LiteralSequenceExpression
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"title": "LiteralSequenceExpression",
"type": "object",
"maturity": "trial use",
"ga4ghDigest": {
"keys": [
"ga4gh": {
"inherent": [
"sequence",
"type"
]
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/ReferenceLengthExpression
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"title": "ReferenceLengthExpression",
"type": "object",
"maturity": "trial use",
"ga4ghDigest": {
"keys": [
"ga4gh": {
"inherent": [
"length",
"repeatSubunitLength",
"type"
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/SequenceLocation
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"title": "SequenceLocation",
"type": "object",
"maturity": "trial use",
"ga4ghDigest": {
"keys": [
"ga4gh": {
"inherent": [
"end",
"sequenceReference",
"start",
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/SequenceReference
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"title": "SequenceReference",
"type": "object",
"maturity": "trial use",
"ga4ghDigest": {
"keys": [
"ga4gh": {
"inherent": [
"refgetAccession",
"type"
]
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/Terminus
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"title": "Terminus",
"type": "object",
"maturity": "draft",
"ga4ghDigest": {
"ga4gh": {
"prefix": "TM",
"keys": [
"inherent": [
"location",
"type"
]
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/TraversalBlock
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"title": "TraversalBlock",
"type": "object",
"maturity": "draft",
"ga4ghDigest": {
"keys": [
"ga4gh": {
"inherent": [
"type",
"component",
"orientation"
Expand Down
Loading

0 comments on commit 0106b48

Please sign in to comment.