Background

Metabolomics is based on biology, analytical chemistry, and information science, and it has become an important tool in many research areas [15]. The metabolome information can be used to extrapolate novel biological knowledge [1, 68]. The main platforms in metabolomics studies are based on hybrid systems such as GC/MS, liquid chromatography (LC)/MS, and capillary electrophoresis (CE)/MS, all of which have been applied in many fields - including biomarker studies in medical diagnosis and quality evaluation and prediction in food science [2, 3, 5, 911]. Among these platforms, GC/MS is a relatively mature method because the reproducible measurement is possible and many peaks (200 to 500) can be reliably obtained from a biological sample [1, 3, 12]. In addition, peak identification is straightforward when retention time (RT) and mass spectra data are compared to those of accumulated compound information in a laboratory (reference library). For these reasons, GC/MS is generally recognized as one of the most versatile and applicable platform in metabolomics.

Since GC/MS is mature enough to run a batch of analyses and to easily identify metabolite peaks, the development of a fast data analysis tool is essential [6, 7]. Currently, peak identification and annotation is time-consuming when these processes are performed manually. Moreover, manual analysis results in serious problems in the accuracy of peak identification and annotation depending on the knowledge and expertise of individual researchers. Peak annotation is especially difficult because the extensive knowledge of fragmentation patterns by electron ionization (EI) is required. Therefore, it is an important challenge to develop data processing tools that identify and annotate metabolites easily, accurately, and rapidly.

Previous software platforms for peak identification utilize retention indexes that depend on an n-alkane mix (AMDIS [13], BinBase [14], MetaQuant [15], TagFinder [16], MetaboliteDetector [17]). But the retention index method requires some complicated procedures such as sample preparation and data analysis due to the n-alkane mix of the exogenous compounds. Moreover, the obtained metabolite information is limited to identifiable peaks because these platforms treat the ambiguous peak as "unknown". Therefore, many potentially interesting biomarkers tend to be disregarded.

There are several reasons why extracted peaks are left unidentified. First, peaks with a low signal-to-noise ratio, i.e., those with a large amount of noise, decrease the degree of coincidence (DOC) when compared to a reference library. Second, de-convolution may be unsuccessful because of co-elution (i.e., simultaneous elution of multiple compounds). Last and most importantly, no reference library is complete or covers information on all possible metabolites. If a certain metabolite is known to exist in a biological sample, a standard compound can be analyzed to resolve one unknown peak. However, if there is no information for a large number of unknown peaks, the cost of collecting standard compounds is prohibitively expensive; moreover, if a compound is not commercially available, the compound must be synthesized. For these reasons, it is important to deduce any kind of chemical information about unknown peaks.

We developed a data mining system to easily obtain metabolite information by using two mathematical methods. The first method is a Pearson's product-moment correlation coefficient for identification that we based on retention time and weighted mass spectrum [18, 19]. Using 1) a retention time correction based on pseudo-internal standard and 2) a relaxed mass fitting to a reference library resulted in an identification process that was less dependent on column aging, column cuts, or column lot. In spectral comparison, higher masses are given more weight to reduce false positives and false negatives.

The second method is the Soft Independent Modeling of Class Analogy (SIMCA) [20] for the annotation of unknown peaks, and some techniques of SIMCA utilizing mass spectra have been developed, especially in toxic studies [2125]. SIMCA is a supervised classification technique that is based on principal component analysis (PCA) [26], and it is useful for building multiple class models. New measurements are projected in each principle component (PC) space that describes a specific class, and the F-test is used to evaluate the Euclidean distances of the objects toward the model. We constructed the five chemical class models including amine, organic acid, fatty acid, sugar, and sugar phosphate groups as initiative. Using this method, we developed an annotation algorithm for unidentified peaks.

We utilized the free software MetAlign [27] for baseline correction, peak detection, and peak alignment. MetAlign has been a powerful tool for data preprocessing of GC/MS-based metabolomics [28, 29]. The CSV format file exported from MetAlign can be analyzed by program written in Visual Basic, which software name is AIoutput. Our system and manual is given as additional files 1, 2, 3, and 4.

For validation, we performed two experiments. The first experiment included the standard mixtures: fifteen samples each mixed with 99 well-known standard compounds. In the standard-mix experiment, we demonstrated that the identification and annotation algorithms were robust and resulted in very few false positives or false negatives. The second experiment was a re-analysis of our published data. This experiment demonstrated that the required time for data processing was much shorter and that the novel system produced superior results. The proposed algorithm can be a powerful tool for quality evaluation and prediction, particularly in food science.

Methods

1. Theoretical aspect

Retention time correction

