Mercurial > repos > recetox > recetox_aplcms_unsupervised
annotate recetox_aplcms_unsupervised.xml @ 4:1b9140057e5a draft
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
author | recetox |
---|---|
date | Fri, 18 Jun 2021 13:53:19 +0000 |
parents | |
children | d06ec5e6721c |
rev | line source |
---|---|
4
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
1 <tool id="recetox_aplcms_unsupervised" name="apLCMS Unsupervised" version="@TOOL_VERSION@+galaxy0"> |
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 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
7 <expand macro="requirements" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
8 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
9 <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
|
10 sh ${symlink_inputs} && |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
11 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
|
12 ]]></command> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
13 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
14 <configfiles> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
15 <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
|
16 #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
|
17 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
|
18 #end for |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
19 </configfile> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
20 <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
|
21 #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
|
22 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
23 unsupervised_main( |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
24 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
|
25 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
|
26 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
|
27 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
|
28 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
|
29 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
|
30 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
|
31 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
|
32 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
|
33 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
|
34 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
|
35 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
|
36 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
|
37 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
|
38 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
|
39 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
|
40 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
|
41 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
|
42 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
|
43 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
|
44 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
|
45 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
|
46 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
|
47 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
|
48 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
|
49 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
|
50 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
|
51 ) |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
52 ]]></configfile> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
53 </configfiles> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
54 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
55 <expand macro="inputs"> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
56 <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
|
57 <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
|
58 <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
|
59 <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
|
60 </expand> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
61 |
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 <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
|
64 </outputs> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
65 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
66 <tests> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
67 <test> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
68 <param name="files" value="mbr_test0.mzml,mbr_test1.mzml,mbr_test2.mzml" ftype="mzml" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
69 <output name="recovered_feature_sample_table" file="unsupervised_recovered_feature_sample_table.parquet" ftype="parquet" compare="sim_size" delta="1000" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
70 </test> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
71 </tests> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
72 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
73 <help> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
74 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
|
75 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
|
76 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
77 @GENERAL_HELP@ |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
78 </help> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
79 |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
80 <expand macro="citations" /> |
1b9140057e5a
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff
changeset
|
81 </tool> |