Class SubsetCommand

java.lang.Object
org.incenp.obofoundry.odk.BasePlugin
org.incenp.obofoundry.odk.SubsetCommand
All Implemented Interfaces:
org.obolibrary.robot.Command

public class SubsetCommand extends BasePlugin
A command to create an ontology subset.

That command is intended to replace both the --extract-ontology-subset --fill-gaps and the --reasoner-query --make-ontology-from-results commands of OWLTools. As such, it supplements the extract -m subset command of the standard distribution of ROBOT, which can be used to replace the --extract-ontology-subset OWLTools command (note the absence of --fill-gaps!).

  • Constructor Details

    • SubsetCommand

      public SubsetCommand()
  • Method Details

    • performOperation

      public void performOperation(org.obolibrary.robot.CommandState state, org.apache.commons.cli.CommandLine line) throws Exception
      Description copied from class: BasePlugin
      Performs whatever operation the command is supposed to do.
      Specified by:
      performOperation in class BasePlugin
      Parameters:
      state - The internal state of ROBOT.
      line - The command line used to invoke the command.
      Throws:
      Exception - If any error occurs when attempting to execute the operation.