# HG changeset patch # User recetox # Date 1729581913 0 # Node ID 0492fff60960945f63ac62c7d64302629b81a065 # Parent 4422c60a4b717102068b4ba5e9ce403a7ebb240e planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c diff -r 4422c60a4b71 -r 0492fff60960 macros.xml --- a/macros.xml Mon Oct 21 09:06:40 2024 +0000 +++ b/macros.xml Tue Oct 22 07:25:13 2024 +0000 @@ -84,7 +84,7 @@ - + @@ -95,6 +95,119 @@ help= "Upper limit of molecular mass to be assigned."/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+ +
+
+ + +
+
+
+ + + +
+
+ + + + + + + + + + + + + +
+ +
+ +
+ +
+ + + +
+ +
+ + + + + + + + + + + +
+
+
+ diff -r 4422c60a4b71 -r 0492fff60960 mfassignr_mfassign.xml --- a/mfassignr_mfassign.xml Mon Oct 21 09:06:40 2024 +0000 +++ b/mfassignr_mfassign.xml Tue Oct 22 07:25:13 2024 +0000 @@ -1,4 +1,4 @@ - + Molecular formula assignment. macros.xml @@ -19,6 +19,18 @@ iso <- read.delim("$input_iso", sep="\t") #end if SN = $sn_ratio * $kmdn + POEx = 0 + NOEx = 0 + + #if "$assign_typeof_ions"=="yes" + #if $ionMode=="pos" + POEx = 1 + NOEx = 0 + #else + POEx = 0 + NOEx = 1 + #end if + #end if MF_assign <- MFAssignR::MFAssign( peaks = mono, @@ -29,7 +41,50 @@ lowMW = $lowMW, highMW = $highMW, ppm_err = $ppm_err, - SN = SN + SN = SN, + POEx = POEx, + NOEx = NOEx, + Nx = $Nx, + Sx = $Sx, + Px = $Px, + S34x = $S34x, + N15x = $N15x, + Dx = $Dx, + Clx = $Clx, + Fx = $Fx, + Cl37x = $Cl37x, + Br81x = $Br81x, + Ix = $Ix, + Ex = $Ex, + Mx = $Mx, + NH4x = $NH4x, + Zx = $Zx, + Ox = $Ox, + O_Cmin = $O_Cmin, + O_Cmax = $O_Cmax, + H_Cmin = $H_Cmin, + H_Cmax = $H_Cmax, + DBEOmin = $DBEOmin, + DBEOmax = $DBEOmax, + Omin = $Omin, + max_def = $max_def, + min_def = $min_def, + HetCut = "$HetCut", + NMScut = "$NMScut", + DeNovo = $DeNovo, + nLoop = $nLoop, + Ambig = "$ambig_bool", + MSMS = "$MSMS", + Sval = $Sval, + Nval = $Nval, + S34val = $S34val, + N15val = $N15val, + Pval = $Pval, + iso_err = $iso_err, + SulfCheck = "$SulfCheck", + S34_abund = $S34_abund, + C13_abund = $C13_abund, + N3corr = "$N3corr" ) write.table(MF_assign[['Unambig']], file = '$Unambig', row.names= FALSE, sep = "\t")