Skip to content

Commit

Permalink
spades: set tmp dir (galaxyproject#5949)
Browse files Browse the repository at this point in the history
* spades: set tmp dir

* spades: also use version suffix

like all other `*spades*` tools
  • Loading branch information
bernt-matthias authored Apr 15, 2024
1 parent 5a871a3 commit f53f7f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tools/spades/macros.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<macros>
<token name="@TOOL_VERSION@">3.15.5</token>
<token name="@VERSION_SUFFIX@">1</token>
<token name="@VERSION_SUFFIX@">2</token>
<xml name="requirements">
<requirements>
<requirement type="package" version="@TOOL_VERSION@">spades</requirement>
Expand Down Expand Up @@ -148,6 +148,7 @@ export OMP_THREAD_LIMIT=\${GALAXY_SLOTS:-4} &&
<token name="@RESOURCES@"><![CDATA[
-t \${GALAXY_SLOTS:-4}
-m \$((\${GALAXY_MEMORY_MB:-8192}/1024))
--tmp-dir \${TMPDIR}
]]></token>

<token name="@INPUT_READS_MAIN@"><![CDATA[
Expand Down
2 changes: 1 addition & 1 deletion tools/spades/spades.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="spades" name="SPAdes" version="@TOOL_VERSION@+galaxy0" profile="20.01">
<tool id="spades" name="SPAdes" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
<description>genome assembler for genomes of regular and single-cell projects</description>
<macros>
<import>macros.xml</import>
Expand Down

0 comments on commit f53f7f2

Please sign in to comment.