diff get_descendent_terms.xml @ 0:7f7a43c6a147 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/onto-toolkit commit 9422f839ae354d4c26b02d4494abdeaad518d0e6
author iuc
date Fri, 10 Nov 2017 11:35:57 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/get_descendent_terms.xml	Fri Nov 10 11:35:57 2017 -0500
@@ -0,0 +1,52 @@
+<tool id="onto_tk_get_descendent_terms" name="Get the descendent terms" version="@VERSION@.0">
+    <description>of a given OBO term</description>
+    <macros>
+        <import>onto_macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <command detect_errors="aggressive">
+        get_descendent_terms.pl
+            -f '$input'
+            -t '$term_id' > '$output'
+    </command>
+    <inputs>
+        <expand macro="input_ontology" />
+        <expand macro="term_id" />
+    </inputs>
+    <outputs>
+        <data format="tabular" name="output" label="Descendent terms of ${on_string}">
+            <actions>
+                <action name="column_names" type="metadata" default="term ID,term name" />
+            </actions>
+        </data>
+    </outputs>
+    <tests>
+        <test>
+            <param name="input" value="pre_cco_core.obo"/>
+            <param name="term_id" value="CCO:P0000019"/>
+            <output name="output" file="descendents.tab"/>
+        </test>
+    </tests>
+    <help>
+
+.. class:: infomark
+
+Collects the descendent 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:000741** you will get::
+
+  GO:0048288	nuclear membrane fusion during karyogamy
+  GO:0000745	nuclear migration during conjugation without cellular fusion
+  GO:0000744	karyogamy during conjugation without cellular fusion
+  GO:0032871	regulation of karyogamy
+  GO:0007344	pronuclear fusion
+  GO:0000742	karyogamy during conjugation with cellular fusion
+  GO:0010197	polar nucleus fusion
+  GO:0000743	nuclear migration during conjugation with cellular fusion
+
+    </help>
+    <expand macro="citations" />
+</tool>
+