Skip to content

Commit

Permalink
repoint 1.x to 2.0.0-snapshot.2025-02 vrs branch
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybabb committed Feb 11, 2025
1 parent 9e5ab96 commit 11848ce
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "submodules/vrs"]
path = submodules/vrs
url = https://github.com/ga4gh/vrs.git
branch = 2.x
branch = 2.0.0-snapshot.2025-02
1 change: 1 addition & 0 deletions docs/source/concepts/imported/Element.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. _Element:
.. _gks-core:Element:

Element
!!!!!!!
Expand Down
1 change: 1 addition & 0 deletions docs/source/concepts/imported/Entity.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. _Entity:
.. _gks-core:Entity:

Entity
!!!!!!
Expand Down
4 changes: 2 additions & 2 deletions schema/cat-vrs/cat-vrs-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ imports:
vrs: ../vrs/vrs-source.yaml

namespaces:
gks.core: /ga4gh/schema/gks-core/1.x/json/
vrs: /ga4gh/schema/vrs/2.x/json/
gks.core: /ga4gh/schema/gks-core/1.0.0-snapshot.2025-02/json/
vrs: /ga4gh/schema/vrs/2.0.0-snapshot.2025-02/json/

$defs:

Expand Down
2 changes: 1 addition & 1 deletion schema/cat-vrs/def/CanonicalAllele.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Computational Definition**

A canonical allele is defined by an `Allele <https://vrs.ga4gh.org/en/2.x/concepts/MolecularVariation/Allele.html#>`_ that is representative of a collection of congruent Alleles, each of which depict the same nucleic acid change on different underlying reference sequences. Congruent representations of an Allele often exist across different genome assemblies and associated cDNA transcript representations.
A canonical allele is defined by an :ref:`Allele` that is representative of a collection of congruent Alleles, each of which depict the same nucleic acid different underlying reference sequences. Congruent representations of an Allele often exist across different genome assemblies and associated cDNA transcript representations.

**Information Model**

Expand Down
2 changes: 1 addition & 1 deletion schema/cat-vrs/def/ProteinSequenceConsequence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Computational Definition**

A change that occurs in a protein sequence as a result of genomic changes. Due to the degenerate nature of the genetic code, there are often several genomic changes that can cause a protein sequence consequence. The protein sequence consequence, like a :ref:`CanonicalAllele`, is defined by an `Allele <https://vrs.ga4gh.org/en/2.x/concepts/MolecularVariation/Allele.html#>`_ that is representative of a collection of congruent Protein Alleles that share the same altered codon(s).
A change that occurs in a protein sequence as a result of genomic changes. Due to the degenerate nature of the genetic code, there are often several genomic changes that can cause a protein sequence consequence. The protein sequence consequence, like a :ref:`CanonicalAllele`, is defined by an :ref:`Allele` that is representative of a collection of congruent Protein Alleles that share the same altered codon(s).

**Information Model**

