How to extract an ontology branch using ROBOT? - metadatacenter-attic/cedar-docs GitHub Wiki
Steps:
- Download and install ROBOT from http://robot.obolibrary.org/.
- Syntax:
robot extract --method MIREOT --input [ontology_file_path] --output [output_file_path] --branch-from-term [branch_root_URI]
Example:
- Extract the "Gnathostomata" branch (http://purl.bioontology.org/ontology/NCBITAXON/7776) from BioPortal's NCBITAXON ontology and save it as a file named "module.owl".
robot extract --method MIREOT --input NCBITAXON.ttl --output module.owl --branch-from-term http://purl.bioontology.org/ontology/NCBITAXON/7776