-
Notifications
You must be signed in to change notification settings - Fork 6
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
[BUG]: NCBITaxon wrong ontology assertion: ...not child of...
#58
Comments
This is done until the issue 58 of BioValidator is solved: elixir-europe/biovalidator#58
Similar to the other issue (see #56 (comment)), we ended up adapting our schemas to avoid this one, but this time it is indeed a wacky way to fix it and in the future we would very much prefer for the validation to take place for this term. |
@M-casado NCBITaxon_9606 in the OLS the ontology tree is not shown correctly. I am not sure if this is a recent problem or this is intentional. I will ask OLS team and get back to you. |
Did some more digging before contacting OLS team. It looks like If all the ontologies are in simple case in OLS, I can make the transformation in the code aswell or leave it as it is for the user to figure out the correct case. What do you think? |
Ah I see, nice catch, @theisuru. Nevertheless, a simple mention in the documentation would also suffice for me. I'll address this myself as well in a short PR. |
Bug summary
When using the custom keyword
graphRestriction
for the NCBITaxon ontology, it seems to fail regardless of the set parent level.Technical details
main
v16.13.0
8.6.0
To reproduce
graphRestriction
with NCBITaxon ontology; and the data to correctly contain the CURIE of a term that is hierarchically below the one in the custom keyword.Observed behaviour
The validation does not pass even though the conditions are met for it to pass (i.e. the term is correct for the hierarchy)
Expected behaviour
The validation result should be that it was passed.
Additional context
I'm unsure if this error has to do with the tool itself, OLS API, or NCBITaxon per se. But it is worth investigating.
I also checked with other levels of the hierarchy:
NCBITaxon:9606
being right belowNCBITaxon:9605
NCBITaxon:9605
being below the root levelNCBITaxon:1
graphRestriction
in a similar fashion but using other ontologies, where the validation behaves as expected.The text was updated successfully, but these errors were encountered: