Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

How to extract an ontology branch using ROBOT?

Marcos Martinez edited this page Jul 11, 2018 · 1 revision

Steps:

  1. Download and install ROBOT from http://robot.obolibrary.org/.
  2. 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
    
Clone this wiki locally