Mercurial > repos > recetox > mfassignr_isofiltr
view mfassignr_isofiltr.xml @ 1:079ae9aa6ed5 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
author | recetox |
---|---|
date | Thu, 15 Aug 2024 12:01:23 +0000 |
parents | c12a49b04ca0 |
children | e4ddc3bc7e15 |
line wrap: on
line source
<tool id="mfassignr_isofiltr" name="MFAssignR IsoFiltR" version="@TOOL_VERSION@+galaxy0" profile="23.0"> <description>Separates likely isotopic masses from monoisotopic masses in a mass list</description> <macros> <import>macros.xml</import> </macros> <edam_topics> <edam_topic>topic_3172</edam_topic> </edam_topics> <edam_operations> <edam_operation>operation_3629</edam_operation> </edam_operations> <expand macro="creator" /> <expand macro="refs" /> <expand macro="requirements" /> <command detect_errors="exit_code"><![CDATA[ Rscript '${mfassignr_isofiltr}' ]]> </command> <configfiles> <configfile name="mfassignr_isofiltr"><![CDATA[ peaks <- read.table("$peaks", header=TRUE, sep="\t") result <- MFAssignR::IsoFiltR( peaks = peaks, SN = $SN, Carbrat = $Carbrat, Sulfrat = $Sulfrat, Sulferr = $Sulferr, Carberr = $Carberr ) write.table(result[["Mono"]], file="$mono_out", sep="\t", row.names=FALSE) write.table(result[["Iso"]], file="$iso_out", sep="\t", row.names=FALSE) ]]></configfile> </configfiles> <inputs> <expand macro="isofiltr_param"/> </inputs> <outputs> <data name="mono_out" format="tabular" label="Monoisotopic Masses"/> <data name="iso_out" format="tabular" label="Isotopic Masses"/> </outputs> <tests> <test> <param name="peaks" value="QC1_1_POS_500.tabular" ftype="tabular"/> <output name="mono_out" file="isofiltr/mono_out.tabular" ftype="tabular"/> <output name="iso_out" file="isofiltr/iso_out.tabular" ftype="tabular"/> </test> </tests> <help> IsoFiltR identifies and separates likely isotopic masses from monoisotopic masses in a mass list. This should be done prior to formula assignment to reduce incorrect formula assignments. The input is a table containing abundance and peak mass in the following format: +--------------------+-------------------+------------------------+ | mz | area | rt | +====================+===================+========================+ | 110.03486266079899 | 3410926.862054969 | 190.03735922916195 | +--------------------+-------------------+------------------------+ | 110.05988136843429 | 7658687.858 | 241.17645551084158 | +--------------------+-------------------+------------------------+ | ... | ... | ... | +--------------------+-------------------+------------------------+ </help> <expand macro="citations"/> </tool>