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