diff sixframe_translate.xml @ 1:10465e20d9a2 draft

Docker support and update for protk 1.4
author iracooke
date Thu, 26 Mar 2015 19:56:34 -0400
parents d3850859bc50
children e20c4df2bc28
line wrap: on
line diff
--- a/sixframe_translate.xml	Sat Jun 14 18:22:33 2014 -0400
+++ b/sixframe_translate.xml	Thu Mar 26 19:56:34 2015 -0400
@@ -1,6 +1,7 @@
-<tool id="sixframe_translate" name="Generate 6-frame translation" version="1.0.0">
+<tool id="sixframe_translate" name="Generate 6-frame translation" version="1.1.0">
 	<requirements>
-	    <requirement type="package" version="1.3">protk</requirement>
+        <container type="docker">iracooke/protk-1.4.1</container>		
+	    <requirement type="package" version="1.4">protk</requirement>
    </requirements>
 
 	<description>Translates DNA/RNA to protein</description>
@@ -26,6 +27,17 @@
 		<data format="fasta" name="output" />
 	</outputs>
 
+	<tests>
+	  <test>
+	      <param name="fasta_file" value="small_genome.fasta" format="fasta"/>
+	      <output name="output" format="fasta">
+	          <assert_contents>
+	              <has_text text="SVQHWFYRFQAGHPRVFCPKNGPRRLW" />
+	          </assert_contents>
+	      </output>
+	  </test>
+	</tests>
+
 
   <help>