diff onto-toolkit/tools/ontology/get_parent_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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/onto-toolkit/tools/ontology/get_parent_terms.xml	Tue Jun 07 17:51:45 2011 -0400
@@ -0,0 +1,42 @@
+<tool id="get_parent_terms" name="Get the parent terms of a given OBO term" version="1.22">
+  <description>Collects the parent terms from a given term in the given OBO ontology</description>
+  <command interpreter="perl">/usr/bin/get_parent_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="parents.txt"/>
+    </test>
+  </tests>
+
+  <help>
+
+.. class:: infomark
+
+Collects the parent terms (list of IDs) from a given term (existing ID) in the given OBO ontology.
+
+**Example**
+
+If you ask for the parents of the Gene Ontology term with ID **GO:0000079** you will get::
+
+  GO:0045859	regulation of protein kinase activity
+  GO:0051726	regulation of cell cycle
+
+**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>
+