Skip to content

Commit

Permalink
update efo codes to CURIEs
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwagner committed Apr 13, 2023
1 parent f5f0feb commit c4595ae
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion docs/source/terms_and_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ Low-level copy gain of BRCA1:
.. parsed-literal::
{
"copy_change": "EFO_0030071", # low-level gain
"copy_change": "efo:0030071", # low-level gain
"subject": {
"gene_id": "ncbigene:348", # BRCA1 gene
"type": "Gene"
Expand Down
2 changes: 1 addition & 1 deletion schema/defs/vrs/CopyNumberChange.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ Some CopyNumberChange attributes are inherited from :ref:`Variation`.
* - copy_change
- string
- 1..1
- MUST be one of "EFO_0030069" (complete genomic loss), "EFO_0020073" (high-level loss), "EFO_0030068" (low-level loss), "EFO_0030067" (loss), "EFO_0030064" (regional base ploidy), "EFO_0030070" (gain), "EFO_0030071" (low-level gain), "EFO_0030072" (high-level gain).
- MUST be one of "efo:0030069" (complete genomic loss), "efo:0020073" (high-level loss), "efo:0030068" (low-level loss), "efo:0030067" (loss), "efo:0030064" (regional base ploidy), "efo:0030070" (gain), "efo:0030071" (low-level gain), "efo:0030072" (high-level gain).
8 changes: 4 additions & 4 deletions schema/vrs-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ definitions:
A location for which the number of systemic copies is described.
copy_change:
type: string
enum: [ "EFO_0030069", "EFO_0020073", "EFO_0030068", "EFO_0030067", "EFO_0030064", "EFO_0030070", "EFO_0030071", "EFO_0030072" ]
enum: [ "efo:0030069", "efo:0020073", "efo:0030068", "efo:0030067", "efo:0030064", "efo:0030070", "efo:0030071", "efo:0030072" ]
description: >-
MUST be one of "EFO_0030069" (complete genomic loss), "EFO_0020073" (high-level loss),
"EFO_0030068" (low-level loss), "EFO_0030067" (loss), "EFO_0030064" (regional base ploidy),
"EFO_0030070" (gain), "EFO_0030071" (low-level gain), "EFO_0030072" (high-level gain).
MUST be one of "efo:0030069" (complete genomic loss), "efo:0020073" (high-level loss),
"efo:0030068" (low-level loss), "efo:0030067" (loss), "efo:0030064" (regional base ploidy),
"efo:0030070" (gain), "efo:0030071" (low-level gain), "efo:0030072" (high-level gain).
required: [ "subject", "copy_change" ]

Genotype:
Expand Down
18 changes: 9 additions & 9 deletions schema/vrs.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,16 +344,16 @@
"copy_change": {
"type": "string",
"enum": [
"EFO_0030069",
"EFO_0020073",
"EFO_0030068",
"EFO_0030067",
"EFO_0030064",
"EFO_0030070",
"EFO_0030071",
"EFO_0030072"
"efo:0030069",
"efo:0020073",
"efo:0030068",
"efo:0030067",
"efo:0030064",
"efo:0030070",
"efo:0030071",
"efo:0030072"
],
"description": "MUST be one of \"EFO_0030069\" (complete genomic loss), \"EFO_0020073\" (high-level loss), \"EFO_0030068\" (low-level loss), \"EFO_0030067\" (loss), \"EFO_0030064\" (regional base ploidy), \"EFO_0030070\" (gain), \"EFO_0030071\" (low-level gain), \"EFO_0030072\" (high-level gain)."
"description": "MUST be one of \"efo:0030069\" (complete genomic loss), \"efo:0020073\" (high-level loss), \"efo:0030068\" (low-level loss), \"efo:0030067\" (loss), \"efo:0030064\" (regional base ploidy), \"efo:0030070\" (gain), \"efo:0030071\" (low-level gain), \"efo:0030072\" (high-level gain)."
}
},
"required": [
Expand Down
24 changes: 12 additions & 12 deletions schema/vrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,18 +207,18 @@ definitions:
copy_change:
type: string
enum:
- EFO_0030069
- EFO_0020073
- EFO_0030068
- EFO_0030067
- EFO_0030064
- EFO_0030070
- EFO_0030071
- EFO_0030072
description: MUST be one of "EFO_0030069" (complete genomic loss), "EFO_0020073"
(high-level loss), "EFO_0030068" (low-level loss), "EFO_0030067" (loss),
"EFO_0030064" (regional base ploidy), "EFO_0030070" (gain), "EFO_0030071"
(low-level gain), "EFO_0030072" (high-level gain).
- efo:0030069
- efo:0020073
- efo:0030068
- efo:0030067
- efo:0030064
- efo:0030070
- efo:0030071
- efo:0030072
description: MUST be one of "efo:0030069" (complete genomic loss), "efo:0020073"
(high-level loss), "efo:0030068" (low-level loss), "efo:0030067" (loss),
"efo:0030064" (regional base ploidy), "efo:0030070" (gain), "efo:0030071"
(low-level gain), "efo:0030072" (high-level gain).
required:
- copy_change
- subject
Expand Down
8 changes: 4 additions & 4 deletions validation/models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ CopyNumberCount:
CopyNumberChange:
- name: "Low-level copy gain of BRCA1"
in:
copy_change: EFO_0030071
copy_change: efo:0030071
subject:
sequence_id: ga4gh:SQ.IIB53T8CNeJJdUqzn9V_JnRtQadwWCbl
interval:
Expand All @@ -396,9 +396,9 @@ CopyNumberChange:
type: SequenceLocation
type: CopyNumberChange
out:
ga4gh_digest: W6Mr7EOuc8_oP--jzFqZeAj-ZC7pK9F_
ga4gh_identify: ga4gh:CX.W6Mr7EOuc8_oP--jzFqZeAj-ZC7pK9F_
ga4gh_serialize: '{"copy_change":"EFO_0030071","subject":"oz3NEuhtbBep3yqu3wrhqfDKbLPK7vcE","type":"CopyNumberChange"}'
ga4gh_digest: zRqNmX-TVTU5FOFxfR4y0jwBysw7ztPn
ga4gh_identify: ga4gh:CX.zRqNmX-TVTU5FOFxfR4y0jwBysw7ztPn
ga4gh_serialize: '{"copy_change":"efo:0030071","subject":"oz3NEuhtbBep3yqu3wrhqfDKbLPK7vcE","type":"CopyNumberChange"}'
Text:
-
in:
Expand Down

0 comments on commit c4595ae

Please sign in to comment.