view onto-toolkit/tools/ontology/get_ancestor_terms.xml @ 0:4484575e4186

Migrated tool version 0.1 from old tool shed archive to new tool shed repository
author erick-antezana
date Tue, 07 Jun 2011 17:51:45 -0400
parents
children
line wrap: on
line source

<tool id="get_ancestor_terms" name="Get the ancestor terms of a given OBO term" version="1.22">
  <description>Collects the ancestor terms from a given term in the given OBO ontology</description>
  <command interpreter="perl">/usr/bin/get_ancestor_terms.pl $input_ontology $term_id > $output</command>
  <inputs>
    <param format="text" name="input_ontology" type="data" label="Source file"/>
    <param name="term_id" type="text" size="30" value="" label="Term ID" />
  </inputs>
  <outputs>
    <data format="tabular" name="output" />
  </outputs>

  <tests>
    <test>
      <param name="input" value="pre_cco_core.obo"/>
      <param name="term_id" value="CCO:P0000020"/>
      <output name="out_file" file="ancestors.txt"/>
    </test>
  </tests>

  <help>

.. class:: infomark

Collects the ancestor terms (list of IDs) from a given term (existing ID) in the given OBO ontology.

**Example**

If you ask for the descendents of the Gene Ontology term with ID **GO:000800** you will get::

  GO:0043229	intracellular organelle
  GO:0043232	intracellular non-membrane-bounded organelle
  GO:0044446	intracellular organelle part
  GO:0044424	intracellular part
  GO:0005623	cell
  GO:0044422	organelle part
  GO:0043228	non-membrane-bounded organelle
  GO:0044427	chromosomal part
  GO:0005575	cellular_component
  GO:0000793	condensed chromosome
  GO:0043231	intracellular membrane-bounded organelle
  GO:0043226	organelle
  GO:0005634	nucleus
  GO:0044464	cell part
  GO:0005622	intracellular
  GO:0044454	nuclear chromosome part
  GO:0005694	chromosome
  GO:0000228	nuclear chromosome
  GO:0043227	membrane-bounded organelle
  GO:0000794	condensed nuclear chromosome
  GO:0000795	synaptonemal complex
  GO:0044428	nuclear part

**More information**

  ONTO-PERL: An API supporting the development and analysis of bio-ontologies
  E. Antezana; M. Egana; B. De Baets; M. Kuiper; V. Mironov
  Bioinformatics 2008; doi: 10.1093/bioinformatics/btn042

  </help>

</tool>