comparison mzspeclib_validate.xml @ 0:884e26ef99ce draft default tip

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mzspeclib commit 6707579ea4c2d22b625b85c30e5b9705ae142b20
author recetox
date Mon, 30 Jun 2025 08:11:44 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:884e26ef99ce
1 <tool id="mzspeclib_validate" name="mzspeclib validate" version="@TOOL_VERSION@+galaxy0" profile="23.0">
2 <description>Validate mzspeclib files for format and content correctness using mzspeclib.</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <xrefs>
7 <xref type="bio.tools">mzspeclib</xref>
8 </xrefs>
9 <requirements>
10 <requirement type="package" version="@TOOL_VERSION@">mzspeclib</requirement>
11 </requirements>
12
13 <command detect_errors="exit_code"><![CDATA[
14 mzspeclib validate -i mzspeclib.${input.ext} ${profile} ${input} > ${output}
15 ]]></command>
16
17 <inputs>
18 <param name="input" type="data" format="txt,json" label="Input mzspeclib file" help="Input mzspeclib file (text or JSON) to be validated."/>
19 <param name="profile" type="select" label="Validation profile" help="Choose the validation profile to use for checking the mzspeclib file.">
20 <option value="" selected="true">base</option>
21 <option value="-p consensus">consensus</option>
22 <option value="-p single">single</option>
23 <option value="-p silver">silver</option>
24 <option value="-p peptide">peptide</option>
25 <option value="-p gold">gold</option>
26 </param>
27 </inputs>
28
29 <outputs>
30 <data name="output" format="txt"/>
31 </outputs>
32
33 <tests>
34 <test>
35 <param name="input" value="sample.txt"/>
36 <output name="output" file="sample_validate_report_base.txt"/>
37 </test>
38
39 <test>
40 <param name="input" value="sample.txt"/>
41 <param name="profile" value="-p consensus"/>
42 <output name="output" file="sample_validate_report_consensus.txt"/>
43 </test>
44 </tests>
45
46 <help><![CDATA[
47 .. _mzspeclib_validate:
48
49 ==========================
50 mzspeclib Validate Tool
51 ==========================
52
53 **Tool Description**
54
55 This tool validates mzspeclib files for format and content correctness using the mzspeclib library. It checks that the input file conforms to the mzspeclib specification and reports any errors or warnings found.
56
57 Inputs
58 ------
59
60 - **Input mzspeclib file**
61 The mzspeclib file to be validated. Supported formats: text (txt), JSON.
62
63 Outputs
64 -------
65
66 - **Validation report**
67 A text file containing the results of the validation, including any errors or warnings.
68
69 Example
70 -------
71
72 Suppose you have a file `sample.txt` in mzspeclib text format. Upload this file as input and run the tool. The output will be a validation report listing any issues found in the file.
73
74 Notes
75 -----
76
77 - Ensure your input file is in mzspeclib text or JSON format.
78 - Use this tool to check your mzspeclib files before sharing or using them in downstream workflows.
79 ]]></help>
80 <expand macro="citations"/>
81 </tool>