diff get_subontology_from.xml @ 0:1b3796bc5ac0 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:10 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/get_subontology_from.xml	Fri Nov 10 11:35:10 2017 -0500
@@ -0,0 +1,32 @@
+<tool id="onto_tk_get_subontology_from" name="Get subontology" version="@VERSION@.0">
+   <description>from a given OBO term</description>
+    <macros>
+        <import>onto_macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <command detect_errors="aggressive">
+    get_subontology_from.pl
+        -f '$input'
+        -t '$term_id' > '$output'
+    </command>
+    <inputs>
+        <expand macro="input_ontology" />
+        <expand macro="term_id" />
+    </inputs>
+    <outputs>
+        <data format="obo" name="output" label="Subontology of ${on_string} with $term_id"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="input" value="pre_cco_core.obo"/>
+            <param name="term_id" value="CCO:P0000003"/>
+            <output name="output" file="sub_ontology.obo" lines_diff="2"/>
+        </test>
+    </tests>
+    <help>
+
+Extracts a subontology (in OBO format) of a given ontology having as root node the provided term ID.
+
+    </help>
+    <expand macro="citations" />
+</tool>