The present invention relates to a mass spectrometric data analyzer for analytically processing mass spectrum data obtained by performing mass spectrometric analyses as well as a computer program for such a data analyzer. More specifically, it relates to a mass spectrometric data analyzer and computer program suitable for performing a difference analysis among a plurality of sample groups.
In recent years, the method of identifying microorganisms (bacteria and fungi) using matrix-assisted laser desorption/ionization time-of-flight mass spectrometer (MALDI-TOF MS) has been rapidly spread due to its economic efficiency and analytic speediness (for example, see Non Patent Literature 1 or Patent Literature 1). In particular, identifying microorganisms at the level of species or lower levels (e.g. strains) allows for the acquisition of information that is extremely useful in medical areas, e.g. for assessing the pathogenicity of microorganisms or identifying the source of infection. For such analyses, it is necessary to find a “biomarker”, i.e. a mass spectrum peak whose expression varies among microorganisms each of which belongs to a different group. In the following descriptions, a biomarker is simply called a “marker”, and a peak which can be used as a marker on mass spectra is called a “marker peak”.
To find a marker peak, it is normally necessary to perform a measurement using a mass spectrometer for each of the samples respectively derived from a plurality of groups, and perform a difference analysis of the obtained data for statistically analyzing the difference in peak intensity between the groups. An outline of a conventionally and commonly known procedure to search for a marker peak for identifying microorganisms using a difference analysis is as follows.
[Step A1] Samples are prepared in such a manner that each of which belongs to one of a plurality of groups that differ from each other in terms of the species/strain of fungi or culture conditions, with each group including Ng samples. The total number of groups is NG. The total number of samples is Ns.
[Step A2] A mass spectrum is acquired for each sample by performing a mass spectrometric analysis for the sample. The total number of mass spectra is the same as that of the samples, Ns.
[Step A3] A peak detection is performed for each of the Ns mass spectra to collect peak information, i.e. the mass-to-charge-ratio value and signal-intensity value of each peak. Then, for each sample, the peak information of the sample is organized into a peak list. A peak list is a collection of mass-to-charge-ratio values and corresponding signal-intensity values of the peaks sorted by mass-to-charge-ratio value. The total number of peak lists is also Ns.
[Step A4] Using one peak list corresponding to one sample as one column vector, a peak matrix Mp is created by arranging the peak lists as the column vectors in the row direction, i.e. in the horizontal direction, in such a manner that the signal-intensity values corresponding to the same mass-to-charge-ratio value are arrayed in the same row. In this peak matrix, the peak lists are sorted by group. The number of columns of the created peak matrix Mp is the same as the total number of samples, Ns. The number of rows is equal to the total number of peaks observed for all samples, Np (it should be noted that two or more peaks whose mass-to-charge-ratio values fall within a specific threshold are considered as the same peak and counted as one peak).
[Step A5] Each row of the peak matrix Mp contains Ns signal-intensity values. Each of those values belongs to one of the NG groups. A univariate analysis is performed on those signal-intensity values to analyze whether or not there is a difference between the groups and calculate a p-value for each row. For the univariate analysis, the t-test or U test is popularly used for NG=2, while ANOVA is popularly used for NG≥3.
[Step A6] The p-values calculated in Step A5 are each compared with a previously determined significance level a to select a row (i.e. peak) which shows a significant difference. Each peak corresponding to a row which shows a significant difference is listed as a candidate of the marker peak.
Candidates of the marker peaks are subjected to further selections from other points of view unrelated to mass spectrometry, or more specifically, through the consideration of biological mechanisms, validity check based on additional experiments, or other processes. Each candidate having sufficient grounds for selection is judged to be a marker peak.
To perform a difference analysis by the previously described procedure, it is necessary to prepare a sufficient number of samples for each group and perform a mass spectrometric analysis on each sample. If there are many groups, operators will be considerably burdened with sample preparations, such as the culturing and pretreatments. The task of performing a mass spectrometric analysis on each sample will also be extremely complex and time-consuming.
The present invention has been developed to solve the previously described problem. Its primary objective is to provide a mass spectrometric data analyzer as well as a program for analyzing mass spectrometric data with which a peak that shows a difference between groups of samples (marker peak) can be located with a high degree of certainty even when the number of groups is large while the number of samples per one group is comparatively small.
The mass spectrometric data analyzer according to the present invention developed for solving the previously described problem is a mass spectrometric data analyzer for locating a marker peak whose expression varies among a plurality of groups of samples, based on mass spectrum data obtained by performing a mass spectrometric analysis on each of the samples each of which belongs to one of the plurality of groups, the mass spectrometric data analyzer including:
a) a peak information collector for grouping peak-intensity values on mass spectra obtained for a plurality of given samples, for each mass-to-charge-ratio value at which a peak is observed on any one of the mass spectra, based on mass spectrum data obtained for the given samples; and
b) a significant difference determiner for determining, for each mass-to-charge-ratio value, whether or not a peak-intensity distribution is in conformity to a probability distribution using a predetermined parameter, the peak-intensity distribution being either a distribution based on a plurality of peak-intensity values corresponding to one mass-to-charge-ratio value, determined by the peak information collector, or a distribution obtained by correcting the aforementioned distribution, and for selecting a mass-to-charge-ratio value giving a peak-intensity distribution which is judged to be in inconformity to the probability distribution, as a candidate of a marker peak which is considered as showing a significant difference between the plurality of groups.
The program for analyzing mass spectrometric data according to the present invention developed for solving the previously described problem is a program for analyzing mass spectrometric data using a computer, to locate a marker peak whose expression varies among a plurality of groups of samples, based on mass spectrum data obtained by performing a mass spectrometric analysis on each of the samples each of which belongs to one of the plurality of groups. The program makes the computer perform the following steps:
a) a peak information collection step in which peak-intensity values on mass spectra obtained for a plurality of given samples are grouped for each mass-to-charge-ratio value at which a peak is observed on any one of the mass spectra, based on mass spectrum data obtained for the given samples; and
b) a significant difference determination step in which, for each mass-to-charge-ratio value, whether or not a peak-intensity distribution is in conformity to a probability distribution using a predetermined parameter is determined, the peak-intensity distribution being either a distribution based on a plurality of peak-intensity values corresponding to one mass-to-charge-ratio value, determined in the peak information collection step, or a distribution obtained by correcting the aforementioned distribution, and a mass-to-charge-ratio value giving a peak-intensity distribution which is judged to be in inconformity to the probability distribution is selected as a candidate of a marker peak which is considered as showing a significant difference between the plurality of groups.
In the mass spectrometric data analyzer and program for analyzing mass spectrometric data according to the present invention, the samples to be subjected to a mass spectrometric analysis are, for example, living organisms or samples of biological origin. Typical examples are microorganisms, such as bacteria.
For example, in a situation in which one kind of ion originating from one compound arrives at a detector in a time-of-flight mass spectrometer, the temporal change in the number of ions arriving at the detector (i.e. the change in the ion intensity at a specific mass-to-charge-ration value) is expected to be in conformity to a normal distribution (in a strict sense, the arrivals of ions are discrete events and should be expressed by a Poison distribution, although the number of ions is normally so large that it is acceptable to consider the number of ions as a continuous quantity). In this case, it is possible to expect that a peak-intensity distribution (in the present description, a “frequency distribution of peak-intensity values” is called a “peak-intensity distribution”) for one kind of ion originating from one compound, obtained from mass spectra corresponding to a large number of samples having the same nature or characteristics, is also in conformity to a normal distribution. As another example, it is often the case that a secondary electron multiplier, microchannel plate or similar detector having exponential amplification characteristics is used as a detector in a mass spectrometer. In such a case, it is possible to consider that the peak-intensity distribution will be in conformity to a lognormal distribution rather than an ordinary normal distribution.
In other words, if the peak-intensity distribution of a certain ion is not in conformity to a normal distribution or lognormal distribution, it is possible to consider that it is likely that the large number of original samples do not have the same nature or characteristics. That is to say, it is likely that those samples do not belong to one group having the same nature or characteristics. Based on such a basic idea, the mass spectrometric data analyzer and program for analyzing mass spectrometry data according to the present invention determine, for each mass-to-charge ratio, whether or not a plurality of samples can be considered as belonging to the same group, to locate a marker peak that is useful for dividing a large number of samples into a plurality of groups which differ from each other in nature or characteristics.
In the mass spectrometric data analyzer according to the present invention, when mass spectrum data of a plurality of samples each of which belongs to one of the plurality of groups are given, the peak information collector analyzes the mass spectrum data to locate each mass-to-charge ratio at which a peak is observed on at least one of the mass spectra and collect information concerning the peak-intensity values on the mass spectra for each of the located mass-to-charge ratios. A plurality of peak-intensity values (in practice, a considerably large number of peak-intensity values) corresponding to one mass-to-charge-ratio value form a peak-intensity distribution. Accordingly, for each peak-intensity distribution at a different mass-to-charge-ratio value, the significance difference determiner determines whether or not the distribution is in conformity to a normal distribution or lognormal distribution, for example. If a peak-intensity distribution has been judged to be in conformity to a normal distribution or lognormal distribution, it is concluded that there is no difference between the groups. If a peak-intensity distribution has been judged to be in inconformity to a normal distribution or lognormal distribution, it is concluded that there is a difference between the groups. A mass-to-charge-ratio value which gives such a peak-intensity distribution is selected as a candidate of the marker peak.
In the conventional analyzing technique described earlier, the determination on whether or not there is a difference between groups is made by determining whether or not there is a significant difference in a certain value (e.g. mean value) calculated from the result of an analysis on samples belonging to each group. Therefore, there is the tendency that, when the number of samples belonging to one group is small, the analysis result obtained for one sample has a significant influence, and a false-positive determination on the presence of the difference between the groups is more likely to be made when there is actually no such difference. By comparison, in the mass spectrometric data analyzer according to the present invention, analysis results obtained for samples belonging to a plurality of groups are collectively analyzed in the form of a peak-intensity distribution. Therefore, even when the number of samples belonging to one group is small, the influence of an analysis result of one sample is less likely to be reflected. Consequently, the determination on the presence or absence of the difference between the groups can be made with high accuracy even when the number of samples belonging to one group is small.
In a preferable configuration of the mass spectrometric data analyzer according to the present invention, the probability distribution is a normal distribution or lognormal distribution, and the significant difference determiner includes:
The method for the hypothesis test is not specifically limited. A hypothesis test yields a p-value as its output, and this p-value can be compared with an appropriate significance level to determine whether or not the hypothesis should be rejected. According to this configuration, it is possible to correctly and efficiently determine whether or not a peak-intensity distribution is in conformity to a normal distribution or lognormal distribution.
In the previously described configuration of the mass spectrometric data analyzer according to the present invention, the significant difference determiner may further include a saturation characteristics corrector for correcting the peak-intensity distribution to remove an influence of output saturation characteristics of a detector in a mass spectrometer, and determine whether or not the peak-intensity distribution after correction by the saturation characteristics corrector is in conformity to the normal distribution of lognormal distribution.
According to this configuration, even in the case where the phenomenon that the output of the detector in the mass spectrometer becomes saturated with an increase in the actual signal intensity occurs, the influence of the saturation can be removed or reduced, and whether or not there is a difference between the groups can be correctly determined.
The saturation characteristics corrector may be configured to correct the peak-intensity distribution using an inverse function of a previously determined detector characteristics function. Typically, the detector characteristics function can be determined, for example, by the manufacturer of the device by actual measurements.
As one mode of the mass spectrometric data analyzer according to the present invention, the peak information collector may include:
a1) a peak detector for detecting a peak on each of given mass spectra obtained for a plurality of samples; and
a2) a peak matrix creator for creating a peak matrix based on information concerning the peaks detected in each mass spectrum, the peak matrix including peak-intensity values arrayed as elements, with the mass-to-charge-ratio values of the peaks assigned to columns or rows, and information for identifying the samples assigned to rows or columns, and
the significant difference determiner creates a peak-intensity distribution for each row or column in which peak-intensity values corresponding to the same mass-to-charge-ratio value are arrayed in the peak matrix.
In this configuration, a peak matrix containing an exhaustive and complete set of peak information related to the samples is created. Therefore, it is possible to assuredly make a judgment on the peak-intensity distribution for every mass-to-charge ratio at which a peak is located.
To visualize the peak-intensity distribution at each mass-to-charge-ratio value, the mass spectrometric data analyzer according to the present invention may have the function of creating a histogram which shows the relationship between the class and frequency of the peak-intensity values at each mass-to-charge-ratio value, and displaying or printing out the histogram according to an order from a user.
In the mass spectrometric data analyzer and program for analyzing mass spectrometric data according to the present invention, when a search is made for a marker peak which shows a significant difference between a plurality of groups each of which includes a plurality of samples as its members, the marker peak can be located with a high degree of certainty even when the number of samples per one group is comparatively small. This allows for a smaller number of samples to be prepared for each group for a difference analysis, so that the burden on operators in preparing samples will be reduced. The cost for the sample preparation will also be decreased. Furthermore, since the total number of samples to be subjected to mass spectrometry also decreases, the time required for the analysis will be shortened, so that the identification of microorganisms or similar tasks can be efficiently performed.
One embodiment of the mass spectrometric data analyzer according to the present invention is hereinafter described with reference to the attached to drawings.
The mass spectrometer system according to the present embodiment includes a mass spectrometer unit 1, data-analyzing unit 2, input unit 3 and display unit 4. The mass spectrometer unit 1 in the present embodiment is a matrix-assisted laser desorption/ionization time-of-flight mass spectrometer (MALDI-TOF MS), which includes a MALDI ion source, time-of-flight mass separator and detector. The detector is a detector employing a multi-dynode secondary electron multiplier or microchannel plate, both of which have exponential amplification characteristics.
The data-analyzing unit 2 includes a data storage section 20, peak list creator 21, peak matrix creator 22, peak-intensity distribution creator 23, probability distribution determiner 24, and output processor 25 as its functional blocks. The probability distribution determiner 24 includes a mean-and-variance estimator 241, saturation characteristics information memory 242, saturation characteristics corrector 243 and distribution function tester 244.
Typically, the actual form of the data-processing unit 2 is a personal computer or more sophisticated computer, such as a workstation. Dedicated data-analyzing software is installed on the computer. The aforementioned functional blocks are embodied by executing this software on the same computer. In such a configuration, the data-analyzing software installed on the computer corresponds to the program for analyzing mass spectrometric data according to the present invention.
The procedure of the difference analysis in the mass spectrometer system according to the present embodiment is hereinafter described with reference to
The mass spectrometer unit 1 performs a mass spectrometric analysis on each of the Ns prepared samples to obtain mass spectrum data over a predetermined range of mass-to-charge ratios (Step S1). The mass spectrum data obtained with the mass spectrometer unit 1 are sent to the data-analyzing unit 2 and stored in the data storage section 20. It should be noted that not only mass spectra obtained with one specific mass spectrometer unit 1 but also mass spectrum data similarly obtained with other mass spectrometers can be stored in the data storage section 20. In other words, the mass spectrum data obtained for a large number of samples to be analyzed in the data-analyzing unit 2 may be data obtained with one specific mass spectrometer or those obtained with two or more different mass spectrometers. In the case of correcting the saturation characteristics of the detection output as will be described later, the mass spectrum data need to be data obtained with mass spectrometers equipped with detectors having approximately the same saturation characteristics.
In the data storage section 20, Ns sets of mass spectrum data obtained for Ns samples are stored. At a predetermined timing, the peak list creator 21 reads mass spectrum data from the data storage section 20 and performs a peak detection on the mass spectrum in each data set according to predetermined criteria Subsequently, the peak list creator 21 determines the mass-to-charge-ratio value and peak-intensity value of each detected peak, and creates a peak list, which is a collection of a large number of combinations of mass-to-charge-ratio values and peak-intensity values, for each mass spectrum, or for each sample (Step S2). The number of peak lists is the same as that of the samples. Ns.
Based on the Ns peak lists, the peak matrix creator 22 creates a peak matrix including the peak-intensity values as its element, with the m/z values arrayed in the vertical direction and sample names in the horizontal direction (Step S3).
Subsequently, for each of the peak-intensity distributions which respectively correspond to different mass-to-charge-ratio values, i.e. for each row of the peak-intensity values in the peak matrix, the probability distribution determiner 24 performs a process for determining whether or not there is a difference between the NG groups, based on the peak-intensity distribution concerned (Step S5). A specific procedure is as follows.
Initially, based on the peak-intensity distribution corresponding to one row in the peak matrix, the mean-and-variance estimator 241 estimates the mean and variance of the distribution (Step S51). For the estimation, all peak-intensity values in the row concerned in the peak matrix may be simply used as the peak-intensity distribution, or the histogram created in Step S4 may be used.
Meanwhile, based on the saturation characteristics information of the mass spectrometer unit 1, which is previously stored in the saturation characteristics information memory 242, the saturation characteristics corrector 243 corrects the peak-intensity distribution whose mean and variance have been calculated in Step S51 (Step S52). It is often the case with a detector used in a mass spectrometer that the phenomenon of output saturation occurs, i.e. the output of the detector levels off within a high-output region in the input-output characteristics. If the lowering of the intensity value due to the saturation of the detection output is not corrected, the peak-intensity distribution will be inaccurate. Typically, output saturation characteristics of a detector can be determined by experiment or simulation. Accordingly, in the present embodiment, a characteristics function previously determined for the detector is stored in the saturation characteristics information memory 242, and the peak-intensity distribution is corrected using an inverse function of the characteristics function. Needless to say, the process of Step S52 can be omitted in the case where a detector which is free from such an output saturation is used, or in the case where a detector is used within a limited range of its input-output characteristics in which the output of the detector will not become saturated.
The distribution function tester 244 performs a hypothesis test for determining whether or not the peak-intensity distribution which has been corrected in Step S52 is in conformity to the lognormal distribution, based on the estimated values of the mean and variance calculated in Step S51 (Step S53). The reason to perform a hypothesis test for the conformity to the lognormal distribution rather than the normal distribution is because the detector of the mass spectrometer unit 1 in the present embodiment has exponential amplification characteristics. In the case where the detector in the mass spectrometer unit 1 has linear amplification characteristics, a hypothesis test for the conformity to the ordinary normal distribution rather than the lognormal distribution can be performed.
There are various techniques of the hypothesis test for normality, such as the goodness-of-fit test using a chi-square distribution, Kolmogolov-Smimov test, Lilliefors test and Shapiro-Wilk W test. An appropriate technique can be used. As a result of the hypothesis test in Step S53, if the hypothesis that the distribution is in conformity to the lognormal distribution has not been rejected, it is possible to conclude that it is reasonable to consider that all samples at the m/z value concerned constitute one group. In other words, in such a case, it is concluded that there is no difference between the groups. By comparison, if the hypothesis has been rejected, it is concluded that a difference between the groups is likely to exist.
The distribution function tester 244 determines whether or not the test for the presence or absence of a difference between the groups by Steps S51-S53 has been completed for all rows in the peak matrix (Step S54). If there is a row which remains to be tested, the operation returns from Step S54 to Step S51. Accordingly, the test for the presence or absence of a difference between the groups is performed for all rows in the peak matrix by the repetition of Steps S51-S54. The output processor 25 selects the m/z values corresponding to the rows for which the hypothesis has been rejected by the test, i.e. the rows which have been judged as having a significant difference between the groups, as the candidates of the marker peaks and displays the result on the screen of the display unit 4 (Step S6).
As for the histograms created in Step S4, the system can be configured to display them on the screen of the display unit 4 in response to a predetermined operation performed on the input unit 3 by the user.
As described thus far, the mass spectrometer system according to the present embodiment uses information on all samples belonging to a plurality of groups to determine whether or not those samples can be considered as belonging to one group. Therefore, even in the case where the number Ng of samples belonging to each group is comparatively small, the difference analysis can be performed with high accuracy if the total number Ns of samples is large to a certain extent.
An actual example of the difference analysis performed in the mass spectrometer system according to the previous embodiment is hereinafter described.
In the difference analysis, a total of 272 samples (Ns=272) were prepared for 34 strains (NG=34) of microorganisms, with eight samples (Ng=8) from each strain. The 272 samples were each subjected to mass spectrometry in the mass spectrometer unit 1 to obtain mass spectra A peak matrix was created from the 272 mass spectra according to Steps S2 and S3 described earlier. With each strain of microorganisms as one group, a test was performed to determine whether or not there was a difference in peak-intensity distribution between the groups.
The mean and variance values of the peak-intensity distribution shown in
Such a result is likely to be due to the output saturation of the detector in the mass spectrometer unit 1. Accordingly, with reference to Non Patent Literature 2, a model which represents the relationship between an ideal output x and the actual output of the detector was created using the detector characteristics function S(x) expressed by equations (1):
S(x)=x(for 0≤x≤a)
S(x)=a+{(x−a+c)b−cb}×(cJ-b/b)(for a<x) (1)
where a (>0), b (<0) and c (>0) are coefficients determined by the fitting. S(x) is differentiable at x=a; S′(a)=1.
Refitting the model to the Q-Q plot shown in
Normally, a hypothesis with a p-value of 0.05 or smaller is rejected. In the present case, it is sufficiently certain that the hypothesis will not be rejected. Consequently, it is concluded that there is no difference between the groups at the peak (m/z value) corresponding to the aforementioned row in the peak matrix.
The mean and variance were estimated from the peak-intensity distribution shown in
In addition, it is reasonable to consider that the peak-intensity distribution in the present case is a superposition of two peak-intensity distributions with different means and variances, as shown in
As illustrated in the previous examples, with the mass spectrometer system according to the previous embodiment, whether or not there is a difference between groups can be determined for each row of the peak matrix, i.e. for each of the mass-to-charge ratios of the peaks observed in mass spectra which respectively correspond to a large number of samples. Accordingly, candidates of the marker peaks which are likely to contribute to the difference between the groups can be accurately located.
It should be noted that the previous embodiment is a mere example of the present invention, and any change, modification, addition or the like appropriately made within the spirit of the present invention will naturally fall within the scope of claims of the present application.
Number | Date | Country | Kind |
---|---|---|---|
2017-101557 | May 2017 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20040195500 | Sachs | Oct 2004 | A1 |
20100286927 | Horn | Nov 2010 | A1 |
20100299076 | Kajihara | Nov 2010 | A1 |
20140129169 | Noda | May 2014 | A1 |
20160148791 | Bloomfield et al. | May 2016 | A1 |
20180000963 | Chao | Jan 2018 | A1 |
Number | Date | Country |
---|---|---|
5750676 | Jul 2015 | JP |
Entry |
---|
“Mass++ Beginners' Guide”, XP055515175, May 15, 2014 (115 pages) Retrieved from the Internet: URL:https://www.shimadzu.co.jp/aboutus/ms_r/n00kbc0000006dat-att/MassBeginners_en.pdf [retrieved on Oct. 15, 2018]. |
Communication dated Oct. 23, 2018, from European Patent Office in counterpart application No. 18173592.9. |
“AXIMA Biseibustu Doutei Shisutemu (AXIMA microorganisms identification system)”, Shimadzu Corporation, <URL:http://www.an.shimadzu.co.jp/ms/axima/mis.htm> and <URL:https://www.ssi.shimadzu.com/products/maldi-tofmass-spectrometry/id-plus.html>. |
S. Kabuki et al., “Development of an atmospheric Cherenkov imaging camera for the CANGAROO-III experiment”, Proceedings of the Universe Viewed in Gamma-rays, University of Tokyo Workshop 2002, Sep. 25-28, 2002, 9 pages. |
H.W. Lilliefors, “On the Kolmogorov-Smirnov Test for Normality with Mean and Variance Unknown”, Journal of the American Statistical Association, Jun. 1967, pp. 399-402, vol. 62, No. 399-402. |
Number | Date | Country | |
---|---|---|---|
20180340827 A1 | Nov 2018 | US |