Mercurial > repos > recetox > mfassignr_findrecalseries
comparison help.xml @ 0:a26b860d6ce7 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
author | recetox |
---|---|
date | Fri, 13 Sep 2024 10:08:49 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a26b860d6ce7 |
---|---|
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) Choose the most suitable recalibrant series using FindRecalSeries(). | |
36 (7) After choosing recalibrant series, use Recal() to recalibrate the mass lists. | |
37 (8) Assign MF to the recalibrated mass list using MFAssign(). | |
38 (9) Check the output plots from MFAssign() to evaluate the quality of the assignments. | |
39 | |
40 For detailed documentation on the individual steps please see the individual tool wrappers. | |
41 </token> | |
42 | |
43 <token name="@KMDNOISE_HELP@"> | |
44 MFAssignR - KMDNoise | |
45 ============================= | |
46 | |
47 This tool is the first step of the MFAssignR workflow (can be substitued by HistNoise or run in paralell). | |
48 | |
49 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. | |
50 | |
51 Output: | |
52 | |
53 - 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. | |
54 - KMD plot - bounds of the noise estimation area are highlighted in red. | |
55 </token> | |
56 | |
57 <token name="@HISTNOISE_HELP@"> | |
58 MFAssignR - HistNoise | |
59 ============================= | |
60 | |
61 This tool is the first step of the MFAssignR workflow (can be substitued by KMDNoise or run in paralell (-> SNplot)). | |
62 | |
63 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. | |
64 | |
65 Output: | |
66 | |
67 - 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 | |
68 - Histogram - shows where the cut is being applied | |
69 | |
70 </token> | |
71 | |
72 <token name="@SNPLOT_HELP@"> | |
73 MFAssignR - SNplot | |
74 ============================= | |
75 | |
76 This tool is the second step of the MFAssignR workflow (KMDNoise -> SNplot -> IsoFiltR). | |
77 | |
78 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. | |
79 | |
80 Output: | |
81 | |
82 - SNplot - S/N colored mass spectrum showing where the cut is being applied | |
83 </token> | |
84 | |
85 <token name="@ISOFILTR_HELP@"> | |
86 MFAssignR - IsoFiltR | |
87 ============================= | |
88 | |
89 This tool is the third step of the MFAssignR workflow (SNplot -> IsoFiltR -> MFAssignCHO). | |
90 | |
91 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. | |
92 | |
93 Output: | |
94 | |
95 - A dataframe of monoisotopic and non-matched masses | |
96 - A dataframe of isotopic masses | |
97 </token> | |
98 | |
99 <token name="@MFASSIGNCHO_HELP@"> | |
100 MFAssignR - MFAssignCHO | |
101 ============================= | |
102 | |
103 This tool is the fourth step of the MFAssignR workflow (IsoFiltR -> MFAssignCHO -> RecalList) | |
104 | |
105 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. | |
106 | |
107 Output: | |
108 | |
109 - Unambig - data frame containing unambiguous assignments | |
110 - Ambig - data frame containing ambiguous assignments | |
111 - None - data frame containing unassigned masses | |
112 - MSAssign - ggplot of mass spectrum highlighting assigned/unassigned | |
113 - Error - ggplot of the Error vs. m/z | |
114 - MSgroups - ggplot of mass spectrum colored by molecular group | |
115 - VK - ggplot of van Krevelen plot, colored by molecular group | |
116 </token> | |
117 | |
118 <token name="@RECALLIST_HELP@"> | |
119 MFAssignR - RecalList | |
120 ============================= | |
121 | |
122 This tool is the fifth step of the MFAssignR workflow (MFAssignCHO -> RecalList -> FindRecalSeries) | |
123 | |
124 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. | |
125 | |
126 Output: | |
127 | |
128 - Dataframe that contains the CH2 homologous series that contain more than 3 members. | |
129 </token> | |
130 | |
131 <token name="@FINDRECALSERIES_HELP@"> | |
132 MFAssignR - FindRecalSeries | |
133 ============================= | |
134 | |
135 This tool is the sixth step of the MFAssignR workflow (RecalList -> FindRecalSeries -> Recal) | |
136 | |
137 This function takes on input the CH2 homologous recalibration series, which are provided by the RecalList function and tries to find the most suitable series combination for recalibration based on the following criteria: | |
138 | |
139 (1) Series should cover the full mass spectral range, | |
140 (2) Series should be optimally long and combined have a “Tall Peak” at least every 100 m/z, | |
141 (3) Abundance score: the higher, the better, | |
142 (4) Peak score: the closer to 0, the better, | |
143 (5) Peak Distance: the closer to 1, the better, | |
144 (6) Series Score: the closer to this value, the better. | |
145 | |
146 Combinations of 5 series are assembled, scores are computed for other metrics (in case of Peak proximity and Peak | |
147 distance, an inverted score is computed) and these are summed. Finally, either a series of the size of combination or top 10 unique series having the highest score are outputted. | |
148 | |
149 Output: | |
150 | |
151 - Dataframe of n or 10 most suitable recalibrant series. | |
152 </token> | |
153 | |
154 <token name="@RECAL_HELP@"> | |
155 MFAssignR - Recal | |
156 ============================= | |
157 | |
158 This tool is the seventh step of the MFAssignR workflow (FindRecalSeries -> Recal -> MFAssign) | |
159 | |
160 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(). | |
161 | |
162 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. | |
163 | |
164 Output: | |
165 | |
166 - Mass spectrum | |
167 - Recalibrated dataframe of monoisotopic masses | |
168 - Recalibrated dataframe of isotopic masses | |
169 - Recalibrants list | |
170 </token> | |
171 | |
172 <token name="@MFASSIGN_HELP@"> | |
173 MFAssignR - MFAssign | |
174 ============================= | |
175 | |
176 This tool is the last step of the MFAssignR workflow (Recal -> MFAssign) | |
177 | |
178 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(). | |
179 | |
180 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. | |
181 | |
182 Output: | |
183 | |
184 - Unambig - data frame containing unambiguous assignments | |
185 - Ambig - data frame containing ambiguous assignments | |
186 - None - data frame containing unassigned masses | |
187 - MSAssign - ggplot of mass spectrum highlighting assigned/unassigned | |
188 - Error - ggplot of the Error vs. m/z | |
189 - MSgroups - ggplot of mass spectrum colored by molecular group | |
190 - VK - ggplot of van Krevelen plot, colored by molecular group | |
191 </token> | |
192 </macros> |