Mercurial > repos > recetox > aplcms_unsupervised
comparison aplcms_unsupervised.xml @ 0:7c80b743a2db draft
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/aplcms commit ecdfe141b4320e754cc9f3673cc33b7673441ed8"
| author | recetox |
|---|---|
| date | Sun, 18 Oct 2020 10:35:33 +0000 |
| parents | |
| children | bcc9f27fea2b |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:7c80b743a2db |
|---|---|
| 1 <tool id="aplcms_unsupervised" name="apLCMS - Unsupervised" version="@TOOL_VERSION@+galaxy1"> | |
| 2 <macros> | |
| 3 <import>aplcms_macros.xml</import> | |
| 4 </macros> | |
| 5 | |
| 6 <expand macro="requirements" /> | |
| 7 | |
| 8 <command detect_errors="aggressive"><![CDATA[ | |
| 9 #set file_str = str('", "').join([str($f) for $f in $files]) | |
| 10 | |
| 11 Rscript | |
| 12 -e 'x <- apLCMS::unsupervised( | |
| 13 files = c("$file_str"), | |
| 14 min_exp = $noise_filtering.min_exp, | |
| 15 min_pres = $noise_filtering.min_pres, | |
| 16 min_run = $noise_filtering.min_run, | |
| 17 mz_tol = $noise_filtering.mz_tol, | |
| 18 baseline_correct = $noise_filtering.baseline_correct, | |
| 19 baseline_correct_noise_percentile = $noise_filtering.baseline_correct_noise_percentile, | |
| 20 intensity_weighted = $noise_filtering.intensity_weighted, | |
| 21 shape_model = "$feature_detection.shape_model", | |
| 22 BIC_factor = $feature_detection.BIC_factor, | |
| 23 peak_estim_method = "$feature_detection.peak_estim_method", | |
| 24 min_bandwidth = $feature_detection.min_bandwidth, | |
| 25 max_bandwidth = $feature_detection.max_bandwidth, | |
| 26 sd_cut = c($feature_detection.sd_cut_min, $feature_detection.sd_cut_max), | |
| 27 sigma_ratio_lim = c($feature_detection.sigma_ratio_lim_min, $feature_detection.sigma_ratio_lim_max), | |
| 28 component_eliminate = $feature_detection.component_eliminate, | |
| 29 moment_power = $feature_detection.moment_power, | |
| 30 align_chr_tol = $peak_alignment.align_chr_tol, | |
| 31 align_mz_tol = $peak_alignment.align_mz_tol, | |
| 32 max_align_mz_diff = $peak_alignment.max_align_mz_diff, | |
| 33 recover_mz_range = $weak_signal_recovery.recover_mz_range, | |
| 34 recover_chr_range = $weak_signal_recovery.recover_chr_range, | |
| 35 use_observed_range = $weak_signal_recovery.use_observed_range, | |
| 36 recover_min_count = $weak_signal_recovery.recover_min_count | |
| 37 )' | |
| 38 -e 'apLCMS::save_peaks_to_hdf("$peaks", x)' | |
| 39 ]]></command> | |
| 40 | |
| 41 <expand macro="inputs"> | |
| 42 <expand macro="noise_filtering" /> | |
| 43 <expand macro="feature_detection" /> | |
| 44 <expand macro="peak_alignment" /> | |
| 45 <expand macro="weak_signal_recovery" /> | |
| 46 </expand> | |
| 47 | |
| 48 <outputs> | |
| 49 <data name="peaks" format="h5" /> | |
| 50 </outputs> | |
| 51 | |
| 52 <tests> | |
| 53 <test> | |
| 54 <param name="files" value="mbr_test0.mzml,mbr_test1.mzml,mbr_test2.mzml" ftype="mzml"/> | |
| 55 <output name="peaks" file="peaks_unsupervised.h5" ftype="h5" compare="sim_size" delta="1000"/> | |
| 56 </test> | |
| 57 </tests> | |
| 58 | |
| 59 <help> | |
| 60 This is the Unsupervised version of apLCMS which is not relying on any existing knowledge about metabolites or | |
| 61 any historically detected features. For such functionality please use the Hybrid version of apLCMS. | |
| 62 | |
| 63 @GENERAL_HELP@ | |
| 64 </help> | |
| 65 | |
| 66 <expand macro="citations" /> | |
| 67 </tool> |
