diff emboss_dreg.xml @ 17:ce385837c160 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/emboss_5 commit 4812c313fd8762b11f7fd002436e3a93b4c67f00"
author iuc
date Fri, 20 Nov 2020 16:51:11 +0000
parents 8992d258e42f
children
line wrap: on
line diff
--- a/emboss_dreg.xml	Mon Dec 02 21:13:50 2019 -0500
+++ b/emboss_dreg.xml	Fri Nov 20 16:51:11 2020 +0000
@@ -1,4 +1,4 @@
-<tool id="EMBOSS: dreg27" name="dreg" version="@VERSION@">
+<tool id="EMBOSS: dreg27" name="dreg" version="@VERSION@+galaxy1">
   <description>Regular expression search of a nucleotide sequence</description>
   <macros>
     <import>macros.xml</import>
@@ -7,12 +7,20 @@
   <command>dreg -sequence '$input1' -outfile '$out_file1' -pattern '$pattern' -raccshow3 "no" -rusashow3 "no" -rdesshow3 "no" -auto</command>
   <inputs>
     <param name="input1" type="data" format="data" label="Sequence 1" />
-    <param name="pattern" type="text" value="(AUG)" label="Regular expression pattern" />
+    <param name="pattern" type="text" value="(AUG)" label="Regular expression pattern">
+      <expand macro="regex_sanitizer"/>
+    </param>
   </inputs>
   <outputs>
     <data name="out_file1" format="dreg" />
   </outputs>
-  <!-- tests not possible since dreg timestamps output file -->
+  <tests>
+    <test>
+      <param name="input1" ftype="fasta" value="2.fasta"/>
+      <param name="pattern" value="g[atcg]ctct{2,2}gcc"/>
+      <output name="out_file1" value="dreg.seqtable" lines_diff="8"/>
+    </test>
+  </tests>
   <help>
     You can view the original documentation here_.