Skip to content

Commit

Permalink
fixed/updated some rst references/issues for new vrs 2.x xref
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybabb committed Jun 13, 2024
1 parent bb31627 commit 34df351
Show file tree
Hide file tree
Showing 21 changed files with 48 additions and 349 deletions.
33 changes: 1 addition & 32 deletions docs/source/appendices/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,16 @@ Appendices
!!!!!!!!!!


blah
.. TODO:: Either add general landing page material for all appendices here or include the content of the different subsections directly.


.. toctree::
:maxdepth: 2

design_decisions
development_process
future_plans

implementations
relationships
associating_annotations
equivalence
ga4gh_identifiers
truncated_digest_collision_analysis

faq
glossary


.. .. toctree::
:maxdepth: 2
design_decisions
glossary
relationships
faq




.. truncated_digest_collision_analysis
.. future_plans
.. implementations
equivalence
associating_annotations
ga4gh_identifiers
development_process


1 change: 1 addition & 0 deletions docs/source/def
1 change: 0 additions & 1 deletion docs/source/defs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
1.0
!!!
.. `Releases`:
1.0 (pre-releases)
!!!!!!!!!!!!!!!!!!

1.0.0.04-2024.connect
@@@@@@@@@@@@@@@@@@@@@
Expand Down
2 changes: 2 additions & 0 deletions docs/source/rst_epilog
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
.. _VRS Gene: https://vrs.ga4gh.org/en/latest/terms_and_model.html#gene

.. |vrs| replace:: `VRS <https://vrs.ga4gh.org/>`__
.. |vrs_yaml| replace:: `VRS YAML <https://github.com/ga4gh/vrs/tree/2.x/schema/vrs/vrs-source.yaml>`__
.. |vrs_json| replace:: `VRS JSON <https://github.com/ga4gh/vrs/tree/2.x/schema/vrs/json>`__

.. |eg| replace:: *e.g.,*
.. |ie| replace:: *i.e.,*
24 changes: 12 additions & 12 deletions docs/source/schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ Machine Readable Specifications
The machine readable Cat-VRS is written using `JSON Schema
<https://json-schema.org/>`_.

The schema itself is written in YAML (|vrs_yaml|) and converted to JSON
(|vrs_json|).
The schema itself is written in YAML (|vrs_yaml|) and converted to individual
JSON files for each class in the schema (|vrs_json|).

Contributions to the schema MUST be written in the YAML document.


.. _CategoricalVariationSchemata:

.. _CategoricalVariation:

Categorical Variation Schemata
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Expand All @@ -33,32 +33,32 @@ PLEASE CHECK BACK IN THE FUTURE!
:alt: An irresistably cute kittynaut beckoning you to enter the Cat-VRS.
:align: center

.. include:: defs/CategoricalVariation.rst
.. include:: def/CategoricalVariation.rst

.. _Canonical:
.. _CanonicalAllele:

Canonical Allele
################

.. include:: defs/CanonicalAllele.rst
.. include:: def/CanonicalAllele.rst

.. _Described:
.. _DescribedVariation:

Described Variation
###################

.. include:: defs/DescribedVariation.rst
.. include:: def/DescribedVariation.rst

.. _CatCNV:
.. _CategoricalCnv:

Categorical Copy Number
#######################

.. include:: defs/CategoricalCnv.rst
.. include:: def/CategoricalCnv.rst

.. _ProtConsequence:
.. _ProteinSequenceConsequence:

Protein Sequence Consequence
############################

.. include:: defs/ProteinSequenceConsequence.rst
.. include:: def/ProteinSequenceConsequence.rst
2 changes: 1 addition & 1 deletion schema/catvrs/catvrs-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespaces:
gks.common: ../gks-common/common.yaml#/$defs/

$defs:
# VRSATILE Categorical Variation are presented top-down. Everything rolls up to
# Categorical Variation are presented top-down. Everything rolls up to
# CategoricalVariation, which is a polymorphic abstraction of many kinds of
# categorical variation.

