comparison MassMapper.xml @ 0:4928b239a36d draft

planemo upload for repository https://forge.inrae.fr/metexplore/met4j-galaxy commit 71335d4a636672d264cc4f443c07856907571928
author metexplore
date Fri, 21 Nov 2025 10:21:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4928b239a36d
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <tool id="met4j_MassMapper" name="MassMapper" version="@TOOL_VERSION@">
3 <description>Retrieve metabolites in a SBML file from their mass.</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="bio_tools"/>
8 <expand macro="requirements"/>
9 <command detect_errors="exit_code"><![CDATA[met4j mapping.MassMapper -i "$sbmlPath"
10 -m "$inputPath"
11 #if str($ppm) != 'nan':
12 -ppm "$ppm"
13 #end if
14 $na
15 #if str($compute):
16 -comp "$compute"
17 #end if
18 -o "$outputPath"
19 ]]></command>
20 <inputs>
21 <param argument="-i" format="sbml" label="input SBML file" name="sbmlPath" optional="false" type="data" value=""/>
22 <param argument="-m" format="tsv" label="input mass file (one per line)" name="inputPath" optional="false" type="data" value=""/>
23 <param argument="-ppm" label="mass delta tolerance in part per million" name="ppm" optional="true" type="float" value="5.0"/>
24 <param argument="-na" checked="false" falsevalue="" label="Output mass without match in model, with NA value" name="na" truevalue="-na" type="boolean" value="false"/>
25 <param argument="-comp" label="Method for computing mass from formulas" name="compute" optional="true" type="select" value="average">
26 <option selected="true" value="average">average</option>
27 <option value="monoisotopic">monoisotopic</option>
28 </param>
29 </inputs>
30 <outputs>
31 <data format="tsv" name="outputPath"/>
32 </outputs>
33 <tests/>
34 <help><![CDATA[Retrieve metabolites in a SBML file from their mass.
35 The SBML file is expected to contain fbc:chemicalFormula attributes for species entries, in order to compute masses.
36 The input mass file should contain one mass per line. The output is a tab delimited file with two columns: query mass, sbml metabolite id (one line per match)
37 @ATTRIBUTION@]]></help>
38 <citations/>
39 </tool>