Repository 'recetox_aplcms_align_features'
hg clone https://toolshed.g2.bx.psu.edu/repos/recetox/recetox_aplcms_align_features

Changeset 4:a85b9670051c (2023-05-03)
Previous changeset 3:1e2a13bcb5a7 (2023-04-03) Next changeset 5:c44c73efd6e5 (2023-05-24)
Commit message:
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit ce3d81b59ef0895b61fcb1e17fa1553ccb28b077
modified:
recetox_aplcms_align_features.xml
b
diff -r 1e2a13bcb5a7 -r a85b9670051c recetox_aplcms_align_features.xml
--- 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')