comparison mfassignr_mfassignCHO.xml @ 5:59326d3b9c52 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
author recetox
date Tue, 22 Oct 2024 07:24:55 +0000
parents 11949bd6837a
children
comparison
equal deleted inserted replaced
4:5ea9dd423109 5:59326d3b9c52
1 <tool id="mfassignr_mfassignCHO" name="MFAssignR MFAssignCHO" version="@TOOL_VERSION@+galaxy0" profile="23.0"> 1 <tool id="mfassignr_mfassignCHO" name="MFAssignR MFAssignCHO" version="@TOOL_VERSION@+galaxy1" profile="23.0">
2 <description>Molecular formula assignment (only with CHO).</description> 2 <description>Molecular formula assignment (only with CHO).</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 <import>help.xml</import> 5 <import>help.xml</import>
6 </macros> 6 </macros>
20 mono <- read.delim("$input_mono", sep="\t") 20 mono <- read.delim("$input_mono", sep="\t")
21 #if $input_iso 21 #if $input_iso
22 iso <- read.delim("$input_iso", sep="\t") 22 iso <- read.delim("$input_iso", sep="\t")
23 #end if 23 #end if
24 SN = $sn_ratio * $kmdn 24 SN = $sn_ratio * $kmdn
25 POEx = 0
26 NOEx = 0
27
28 #if "$assign_typeof_ions"=="yes"
29 #if $ionMode=="pos"
30 POEx = 1
31 NOEx = 0
32 #else
33 POEx = 0
34 NOEx = 1
35 #end if
36 #end if
25 37
26 MF_CHO_assign <- MFAssignR::MFAssignCHO( 38 MF_CHO_assign <- MFAssignR::MFAssignCHO(
27 peaks = mono, 39 peaks = mono,
28 #if $input_iso 40 #if $input_iso
29 isopeaks = iso, 41 isopeaks = iso,
30 #end if 42 #end if
31 ionMode = "$ionmode", 43 ionMode = "$ionmode",
32 lowMW = $lowMW, 44 lowMW = $lowMW,
33 highMW = $highMW, 45 highMW = $highMW,
34 ppm_err = $ppm_err, 46 ppm_err = $ppm_err,
35 SN = SN 47 SN = SN,
48 POEx = POEx,
49 NOEx = NOEx,
50 Ex = $Ex,
51 Mx = $Mx,
52 NH4x = $NH4x,
53 Zx = $Zx,
54 Ox = $Ox,
55 O_Cmin = $O_Cmin,
56 O_Cmax = $O_Cmax,
57 H_Cmin = $H_Cmin,
58 H_Cmax = $H_Cmax,
59 DBEOmin = $DBEOmin,
60 DBEOmax = $DBEOmax,
61 Omin = $Omin,
62 max_def = $max_def,
63 min_def = $min_def,
64 HetCut = "$HetCut",
65 NMScut = "$NMScut",
66 DeNovo = $DeNovo,
67 nLoop = $nLoop,
68 Ambig = "$ambig_bool",
69 MSMS = "$MSMS"
36 ) 70 )
37 71
38 write.table(MF_CHO_assign[['Unambig']], file = '$Unambig', row.names= FALSE, sep = "\t") 72 write.table(MF_CHO_assign[['Unambig']], file = '$Unambig', row.names= FALSE, sep = "\t")
39 write.table(MF_CHO_assign[['Ambig']], file = '$Ambig', row.names= FALSE, sep = "\t") 73 write.table(MF_CHO_assign[['Ambig']], file = '$Ambig', row.names= FALSE, sep = "\t")
40 write.table(MF_CHO_assign[['None']], file = '$None', row.names= FALSE, sep = "\t") 74 write.table(MF_CHO_assign[['None']], file = '$None', row.names= FALSE, sep = "\t")
50 <inputs> 84 <inputs>
51 <param name="input_mono" type="data" format="tabular" label="Data frame of monoisotopic masses" 85 <param name="input_mono" type="data" format="tabular" label="Data frame of monoisotopic masses"
52 help= "Data frame containing monoisotopic masses, output from the IsoFiltR function"/> 86 help= "Data frame containing monoisotopic masses, output from the IsoFiltR function"/>
53 <param name="input_iso" optional="true" type="data" format="tabular" label="Data frame of isotopic masses" 87 <param name="input_iso" optional="true" type="data" format="tabular" label="Data frame of isotopic masses"
54 help= "Data frame containing isotopic masses, output from the IsoFiltR function"/> 88 help= "Data frame containing isotopic masses, output from the IsoFiltR function"/>
55 <expand macro="mfassign_param"/> 89 <expand macro="mfassigncho_param"/>
56 </inputs> 90 </inputs>
57 <outputs> 91 <outputs>
58 <data name="Unambig" format="tabular" label="Unambiguous assignments by ${tool.name} on ${on_string}"/> 92 <data name="Unambig" format="tabular" label="Unambiguous assignments by ${tool.name} on ${on_string}"/>
59 <data name="Ambig" format="tabular" label="Ambiguous assignments by ${tool.name} on ${on_string}"/> 93 <data name="Ambig" format="tabular" label="Ambiguous assignments by ${tool.name} on ${on_string}"/>
60 <data name="None" format="tabular" label="Unassigned masses by ${tool.name} on ${on_string}"/> 94 <data name="None" format="tabular" label="Unassigned masses by ${tool.name} on ${on_string}"/>