Skip to content

Commit

Permalink
update gks-core SM, adjust refs and rebuild (ga4gh#575)
Browse files Browse the repository at this point in the history
* update gks-core SM, adjust refs and rebuild
* added Element PR from gks-core to add Extensions
* udpated current schema diagram
* Added Element to Imported Classes doc
* added the class diagram to the appendix and a reference from the Concepts page
  • Loading branch information
larrybabb authored Oct 31, 2024
1 parent 9bae4ce commit 2d69dc1
Show file tree
Hide file tree
Showing 58 changed files with 151 additions and 145 deletions.
7 changes: 3 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[submodule "schema/gks-common"]
path = submodules/gks-common
url = https://github.com/ga4gh/gks-common.git
branch = 1.x
[submodule "submodules/gks-core"]
path = submodules/gks-core
url = https://github.com/ga4gh/gks-core.git
9 changes: 9 additions & 0 deletions docs/source/appendices/class_diagram.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. _ClassDiagram:

Class Diagram
!!!!!!!!!!!!!

.. figure:: ../images/schema-current.png

Current VRS Class Inheritance Diagram

2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/Code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Code
!!!!

.. include:: ../../def/gks.common/core-im/Code.rst
.. include:: ../../def/gks-core/Code.rst
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/Coding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Coding
!!!!!!

.. include:: ../../def/gks.common/core-im/Coding.rst
.. include:: ../../def/gks-core/Coding.rst
6 changes: 6 additions & 0 deletions docs/source/concepts/AdditionalDataTypes/Element.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.. _Element:

Element
!!!!!!

.. include:: ../../def/gks-core/Element.rst
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/Entity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Entity
!!!!!!

.. include:: ../../def/gks.common/core-im/Entity.rst
.. include:: ../../def/gks-core/Entity.rst
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/Extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Extension
!!!!!!!!!

.. include:: ../../def/gks.common/core-im/Extension.rst
.. include:: ../../def/gks-core/Extension.rst
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/IRI.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
IRI
!!!

.. include:: ../../def/gks.common/core-im/IRI.rst
.. include:: ../../def/gks-core/IRI.rst
3 changes: 2 additions & 1 deletion docs/source/concepts/AdditionalDataTypes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ Work Stream as common data classes.
:titlesonly:

Entity
Element
Extension
IRI
Coding
Code
IRI
2 changes: 1 addition & 1 deletion docs/source/concepts/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Concepts
!!!!!!!!

VRS is a collection of data models or concepts that are used together to represent molecular
and systemic variation.
and systemic variation. An inhertiance view is available in the :ref:`ClassDiagram` appendix.
These models exist across several related domains:

- :ref:`MolecularVariation`: models that describe variation on a contiguous molecule
Expand Down
1 change: 1 addition & 0 deletions docs/source/def/gks-core
1 change: 0 additions & 1 deletion docs/source/def/gks.common/core-im

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/def/gks.common/data-types

This file was deleted.

Binary file modified docs/source/images/schema-current.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/source/images/schema-future.png
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/source/rst_epilog
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
.. |varnomen| replace:: `HGVS Variant Nomenclature <https://varnomen.hgvs.org/>`__
.. |vrs-python| replace:: `GA4GH VRS Python Implementation <https://github.com/ga4gh/vrs-python/>`__
.. |vrs| replace:: `VRS <https://github.com/ga4gh/vrs/>`__
.. |gks-common| replace:: `GKS Common <https://github.com/ga4gh/gks-common/>`__
.. |gks-core| replace:: `GKS Common <https://github.com/ga4gh/gks-core/>`__


.. |eg| replace:: *e.g.,*
Expand Down
42 changes: 0 additions & 42 deletions docs/source/schema.rst

This file was deleted.

1 change: 0 additions & 1 deletion schema/core-im

This file was deleted.

1 change: 0 additions & 1 deletion schema/domain-entities

This file was deleted.

1 change: 1 addition & 0 deletions schema/gks-core
7 changes: 3 additions & 4 deletions schema/vrs/def/Adjacency.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**

The `Adjacency` class can represent either the termination of a sequence or the adjoining of the end of a sequence with the beginning of an adjacent sequence, potentially with an intervening linker sequence.
The `Adjacency` class represents the adjoining of the end of a sequence with the beginning of an adjacent sequence, potentially with an intervening linker sequence.

**Information Model**

Expand Down
5 changes: 2 additions & 3 deletions schema/vrs/def/Allele.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand Down
5 changes: 2 additions & 3 deletions schema/vrs/def/CisPhasedBlock.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand Down
6 changes: 6 additions & 0 deletions schema/vrs/def/CopyNumber.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.


**Computational Definition**

A measure of the copies of a :ref:`Location` within a system (e.g. genome, cell, etc.)
Expand Down
14 changes: 11 additions & 3 deletions schema/vrs/def/Expression.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand All @@ -10,6 +9,7 @@ Representation of a variation by a specified nomenclature or syntax for a Variat

**Information Model**

Some Expression attributes are inherited from :ref:`gks-core:Element`.

.. list-table::
:class: clean-wrap
Expand All @@ -21,6 +21,14 @@ Representation of a variation by a specified nomenclature or syntax for a Variat
- Type
- Limits
- Description
* - id
- string
- 0..1
- The 'logical' identifier of the data element in the system of record, e.g. a UUID. This 'id' is unique within a given system, but may or may not be globally unique outside the system. It is used within a system to reference an object from another.
* - extensions
- :ref:`Extension`
- 0..m
- A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.
* - syntax
- string
- 1..1
Expand Down
7 changes: 6 additions & 1 deletion schema/vrs/def/Ga4ghIdentifiableObject.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@

.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**

An object for which a GA4GH computed identifier can be created.

**Information Model**

Some Ga4ghIdentifiableObject attributes are inherited from :ref:`gks.core-im:Entity`.
Some Ga4ghIdentifiableObject attributes are inherited from :ref:`gks-core:Entity`.

.. list-table::
:class: clean-wrap
Expand Down
5 changes: 2 additions & 3 deletions schema/vrs/def/LiteralSequenceExpression.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand Down
5 changes: 2 additions & 3 deletions schema/vrs/def/Range.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand Down
5 changes: 2 additions & 3 deletions schema/vrs/def/ReferenceLengthExpression.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand Down
5 changes: 2 additions & 3 deletions schema/vrs/def/Residue.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand Down
7 changes: 6 additions & 1 deletion schema/vrs/def/SequenceExpression.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@

.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**

An expression describing a :ref:`Sequence`.

**Information Model**

Some SequenceExpression attributes are inherited from :ref:`gks.core-im:Entity`.
Some SequenceExpression attributes are inherited from :ref:`gks-core:Entity`.

.. list-table::
:class: clean-wrap
Expand Down
5 changes: 2 additions & 3 deletions schema/vrs/def/SequenceLocation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand Down
7 changes: 3 additions & 4 deletions schema/vrs/def/SequenceReference.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
Expand All @@ -10,7 +9,7 @@ A sequence of nucleic or amino acid character codes.

**Information Model**

Some SequenceReference attributes are inherited from :ref:`gks.core-im:Entity`.
Some SequenceReference attributes are inherited from :ref:`gks-core:Entity`.

.. list-table::
:class: clean-wrap
Expand Down
5 changes: 2 additions & 3 deletions schema/vrs/def/SequenceString.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.. warning:: This data class is at a **draft** maturity level and may change
significantly in future releases. Maturity levels are described in
the :ref:`maturity-model`.
.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**
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 @@ -10,7 +10,7 @@ A component used to describe the orientation of applicable molecular variation w

**Information Model**

Some TraversalBlock attributes are inherited from :ref:`gks.core-im:Entity`.
Some TraversalBlock attributes are inherited from :ref:`gks-core:Entity`.

.. list-table::
:class: clean-wrap
Expand Down
5 changes: 5 additions & 0 deletions schema/vrs/def/Variation.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

.. note:: This data class is at a **trial use** maturity level and may change
in future releases. Maturity levels are described in the :ref:`maturity-model`.


**Computational Definition**

A representation of the state of one or more biomolecules.
Expand Down
Loading

0 comments on commit 2d69dc1

Please sign in to comment.