Mercurial > repos > recetox > xmsannotator_simple
view xmsannotator_simple.xml @ 1:02a38a19405d draft
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/xmsannotator commit 4eefeaf6476e11d072a014b161e559ec514ec234"
author | recetox |
---|---|
date | Mon, 05 Oct 2020 09:00:12 +0000 |
parents | 97d1619ff23e |
children | 041052875af0 |
line wrap: on
line source
<tool id="xmsannotator_simple" name="xMSannotator (simple)" version="@TOOL_VERSION@+galaxy0"> <macros> <import>xmsannotator_macros.xml</import> </macros> <expand macro="requirements"/> <command detect_errors="aggressive"><![CDATA[ Rscript -e 'annotation <- xmsannotator::simple_annotation( peaks = rhdf5::h5read("$peaks", "peaks"), adducts = rhdf5::h5read("$adducts", "adducts"), metabolites = rhdf5::h5read("$metabolites", "metabolites"), mz_tolerance_ppm = as.double($mz_tolerance_ppm) )' -e 'rhdf5::h5write(annotation, "$annotation", "annotation")' ]]></command> <inputs> <expand macro="annotation"/> </inputs> <outputs> <expand macro="output"/> </outputs> <help><![CDATA[ Annotate the peak intensity table (such as outputted from apLCMS) with metabolites from the metabolite database. The annotation process generates all possible metabolite-adduct pairs from the metabolite and adduct databases and matches those pairs to the measured peaks. A metabolite-adduct pair is pronounced as a match to the peak when the difference of their masses are withing some tolerance. ]]></help> <expand macro="citations"/> </tool>