Expand Down
10 changes: 5 additions & 5 deletions schema/catvrs/def/CanonicalAllele.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Some CanonicalAllele attributes are inherited from :ref:`CategoricalVariation`.
* - id
- string
- 0..1
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
* - label
- string
- 0..1
Expand All @@ -29,11 +29,11 @@ Some CanonicalAllele attributes are inherited from :ref:`CategoricalVariation`.
- 0..1
- A free-text description of the entity.
* - extensions
- `Extension <../gks-common/core.json#/$defs/Extension>`_
- `Extension <../gks-common/common.json#/$defs/Extension>`_
- 0..m
-
* - mappings
- `Mapping <../gks-common/core.json#/$defs/Mapping>`_
- `Mapping <../gks-common/common.json#/$defs/Mapping>`_
- 0..m
-
* - type
Expand All @@ -45,10 +45,10 @@ Some CanonicalAllele attributes are inherited from :ref:`CategoricalVariation`.
- 0..m
- Aliases are alternate labels for a Domain Entity.
* - members
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/core.yaml#/$defs/IRI>`_
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/common.yaml#/$defs/IRI>`_
- 0..m
- A non-exhaustive list of VRS variation contexts that satisfy the constraints of this categorical variant.
* - definingContext
- `Allele <../vrs/vrs.yaml#/$defs/Allele>`_ | `IRI <../gks-common/core.yaml#/$defs/IRI>`_
- `Allele <../vrs/vrs.yaml#/$defs/Allele>`_ | `IRI <../gks-common/common.yaml#/$defs/IRI>`_
- 1..1
- The `VRS Allele <https://vrs.ga4gh.org/en/2.0/terms_and_model.html#allele>`_ object that is congruent with variants on alternate reference sequences.
8 changes: 4 additions & 4 deletions schema/catvrs/def/CategoricalCnv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Some CategoricalCnv attributes are inherited from :ref:`CategoricalVariation`.
* - id
- string
- 0..1
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
* - label
- string
- 0..1
Expand All @@ -29,11 +29,11 @@ Some CategoricalCnv attributes are inherited from :ref:`CategoricalVariation`.
- 0..1
- A free-text description of the entity.
* - extensions
- `Extension <../gks-common/core.json#/$defs/Extension>`_
- `Extension <../gks-common/common.json#/$defs/Extension>`_
- 0..m
-
* - mappings
- `Mapping <../gks-common/core.json#/$defs/Mapping>`_
- `Mapping <../gks-common/common.json#/$defs/Mapping>`_
- 0..m
-
* - type
Expand All @@ -45,7 +45,7 @@ Some CategoricalCnv attributes are inherited from :ref:`CategoricalVariation`.
- 0..m
- Aliases are alternate labels for a Domain Entity.
* - members
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/core.yaml#/$defs/IRI>`_
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/common.yaml#/$defs/IRI>`_
- 0..m
- A non-exhaustive list of VRS variation contexts that satisfy the constraints of this categorical variant.
* - location
Expand Down
10 changes: 5 additions & 5 deletions schema/catvrs/def/CategoricalVariation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A representation of a categorically-defined domain for variation, in which indiv

**Information Model**

Some CategoricalVariation attributes are inherited from :ref:`gks.core:DomainEntity`.
Some CategoricalVariation attributes are inherited from :ref:`gks.common:DomainEntity`.

