Mercurial > repos > recetox > mfassignr_mfassign
annotate mfassignr_mfassign.xml @ 5:0492fff60960 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
author | recetox |
---|---|
date | Tue, 22 Oct 2024 07:25:13 +0000 |
parents | 5aa9380f397b |
children |
rev | line source |
---|---|
5
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
1 <tool id="mfassignr_mfassign" name="MFAssignR MFAssign" version="@TOOL_VERSION@+galaxy1" profile="23.0"> |
0
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
2 <description>Molecular formula assignment.</description> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
3 <macros> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
4 <import>macros.xml</import> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
5 <import>help.xml</import> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
6 </macros> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
7 <edam_topics> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
8 <edam_topic>topic_3172</edam_topic> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
9 </edam_topics> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
10 <expand macro="creator" /> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
11 <expand macro="requirements" /> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
12 <command detect_errors="exit_code"><![CDATA[ |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
13 Rscript '${run_script}' |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
14 ]]></command> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
15 <configfiles> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
16 <configfile name="run_script"><![CDATA[ |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
17 mono <- read.delim("$input_mono", sep="\t") |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
18 #if $input_iso |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
19 iso <- read.delim("$input_iso", sep="\t") |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
20 #end if |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
21 SN = $sn_ratio * $kmdn |
5
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
22 POEx = 0 |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
23 NOEx = 0 |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
24 |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
25 #if "$assign_typeof_ions"=="yes" |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
26 #if $ionMode=="pos" |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
27 POEx = 1 |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
28 NOEx = 0 |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
29 #else |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
30 POEx = 0 |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
31 NOEx = 1 |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
32 #end if |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
33 #end if |
0
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
34 |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
35 MF_assign <- MFAssignR::MFAssign( |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
36 peaks = mono, |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
37 #if $input_iso |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
38 isopeaks = iso, |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
39 #end if |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
40 ionMode = "$ionmode", |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
41 lowMW = $lowMW, |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
42 highMW = $highMW, |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
43 ppm_err = $ppm_err, |
5
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
44 SN = SN, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
45 POEx = POEx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
46 NOEx = NOEx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
47 Nx = $Nx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
48 Sx = $Sx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
49 Px = $Px, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
50 S34x = $S34x, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
51 N15x = $N15x, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
52 Dx = $Dx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
53 Clx = $Clx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
54 Fx = $Fx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
55 Cl37x = $Cl37x, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
56 Br81x = $Br81x, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
57 Ix = $Ix, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
58 Ex = $Ex, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
59 Mx = $Mx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
60 NH4x = $NH4x, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
61 Zx = $Zx, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
62 Ox = $Ox, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
63 O_Cmin = $O_Cmin, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
64 O_Cmax = $O_Cmax, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
65 H_Cmin = $H_Cmin, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
66 H_Cmax = $H_Cmax, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
67 DBEOmin = $DBEOmin, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
68 DBEOmax = $DBEOmax, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
69 Omin = $Omin, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
70 max_def = $max_def, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
71 min_def = $min_def, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
72 HetCut = "$HetCut", |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
73 NMScut = "$NMScut", |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
74 DeNovo = $DeNovo, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
75 nLoop = $nLoop, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
76 Ambig = "$ambig_bool", |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
77 MSMS = "$MSMS", |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
78 Sval = $Sval, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
79 Nval = $Nval, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
80 S34val = $S34val, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
81 N15val = $N15val, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
82 Pval = $Pval, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
83 iso_err = $iso_err, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
84 SulfCheck = "$SulfCheck", |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
85 S34_abund = $S34_abund, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
86 C13_abund = $C13_abund, |
0492fff60960
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
recetox
parents:
0
diff
changeset
|
87 N3corr = "$N3corr" |
0
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
88 ) |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
89 |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
90 write.table(MF_assign[['Unambig']], file = '$Unambig', row.names= FALSE, sep = "\t") |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
91 write.table(MF_assign[['Ambig']], file = '$Ambig', row.names= FALSE, sep = "\t") |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
92 write.table(MF_assign[['None']], file = '$None', row.names= FALSE, sep = "\t") |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
93 |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
94 dir.create("plots") |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
95 ggplot2::ggsave(filename = file.path("plots", "msassign.png"), MF_assign[['MSAssign']]) |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
96 ggplot2::ggsave(filename = file.path("plots", "errorMZ.png"), MF_assign[['Error']]) |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
97 ggplot2::ggsave(filename = file.path("plots", "MSgroups.png"), MF_assign[['MSgroups']]) |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
98 ggplot2::ggsave(filename = file.path("plots", "VK.png"), MF_assign[['VK']]) |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
99 |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
100 ]]></configfile> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
101 </configfiles> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
102 <inputs> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
103 <param name="input_mono" type="data" format="tabular" label="Data frame of monoisotopic masses" |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
104 help= "Data frame containing recalibrated monoisotopic masses, output from the Recal function"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
105 <param name="input_iso" optional="true" type="data" format="tabular" label="Data frame of isotopic masses" |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
106 help= "Data frame containing recalibrated isotopic masses, output from the Recal function"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
107 <expand macro="mfassign_param"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
108 </inputs> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
109 <outputs> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
110 <data name="Unambig" format="tabular" label="Unambiguous assignments by ${tool.name} on ${on_string}"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
111 <data name="Ambig" format="tabular" label="Ambiguous assignments by ${tool.name} on ${on_string}"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
112 <data name="None" format="tabular" label="Unassigned masses by ${tool.name} on ${on_string}"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
113 <collection format="png" type="list" name="plots" label="Plots generated by ${tool.name} on ${on_string}"> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
114 <discover_datasets pattern="__designation_and_ext__" ext="png" directory="plots" /> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
115 </collection> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
116 </outputs> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
117 <tests> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
118 <test> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
119 <param name="input_mono" value="isofiltr/mono_out.tabular"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
120 <param name="input_iso" value="isofiltr/iso_out.tabular"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
121 <param name="kmdn" value="3294705.63963789"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
122 <output name="Unambig" file="mfassign/unambig.tabular"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
123 <output name="Ambig"> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
124 <assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
125 <has_n_lines n="1"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
126 <has_n_columns n="53"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
127 </assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
128 </output> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
129 <output name="None"> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
130 <assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
131 <has_n_lines n="5015"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
132 <has_n_columns n="3"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
133 </assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
134 </output> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
135 <output_collection name="plots" type="list" count="4"> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
136 <element name="MSgroups"> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
137 <assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
138 <has_size size="114675" delta="100"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
139 </assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
140 </element> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
141 <element name="VK"> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
142 <assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
143 <has_size size="424518" delta="100"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
144 </assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
145 </element> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
146 <element name="errorMZ"> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
147 <assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
148 <has_size size="548366" delta="100"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
149 </assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
150 </element> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
151 <element name="msassign"> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
152 <assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
153 <has_size size="84901" delta="100"/> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
154 </assert_contents> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
155 </element> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
156 </output_collection> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
157 </test> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
158 </tests> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
159 <help><![CDATA[ |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
160 @MFASSIGN_HELP@ |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
161 |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
162 @GENERAL_HELP@ |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
163 ]]></help> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
164 <expand macro="citations" /> |
5aa9380f397b
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff
changeset
|
165 </tool> |