diff emboss_preg.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_preg.xml	Mon Dec 02 21:13:50 2019 -0500
+++ b/emboss_preg.xml	Fri Nov 20 16:51:11 2020 +0000
@@ -1,4 +1,4 @@
-<tool id="EMBOSS: preg78" name="preg" version="@VERSION@">
+<tool id="EMBOSS: preg78" name="preg" version="@VERSION@+galaxy1">
   <description>Regular expression search of a protein sequence</description>
   <macros>
     <import>macros.xml</import>
@@ -7,11 +7,20 @@
   <command>preg -sequence '$input1' -outfile '$out_file1' -pattern '$pattern' -auto</command>
   <inputs>
     <param name="input1" type="data" format="data" label="Sequence" />
-    <param name="pattern" type="text" value="(ACD)" label="Regular expression pattern" />
+    <param name="pattern" type="text" value="(ACD)" label="Regular expression pattern">
+      <expand macro="regex_sanitizer"/>
+    </param>
   </inputs>
   <outputs>
     <data name="out_file1" format="preg" />
   </outputs>
+  <tests>
+    <test>
+      <param name="input1" ftype="fasta" value="2.pep"/>
+      <param name="pattern" value="AS-?L"/>
+      <output name="out_file1" value="preg.seqtable" lines_diff="8"/>
+    </test>
+  </tests>
   <help>
     You can view the original documentation here_.