diff obo2rdf.xml @ 0:7568445199b6 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:34:31 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/obo2rdf.xml	Fri Nov 10 11:34:31 2017 -0500
@@ -0,0 +1,45 @@
+<tool id="onto_tk_obo2rdf" name="Convert OBO to RDF" version="@VERSION@.0">
+    <description></description>
+    <macros>
+        <import>onto_macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <command detect_errors="aggressive">
+    obo2rdf.pl
+        -f '$input'
+        #if $url:
+            -u '$url'
+        #end if
+        -n '$namespace'
+        > '$output'
+    </command>
+    <inputs>
+        <expand macro="input_ontology" />
+        <param name="url" type="text" value="" optional="True" label="URL">
+            <expand macro="sanitize_urls" />
+        </param>
+        <param name="namespace" type="text" value="" label="Namespace">
+            <expand macro="sanitize_ids" />
+        </param>
+    </inputs>
+    <outputs>
+        <data format="rdf" name="output" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="input" value="pre_cco_core.obo" ftype="obo"/>
+            <param name="namespace" value="SBB"/>
+            <output name="output" ftype="rdf">
+                <assert_contents>
+                    <has_text text="holds between distinct material continuants when one succeeds the other across a temporal divide" />
+                </assert_contents>
+            </output>
+        </test>
+    </tests>
+    <help>
+This tool transforms an OBO formatted ontology (such as the Gene Ontology) to RDF/XML.
+
+    </help>
+    <expand macro="citations" />
+</tool>
+