Mercurial > repos > recetox > matchms_subsetting
annotate matchms_subsetting.xml @ 16:6d2f2c565431 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 8db07edd3b0d2ff778036dec410027ad58365488
author | recetox |
---|---|
date | Mon, 15 Jul 2024 07:55:22 +0000 |
parents | c4835715c7ac |
children |
rev | line source |
---|---|
14
c4835715c7ac
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 113433b8b9790405c2c5d054aee4a29a21b77dc7
recetox
parents:
9
diff
changeset
|
1 <tool id="matchms_subsetting" name="matchms subsetting" version="@TOOL_VERSION@+galaxy0" 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> |
5
584b408a453d
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 19994ff091195ec6c7df791985b2a04ed5aba329
recetox
parents:
4
diff
changeset
|
26 <environment_variable name="RLIMIT_NPROC">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
|
27 </environment_variables> |
425bbdd2209b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit ad718c989f31829edc89e039e56644a95dab6791
recetox
parents:
2
diff
changeset
|
28 |
0
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
29 <configfiles> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
30 <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
|
31 import pandas |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
32 import matchms |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
33 import numpy as np |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
34 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
35 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
|
36 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
|
37 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
38 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
|
39 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
40 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
|
41 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
|
42 else: |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
43 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
|
44 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
45 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
|
46 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
47 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
|
48 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
49 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
|
50 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
|
51 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
52 indices = [] |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
53 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
|
54 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
|
55 indices.append(i) |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
56 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
57 if mode == "include": |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
58 spectra_filtered = spectra[indices] |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
59 else: |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
60 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
|
61 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
62 return spectra_filtered |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
63 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
64 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
|
65 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
66 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
|
67 </configfile> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
68 </configfiles> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
69 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
70 <inputs> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
71 <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
|
72 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
|
73 <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
|
74 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
|
75 <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
|
76 <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
|
77 </param> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
78 <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
|
79 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
|
80 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
81 </inputs> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
82 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
83 <outputs> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
84 <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
|
85 </data> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
86 </outputs> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
87 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
88 <tests> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
89 <test> |
9
4ef214cf07c1
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit da193865f41a3a840ecc4ba0afab1d358554998a
recetox
parents:
5
diff
changeset
|
90 <param name="spectral_library" value="filtering/input.msp" ftype="msp"/> |
0
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
91 <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
|
92 <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
|
93 <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
|
94 </test> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
95 <test> |
9
4ef214cf07c1
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit da193865f41a3a840ecc4ba0afab1d358554998a
recetox
parents:
5
diff
changeset
|
96 <param name="spectral_library" value="filtering/input.msp" ftype="msp"/> |
0
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
97 <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
|
98 <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
|
99 <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
|
100 </test> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
101 </tests> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
102 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
103 <help> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
104 **Description** |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
105 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
|
106 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
|
107 </help> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
108 |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
109 <citations> |
2b61ec493df6
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit a0565620150b69e0ca87aa686709c25356436f71
recetox
parents:
diff
changeset
|
110 <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
|
111 </citations> |
3
425bbdd2209b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit ad718c989f31829edc89e039e56644a95dab6791
recetox
parents:
2
diff
changeset
|
112 </tool> |