-
Notifications
You must be signed in to change notification settings - Fork 15
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
Improve Rhea import #168
Improve Rhea import #168
Conversation
I think having the top and bottom of the diamond be undistinguished directionally and having direction on the middle makes sense practically and ontologically. Part of me really wants the convenience of having explicit left and right relations on the tip, even if it doesn't make perfect ontological sense. A compromise could be an axiom annotation on the participant relationships (this does make the RDF/XML explode a little - even though it's nice and compact in the .obo :-). We can imagine adding stoichiometry on these later. Of course, it should be RHEA not rhea - but I'll check with the RHEA folks to see if they concur :-) Will you declare debio:0000009 as an AP? An existential restriction doesn't make sense for linking parts of the diamond Wasn't familiar with debio - looks like placeholder ontology? I'd also use chemrof over debio for this. |
Also I just noticed that this forces an ontological commitment to EC representing gene products. This is of course on the surface defensible, the E stands for enzyme, enzymes are gene product. But other valid treatments are to say the EC represents the reaction or mechanism, which would make a mapping rather than a relationship more appropriate. Of course we shouldn't hold up this PR on rabbit holes like this but this does highlight the need for governance if obo-db-ingest moves more into semi-official obo rendering territory Another issue with the existential restriction is that it's too strong logically for many cases, e.g. for https://www.rhea-db.org/rhea/11092 you would end up with: id: RHEA:11092
relationship: RO:0002333 EC:1.1.1.8
relationship: RO:0002333 EC:1.1.1.94 This is logically wrong - you're asserting that every instance of this reaction is catalyzed by both those enzymes |
I'm not sure I understand what you mean by "the diamond". I am happy to update this to fit whatever pattern you say is best, though
We can address this upstream in the Bioregistry if Anne wants to get involved
debio (https://github.com/biopragmatics/debio) is my solution to the RO governance taking too long to get new relations in (Biolink does the same thing as far as I understand :p). I would be much happier to get stuff in RO if you can tell me what you think it should be encoded as. Is chemrof ready for use? I am not confident to use it since the documentation is confusing and doesn't give examples/support to me as a potential user |
What's the best way that I can represent either EC catalyzes this reaction? If I turn this into a knowledge graph, it's obvious to me that I want both relations. |
See slide 2:
Nope! RO is an OWL ontology.
tl;dr don't. I think oboizations of databases should avoid distributing annotations (in the GO sense not OWL sense) in the same file as the entities. Made an issue for this: In this particular case, some may have good reasons to model EC to RHEA as SSSOM (this is what we would do in GO, we consider these mappings, and we use SKOS for the relations). But everyone doesn't need to agree! If someone wants to model this using an incorrect OWL axiom in a local obo file ecosystem that's fine too! IMO pyobo/obo-db-ingest will be more successful with fewer commitments. Just distribute the associations as TSVs! (if you like we can get into the ways of modeling the relationship between an enzyme molecule and a reaction on the RO tracker, but the tl;dr is there are semantic minefields in going down this path. I didn't lay the minefields, I'm just trying to stop people wandering into them...) |
FYI I've made two changes before merging:
|
It would be awesome if we could get a new https://github.com/biopragmatics/obo-db-ingest with this incorporated |
@cmungall new build from March 14th, 2024 available. New links available in https://github.com/biopragmatics/obo-db-ingest/blob/6a136f3aadceb11aa27dd542786be2f0614a03fc/docs/_data/manifest.yml#L877-L918 |
Closes #167
debio:0000047
(as a placeholder for the maybe results of How to model relations between EC, Rhea, and GO oborel/obo-relations#783)Example output: