Mercurial > repos > recetox > recetox_aplcms_unsupervised
annotate recetox_aplcms_unsupervised.xml @ 9:b18c2d014b28 draft
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 536b9620a22f25b2d2a909b6ec6b3681b2ec3970"
author | recetox |
---|---|
date | Tue, 05 Oct 2021 13:12:50 +0000 |
parents | 6925295ae5c3 |
children | 6057540f65a9 |
rev | line source |
---|---|
8
6925295ae5c3
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 7b649938402c30227d8252d63e89a72f2f6fb628"
recetox
parents:
7
diff
changeset
|
1 <tool id="recetox_aplcms_unsupervised" name="RECETOX apLCMS Unsupervised" version="@TOOL_VERSION@+galaxy1"> |
4
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
2 <description>generate a feature table from LC/MS spectra</description> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
3 <macros> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
4 <import>recetox_aplcms_macros.xml</import> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
5 </macros> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
7 <command detect_errors="aggressive"><![CDATA[ |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
8 sh ${symlink_inputs} && |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
9 Rscript -e 'source("${__tool_directory__}/main.R")' -e 'source("${run_script}")' |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
10 ]]></command> |
8
6925295ae5c3
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 7b649938402c30227d8252d63e89a72f2f6fb628"
recetox
parents:
7
diff
changeset
|
11 <expand macro="creator" /> |
4
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
12 <configfiles> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
13 <configfile name="symlink_inputs"> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
14 #for $infile in $files |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
15 ln -s '${infile}' '${infile.element_identifier}' |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
16 #end for |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
17 </configfile> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
18 <configfile name="run_script"><![CDATA[ |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
19 #set filenames_str = str("', '").join([str($f.element_identifier) for $f in $files]) |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
20 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
21 unsupervised_main( |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
22 sample_files = c('$filenames_str'), |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
23 aligned_file = '${aligned_feature_sample_table}', |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
24 recovered_file = '${recovered_feature_sample_table}', |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
25 min_exp = $noise_filtering.min_exp, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
26 min_pres = $noise_filtering.min_pres, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
27 min_run = $noise_filtering.min_run, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
28 mz_tol = $noise_filtering.mz_tol, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
29 baseline_correct = $noise_filtering.baseline_correct, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
30 baseline_correct_noise_percentile = $noise_filtering.baseline_correct_noise_percentile, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
31 intensity_weighted = $noise_filtering.intensity_weighted, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
32 shape_model = '$feature_detection.shape_model', |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
33 BIC_factor = $feature_detection.BIC_factor, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
34 peak_estim_method = '$feature_detection.peak_estim_method', |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
35 min_bandwidth = $feature_detection.min_bandwidth, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
36 max_bandwidth = $feature_detection.max_bandwidth, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
37 sd_cut = c($feature_detection.sd_cut_min, $feature_detection.sd_cut_max), |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
38 sigma_ratio_lim = c($feature_detection.sigma_ratio_lim_min, $feature_detection.sigma_ratio_lim_max), |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
39 component_eliminate = $feature_detection.component_eliminate, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
40 moment_power = $feature_detection.moment_power, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
41 align_chr_tol = $peak_alignment.align_chr_tol, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
42 align_mz_tol = $peak_alignment.align_mz_tol, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
43 max_align_mz_diff = $peak_alignment.max_align_mz_diff, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
44 recover_mz_range = $weak_signal_recovery.recover_mz_range, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
45 recover_chr_range = $weak_signal_recovery.recover_chr_range, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
46 use_observed_range = $weak_signal_recovery.use_observed_range, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
47 recover_min_count = $weak_signal_recovery.recover_min_count, |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
48 cluster = as.integer(Sys.getenv('GALAXY_SLOTS', unset = 1)) |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
49 ) |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
50 ]]></configfile> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
51 </configfiles> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
52 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
53 <expand macro="inputs"> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
54 <expand macro="noise_filtering" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
55 <expand macro="feature_detection" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
56 <expand macro="peak_alignment" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
57 <expand macro="weak_signal_recovery" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
58 </expand> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
59 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
60 <outputs> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
61 <expand macro="unsupervised_outputs" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
62 </outputs> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
63 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
64 <tests> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
65 <test> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
66 <param name="files" value="mbr_test0.mzml,mbr_test1.mzml,mbr_test2.mzml" ftype="mzml" /> |
9
b18c2d014b28
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 536b9620a22f25b2d2a909b6ec6b3681b2ec3970"
recetox
parents:
8
diff
changeset
|
67 <output name="recovered_feature_sample_table" file="unsupervised_recovered_feature_sample_table.parquet" ftype="parquet"/> |
4
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
68 </test> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
69 </tests> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
70 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
71 <help> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
72 This is the Unsupervised version of apLCMS which is not relying on any existing knowledge about metabolites or |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
73 any historically detected features. For such functionality please use the Hybrid version of apLCMS. |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
74 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
75 @GENERAL_HELP@ |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
76 </help> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
77 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
78 <expand macro="citations" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
79 </tool> |