diff staramr_search.xml @ 1:3801ea82c888 draft

planemo upload for repository https://github.com/phac-nml/staramr commit 1b3cd6d32c357a59fa437e29ede4a6c1e78427f8
author nml
date Mon, 18 Jun 2018 18:08:22 -0400
parents fef5aff062c7
children 0cf6774c0da6
line wrap: on
line diff
--- a/staramr_search.xml	Wed Jun 06 14:20:58 2018 -0400
+++ b/staramr_search.xml	Mon Jun 18 18:08:22 2018 -0400
@@ -4,9 +4,11 @@
         <requirement type="package" version="0.2.0">staramr</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
+        #import re
+
         #set $named_genomes = ''
         #for $genome in $genomes
-            #set $_named_genome = '"{}.fasta"'.format($genome.element_identifier)
+            #set $_named_genome = re.sub(r'(\s|\(|\))', '_', '"{}.fasta"'.format($genome.element_identifier))
             ln -s "$genome" $_named_genome &&
             #set $named_genomes = $named_genomes + ' ' + $_named_genome
         #end for
@@ -109,6 +111,12 @@
 
             <output name="summary" file="test3-summary.tsv" ftype="tabular" />
         </test>
+        <test>
+            <param name="genomes" value="16S rc_gyrA rc_beta-lactam spaces (extra:characters).fsa" />
+            <param name="pid_threshold" value="99.8" />
+
+            <output name="summary" file="test4-summary.tsv" ftype="tabular" />
+        </test>
     </tests>
     <help><![CDATA[
 staramr