Mercurial > repos > recetox > aplcms_unsupervised
changeset 1:bcc9f27fea2b draft
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/aplcms commit 903de3d3bbc57ae9897fa4eea3636e27f67cbdb3"
author | recetox |
---|---|
date | Tue, 26 Jan 2021 17:10:34 +0000 |
parents | 7c80b743a2db |
children | 8c6dbef97001 |
files | aplcms_macros.xml aplcms_unsupervised.xml |
diffstat | 2 files changed, 11 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/aplcms_macros.xml Sun Oct 18 10:35:33 2020 +0000 +++ b/aplcms_macros.xml Tue Jan 26 17:10:34 2021 +0000 @@ -3,7 +3,7 @@ <xml name="requirements"> <requirements> - <container type="docker">recetox/aplcms:6.6.6-recetox1</container> + <container type="docker">recetox/aplcms:6.6.6-recetox2</container> </requirements> </xml>
--- a/aplcms_unsupervised.xml Sun Oct 18 10:35:33 2020 +0000 +++ b/aplcms_unsupervised.xml Tue Jan 26 17:10:34 2021 +0000 @@ -1,4 +1,4 @@ -<tool id="aplcms_unsupervised" name="apLCMS - Unsupervised" version="@TOOL_VERSION@+galaxy1"> +<tool id="aplcms_unsupervised" name="apLCMS - Unsupervised" version="@TOOL_VERSION@+galaxy2"> <macros> <import>aplcms_macros.xml</import> </macros> @@ -6,11 +6,11 @@ <expand macro="requirements" /> <command detect_errors="aggressive"><![CDATA[ - #set file_str = str('", "').join([str($f) for $f in $files]) + #set file_str = str("', '").join([str($f) for $f in $files]) Rscript - -e 'x <- apLCMS::unsupervised( - files = c("$file_str"), + -e "x <- apLCMS::unsupervised( + files = c('$file_str'), min_exp = $noise_filtering.min_exp, min_pres = $noise_filtering.min_pres, min_run = $noise_filtering.min_run, @@ -18,9 +18,9 @@ baseline_correct = $noise_filtering.baseline_correct, baseline_correct_noise_percentile = $noise_filtering.baseline_correct_noise_percentile, intensity_weighted = $noise_filtering.intensity_weighted, - shape_model = "$feature_detection.shape_model", + shape_model = '$feature_detection.shape_model', BIC_factor = $feature_detection.BIC_factor, - peak_estim_method = "$feature_detection.peak_estim_method", + peak_estim_method = '$feature_detection.peak_estim_method', min_bandwidth = $feature_detection.min_bandwidth, max_bandwidth = $feature_detection.max_bandwidth, sd_cut = c($feature_detection.sd_cut_min, $feature_detection.sd_cut_max), @@ -33,9 +33,10 @@ recover_mz_range = $weak_signal_recovery.recover_mz_range, recover_chr_range = $weak_signal_recovery.recover_chr_range, use_observed_range = $weak_signal_recovery.use_observed_range, - recover_min_count = $weak_signal_recovery.recover_min_count - )' - -e 'apLCMS::save_peaks_to_hdf("$peaks", x)' + recover_min_count = $weak_signal_recovery.recover_min_count, + cluster = as.integer(\${GALAXY_SLOTS:-1}) + )" + -e "apLCMS::save_peaks_to_hdf('$peaks', x)" ]]></command> <expand macro="inputs">