Retention times provide important information for identifying metabolites. A common problem in accurate identification is chromatographic shift resulting from column aging or lot differences. To adjust such shifts, retention indexes based on an n-alkane mix are usually calculated. However, retention index correction has some disadvantages. First, the requirements for sample preparation, such as density adjustment between metabolites and an n-alkane mix, are complicated. Moreover, if the type or number of n-alkane mix used in each laboratory is different, results may not be compatible among laboratories. Therefore, we used stable metabolite peaks derived from biological samples as indexes in order to reduce the problem of chromatographic shift. Retention times from the reference library were updated by several pseudo-internal standards. The update method was as follows.

RTnew represents the retention time after update in the reference library, RTold represents that of original data (See also additional file 4), rtnew and rtold represent the retention time of the updated pseudo-internal standard and that of original one, respectively.

In an actual implementation, a user can choose up to eight compounds as pseudo-internal standards. The selection of standards is user-dependent, but the use of standards that result in early and late peaks is recommended for more accurate adjustment.

Peak identification

The most important information for peak identification is the mass spectrum of a compound. Pearson's product-moment correlation coefficient was used to measure the similarity of two mass spectra, which were represented as vectors of intensity for each integer mass unit. Because the EI ionization method is a hard ionization method, recorded mass spectra generally show larger intensities for lower masses than for higher masses. Because higher masses provide more reliable information for compound identification, higher masses were given larger weights in comparing two mass spectra. The identification method was as follows.

ERT and Lrt represent the totally-weighted vectors of an extracted peak and of a reference compound, respectively. The parameter c presents the time width for a reference search. Eold and Enew represent the original intensity and the weighted intensity of the extracted spectrum, respectively. Lnew and Lold represent the original intensity and the weighted intensity of a reference compound. For example, if an extracted peak, A, is eluted at 600 sec and the time width parameter c is set to 2 sec, the compounds from 598 to 602 sec in a reference library are selected as candidate matches. The compound from the reference library with the highest DOC when fitted to peak A is further selected as the match. If no candidate match is found, a prediction algorithm, described in the next section, is applied.

It should be noted that the time width was set by a user. Although pseudo-internal standard correction may impair accuracy compared to retention index correction, this relaxed mass fitting may have reduced the number of false negatives. This assertion is based on the assumption that mass spectra are more consistent and reliable than retention time for peak identification. In addition, although a few compounds have high similarity, the weighted mass spectra may have reduced false positives because the difference of the intensity in high masses was emphasized.

Peak prediction

SIMCA is a well-known pattern recognition method that distinguishes each class separately in a principal component (PC) space. SIMCA can also evaluate whether new objects belong to a specific model or not.

A training matrix, X, contains objects of different known classes. The sub-matrix, X K , (m × p) contains m training objects belonging to class K that were measured at p variables. Each class training set is modeled separately by PCA. X K is described with a score matrix, T K , and loading matrix, V K , as follows.

The number of important PCs, r, to describe the class, K, is usually determined by cross-validation [30, 31]. E K is the matrix containing the residuals. X K is divided into two parts. One part is described by r PCs, and the other E K is the residuals of the PC space. The standard deviation of E K , i.e., the residual standard deviation (RSD), and the RSD of new objects fitted to class K model are first compared, and then new objects are evaluated to determine whether they belong to class K. The RSD of E K is, in fact, a measure for the Euclidean distance of the class K objects toward the r PC space.

represents the residual of object, k, of the class K training set at variable i.

To predict whether an object, , belongs to the class K, it is projected on the space defined by the selected PCs of the class K training set.

represents the predicted object, , in the space of the class K training set. The residual vector of object is calculated as follows.

And the RSD, s j i.e., a Euclidean distance taking into account the degree of freedom, is obtained as follows.

One determines whether the residual variances and are significantly different by calculating the F-value compared to the tabulated critical F- crit for (m - r -1) and (m - r -1)2 degree of freedom.

If the residual variances and are significantly different, the new object will not be classified into the class K. On the other hand, if the residual variances are not significantly different, the new object will be classified into class K. The test is performed under all classes.

In the AIoutput software, SIMCA is applied to unidentified peaks to classify them into a metabolite group (sugar, sugar phosphate, organic acid, amine, or fatty acid). If an unidentified peak could be classified into multiple groups, the group associated with the largest p-value is chosen. In this study, however, unknown peaks were rarely classified into multiple groups (3 out of 84 cases in re-analysis). If an unidentified peak is not classified into any class, the peak is ultimately reported as unknown. But the AIoutput software creates an organized data matrix that includes the unknown peak information. This type of output represents the ultimate goal of metabolomics studies, which is a comprehensive analysis of all metabolites in the biological samples.

2. Practical workflow

Construction of the SIMCA model

We prepared five metabolite groups for annotation: sugar, sugar phosphate, organic acid, fatty acid, and amine, and 12, 10, 12, 9, and 13 compounds, respectively, were prepared for the training matrix (Table 1). We used the relative intensities of each mass value ranging m/z 85 to 500 as variables in the SIMCA model.

