changeset 4:a85b9670051c draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit ce3d81b59ef0895b61fcb1e17fa1553ccb28b077
author recetox
date Wed, 03 May 2023 15:18:57 +0000
parents 1e2a13bcb5a7
children c44c73efd6e5
files recetox_aplcms_align_features.xml
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/recetox_aplcms_align_features.xml	Mon Apr 03 14:58:01 2023 +0000
+++ b/recetox_aplcms_align_features.xml	Wed May 03 15:18:57 2023 +0000
@@ -8,7 +8,7 @@
     <expand macro="requirements"/>
 
     <command detect_errors="aggressive"><![CDATA[
-        Rscript -e 'source("${__tool_directory__}/utils.R")' -e 'source("${run_script}")'
+        Rscript -e "cluster <- \${GALAXY_SLOTS:-1}" -e 'source("${__tool_directory__}/utils.R")' -e 'source("${run_script}")' 
     ]]></command>
     <configfiles>
         <configfile name="run_script"><![CDATA[
@@ -29,7 +29,8 @@
                   min_occurrence = $min_occurrence,
                   sample_names = sample_names,
                   mz_tol_relative = get_mz_tol(tolerances),
-                  rt_tol_relative = get_rt_tol(tolerances)
+                  rt_tol_relative = get_rt_tol(tolerances),
+                  cluster = cluster
              )
 
              save_aligned_features(aligned_features, '$metadata_file', '$rt_file', '$intensity_file')