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

SBO Terms Annotation Score is incorrect #721

Open
famosab opened this issue Sep 15, 2021 · 1 comment
Open

SBO Terms Annotation Score is incorrect #721

famosab opened this issue Sep 15, 2021 · 1 comment

Comments

@famosab
Copy link

famosab commented Sep 15, 2021

I tried testing a manually curated model with the online (v. 0.11.1) and my local (v. 0.12.1) version of memote.

I expected a higher memote score after using more specific SBO Terms: For example I replaced SBO:0000176 - biochemical reaction by SBO:0000402 - transfer of a chemical group.

The expected behavior was that the SBO Annotation Score should either stay the same or even go up since this is a more specific model annotation. What I got instead is a lower score on Metabolic Reaction SBO:0000176 Presence.

I would suggest to change the way the testing for certain SBO terms works: Namely replace simply looking which SBO Terms are present with a comparison of whether the SBO terms that are present are also present in a tree as depicted below (from http://www.ebi.ac.uk/sbo/main/tree).

image

@Midnighter
Copy link
Member

As you noticed, the lack of handling the ontology properly (#469) is the reason for this. If libSBML enables this, that provides a faster way for addressing this issue. Adopting JSBML will not be an option in cobrapy, I'm afraid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants