# HG changeset patch # User iuc # Date 1593332176 14400 # Node ID 8d1af5db538dbc901af3da0b26fe9b84e2932df7 # Parent d9f6a00b6db7e978506d8d2e64cd22d672d614c1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shovill commit da99aa8018e36c84fc4cbd7c73923fc710b3b31a" 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 @@ -1,4 +1,4 @@ - + Faster SPAdes assembly of Illumina reads 1.0.4 @@ -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'