.. list-table::
:class: clean-wrap
Expand All @@ -19,7 +19,7 @@ Some CategoricalVariation attributes are inherited from :ref:`gks.core:DomainEnt
* - id
- string
- 0..1
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
* - label
- string
- 0..1
Expand All @@ -29,11 +29,11 @@ Some CategoricalVariation attributes are inherited from :ref:`gks.core:DomainEnt
- 0..1
- A free-text description of the entity.
* - extensions
- `Extension <../gks-common/core.json#/$defs/Extension>`_
- `Extension <../gks-common/common.json#/$defs/Extension>`_
- 0..m
-
* - mappings
- `Mapping <../gks-common/core.json#/$defs/Mapping>`_
- `Mapping <../gks-common/common.json#/$defs/Mapping>`_
- 0..m
-
* - type
Expand All @@ -45,6 +45,6 @@ Some CategoricalVariation attributes are inherited from :ref:`gks.core:DomainEnt
- 0..m
- Aliases are alternate labels for a Domain Entity.
* - members
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/core.yaml#/$defs/IRI>`_
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/common.yaml#/$defs/IRI>`_
- 0..m
- A non-exhaustive list of VRS variation contexts that satisfy the constraints of this categorical variant.
8 changes: 4 additions & 4 deletions schema/catvrs/def/DescribedVariation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ Some DescribedVariation attributes are inherited from :ref:`CategoricalVariation
* - id
- string
- 0..1
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
* - extensions
- `Extension <../gks-common/core.json#/$defs/Extension>`_
- `Extension <../gks-common/common.json#/$defs/Extension>`_
- 0..m
-
* - mappings
- `Mapping <../gks-common/core.json#/$defs/Mapping>`_
- `Mapping <../gks-common/common.json#/$defs/Mapping>`_
- 0..m
-
* - type
Expand All @@ -37,7 +37,7 @@ Some DescribedVariation attributes are inherited from :ref:`CategoricalVariation
- 0..m
- Aliases are alternate labels for a Domain Entity.
* - members
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/core.yaml#/$defs/IRI>`_
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/common.yaml#/$defs/IRI>`_
- 0..m
- A non-exhaustive list of VRS variation contexts that satisfy the constraints of this categorical variant.
* - label
Expand Down
10 changes: 5 additions & 5 deletions schema/catvrs/def/ProteinSequenceConsequence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Some ProteinSequenceConsequence attributes are inherited from :ref:`CategoricalV
* - id
- string
- 0..1
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
* - label
- string
- 0..1
Expand All @@ -29,11 +29,11 @@ Some ProteinSequenceConsequence attributes are inherited from :ref:`CategoricalV
- 0..1
- A free-text description of the entity.
* - extensions
- `Extension <../gks-common/core.json#/$defs/Extension>`_
- `Extension <../gks-common/common.json#/$defs/Extension>`_
- 0..m
-
* - mappings
- `Mapping <../gks-common/core.json#/$defs/Mapping>`_
- `Mapping <../gks-common/common.json#/$defs/Mapping>`_
- 0..m
-
* - type
Expand All @@ -45,10 +45,10 @@ Some ProteinSequenceConsequence attributes are inherited from :ref:`CategoricalV
- 0..m
- Aliases are alternate labels for a Domain Entity.
* - members
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/core.yaml#/$defs/IRI>`_
- `Variation <../vrs/vrs.yaml#/$defs/Variation>`_ | `IRI <../gks-common/common.yaml#/$defs/IRI>`_
- 0..m
- A non-exhaustive list of VRS variation contexts that satisfy the constraints of this categorical variant.
* - definingContext
- `Allele <../vrs/vrs.yaml#/$defs/Allele>`_ | `IRI <../gks-common/core.yaml#/$defs/IRI>`_
- `Allele <../vrs/vrs.yaml#/$defs/Allele>`_ | `IRI <../gks-common/common.yaml#/$defs/IRI>`_
- 1..1
- The `VRS Allele <https://vrs.ga4gh.org/en/2.0/terms_and_model.html#allele>`_ object that is congruent with (projects to the same codons) as alleles on other protein reference sequences.
54 changes: 0 additions & 54 deletions schema/catvrs/defs/catvrs/CanonicalAllele.rst

This file was deleted.

Loading

0 comments on commit 34df351

Please sign in to comment.