annotate matchms_filtering.xml @ 0:6303b43e29cb draft

"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
author recetox
date Mon, 24 Jan 2022 11:15:00 +0000
parents
children 2f9c19fa4346
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
1 <tool id="matchms_filtering" name="matchMS filtering" version="0.11.0+galaxy0">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
2 <description>filter and normalize mass spectrometry data</description>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
3 <requirements>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
4 <requirement type="package" version="0.11.0">matchms</requirement>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
5 <requirement type="package" version="1.1.4">pandas</requirement>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
6 </requirements>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
7
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
8 <environment_variables>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
9 <environment_variable name="MPLCONFIGDIR">\$_GALAXY_JOB_TMP_DIR</environment_variable>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
10 </environment_variables>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
11
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
13 sh ${matchms_python_cli}
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
14 ]]> </command>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
15
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
16 <configfiles>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
17 <configfile name="matchms_python_cli">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
18 python3 ${__tool_directory__}/matchms_filtering_wrapper.py \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
19 --spectra "$spectra" \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
20 --spectra_format "$spectra.ext" \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
21 #if $normalise_intensities.is_true
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
22 -normalise_intensities \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
23 #end if
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
24 #if $default_filters.is_true
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
25 -default_filters \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
26 #end if
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
27 #if $clean_metadata.is_true
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
28 -clean_metadata \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
29 #end if
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
30 #if $relative_intensity.is_true
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
31 -relative_intensity \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
32 --from_intensity "$relative_intensity.from_intensity" \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
33 --to_intensity "$relative_intensity.to_intensity" \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
34 #end if
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
35 #if $mz_range.is_true
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
36 -mz_range \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
37 --from_mz "$mz_range.from_mz" \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
38 --to_mz "$mz_range.to_mz" \
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
39 #end if
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
40 --output "$output"
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
41 </configfile>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
42 </configfiles>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
43
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
44 <inputs>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
45 <param label="Spectra file" name="spectra" type="data" format="msp,mgf" help="Mass spectra file to be filtered." />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
46
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
47 <conditional name="normalise_intensities">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
48 <param name="is_true" label="Normalize intensities" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="false"
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
49 help="Normalize intensities of peaks (and losses) to unit height."/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
50 </conditional>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
51
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
52 <conditional name="default_filters">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
53 <param name="is_true" label="Apply default filters" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="false"
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
54 help="Collection of filters that are considered default and that do no require any (factory) arguments."/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
55 </conditional>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
56
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
57 <conditional name="clean_metadata">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
58 <param name="is_true" label="Clean metadata" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="false"
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
59 help="Apply all adding and cleaning filters if possible, so that the spectra have canonical metadata." />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
60 </conditional>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
61
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
62 <conditional name="relative_intensity">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
63 <param name="is_true" label="Filter relative intensity" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="false"
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
64 help="Keep only peaks within set relative intensity range (keep if maximum >= intensity >= minimum)." />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
65 <when value="TRUE">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
66 <param label="Minimum intensity" name="from_intensity" optional="true" type="float" help="Lower bound for intensity filter." />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
67 <param label="Maximum intensity" name="to_intensity" optional="true" type="float" help="Upper bound for intensity filter." />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
68 </when>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
69 </conditional>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
70
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
71 <conditional name="mz_range">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
72 <param name="is_true" label="Filter m/z range" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="false"
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
73 help="Keep only peaks between set m/z range (keep if maximum >= m/z >= minimum)." />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
74 <when value="TRUE">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
75 <param label="Minimum m/z" name="from_mz" optional="true" type="float" help="Lower bound for m/z filter." />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
76 <param label="Maximum m/z" name="to_mz" optional="true" type="float" help="Upper bound for m/z filter." />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
77 </when>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
78 </conditional>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
79
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
80 </inputs>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
81
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
82 <outputs>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
83 <data label="${tool.name} on ${on_string}" name="output" format_source="spectra" />
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
84 </outputs>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
85
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
86 <tests>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
87 <test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
88 <param name="spectra" value="filtering/input.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
89 <section name="normalise_intensities">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
90 <param name="is_true" value="TRUE"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
91 </section>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
92 <output name="output" file="filtering/normalise_intensities.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
93 </test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
94 <test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
95 <param name="spectra" value="filtering/input.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
96 <section name="default_filters">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
97 <param name="is_true" value="TRUE"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
98 </section>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
99 <output name="output" file="filtering/default_filters.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
100 </test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
101 <test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
102 <param name="spectra" value="filtering/input.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
103 <section name="clean_metadata">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
104 <param name="is_true" value="TRUE"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
105 </section>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
106 <output name="output" file="filtering/clean_metadata.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
107 </test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
108 <test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
109 <param name="spectra" value="filtering/input.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
110 <section name="normalise_intensities">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
111 <param name="is_true" value="TRUE"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
112 </section>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
113 <section name="relative_intensity">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
114 <param name="is_true" value="TRUE"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
115 <param name="from_intensity" value="0.3"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
116 <param name="to_intensity" value="0.9"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
117 </section>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
118 <output name="output" file="filtering/relative_intensity.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
119 </test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
120 <test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
121 <param name="spectra" value="filtering/input.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
122 <section name="mz_range">
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
123 <param name="is_true" value="TRUE"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
124 <param name="from_mz" value="300"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
125 <param name="to_mz" value="800"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
126 </section>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
127 <output name="output" file="filtering/mz_range.msp" ftype="msp"/>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
128 </test>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
129 </tests>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
130
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
131 <help><![CDATA[
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
132 Documentation
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
133 For documentation on the tool see https://github.com/matchms/matchms/blob/master/README.rst and https://matchms.readthedocs.io/en/latest/.
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
134
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
135 Upstream Tools
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
136 +-----------+---------------+--------+-----------+
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
137 | Name | Output File | Format | Parameter |
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
138 +===========+===============+========+===========+
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
139 | RAMClustR | Mass spectra | msp | references|
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
140 +-----------+---------------+--------+-----------+
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
141 | RAMClustR | Mass spectra | msp | queries |
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
142 +-----------+---------------+--------+-----------+
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
143
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
144 Downstream Tools
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
145 The output is an msp file after applying the specified filters.
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
146 ]]></help>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
147
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
148
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
149 <citations>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
150 <citation type="doi">10.5281/zenodo.4589154</citation>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
151 <citation type="doi">10.21105/joss.02411</citation>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
152 </citations>
6303b43e29cb "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 46191b39a711f92418f1d412065bbb3648dbf42d"
recetox
parents:
diff changeset
153 </tool>