diff get_relationship_types.xml @ 0:c5b1acc3c42c draft

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:32:28 -0500
parents
children a6c8e5934ed2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/get_relationship_types.xml	Fri Nov 10 11:32:28 2017 -0500
@@ -0,0 +1,48 @@
+<tool id="onto_tk_get_relationship_types" name="Get all the relationship types" version="@VERSION@.0">
+    <description>from the given OBO ontology</description>
+    <macros>
+        <import>onto_macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <command detect_errors="aggressive">
+    get_relationship_types.pl
+        -f '$input' | sort > '$output'
+    </command>
+    <inputs>
+        <expand macro="input_ontology" />
+    </inputs>
+    <outputs>
+        <data format="tabular" name="output" label="Relationship types of ${on_string}">
+            <actions>
+                <action name="column_names" type="metadata" default="relationship type" />
+            </actions>
+        </data>
+    </outputs>
+    <tests>
+        <test>
+            <param name="input" value="pre_cco_core.obo"/>
+            <output name="output" file="relationship_types.tab"/>
+        </test>
+    </tests>
+    <help>
+
+.. class:: infomark
+
+
+Collects all the names of the relationship_types in a given ontology.
+
+**Example**
+
+If you ask for the relationships of the Gene Ontology, you will get::
+
+  is_a
+  part_of
+  regulates
+  has_part
+  negatively_regulates
+  positively_regulates
+
+    </help>
+    <expand macro="citations" />
+</tool>
+