diff gbk2rdf/gbktordf.xml @ 3:db04e12b8779

Uploaded
author jjkoehorst
date Sat, 21 Feb 2015 07:28:39 -0500
parents
children 47d1b27466ee
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gbk2rdf/gbktordf.xml	Sat Feb 21 07:28:39 2015 -0500
@@ -0,0 +1,32 @@
+<tool id="SAPP_genbank_to_ttl" name="EMBL/GBK to RDF" version="0.1">
+	<requirements>
+    	<requirement type='package' version="3.4">python</requirement>
+    	<requirement type='package' version="1.0">rdflib</requirement>
+	</requirements>
+	<description>Genbank to RDF conversion</description>
+	<command interpreter="python3.4">gbktordf.py '-input' '$input' -output '$output' -sourcedb "$format" -format "$format"</command>
+	<inputs>
+		<param name="input" type="data" format="gbk,gb,genbank" label="Genbank file"/>
+		<param name="format" type="select" label="EMBL/GBK">
+			<option value="genbank" selected="true"> Genbank</option>
+			<option value="embl"> EMBL </option>
+		</param>
+	</inputs>
+
+	<outputs>
+		<data format="rdf" name="output" label="GBKttl: ${input.name}" />
+	</outputs>
+
+	<tests>
+    	<test>
+      		<param name="input" value="test-data/NC_010067.gbk"/>
+      		<output name="$output" file="NC_010067.rdf"/>
+      		<output name="$format" value="genbank"/>
+      		<output name="$sourcedb" value="genbank"/>
+    	</test>
+  </tests>
+  
+	<help>
+		Genbank or EMBL to RDF conversion
+	</help>
+</tool>