comparison help.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
children e7ef7718505d
comparison
equal deleted inserted replaced
0:c12a49b04ca0 1:079ae9aa6ed5
1 <macros>
2
3 <token name="@GENERAL_HELP@">
4 General Information
5 ===================
6
7 Overview
8 --------
9
10 MFAssignR is an R package for the molecular formula (MF) assignment of ultrahigh resolution mass spectrometry measurements. It contains several functions for the noise assessment, isotope filtering, interal mass recalibration, and MF assignment.
11
12 The MFAssignR package was originally developed by Simeon Schum et al. (2020), the source code can be found on `GitHub`_.
13 Please submit eventual Galaxy-related bug reports as `issues`_ on the repository.
14
15 .. _GitHub: https://github.com/skschum/MFAssignR
16 .. _issues: https://github.com/RECETOX/galaxytools/issues
17
18
19 Workflow
20 --------
21
22 .. image:: https://github.com/RECETOX/MFAssignR/raw/master/overview.png
23 :width: 1512
24 :height: 720
25 :scale: 60
26 :alt: A picture of a workflow diagram.
27
28 The recommended workflow how to run the MFAssignR package is as follows:
29
30 (1) Run KMDNoise() to determine the noise level for the data.
31 (2) Check effectiveness of S/N threshold using SNplot().
32 (3) Use IsoFiltR() to identify potential 13C and 34S isotope masses.
33 (4) Using the S/N threshold, and the two data frames output from IsoFiltR(), run MFAssignCHO() to assign MF with C, H, and O to assess the mass accuracy.
34 (5) Use RecalList() to generate a list of the potential recalibrant series.
35 (6) After choosing recalibrant series, use Recal() to recalibrate the mass lists.
36 (7) Assign MF to the recalibrated mass list using MFAssign().
37 (8) Check the output plots from MFAssign() to evaluate the quality of the assignments.
38
39 For detailed documentation on the individual steps please see the individual tool wrappers.
40 </token>
41
42 <token name="@KMDNOISE_HELP@">
43 MFAssignR - KMDNoise
44 =============================
45
46 This tool is the first step of the MFAssignR workflow (can be substitued by HistNoise or run in paralell).
47
48 KMDnoise is a Kendrick Mass Defect (KMD) approach for the noise estimation. It selects a subset of the data using the linear equation y=0.1132x + b, where y stands for the KMD value, x for the measured ion mass and b is the y-intercept. The default y-intercepts of 0.05 and 0.2 in KMDNoise are used to isolate the largest analyte free region of noise in most mass spectra. The intensity of the peaks within this “slice” are then averaged and that value is defined as the noise level for the mass spectrum. This value is then multiplied with a user-defined signal-to-noise ratio (typically 3-10) to remove low intensity m/z values.
49
50 Output:
51
52 - noise estimate - (this noise level can then be multiplied by the user chosen value (3, 6, 10) in order to set the signal to noise cut for formula assignment.)
53 - KMD plot - bounds of the noise estimation area are highlighted in red
54 </token>
55
56 <token name="@HISTNOISE_HELP@">
57 MFAssignR - HistNoise
58 =============================
59
60 This tool is the first step of the MFAssignR workflow (can be substitued by KMDNoise or run in paralell (-> SNplot)).
61
62 HistNoise function creates a histogram using natural log of the intensity, which can be then used to determine the noise level for the data analyze, and also the estimated noise level. The noise level can be then multiplied by whatever value in order to reach the value to be used to cut the data.
63
64 Output:
65
66 - noise estimate - this noise level can then be multiplied by the user chosen value in order to set the signal to noise cut for formula assignment
67 - Histogram - shows where the cut is being applied123
68
69 </token>
70
71 <token name="@SNPLOT_HELP@">
72 MFAssignR - SNplot
73 =============================
74
75 This tool is the second step of the MFAssignR workflow (KMDNoise -> SNplot -> IsoFiltR).
76
77 SNplot function plots the mass spectrum with the S/N cut denoted by different colors for the mass spectrum peaks (red indicates noise, blue indicates signal). This is useful for a qualitative look at the effectiveness of the S/N cut being used.
78
79 Output:
80
81 - SNplot - S/N colored mass spectrum showing where the cut is being applied
82 </token>
83
84 <token name="@ISOFILTR_HELP@">
85 MFAssignR - IsoFiltR
86 =============================
87
88 This tool is the third step of the MFAssignR workflow (SNplot -> IsoFiltR -> MFAssignCHO).
89
90 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.
91
92 Output:
93
94 - A dataframe of monoisotopic and non-matched masses
95 - A dataframe of isotopic masses
96 </token>
97
98 <token name="@MFASSIGNCHO_HELP@">
99 MFAssignR - MFAssignCHO
100 =============================
101
102 This tool is the fourth step of the MFAssignR workflow (IsoFiltR -> MFAssignCHO -> RecalList)
103
104 MFAssignCHO is a simplified version of MSAssign funcion, which only assigns MF with CHO elements. It is useful for the prelimiary MF assignments prior to the selection of internal recalibration ions in conjunction with RecalList and Recal.
105
106 Output:
107
108 - Unambig - data frame containing unambiguous assignments
109 - Ambig - data frame containing ambiguous assignments
110 - None - data frame containing unassigned masses
111 - MSAssign - ggplot of mass spectrum highlighting assigned/unassigned
112 - Error - ggplot of the Error vs. m/z
113 - MSgroups - ggplot of mass spectrum colored by molecular group
114 - VK - ggplot of van Krevelen plot, colored by molecular group
115 </token>
116
117 <token name="@RECALLIST_HELP@">
118 MFAssignR - RecalList
119 =============================
120
121 This tool is the fifth step of the MFAssignR workflow (MFAssignCHO -> RecalList -> Recal)
122
123 RecalList() function identifies the homologous series that could be used for recalibration. On the input, there is the output from MFAssign() or MFAssignCHO() functions. It returns a dataframe that contains the CH2 homologous series that contain more than 3 members.
124
125 Output:
126
127 - Dataframe that contains the CH2 homologous series that contain more than 3 members.
128 </token>
129
130 <token name="@RECAL_HELP@">
131 MFAssignR - Recal
132 =============================
133
134 This tool is the sixth step of the MFAssignR workflow (RecalList -> Recal -> MFAssign)
135
136 Recal() function recalibrates the 'Mono' and 'Iso' outputs from the IsoFiltR() function and prepares a dataframe containing chose recalibrants. Also it outputs a plot for the qualitative assessment of recalibrants. The input to the function is output from MFAssign() or MFAssignCHO().
137
138 It is important for recalibrant masses to cover the entire mass range of interest, and they should be among the most abundant peaks in their region of the spectrum - by default we take first 10 recalibrant series. We recommend to sort the Recalibration Series table based on the Series Score (largest to smallest). In case that error "Gap in recalibrant coverage, try adding more recalibrant series" would occur, we recommend to provide more diverse series.
139
140 Output:
141
142 - Mass spectrum
143 - Recalibrated dataframe of monoisotopic masses
144 - Recalibrated dataframe of isotopic masses
145 - Recalibrants list
146 </token>
147
148 <token name="@MFASSIGN_HELP@">
149 MFAssignR - MFAssign
150 =============================
151
152 This tool is the last step of the MFAssignR workflow (Recal -> MFAssign)
153
154 Recal() function recalibrates the 'Mono' and 'Iso' outputs from the IsoFiltR() function and prepares a dataframe containing chose recalibrants. Also it outputs a plot for the qualitative assessment of recalibrants. The input to the function is output from MFAssign() or MFAssignCHO().
155
156 It is important for recalibrant masses to cover the entire mass range of interest, and they should be among the most abundant peaks in their region of the spectrum - by default we take first 10 recalibrant series. We recommend to sort the Recalibration Series table based on the Series Score (largest to smallest). In case that error "Gap in recalibrant coverage, try adding more recalibrant series" would occur, we recommend to provide more diverse series.
157
158 Output:
159
160 - Unambig - data frame containing unambiguous assignments
161 - Ambig - data frame containing ambiguous assignments
162 - None - data frame containing unassigned masses
163 - MSAssign - ggplot of mass spectrum highlighting assigned/unassigned
164 - Error - ggplot of the Error vs. m/z
165 - MSgroups - ggplot of mass spectrum colored by molecular group
166 - VK - ggplot of van Krevelen plot, colored by molecular group
167 </token>
168 </macros>