view onto-toolkit/tools/ontology/get_subontology_from.xml @ 2:77c75bf3fbe6 default tip

First version
author easr
date Wed, 11 Apr 2012 10:34:56 +0200
parents 4484575e4186
children
line wrap: on
line source

<tool id="get_subontology_from" name="Get subontology from a given OBO term" version="1.22">
  <description>Extracts a subontology (in OBO format) of a given ontology having as root node the provided term ID</description>
  <command interpreter="perl">/usr/bin/get_subontology_from.pl $input_ontology $new_root > $output</command>
  <inputs>
    <param format="text" name="input_ontology" type="data" label="Source file"/>
    <param name="new_root" type="text" size="30" value="" label="Term ID" />
  </inputs>
  <outputs>
    <data format="text" name="output" />
  </outputs>

<tests>
    <test>
      <param name="input_ontology" value="pre_cco_core.obo"/>
      <param name="new_root" value="CCO:P0000003"/>
      <output name="output" file="sub_ontology.obo"/>
    </test>
  </tests>

  <help>

Extracts a subontology (in OBO format) of a given ontology having as root node the provided term ID.

 </help>

</tool>