diff get_term_synonyms.xml @ 0:3747710b8936 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:33:45 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/get_term_synonyms.xml	Fri Nov 10 11:33:45 2017 -0500
@@ -0,0 +1,35 @@
+<tool id="onto_tk_get_term_synonyms" name="Get all term synonyms" 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_terms_synonyms.pl
+        -f '$input'
+        -t '$term_id' | sort > '$output'
+    </command>
+    <inputs>
+        <expand macro="input_ontology" />
+        <expand macro="term_id" />
+    </inputs>
+    <outputs>
+        <data format="tabular" name="output" label="Term synonyms of ${on_string}"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="input" value="pre_cco_core.obo"/>
+            <param name="term_id" value="nucleous"/>
+            <output name="output" file="term_synonyms.tab"/>
+        </test>
+    </tests>
+    <help>
+
+.. class:: infomark
+
+Collects the terms and there corresponding synonyms (list of IDs) of the given OBO ontology.
+
+    </help>
+    <expand macro="citations" />
+</tool>
+