You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/using-and-reusing.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,6 +206,23 @@ The [ontorat.txt](https://github.com/OHSU-Library/obo-tutorial/blob/master/examp
206
206
On the Ontorat website you can "Load Settings File" with this file to fill in the settings, then "Specify input data file" with a "File upload", and use `qtt.txt`. Then click "Get OWL (RDF/XML) Output File". The resulting OWL file is [ontorat.owl](https://github.com/OHSU-Library/obo-tutorial/raw/master/examples/ontorat.owl). I changed the "Ontology IRI" for this file using Protégé to something more sensible than the default.
207
207
208
208
209
+
### Extracting Ontology Modules with ROBOT
210
+
211
+
Sometimes you want to import too many terms for OntoFox, but the target ontology is too large to import all of it. Thre's a tool you can use in this case: OBO [ROBOT](http://robot.obolibrary.org/). ROBOT is like a Swiss Army Knife for ontology manipulation. It can do many things, including the steps we just did with OntoFox and Ontorat. Here we are going to use it to filter a source ontology down to a smaller subset and then we will extract the terms we want into a module.
212
+
213
+
Download [Uberon](http://purl.obolibrary.org/obo/uberon/ext.owl) to the examples directory.
`obot extract --method STAR --input uberon-subset.owl --term-file uberon-terms.txt --output uberon-mod.owl`
222
+
223
+
The result is the uberon-module.owl file, with all the terms listed in uberon-terms.txt and all their part_of/has_part dependencies.
224
+
225
+
209
226
### Importing Ontologies with Protégé
210
227
211
228
OBO ontologies are part of the web of linked data. Using terms from other ontologies means making links to resources across the web. Another form of linking is *import*: you can import another complete ontology or OWL file into your own ontology.
@@ -226,19 +243,6 @@ Here's a screenshot from the latest Protégé 5 beta release importing the 2014-
226
243
227
244

228
245
229
-
### Extracting Ontology Modules with ROBOT
230
-
231
-
Sometimes you want to import too many terms for OntoFox, but the target ontology is too large to import all of it. Thre's a tool you can use in this case: OBO [ROBOT](http://robot.obolibrary.org/). ROBOT is like a Swiss Army Knife for ontology manipulation. It can do many things, including the steps we just did with OntoFox and Ontorat. Here we are going to use it to filter a source ontology down to a smaller subset and then we will extract the terms we want into a module.
232
-
233
-
Download [Uberon](http://purl.obolibrary.org/obo/uberon/ext.owl) to the examples directory.
0 commit comments