Repository 'shovill'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/shovill

Changeset 5:8d1af5db538d (2020-06-28)
Previous changeset 4:d9f6a00b6db7 (2019-08-25) Next changeset 6:83ead2be47b2 (2020-07-02)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shovill commit da99aa8018e36c84fc4cbd7c73923fc710b3b31a"
modified:
shovill.xml
b
diff -r d9f6a00b6db7 -r 8d1af5db538d shovill.xml
--- a/shovill.xml Sun Aug 25 05:14:31 2019 -0400
+++ b/shovill.xml Sun Jun 28 04:16:16 2020 -0400
b
@@ -1,4 +1,4 @@
-<tool id="shovill" name="Shovill" version="@TOOL_VERSION@+galaxy0">
+<tool id="shovill" name="Shovill" version="@TOOL_VERSION@+galaxy1">
     <description>Faster SPAdes assembly of Illumina reads</description>
     <macros>
         <token name="@TOOL_VERSION@">1.0.4</token>
@@ -19,6 +19,13 @@
             ln -s '$library.input1.forward' fastq_r1.'$r1_ext' &&
             ln -s '$library.input1.reverse' fastq_r2.'$r2_ext' &&
         #end if
+
+ ## Sets the memory used by Shovill according to the following conditions
+ ## (1) If SHOVILL_RAM is already set, use this value
+ ## (2) Otherwise, set based on GALAXY_MEMORY_MB
+ ## (3) Or default to 4 GB if GALAXY_MEMORY_MB is unset
+ GALAXY_MEMORY_GB=\$((\${GALAXY_MEMORY_MB:-4096}/1024)) &&
+ SHOVILL_RAM=\${SHOVILL_RAM:-\${GALAXY_MEMORY_GB}} &&
         
         shovill
             --outdir 'out'