annotate recetox_aplcms_unsupervised.xml @ 11:e0f77e03599e draft

"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
author recetox
date Fri, 28 Jan 2022 16:26:05 +0000
parents 6057540f65a9
children 6eeeebc35909
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
6057540f65a9 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 46f606d8d234807e603b55eb2791f76663b551ee"
recetox
parents: 9
diff changeset
1 <tool id="recetox_aplcms_unsupervised" name="RECETOX apLCMS Unsupervised" version="@TOOL_VERSION@+galaxy2">
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>
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
4 <import>macros.xml</import>
4
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
5 </macros>
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
6 <expand macro="creator"/>
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
7
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
8 <expand macro="requirements"/>
4
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 <configfiles>
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
14 <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
15 #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
16 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
17 #end for
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
18 </configfile>
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
19 <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
20 #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
21
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
22 unsupervised_main(
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
23 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
24 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
25 recovered_file = '${recovered_feature_sample_table}',
10
6057540f65a9 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 46f606d8d234807e603b55eb2791f76663b551ee"
recetox
parents: 9
diff changeset
26 out_format = '$output_format.out_format',
4
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">
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
56 <expand macro="noise_filtering"/>
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
57 <expand macro="feature_detection"/>
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
58 <expand macro="peak_alignment"/>
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
59 <expand macro="weak_signal_recovery"/>
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
60 <expand macro="output_format"/>
4
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
61 </expand>
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
62
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
63 <outputs>
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
64 <expand macro="unsupervised_outputs"/>
4
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
65 </outputs>
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
66
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
67 <tests>
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
68 <test>
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
69 <param name="files" value="mbr_test0.mzml,mbr_test1.mzml,mbr_test2.mzml" ftype="mzml"/>
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
70 <output name="recovered_feature_sample_table" file="unsupervised_recovered_feature_sample_table.parquet"
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
71 ftype="parquet"/>
4
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
72 </test>
10
6057540f65a9 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 46f606d8d234807e603b55eb2791f76663b551ee"
recetox
parents: 9
diff changeset
73 <test>
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
74 <param name="files" value="mbr_test0.mzml,mbr_test1.mzml,mbr_test2.mzml" ftype="mzml"/>
10
6057540f65a9 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 46f606d8d234807e603b55eb2791f76663b551ee"
recetox
parents: 9
diff changeset
75 <section name="output_format">
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
76 <param name="out_format" value="recetox"/>
10
6057540f65a9 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 46f606d8d234807e603b55eb2791f76663b551ee"
recetox
parents: 9
diff changeset
77 </section>
6057540f65a9 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 46f606d8d234807e603b55eb2791f76663b551ee"
recetox
parents: 9
diff changeset
78 <output name="recovered_feature_sample_table" file="unsupervised.recetox.parquet" ftype="parquet"/>
6057540f65a9 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 46f606d8d234807e603b55eb2791f76663b551ee"
recetox
parents: 9
diff changeset
79 </test>
4
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
80 </tests>
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
81
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
82 <help>
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
83 <![CDATA[
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
84 @HELP_unsupervised@
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
85 ]]>
4
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
86 </help>
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
87
11
e0f77e03599e "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
recetox
parents: 10
diff changeset
88 <expand macro="citations"/>
4
1b9140057e5a "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit accce68183c78552905b4446a8cab581911275ef"
recetox
parents:
diff changeset
89 </tool>