comparison use_theoretical_mz_annotations.xml @ 0:d75b6626e18a draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/misc commit 0cf8472dcae85c81bc91332a1c9be5e54289a34c
author recetox
date Thu, 22 Feb 2024 10:48:59 +0000
parents
children 3c7f20b24047
comparison
equal deleted inserted replaced
-1:000000000000 0:d75b6626e18a
1 <tool id="use_theoretical_mz" name="use theoretical m/z values" version="@TOOL_VERSION@+galaxy4" profile="21.09">
2 <description>Overwrite experimentally measured mz values for peaks with theoretical values from peak comments.</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="creator"/>
7
8 <command detect_errors="exit_code"><![CDATA[
9 python '$__tool_directory__/use_theoretical_mz_annotations.py'
10 -i '${input}'
11 -o '${output_data}'
12 #if $only_theoretical_annotated
13 -a
14 #end if
15 ]]>
16 </command>
17
18 <inputs>
19 <param name="input" type="data" format="msp,mgf" label="Input mass spectral library with peak comments in RIKEN format." />
20 <param name="only_theoretical_annotated" type="boolean" label="only retain annotated peaks" truevalue="True" falsevalue="False" checked="false" />
21 </inputs>
22
23 <outputs>
24 <data name="output_data" format_source="input" />
25 </outputs>
26
27 <tests>
28 <test>
29 <param name="input" value="input.msp" ftype="msp"/>
30 <param name="only_theoretical_annotated" value="True"/>
31 <output name="output_data" value="output_only_annotated.msp"/>
32 </test>
33 <test>
34 <param name="input" value="input.msp" ftype="msp"/>
35 <param name="only_theoretical_annotated" value="False"/>
36 <output name="output_data" value="output_plus_no_annotated.msp"/>
37 </test>
38 </tests>
39
40 <help>
41 <![CDATA[
42 This tool uses theoretical M/Z annotations in the input MSP or MGF file.
43 You can choose whether to include non-annotated peaks in the output.
44 ]]>
45 </help>
46 <!-- check is this is the correct citation -->
47 <citations>
48 <citation type="doi">10.21105/joss.04337</citation>
49 </citations>
50 </tool>