Table 1 Compounds used in the training set for the SIMCA method

Standard mixture experiment

In order to validate the accuracy of our identification and annotation algorithms, we performed the following verification experiment. Standard compounds (99 total, see Table 2 and 3) were dispensed into 2 ml eppendorf tubes at three concentrations (5 μl, 10 μl, or 15 μl each standard solution of 10 mM). For each pattern, five tubes were prepared (15 standard mixtures in total). Any methanol in the mixtures was evaporated in a vacuum centrifuge dryer for 1 hour, and the mixtures were freeze-dried overnight.

Table 2 43 out of 99 compounds included in the five classes
Table 3 56 out of 99 compounds not included in the five classes

Sample derivatization procedures were followed previously [5]. In brief, methoxyamine hydrochloride in pyridine was added for oximation, and N-methyl-N-(trimethylsilyl) trifluoroacetamide (MSTFA) was added for silylation, and 1 μl of each mixture was injected in the split mode (25:1, v/v). Auto-sampler was a 7683B series injector (Agilent Co., Palo Alto, CA), and gas chromatograph was a 6890N (Agilent Co., Palo Alto, CA), and mass spectrometer was a Pegasus III TOF (LECO, St. Joseph, MI). The column was a 30 m × 0.25 mm i.d. fused silica capillary column coated with 0.25 μm CP-SIL 8 CB low bleed/MS (Varian Inc., Palo Alto, CA). The front inlet temperature was 230°C. The helium gas flow rate through the column was 1 ml/min. The column temperature was held at 80°C for 2 min isothermally and then was raised by 15°;C/min to 330°C and was held there for 6 min isothermally. The transfer line and ion source temperatures were 250°C and 200°C, respectively. 20 scans per second were recorded over the mass range 85-500 m/z.

