Repository 'socru'
hg clone https://toolshed.g2.bx.psu.edu/repos/thanhlv/socru

Changeset 5:602f0fe854a3 (2019-05-23)
Previous changeset 4:bf0efbba5e8d (2019-05-17) Next changeset 6:a6d085138f56 (2019-06-14)
Commit message:
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/socru commit bba783a0821434deae678830e7e07c947cbe6b8e-dirty
modified:
socru.xml
b
diff -r bf0efbba5e8d -r 602f0fe854a3 socru.xml
--- a/socru.xml Fri May 17 11:19:28 2019 -0400
+++ b/socru.xml Thu May 23 04:59:27 2019 -0400
[
@@ -6,10 +6,12 @@
     <expand macro="requirements" />
     <expand macro="version_command" />
     <command detect_errors="exit_code"><![CDATA[
-
-        #set $_input_file = "'{}'".format($assembly.element_identifier)
-        ln -s '${assembly}' ${_input_file} &&
-
+        #import re
+        #import os.path
+        
+        #set $_input_file = re.sub(r'(\s|\(|\)|:|!)', '_', str($assembly.element_identifier))
+        ln -s '${assembly}' $_input_file && 
+        
         socru 
 
         --threads \${GALAXY_SLOTS:-4}
@@ -21,7 +23,7 @@
         #end if
         
         #if $opt_args.not_circular
-            --not_circular
+            $opt_args.not_circular
         #end if
 
         --min_bit_score $opt_args.min_bit_score
@@ -35,7 +37,7 @@
     ]]></command>
     
     <inputs>
-        <param name="assembly" type="data" format="fasta" label="Select fasta dataset" help=""/>
+        <param name="assembly" type="data" format="fasta,fasta.gz" label="Select fasta dataset" help=""/>
         <param name="species" type="select" label="Select a species" >
             <option value="Acetobacter_ascendens">Acetobacter_ascendens</option>
             <option value="Acetobacter_pasteurianus">Acetobacter_pasteurianus</option>