-
Notifications
You must be signed in to change notification settings - Fork 54
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
Issue 1286: remove exact synonyms that match label #1289
Conversation
@cmungall The PR is failing on this command:
What are the |
Recall that the OWLAPI cycles through all possible parsers, this is a SAX error message while it cycles through the RDFA parser. This is extremely confusing behavior and there are already issues on the owlapi issue tracker about it. You should always look at the stack trace, and find the section relevant to the format, in this case OBOFormat. This usually yields the correct diagnostic However, in this case it is more complex. There is an issue with the older version of the owlapi that owltools is using (we need to eliminate owltools from the build!) where it is not handling redirects and attempting to parse the network error message as it it were obo format. The quick workaround here is to download the file before processing this works: wget http://purl.obolibrary.org/obo/uberon.obo
owltools uberon.obo --remove-axiom-annotations --make-subset-by-properties -f BFO:0000050 BFO:0000051 RO:0002202 immediate_transformation_of RO:0002176 IAO:0000136 --remove-external-classes UBERON --remove-dangling-annotations --remove-annotation-assertions -l -s -d --set-ontology-id http://purl.obolibrary.org/obo/uberon.owl -o mirror/uberon.owl So I suggest doing this first, then we should modernize the whole pipeline to use a standard ODK approach |
@cmungall I have fixed all the When I run
And the following
I think we should merge and deal with the |
Fixes #1286
Removed exact synonym violations discovered in PR #1240