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

Rename OMIM axiom annotation properties #698

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

joeflack4
Copy link
Contributor

@joeflack4 joeflack4 commented Nov 20, 2024

Overview

Update OMIM properties in properties.txt to the correct spelling / casing.

Context

This is a follow-up from our tech meeting today. We discussed:

I tried to show that the casing (snake vs camel) wasn't consistent between repos but I couldn't find an example.

Basically in mondo-ingest and omim repos, it's snake case. But now in mondo, it's camel case (monarch-initiative/mondo#8235, axiom annotation docs).

Pre-merge checklist

Documentation

Was the documentation added/updated under docs/?

  • Yes
  • No, updates to the docs were not necessary after careful consideration

QC

Was the full pipeline run before submitting this PR using sh run.sh make build-mondo-ingest on this branch (after
docker pull obolibrary/odkfull:dev), and no errors occurred?

  • Yes
  • No, there are no functional (code-related) changes to the pipeline in the PR, so no re-run is necessary

New Packages

Were any new Python packages added?

Were any other non-Python packages added?

PR Review and Conversations Resolved

Has the PR been sufficiently reviewed by at least 1 team member of the Mondo Technical team and all threads resolved?

  • Yes

- Update OMIM properties in properties.txt to the correct spelling / casing.
@joeflack4 joeflack4 added the bug Something isn't working label Nov 20, 2024
@joeflack4 joeflack4 changed the base branch from main to develop November 20, 2024 21:21
@joeflack4 joeflack4 self-assigned this Nov 20, 2024
@joeflack4 joeflack4 changed the title Rename OMIM properties Rename OMIM axiom annotation properties Nov 20, 2024
@@ -15,8 +15,8 @@ http://www.geneontology.org/formats/oboInOwl#source
http://www.geneontology.org/formats/oboInOwl#hasSynonymType
http://www.geneontology.org/formats/oboInOwl#SynonymTypeProperty
http://purl.obolibrary.org/obo/mondo#GENERATED
http://purl.obolibrary.org/obo/mondo#omim_included
http://purl.obolibrary.org/obo/mondo#omim_formerly
http://purl.obolibrary.org/obo/mondo#includedEntryInOMIM
Copy link
Contributor Author

@joeflack4 joeflack4 Nov 20, 2024

Choose a reason for hiding this comment

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

Don't these need to actually appear in properties.txt?

During the tech meeting today, @matentzn was surprised I was calling them properties. But I feel like they belong here, alongside http://purl.obolibrary.org/obo/mondo#GENERATED which I think was disappearing if we didn't have it showing in this file.

I could do a before/after test to check this myself but for now I'll just pose the question.

Copy link
Member

Choose a reason for hiding this comment

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

I dont think this needs to be here. Most of the things you see here, like "GENERATED" are synonym type properties.. That is very different from the MONDO:includedEntryInOMIM source annotations (see Mondo file)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aren't the also supposed to be synonym type properties? Is there anything about the nature of MONDO:GENERATED that makes it more appropriate to say that it is a property of the synonym's type than the OMIM ones?

I remember that we have been discussing making object property declarations (I believe for these) in omim.ttl, but have not yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

At some point things were failing without these being added, but this may not be the location that fixed things.

Copy link
Member

Choose a reason for hiding this comment

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

Look at how includedInOMIM is used in Mondo:

xref: OMIM:184850 {source="MONDO:includedEntryInOMIM"}

As a oboInOwl:source annotation. This is not at all like:

synonym: "undetermined early-onset epileptic encephalopathy" EXACT GENERATED []

Which is how the GENERATED synonym type was used.

The confusion of why includedEntryInOMIM isn't used the same way, i.e.

synonym: "undetermined early-onset epileptic encephalopathy" EXACT includedEntryInOMIM []

That question is valid! I don't know the exact answer, but lets say for the sake of rapid progress now that the reason is historical.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh I see, right.

Well I have to look at this more tomorrow to double check unless someone else wants to, but I think the way that MONDO:omimFormerly is being used might be different than MONDO:includedEntryInOMIM. I think it is being added directly onto the synonyms.

And shucks... I think maybe MONDO:includedEntryInOMIM might be now as well in:

I'll have to look into it tomorrow.

But for 'included', I think there were two things we were doing. One was a general thing on the OMIM class to say "this thing has included entries" (perhaps that's what MONDO:includedEntryInOMIM is supposed to be...), and then there are things directly added onto synonyms. Perhaps the latter was MONDO:omim_included and I was simply conflating the two.

Copy link
Member

Choose a reason for hiding this comment

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

Yea maybe.. I dont think you really need the synonym type "omim included", but you may need the synonym type "omim formerly". Right now I think we should do whatever can be done right now and open issues to revise the decision if need be..

Copy link
Contributor

@twhetzel twhetzel Nov 26, 2024

Choose a reason for hiding this comment

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

@joeflack4 have you looked further into this? Also, I set this to merge into develop since it was set incorrectly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had this on our recent 1:1 agenda, section titled "MONDO: omimFormerly & includedEntryInOMIM".

Can wait until our next meeting if you like.

Base automatically changed from develop to main November 24, 2024 08:31
@twhetzel twhetzel changed the base branch from main to develop November 27, 2024 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants