annotate mztabm_validate.xml @ 0:520706977927 draft default tip

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
author recetox
date Tue, 08 Jul 2025 14:41:25 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
1 <tool id="mztabm_validate" name="mztab-m validate" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0" license="MIT">
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
2 <description>validate mztab-m files</description>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
3 <macros>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
4 <token name="@TOOL_VERSION@">1.0.6</token>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
6 </macros>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
7
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
8 <xrefs>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
9 <xref type="bio.tools">jmztab-m</xref>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
10 </xrefs>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
11 <requirements>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
12 <requirement type="package" version="@TOOL_VERSION@">jmztab-m</requirement>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
13 </requirements>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
14
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
15 <command detect_errors="exit_code"><![CDATA[
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
16 jmztab-m --level $level -c '$input_file' -o '$output_file' $checkSemantic
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
17 ]]></command>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
18 <inputs>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
19 <param name="input_file" type="data" format="mztab,txt,json" label="Input file" help="The mzTab-M or plain text file to be validated. mzTab-M is a standard format for reporting metabolomics results." />
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
20 <param name="level" type="select" label="Level" help="Select the validation level: Info (all messages), Warn (warnings and errors), or Error (only errors).">
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
21 <option value="Info" selected="true">Info</option>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
22 <option value="Warn">Warn</option>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
23 <option value="Error">Error</option>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
24 </param>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
25 <param argument="--checkSemantic" type="boolean" truevalue="--checkSemantic" falsevalue="" checked="false" label="Check semantic validation" help="If enabled, performs additional semantic validation checks on the input file." />
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
26 </inputs>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
27 <outputs>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
28 <data name="output_file" format="txt" label="${tool.name} on ${on_string}" />
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
29 </outputs>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
30 <tests>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
31 <!-- Hint: You can use [ctrl+alt+t] after defining the inputs/outputs to auto-scaffold some basic test cases. -->
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
32 <test expect_num_outputs="1">
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
33 <!--TODO: auto-generated test case. Please fill in the required values-->
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
34 <param name="input_file" value="MTBLS263.mztab" ftype="mztab"/>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
35 <param name="checkSemantic" value="false"/>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
36 <param name="level" value="Info"/>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
37 <output name="output_file">
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
38 <assert_contents>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
39 <has_text text="commit: '5fee003a3c97695b422bf556f4b5d9eb24080a3c'"/>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
40 <has_line line="Validator set to level 'Info'"/>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
41 <has_n_lines n="16"/>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
42 </assert_contents>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
43 </output>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
44 </test>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
45 </tests>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
46 <help><![CDATA[
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
47 .. class:: infomark
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
48
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
49 **What it does**
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
50
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
51 This tool validates mzTab-M files using the jmztab-m validator. mzTab-M is a standardized tabular format for reporting metabolomics results, including identification and quantification data. The validator checks the file for format compliance and, optionally, for semantic correctness.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
52
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
53 Usage
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
54 .....
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
55
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
56 1. **Input**
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
57 - Provide an mzTab-M or plain text file to be validated.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
58 - Optionally enable semantic validation for deeper checks.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
59 - Choose the desired validation level:
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
60 - **Info**: Show all messages (informational, warnings, errors).
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
61 - **Warn**: Show only warnings and errors.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
62 - **Error**: Show only errors.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
63
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
64 2. **Output**
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
65 - A plain text report summarizing the validation results, including any detected issues.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
66
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
67 **Parameters**
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
68
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
69 - **Input file**: The mzTab-M or text file to validate.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
70 - **Check semantic validation**: Enable to perform additional semantic checks.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
71 - **Level**: Controls the strictness of the validation output.
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
72 ]]></help>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
73 <citations>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
74 <citation type="doi">10.5281/zenodo.3662402</citation>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
75 <citation type="doi">10.1021/acs.analchem.8b04310</citation>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
76 <citation type="doi">10.1021/acs.analchem.9b01987</citation>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
77 </citations>
520706977927 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/main/tools/mztabm commit 9e8dabb356b4d26714194c1a5506c6fedb07d8d8
recetox
parents:
diff changeset
78 </tool>