Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add case variant synonyms to Orphanet and ORDO #1003

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/bioregistry/data/bioregistry.json
Original file line number Diff line number Diff line change
Expand Up @@ -73384,7 +73384,8 @@
}
],
"synonyms": [
"ORPHA"
"ORPHA",
"Orphanet"
],
"uniprot": {
"abbreviation": "Orphanet",
Expand Down Expand Up @@ -73447,9 +73448,6 @@
},
"download_owl": "http://www.orphadata.org/data/ORDO/ordo_orphanet.owl",
"example": "C023",
"example_extras": [
"478"
],
"fairsharing": {
"abbreviation": "ORDO",
"contact": {
Expand Down Expand Up @@ -73514,7 +73512,7 @@
"version": "4.3",
"version.iri": "https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl"
},
"pattern": "^C?\\d+$",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change, you wont validate any "normal" orpha codes, they don't have that "C"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was on purpose. The goal of the bioregistry is to give a summary of all of the semantic spaces. Just because it turns out that Orphanet smashed two semantic spaces into the same URI format string, it doesn't mean we can't describe them as accurately as possible.

Like David said, Orphanet's ORDO vocabulary is for the properties. The rest is regular Orphanet

Copy link
Collaborator

@matentzn matentzn Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but like I noted, it make more practical sense to push them together instead of having two, else how will you be able to say that both have the same uri_prefix?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far I have not heard a clear argument why the separation is necessary. I have good reasons why it is not necessary. I can only think of a single reason, which is being able to redirect xrefs from browsers to separate destinations depending on whether they are properties or diseases. Can you point me to the issue that clearly explains that this is what you are trying to solve?

"pattern": "^C\\d+$",
"publications": [
{
"pubmed": "22874158",
Expand All @@ -73523,6 +73521,8 @@
}
],
"synonyms": [
"ORDO",
"ORPHANET.ORDO",
"ordo"
],
"uri_format": "http://www.orpha.net/ORDO/Orphanet_$1"
Expand Down
Loading