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

Changeset 2:03fd468e158f (2021-01-07)
Previous changeset 1:9e58ff014088 (2017-03-28) Next changeset 3:a8a278849c18 (2021-03-19)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rnaspades commit b7a410ba698811d0b903b3c72191ae6564bf5a8c"
modified:
rnaspades.xml
b
diff -r 9e58ff014088 -r 03fd468e158f rnaspades.xml
--- a/rnaspades.xml Tue Mar 28 10:53:20 2017 -0400
+++ b/rnaspades.xml Thu Jan 07 17:50:06 2021 +0000
[
@@ -8,10 +8,15 @@
     </stdio>
     <command>
         <![CDATA[
+
+        if [[ -n \$GALAXY_MEMORY_MB ]]; then
+            GALAXY_MEMORY_GB=\$(( GALAXY_MEMORY_MB / 1024 ));
+        fi &&
+
         rnaspades.py -o .
         ## Forces unzipped output, faster
         --disable-gzip-output
-        $draft $onlyassembler -t \${GALAXY_SLOTS:-4} $iontorrent -k $kmer
+        $draft $onlyassembler -t \${GALAXY_SLOTS:-4} -m \${GALAXY_MEMORY_GB:-250} $iontorrent -k $kmer
         ## Sequence files, libraries
         #for $i, $library in enumerate( $libraries, start=1 ):
             #if str( $library.lib_type ) == "paired_end":