MS data were exported in the netCDF format (See additional file 5). Fifteen chromatograms were peak-detected and aligned using the MetAlign software (Wageningen UR, The Netherlands, freely available at http://www.pri.wur.nl/UK/products/MetAlign/). The resulting data was exported in the CSV-format file (See additional file 6). After updating retention times of our reference library by the pseudo-internal standard correction method (see above), peak identification and annotation were executed in the AIoutput software.

Published data experiment

In order to verify the utility of our system, we re-analyzed data from our previous work that is reported in Pongsuwan W et al. [5]. The analytical method used for this experiment was exactly the same as that used for the standard mixture experiment.

Result and Discussion

Validation and optimization of the SIMCA model

It was important to evaluate independence of five class models. We performed PCA toward the data matrix (56 × 416), i.e., spectral vectors of 56 compounds used in the SIMCA model (Figure 1a and 1b). The metabolite groups were clearly separated by the first and second PCs, and the amine and fatty acid groups were especially independent. As shown in Figure 1b, the loading plot shows that the m/z 86 and 174 contributed to the discrimination of amine group, and the m/z 117, 129, and 132 contributed to the discrimination of fatty acid group. To investigate the features of organic acid, sugar, and sugar phosphate groups in detail, we applied PCA to the data matrix (34 × 416) including only the three groups. As shown in Figure 1c and 1d, the m/z 299 clearly discriminated the sugar phosphate group, and the m/z 147 was a characteristic mass to the organic acid group.

Figure 1
figure 1

Model evaluation. (a), (b) The PCA score and loading plot including all compound groups. (c), (d) The score and loading plot including organic acid, sugar, and sugar phosphate groups. Mean centering was used in the data preprocessing. The legend shows each metabolite group. X-axis and Y-axis describe the first and second PCs, respectively.

After we applied PCA to five metabolite groups individually, we optimized each model using interclass distance as follows.

s12 denotes the interclass residual when Class 1 objects were projected into the PC space of Class 2. r2 and m1 represent the factor number of Class 2 and the number of training objects for Class 1, respectively. It should be noted that the interclass residual of Class 1 described by Class 2 space was different from that of Class 2 described by Class 1 space (s12s21). For this reason, we used an interclass distance D12 as the distance between class models, and the values larger than one indicate real differences [20]. Higher distances indicate that models are more independent of one another. If two models are not independent, the interclass distance is close to zero. Table 4 shows the interclass distance, PC number, and the important m/z used in the SIMCA model. The classes were largely independent of one another. In addition, because only one PC was used as the latent variable for all metabolite groups, the model should be robust and less over-fitted. In the cross validation, the misclassifications were nothing (Table 5). This result shows that a good model can be constructed for annotating metabolites from mass spectra.

Table 4 Interclass distance resulting from SIMCA
Table 5 Cross validation of SIMCA model

Identification and annotation accuracies by the standard-mix experiment

Table 6 shows the result of peak identification by Manual, ChromaTOF software, and the AIoutput software, respectively. Our system required only two minutes for analyzing the CSV-format file, and all 99 compounds in 15 samples were unmistakably identified. Several amino acids generate two peaks due to different degrees of silylation at primary amines, and sugars generate several peaks due to their geometric isomers derived from in the oxime reaction [3234]. Such peaks were also identified accurately. Although there were the ten false positives, some of these false positive might have been generated by additional reactions in the derivatization process and by the pyrolysis reaction in the front inlet and capillary column [33, 34]. The formation of TMS-pyroglutamate from TMS-glutamate is a characteristic example of an additional reaction in the derivatization process [34]. Moreover, we also confirmed the accuracy of annotation algorithm (see Table 2 and 3). Some compounds of organic acid and sugar groups were classified into two groups. Although the organic acid and sugar groups were relatively similar as shown in Figure 1 and Table 4, the end result by p-value was correct. Some compounds including an amino functional group were classified to amine group. Despite some misclassifications, however, the result suggests that our annotation algorism is acceptable because the mass fragmentation is not always dependent to the functional groups. In the fragmentation pattern, pyruvic acid, phosphoric acid, and urea have m/z 174, m/z 299, and m/z 147 as high intensity mass, respectively. Spermidine and spermine have the unique mass fragmentation patterns different in amine group (See additional file 2).

Table 6 Peak identification results by manual, ChromaTOF and the AIoutput software

System evaluation by the data re-analysis

We re-analyzed the published data in order to show the utility of our system. The biological samples used were Japanese green teas that had been ranked in an agricultural fair [5]. Our system recognized 231 peaks in these chromatograms, and offered an organized data matrix without any missing values (See additional file 7). Out of 231 peaks, 112 were matched with compounds from our reference library, and 83 peaks were classified into a predicted metabolite groups; organic acid, sugar, sugar phosphate, amine, and fatty acid groups included 56, 18, 3, 6 and 0 peaks, respectively. We applied the organized data matrix to PCA (Figure 2). Figure 2a and 2b represent the PCA score plots from the data matrix obtained by the previous analysis [5] and the new analysis, respectively. Our new system produced better classification, and the second PC space closely correlated with tea grades. Moreover, the required time for data processing was about 30 min.

Figure 2
figure 2

Result comparison. (a) The PCA score plot made by our previous method. (b) The PCA score plot made by our new system. The legend shows the ranking of the Japanese green tea samples. The variations in each group were relatively small, and each tea grade was clearly better separated in the second PC with the new system.

Because the second PC correlated with tea quality, we examined the loading of the second PC (data not shown). In addition to some identified metabolites, two annotated metabolites (Figure 3a and 3b) positively contributed to the second PC, and one annotated metabolite (Figure 3c) contributed negatively (we also confirmed the mass spectra of these annotated peaks by manual). The amounts of three metabolites clearly differed among tea grades. Note here that the second PC was insensitive to the analytical order because the tea samples had been randomly analyzed by GC-TOF/MS, also note that ribitol could be reliably used as the internal standard (Figure 3d). Of these three annotated peaks, we identified one metabolite as xylonic acid by our additional investigation (Figure 4). Xylonic acid is a minor sugar acid, and this is new insight into Japanese green tea. We also examined standard compounds of xylitol and xylose in order to confirm whether xylonic acid was generated from these compounds because of additional reaction in the derivatization process (data not shown).

Figure 3
figure 3

Annotated peaks information. (a), (b), (c) The peak height of three important metabolites for describing the tea grade in the second PC space. (d) The peak height of ribitol. The peaks of the annotated metabolites were scaled relative to the ribitol peak. The graph title indicates their annotated names and their respective retention times. These three peaks clearly varied with tea quality.

Figure 4
figure 4

Xylonic acid mass spectra. (a) Mass spectra of an annotated metabolite in a Japanese green tea sample. This metabolite is the same as Fig. 3a. (b) Xylonic acid mass spectra.

Conclusion

The purpose of metabolomics is a comprehensive analysis of metabolites in biological samples. GC-TOF/MS offers highly reproducible information on primary metabolites. Our new data analysis tool provided the useful metabolite information and the organized data matrix accurately and rapidly. The system identified compounds by a retention time correction based on pseudo-internal standard and a relaxed mass fitting without requiring complicated sample preparation procedures, such as density control. This system can be also used to re-analyze past data if the reference library is provided. As shown by the re-analysis of our published data, novel knowledge about Japanese green tea research is available for quality evaluation and prediction in food science. Our study suggests that researchers can achieve high-quality GC/MS-based metabolomics relatively easily. However, GC-TOF/MS is comparatively expensive; therefore, we are working to develop a similar system for GC-Q/MS, which is considerably less expensive. Moreover, this method will be also used to develop the "Known" and "Known unknown" metabolite library database for non-targeted metabolomics analysis.