annotate matchms_subsetting.xml @ 4:aa2e912f9dc2 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 0ea5c86ceabe9f24dd61b399127b0d19a0ae2657
author recetox
date Fri, 01 Dec 2023 11:17:01 +0000
parents 425bbdd2209b
children 584b408a453d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
aa2e912f9dc2 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 0ea5c86ceabe9f24dd61b399127b0d19a0ae2657
recetox
parents: 3
diff changeset
1 <tool id="matchms_subsetting" name="matchms subsetting" version="@TOOL_VERSION@+galaxy3" profile="21.09">
0
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
2 <description>Extract spectra from a library given unique metadata identifier</description>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
3
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
4 <macros>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
5 <import>macros.xml</import>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
6 <import>help.xml</import>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
7 </macros>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
8
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
9 <expand macro="creator"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
10
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
11 <edam_operations>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
12 <edam_operation>operation_2409</edam_operation>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
13 </edam_operations>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
14 <expand macro="bio.tools"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
15
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
16 <requirements>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
17 <requirement type="package" version="@TOOL_VERSION@">matchms</requirement>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
18 </requirements>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
19
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
20 <command detect_errors='aggressive'><![CDATA[
2
d2996f624507 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit ed583a475c54aa862cf7628edd232305e8582df3
recetox
parents: 0
diff changeset
21 python3 '${matchms_python_cli}'
0
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
22 ]]></command>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
23
3
425bbdd2209b planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit ad718c989f31829edc89e039e56644a95dab6791
recetox
parents: 2
diff changeset
24 <environment_variables>
4
aa2e912f9dc2 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 0ea5c86ceabe9f24dd61b399127b0d19a0ae2657
recetox
parents: 3
diff changeset
25 <environment_variable name="OPENBLAS_NUM_THREADS">4</environment_variable>
3
425bbdd2209b planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit ad718c989f31829edc89e039e56644a95dab6791
recetox
parents: 2
diff changeset
26 </environment_variables>
425bbdd2209b planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit ad718c989f31829edc89e039e56644a95dab6791
recetox
parents: 2
diff changeset
27
0
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
28 <configfiles>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
29 <configfile name="matchms_python_cli">
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
30 import pandas
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
31 import matchms
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
32 import numpy as np
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
33
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
34 matchms.set_matchms_logger_level('ERROR')
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
35 matchms.Metadata.set_key_replacements({})
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
36
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
37 spectra = list(matchms.importing.load_from_msp('${spectral_library}', False))
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
38
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
39 if "$list_of_identifiers.ext" == "csv":
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
40 identifiers_table = pandas.read_csv('${list_of_identifiers}', dtype=object)
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
41 else:
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
42 identifiers_table = pandas.read_csv('${list_of_identifiers}', dtype=object, sep='\t')
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
43
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
44 identifiers_table.columns = map(str.lower, identifiers_table.columns)
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
45
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
46 spectra_arr = np.asarray(spectra, dtype=object)
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
47
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
48 def filter_spectra(spectra, identifiers, mode):
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
49 identifier_column = identifiers.columns[0]
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
50
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
51 indices = []
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
52 for i, spectrum in enumerate(spectra):
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
53 if spectrum.get(identifier_column) in identifiers.values:
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
54 indices.append(i)
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
55
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
56 if mode == "include":
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
57 spectra_filtered = spectra[indices]
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
58 else:
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
59 spectra_filtered = np.delete(spectra, indices)
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
60
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
61 return spectra_filtered
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
62
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
63 filtered_spectra = filter_spectra(spectra_arr, identifiers_table, "${mode}")
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
64
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
65 matchms.exporting.save_as_msp(filtered_spectra.tolist(), '${output}')
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
66 </configfile>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
67 </configfiles>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
68
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
69 <inputs>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
70 <param label="Spectra file" name="spectral_library" type="data" format="msp"
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
71 help="Mass spectral library file." />
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
72 <param label="Select mode" name="mode" type="select"
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
73 help="Include/Exclude the spectra matching the identifiers in the file. The default is include.">
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
74 <option value="include" selected="true">include</option>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
75 <option value="exclude">exclude</option>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
76 </param>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
77 <param label="list of identifiers" name="list_of_identifiers" type="data" format="csv,tsv,tabular"
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
78 help="file containing list of identifiers in tsv or csv." />
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
79
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
80 </inputs>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
81
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
82 <outputs>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
83 <data label="${tool.name} on ${on_string}" name="output" format="msp">
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
84 </data>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
85 </outputs>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
86
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
87 <tests>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
88 <test>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
89 <param name="spectral_library" value="out_matchms_add_key.msp" ftype="msp"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
90 <param name="mode" value="include"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
91 <param name="list_of_identifiers" value="subsetting/identifier.csv" ftype="csv"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
92 <output name="output" file="subsetting/subsetting_output.msp" ftype="msp"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
93 </test>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
94 <test>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
95 <param name="spectral_library" value="out_matchms_add_key.msp" ftype="msp"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
96 <param name="mode" value="exclude"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
97 <param name="list_of_identifiers" value="subsetting/identifier.csv" ftype="csv"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
98 <output name="output" file="subsetting/subsetting_output2.msp" ftype="msp"/>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
99 </test>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
100 </tests>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
101
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
102 <help>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
103 **Description**
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
104 The tool takes an msp file and a csv/tsv file containing list of identifier and
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
105 extract spectra from a library based on the provided list of identifiers.
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
106 </help>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
107
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
108 <citations>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
109 <citation type="doi">https://doi.org/10.5281/zenodo.8083373</citation>
2b61ec493df6 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff changeset
110 </citations>
3
425bbdd2209b planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit ad718c989f31829edc89e039e56644a95dab6791
recetox
parents: 2
diff changeset
111 </tool>