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

Changeset 1:a7ccd6b0788e (2019-02-07)
Previous changeset 0:fcb4d9f67e75 (2019-02-07) Next changeset 2:435f1b59e064 (2019-02-08)
Commit message:
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/socru commit 1024f378b83203ab9c365a7d386981ad257ce1d1-dirty
modified:
socru.xml
b
diff -r fcb4d9f67e75 -r a7ccd6b0788e socru.xml
--- a/socru.xml Thu Feb 07 12:21:46 2019 -0500
+++ b/socru.xml Thu Feb 07 16:43:41 2019 -0500
[
@@ -6,6 +6,10 @@
     <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} &&
+
         socru 
 
         --threads \${GALAXY_SLOTS:-4}
@@ -13,7 +17,7 @@
         --top_blast_hits top_blast_hits.tsv
         
         #if str($opt_args.max_bases_from_ends) != ""
-            --max_bases_from_ends $max_bases_from_ends
+            --max_bases_from_ends $$opt_args.max_bases_from_ends
         #end if
         
         --not_circular $opt_args.not_circular
@@ -23,7 +27,7 @@
         #if $opt_args.verbose
             $opt_args.verbose
         #end if
-        $species $assembly
+        $species ${_input_file}
         > $output
     ]]></command>