Mercurial > repos > recetox > mztabm_validate
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:520706977927 |
|---|---|
| 1 <tool id="mztabm_validate" name="mztab-m validate" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0" license="MIT"> | |
| 2 <description>validate mztab-m files</description> | |
| 3 <macros> | |
| 4 <token name="@TOOL_VERSION@">1.0.6</token> | |
| 5 <token name="@VERSION_SUFFIX@">0</token> | |
| 6 </macros> | |
| 7 | |
| 8 <xrefs> | |
| 9 <xref type="bio.tools">jmztab-m</xref> | |
| 10 </xrefs> | |
| 11 <requirements> | |
| 12 <requirement type="package" version="@TOOL_VERSION@">jmztab-m</requirement> | |
| 13 </requirements> | |
| 14 | |
| 15 <command detect_errors="exit_code"><![CDATA[ | |
| 16 jmztab-m --level $level -c '$input_file' -o '$output_file' $checkSemantic | |
| 17 ]]></command> | |
| 18 <inputs> | |
| 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." /> | |
| 20 <param name="level" type="select" label="Level" help="Select the validation level: Info (all messages), Warn (warnings and errors), or Error (only errors)."> | |
| 21 <option value="Info" selected="true">Info</option> | |
| 22 <option value="Warn">Warn</option> | |
| 23 <option value="Error">Error</option> | |
| 24 </param> | |
| 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." /> | |
| 26 </inputs> | |
| 27 <outputs> | |
| 28 <data name="output_file" format="txt" label="${tool.name} on ${on_string}" /> | |
| 29 </outputs> | |
| 30 <tests> | |
| 31 <!-- Hint: You can use [ctrl+alt+t] after defining the inputs/outputs to auto-scaffold some basic test cases. --> | |
| 32 <test expect_num_outputs="1"> | |
| 33 <!--TODO: auto-generated test case. Please fill in the required values--> | |
| 34 <param name="input_file" value="MTBLS263.mztab" ftype="mztab"/> | |
| 35 <param name="checkSemantic" value="false"/> | |
| 36 <param name="level" value="Info"/> | |
| 37 <output name="output_file"> | |
| 38 <assert_contents> | |
| 39 <has_text text="commit: '5fee003a3c97695b422bf556f4b5d9eb24080a3c'"/> | |
| 40 <has_line line="Validator set to level 'Info'"/> | |
| 41 <has_n_lines n="16"/> | |
| 42 </assert_contents> | |
| 43 </output> | |
| 44 </test> | |
| 45 </tests> | |
| 46 <help><![CDATA[ | |
| 47 .. class:: infomark | |
| 48 | |
| 49 **What it does** | |
| 50 | |
| 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. | |
| 52 | |
| 53 Usage | |
| 54 ..... | |
| 55 | |
| 56 1. **Input** | |
| 57 - Provide an mzTab-M or plain text file to be validated. | |
| 58 - Optionally enable semantic validation for deeper checks. | |
| 59 - Choose the desired validation level: | |
| 60 - **Info**: Show all messages (informational, warnings, errors). | |
| 61 - **Warn**: Show only warnings and errors. | |
| 62 - **Error**: Show only errors. | |
| 63 | |
| 64 2. **Output** | |
| 65 - A plain text report summarizing the validation results, including any detected issues. | |
| 66 | |
| 67 **Parameters** | |
| 68 | |
| 69 - **Input file**: The mzTab-M or text file to validate. | |
| 70 - **Check semantic validation**: Enable to perform additional semantic checks. | |
| 71 - **Level**: Controls the strictness of the validation output. | |
| 72 ]]></help> | |
| 73 <citations> | |
| 74 <citation type="doi">10.5281/zenodo.3662402</citation> | |
| 75 <citation type="doi">10.1021/acs.analchem.8b04310</citation> | |
| 76 <citation type="doi">10.1021/acs.analchem.9b01987</citation> | |
| 77 </citations> | |
| 78 </tool> |
