annotate aplcms_unsupervised.xml @ 2:8c6dbef97001 draft

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