Expand Down
2 changes: 1 addition & 1 deletion schema/cat-vrs/json/CanonicalAllele
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "CanonicalAllele",
"type": "object",
"maturity": "trial use",
"description": "A canonical allele is defined by an [Allele](https://vrs.ga4gh.org/en/2.x/concepts/MolecularVariation/Allele.html#) that is representative of a collection of congruent Alleles, each of which depict the same nucleic acid change on different underlying reference sequences. Congruent representations of an Allele often exist across different genome assemblies and associated cDNA transcript representations.",
"description": "A canonical allele is defined by an Allele that is representative of a collection of congruent Alleles, each of which depict the same nucleic acid different underlying reference sequences. Congruent representations of an Allele often exist across different genome assemblies and associated cDNA transcript representations.",
"allOf": [
{
"$ref": "/ga4gh/schema/cat-vrs/1.x/json/CategoricalVariant"
Expand Down
8 changes: 4 additions & 4 deletions schema/cat-vrs/json/CategoricalVariant
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-core/1.x/json/Extension"
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.2/json/Extension"
},
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
"$comment": "Extension objects have a key-value data structure that allows definition of custom fields in the data itself. Extensions are not expected to be natively understood, but may be used for pre-negotiated exchange of message attributes between systems."
Expand All @@ -50,10 +50,10 @@
"items": {
"oneOf": [
{
"$ref": "/ga4gh/schema/gks-core/1.x/json/iriReference"
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.2/json/iriReference"
},
{
"$ref": "/ga4gh/schema/vrs/2.x/json/Variation"
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.2/json/Variation"
}
]
}
Expand Down Expand Up @@ -82,7 +82,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-core/1.x/json/ConceptMapping"
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.2/json/ConceptMapping"
},
"description": "A list of mappings to concepts in terminologies or code systems. Each mapping should include a coding and a relation."
}
Expand Down
2 changes: 1 addition & 1 deletion schema/cat-vrs/json/CopyCountConstraint
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"description": "The precise value or range of copies members of this categorical variant must satisfy.",
"oneOf": [
{
"$ref": "/ga4gh/schema/vrs/2.x/json/Range"
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.2/json/Range"
},
{
"type": "integer"
Expand Down
6 changes: 3 additions & 3 deletions schema/cat-vrs/json/DefiningAlleleConstraint
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
"allele": {
"oneOf": [
{
"$ref": "/ga4gh/schema/gks-core/1.x/json/iriReference"
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.2/json/iriReference"
},
{
"$ref": "/ga4gh/schema/vrs/2.x/json/Allele"
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.2/json/Allele"
}
]
},
"relations": {
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-core/1.x/json/MappableConcept"
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.2/json/MappableConcept"
},
"description": "Defined relationships from which members relate to the defining allele."
}
Expand Down
8 changes: 4 additions & 4 deletions schema/cat-vrs/json/DefiningLocationConstraint
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
"location": {
"oneOf": [
{
"$ref": "/ga4gh/schema/gks-core/1.x/json/iriReference"
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.2/json/iriReference"
},
{
"$ref": "/ga4gh/schema/vrs/2.x/json/SequenceLocation"
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.2/json/SequenceLocation"
}
]
},
"relations": {
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-core/1.x/json/MappableConcept"
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.2/json/MappableConcept"
},
"description": "Defined relationships from which members relate to the defining location."
},
"matchCharacteristic": {
"description": "A characteristic of the location that is used to match the defining location to member locations.",
"$ref": "/ga4gh/schema/gks-core/1.x/json/MappableConcept"
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.2/json/MappableConcept"
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion schema/cat-vrs/json/ProteinSequenceConsequence
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "ProteinSequenceConsequence",
"type": "object",
"maturity": "trial use",
"description": "A change that occurs in a protein sequence as a result of genomic changes. Due to the degenerate nature of the genetic code, there are often several genomic changes that can cause a protein sequence consequence. The protein sequence consequence, like a CanonicalAllele, is defined by an [Allele](https://vrs.ga4gh.org/en/2.x/concepts/MolecularVariation/Allele.html#) that is representative of a collection of congruent Protein Alleles that share the same altered codon(s).",
"description": "A change that occurs in a protein sequence as a result of genomic changes. Due to the degenerate nature of the genetic code, there are often several genomic changes that can cause a protein sequence consequence. The protein sequence consequence, like a CanonicalAllele, is defined by an Allele that is representative of a collection of congruent Protein Alleles that share the same altered codon(s).",
"allOf": [
{
"$ref": "/ga4gh/schema/cat-vrs/1.x/json/CategoricalVariant"
Expand Down
17 changes: 10 additions & 7 deletions schema/cat-vrs/recipes-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@ title: GA4GH-Cat-VRS-Recipe-Definitions
type: object

imports:
gks.core-im: ../gks-core/gks-core-source.yaml
gks.core: ../gks-core/gks-core-source.yaml
vrs: ../vrs/vrs-source.yaml
cat-vrs: ./cat-vrs-source.yaml

namespaces:
gks.core: /ga4gh/schema/gks-core/1.0.0-snapshot.2025-02/json/
vrs: /ga4gh/schema/vrs/2.0.0-snapshot.2025-02/json/

$defs:
ProteinSequenceConsequence:
maturity: trial use
description: >-
A change that occurs in a protein sequence as a result of genomic changes. Due to the degenerate nature
of the genetic code, there are often several genomic changes that can cause a protein sequence consequence.
The protein sequence consequence, like a :ref:`CanonicalAllele`, is defined by an
`Allele <https://vrs.ga4gh.org/en/2.x/concepts/MolecularVariation/Allele.html#>`_
that is representative of a collection of congruent Protein Alleles that share the same altered codon(s).
:ref:`Allele` that is representative of a collection of congruent Protein Alleles that share the same altered codon(s).
allOf:
- $ref: CategoricalVariant
- properties:
Expand All @@ -38,10 +41,10 @@ $defs:
CanonicalAllele:
maturity: trial use
description: >-
A canonical allele is defined by an `Allele <https://vrs.ga4gh.org/en/2.x/concepts/MolecularVariation/Allele.html#>`_
that is representative of a collection of congruent Alleles, each of which depict the same nucleic acid
change on different underlying reference sequences. Congruent representations of an Allele often exist
across different genome assemblies and associated cDNA transcript representations.
A canonical allele is defined by an :ref:`Allele` that is representative of a collection of congruent
Alleles, each of which depict the same nucleic acid different underlying reference sequences.
Congruent representations of an Allele often exist across different genome assemblies and associated
cDNA transcript representations.
allOf:
- $ref: CategoricalVariant
- properties:
Expand Down

0 comments on commit 11848ce

Please sign in to comment.