Mercurial > repos > recetox > use_theoretical_mz_annotations
view use_theoretical_mz_annotations.xml @ 2:e0cac9994a72 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/misc commit 6d6720ef358935ad4bb7c5f26efb55647567eb14
author | recetox |
---|---|
date | Mon, 26 Feb 2024 10:40:17 +0000 |
parents | 3c7f20b24047 |
children |
line wrap: on
line source
<tool id="use_theoretical_mz_annotations" name="use theoretical m/z values" version="@TOOL_VERSION@+galaxy1" profile="21.09"> <description>Overwrite experimentally measured mz values for peaks with theoretical values from peak comments.</description> <macros> <import>macros.xml</import> </macros> <expand macro="creator"/> <command detect_errors="exit_code"><![CDATA[ python3 '${__tool_directory__}/use_theoretical_mz_annotations.py' -i '${input}' -o '${output_data}' #if $only_theoretical_annotated -a #end if ]]> </command> <inputs> <param name="input" type="data" format="msp,mgf" label="Input mass spectral library with peak comments in RIKEN format." /> <param name="only_theoretical_annotated" type="boolean" label="only retain annotated peaks" truevalue="True" falsevalue="False" checked="false" /> </inputs> <outputs> <data name="output_data" format_source="input" /> </outputs> <tests> <test> <param name="input" value="input.msp" ftype="msp"/> <param name="only_theoretical_annotated" value="True"/> <output name="output_data" value="output_only_annotated.msp"/> </test> <test> <param name="input" value="input.msp" ftype="msp"/> <param name="only_theoretical_annotated" value="False"/> <output name="output_data" value="output_plus_no_annotated.msp"/> </test> </tests> <help> <![CDATA[ This tool uses theoretical M/Z annotations in the input MSP or MGF file. You can choose whether to include non-annotated peaks in the output. ]]> </help> <!-- check is this is the correct citation --> <citations> <citation type="doi">10.21105/joss.04337</citation> </citations> </tool>