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

robot does not parse gzipped owl files #112

Closed
cmungall opened this issue Nov 22, 2016 · 3 comments
Closed

robot does not parse gzipped owl files #112

cmungall opened this issue Nov 22, 2016 · 3 comments

Comments

@cmungall
Copy link
Contributor

Both owltools and Protege can load an ontology that has been gzipped. I don't think there is any additional wrapper to assist here, my understanding is that the OWLAPI takes care of this automagically. I don't know if this is a documented feature that can be relied on.

Unfortunately, robot doesn't seem to handle gzipped files. I will try and investigate the reason (if this truly is handled by the OWLAPI there is no reason ROBOT should not work, unless it is trying to do something fancy with file suffixes).

This is mildly problematic, as I prefer not to keep a full copy of ncbitaxon.owl every time I need to do a robot extract.

All in all it would be better if there was some kind of well-documented standard for compressed OWL ontologies. This seems the closest:
owlcs/owlapi#375

But no one has the time to implement

@jamesaoverton
Copy link
Member

This would be a good feature. I'm not sure why it doesn't just work. This should be the relevant code: https://github.com/ontodev/robot/blob/master/robot-core/src/main/java/org/obolibrary/robot/IOHelper.java#L252

@cmungall
Copy link
Contributor Author

ROBOT uses loadOntologyFromOntologyDocument, OWLTools uses loadOntology.
However, it would be odd if this were the reason as the former wraps the
latter. I don't understand everything the OWLAPI is doing though.

On 22 Nov 2016, at 4:51, James A. Overton wrote:

This would be a good feature. I'm not sure why it doesn't just work.
This should be the relevant code:
https://github.com/ontodev/robot/blob/master/robot-core/src/main/java/org/obolibrary/robot/IOHelper.java#L252

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#112 (comment)

@beckyjackson
Copy link
Contributor

ROBOT can load and save gzipped OWL files as of #371

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

3 participants