This invention relates generally to analysis of data collected by analytical techniques such as chromatography and spectrometry. More particularly, it relates to a nonlinear filter such as a moving median filter for noise reduction in mass chromatograms acquired by liquid chromatography-mass spectrometry.
Liquid chromatography-mass spectrometry (LC-MS) is a well-known combined analytical technique for separation and identification of chemical mixtures. Chromatography separates the mixture into its constituent components, and mass spectrometry further analyzes the separated components for identification purposes.
In its basic form, chromatography involves passing a mixture dissolved in a mobile phase over a stationary phase that interacts differently with different mixture constituents. Components that interact more strongly with the stationary phase move more slowly and therefore exit the stationary phase at a later time than components that interact more strongly with the mobile phase, providing for component separation. A detector records a property of the exiting species to yield a time-dependent plot of the property, e.g., mass or concentration, allowing for quantification and, in some cases, identification of the species. For example, an ultraviolet (UV) detector measures the UV absorbance of the exiting analytes over time. When liquid chromatography is coupled to mass spectrometry, mass spectra of the eluting components are obtained at regular time intervals for use in identifying the mixture components. Mass spectra plot the abundance of ions of varying mass-to-charge ratio produced by ionizing and/or fragmenting the eluted components. The spectra can be compared with existing spectral libraries or otherwise analyzed to determine the chemical structure of the component or components. Note that LC-MS data are two-dimensional; that is, a discrete data point (intensity) is obtained for varying values of two independent variables, retention time and mass-to-charge ratio (m/z).
LC-MS data are typically reported by the instrument as a total ion current (TIC) chromatogram, the sum of all detected ions at each scan time. Peaks in the chromatogram represent separated components of the mixture eluting at different retention times. A noise-free chromatogram 10, shown in
Because it enables the identification and quantification of hundreds to thousands of analytes in a single injection, LC-MS is currently being used to analyze complex biological mixtures (see, e.g, D. H. Chace et al., “Mass Spectrometry in the Clinical Laboratory,” Chem. Rev. 101 (2001): 445–477). Proteomics is a relatively new field that aims to detect, identify, and quantify proteins to obtain biologically relevant information. Both proteomics and metabolomics (the detection, identification, and quantification of metabolites and other small molecules such as lipids and carbohydrates) may facilitate disease mechanism elucidation, early detection of disease, and evaluation of treatment. Recent advances in mass spectrometry have made it an excellent tool for structural determination of proteins, peptides, and other biological molecules. However, proteomics and small molecule studies typically have a set of requirements that cannot be met by manual interpretation of the LC-MS data.
First, these studies require high-throughput analysis of small volumes of biological fluid. Manual data interpretation creates a bottleneck in sample processing that severely limits the number of samples that can be analyzed in a given time period. Furthermore, while large available sample volumes allow an operator to adjust parameters by trial and error to obtain adequate chromatograms and spectra, biological samples are available in such small volumes that it is imperative to extract useful information from all of the available sample. Second, unlike traditional research applications, in which a relatively small amount of data is required, the paradigm of these studies is to acquire enormous amounts of data and then mine the data for new correlations and patterns. Manual data analysis is therefore unfeasible. In addition, biological samples are generally complex mixtures of unknown compounds, and so it is not desirable to extract only known spectra and discard the remaining data, an approach that has been used for studies involving quantification of known compounds in a mixture. Finally, LC-MS instruments produce an enormous amount of data: a single one-hour chromatographic run can produce up to 80 MB of binary data. For storage and subsequent data mining purposes, it is highly desirable to reduce the amount of data to retain information while discarding noise. To satisfy these requirements, a data analysis method is needed that can acquire a large amount of data from low-volume biological mixtures, extract useful information from the resulting noisy data set, and identify unknown compounds from the extracted information. An essential component of such a method is the ability to filter noise accurately so that peaks can be distinguished automatically.
The problem of filtering chromatographic noise has been addressed to various degrees in the prior art. The component detection algorithm (CODA) is an automated method for selecting mass chromatograms with low noise and low background. CODA is described in W. Windig et al., “A Noise and Background Reduction Method for Component Detection in Liquid Chromatography/Mass Spectrometry,” Anal. Chem., 68 (1996): 3602–3606. The method computes a smoothed and mean-subtracted version of each mass chromatogram, compares it with the original chromatogram, and calculates a similarity index between the two. Chromatograms whose similarity index exceeds a threshold value are retained and combined to form a reduced total ion chromatogram, while other chromatograms are rejected. CODA has proven very effective at selecting high-quality mass chromatograms. However, it can only accept or reject entire chromatograms based on their noise level, but cannot filter noise from an individual chromatogram. As a result, noisy chromatograms that contain useful information are eliminated, and important peaks may not be detected.
Techniques exist for filtering noise and background from spectrometric data. For example, U.S. Pat. No. 5,995,989, issued to Gedcke et al., describes a filtering method in which an average background level and an average deviation from the background are computed and used to define a local threshold for each data point. Points exceeding the threshold are retained, while points below the threshold are considered to be noise and discarded. The technique described in Gedcke et al. is only effective for noise levels that are substantially below the level of the peaks. For data such as that illustrated in
In U.S. Pat. No. 6,112,161, issued to Dryden et al., a method for enhanced integration of chromatography or spectrometry signals is described. A baseline signal is computed from a moving average of the actual signal. The difference between the baseline and actual signal is a baseline-adjusted signal containing peaks and high-frequency noise. An intensity range of the noise is determined, and all signal outside of this range is considered to be peaks, while signal inside this range is considered to be noise. As with the method of Gedcke et al., the method of Dryden et al. can only be used when the noise intensity is substantially lower than the signal intensity. Because LC-MS data often has noise values exceeding the signal values, the method of Dryden et al. is not effective at removing noise from LC-MS data.
A moving median digital filter has been used to remove noise from mass spectrometry and potentiometric titration data, as described in C. L. do Lago et al., “Applying moving median digital filter to mass spectrometry and potentiometric titration,” Anal. Chim. Acta, 310 (1995): 281–288. Each data point is replaced by the median of the values in a window surrounding the point. With respect to the mass spectrometry data, the filter is applied both to the electron multiplier output, i.e., the ion abundance values, and to the magnetic field sensor, i.e., the mass-to-charge ratio. The method is not, however, applied to two-dimensional data such as LC-MS data. In most cases, state-of-the-art LC-MS instruments do not report the mass spectra as continuous smooth peaks, but rather as centroided data, i.e., single-mass peaks at the average mass value of the true peak. Without centroiding, an unmanageable amount of data would be generated for each spectrum. A moving median filter applied to centroided mass spectral data would remove peaks and noise equally. Because the peak shape is removed in the reported data, filtering or analytical methods cannot be applied to the mass spectra. Moreover, in some cases, one major source of noise, detector noise, can corrupt an entire mass spectrum. If a high fraction of the points in the filter window are corrupted, then a median filter applied to the spectrum cannot remove this noise.
There is still a need, therefore, for a method for removing noise, particularly high-intensity spikes, from chromatographic and spectrometric data such as LC-MS data.
The present invention provides a method for filtering noisy mass chromatograms in two-dimensional liquid chromatography-mass spectrometry (LC-MS) data. The method can remove noise spikes that have a higher intensity than peaks corresponding to eluted analytes, while essentially retaining the peak intensity and shape. It therefore performs substantially better than conventional linear filters that assume a normal distribution of the noise.
In a method of the invention for characterizing a chemical or biological sample, a series of mass spectra are generated by chromatography (e.g., liquid chromatography) and mass spectrometry. A total ion current (TIC) chromatogram is obtained from the mass spectra, and a median filter is applied to the chromatogram, resulting in a filtered total ion chromatogram with lower noise than the original chromatogram. Preferably, individual chromatograms are generated from the series of mass spectra, and the filter is applied separately to each individual chromatogram. The total ion current chromatogram is then reconstructed from the individual filtered chromatograms. Alternatively, the raw mass spectral data can be compared with the filtered chromatograms and the raw data replaced with the corresponding filtered data if the filtered data has a lower intensity value. The TIC chromatogram can then be assembled from the thresholded raw data. Subsequent to filtering, additional post-acquisition processing steps can be performed, such as applying a component detection algorithm to the filtered data to select relatively noise-free individual chromatograms.
The filter can be any suitable median filter such as a moving median filter or modified median filter, and the method preferably also includes selecting and optimizing one or more parameters of the filter. For example, the parameter can be selected based on the scan rate of the mass spectrometer or on subsequent data analysis, such as peak selection, of the mass spectra.
Also provided by the present invention is a program storage device accessible by a processor and tangibly embodying a program of instructions executable by the processor to perform method steps for the above method.
The present invention provides a method for filtering chromatographic and spectrometric data to reduce noise in individual mass chromatograms, thereby facilitating subsequent selection of peaks or high quality chromatograms for component detection. In liquid chromatography-mass spectrometry (LC-MS) or gas chromatography-mass spectrometry (GC-MS) data, the noise intensity is often larger than the intensity of the peaks corresponding to eluted species, making it very difficult to extract meaningful information from the data. The method of the invention is able to reduce substantially such large magnitude noise spikes.
LC-MS noise originates from a variety of sources corresponding to different components of the system. Each physical mechanism of the system contributes its own noise distribution to the final measured ion current. For example, chemical noise results from column bleed, i.e., long-time elution of strongly-adsorbed species at particular mass-to-charge ratios, low-concentration sample contaminants, and detection of the chromatographic mobile phase. In the mass spectrometer, the ion generation, selection, and detection processes all generate noise. Electronic signal processing and analog-to-digital conversion add noise to the acquired data. The noise sources and distributions are not well understood for all components, making it difficult to select an appropriate filter.
In order to understand the noise distribution in LC-MS data better, the present inventor has prepared histograms of non-normalized intensity distributions of LC-MS spectra of two samples.
In methods of the invention, a digital median filter, a nonlinear filter, is applied to individual mass chromatograms to reduce the noise level. A mass chromatogram is a plot of intensity versus retention time for a particular range of mass-to-charge ratio of detected ions. A nonlinear filter applies a nonlinear function to the data to be filtered. A nonlinear filter such as a median filter is particularly well-suited to LC-MS data because of the noise distribution characteristics of this type of data. As recognized by the present inventor, noise in LC-MS data is not normally distributed in the linear scale, i.e., does not follow a Gaussian distribution. Additionally, empirical study of LC-MS data has revealed that in individual mass chromatograms, noise spikes typically occur over a single scan time only. Standard filtering techniques for LC-MS data use moving average filters, which are linear filters and therefore effective at removing only normally distributed noise. Note that while noise may be correlated in adjacent points along the mass axis of a mass spectrum, it is typically not as highly correlated along the time axis. Thus there is no guarantee that noise reduction methods developed for one of the dimensions can be extended to the other dimension.
A simple median filter used in the preferred embodiment of the invention is a moving median filter, illustrated in
A flow diagram of a method 20 of the invention for reducing noise in LC-MS or GC-MS data is shown in
Finally, the filtered mass chromatograms are combined into a reduced or filtered total ion current chromatogram in step 30. One method is simply to sum the intensities at each time point. Alternatively, the raw mass spectral data obtained in step 22 can be thresholded using the filtered chromatograms. To do this, each raw data point is compared with its corresponding point in the filtered chromatograms. Recall that the raw data contain points at non-integer values of mass-to-charge ratio, while the filtered chromatograms contain points corresponding to ranges of mass values. If the intensity value of the raw data exceeds the value of the corresponding filtered point, then the original point is replaced by the filtered value. If not, it is retained.
The method 20 is typically implemented as part of an automated data analysis method for two-dimensional LC-MS or GC-MS. Data filtered according to the present invention may be subjected to, for example, peak recognition algorithms and structural identification algorithms. It is anticipated that the filtered data can be much more successfully analyzed by subsequent algorithms than can unfiltered data. In fact, one of the problems with the CODA method is that it removes noisy chromatograms, thereby also removing any information contained within the chromatograms.
Although the method 20 is best implemented by applying the median filter to the individual mass chromatograms and then combining the filtered chromatograms into a reduced total ion current chromatogram, the filter alternatively can be applied directly to the original total ion current chromatogram. In individual mass chromatograms, noise spikes typically occur over a single scan time only and are therefore effectively filtered using a moving median filter of the invention. In the total ion current chromatogram, however, spikes that occur at different masses but adjacent retention times can effectively merge to extend over multiple scan times and therefore pass the filter.
The median filters used in step 26 have parameters that are adjusted to achieve optimal filtering of the signal. The moving median filter, for example, has one parameter, the window size, the number of points over which the median is computed. The optimal window size is determined by a number of factors including the typical peak width and the scan rate. The peak width of LC-MS or GC-MS data varies with column conditions, flow rate, and mobile and stationary phases, among other factors. The window size should not be wider than the typical peak width, or peaks will be significantly distorted.
In addition, the scan rate determines the density of points in the chromatogram and therefore also affects the optimal window size. If scans are performed half as frequently as in the chromatogram of
Additionally, the optimal parameters are determined by the quality of the resulting reduced total ion chromatogram and the ease and accuracy with which subsequent component detection or automated peak picking can be performed.
In some embodiments, an adaptive window size is employed. The window size is not the same for all data points, but varies based on a number of factors. The window size can be selected based on characteristics of the data by analyzing subsets of points in each mass chromatogram. Alternatively, the variation in window size can be predetermined based on knowledge of the instrument conditions. If peaks at later retention times are known to be broader than peaks at earlier times, then the window is preset to increase with retention time.
Additional median filters include a modified median filter. This filter has more parameters than the moving median filter, but the parameters are optimized based on the same principles.
Methods of the invention preferably use standard algorithms for implementing the various steps. For example, the moving median filter is applied using existing techniques for obtaining the median of a set of points. In one such algorithm, the median window is applied sequentially to the data beginning at the lowest-time data point. Points within the window are ordered and the central point selected as the median. For subsequent points, the earliest-time point is removed and the new point inserted into the correct position in the ordered set. At the edges of the data set, additional points are appended so that the window can be centered on the first and last points. Preferably, the additional points have the same values as the edge points.
An example application of the method is shown in
Although not limited to any particular hardware configuration, the present invention is typically implemented in software by a system 40, shown in
The computer 42 implementing the invention typically contains a processor 52, memory 54, data storage device 56, display 58, and input device 60. Methods of the invention are executed by the processor 52 under the direction of computer program code stored in the computer 42. Using techniques well known in the computer arts, such code is tangibly embodied within a computer program storage device accessible by the processor 52, e.g., within system memory 54 or on a computer readable storage medium 56 such as a hard disk or CD-ROM. The methods may be implemented by any means known in the art. For example, any number of computer programming languages, such as Java, C++, or LISP may be used. Furthermore, various programming approaches such as procedural or object oriented may be employed.
It is to be understood that the steps described above are highly simplified versions of the actual processing performed by the computer 42, and that methods containing additional steps or rearrangement of the steps described are within the scope of the present invention.
It should be noted that the foregoing description is only illustrative of the invention. Various alternatives and modifications can be devised by those skilled in the art without departing from the invention. Accordingly, the present invention is intended to embrace all such alternatives, modifications and variances which fall within the scope of the disclosed invention.
This application is a continuation of patent application Ser. No. 09/994,575, “Median Filter for Liquid Chromatography-Mass Spectrometry Data,” filed Nov. 27, 2001 now U.S. Pat. No. 6,787,761, which claims the benefit of U.S. Provisional Application 60/253,178, “Informatics System,” filed Nov. 27, 2000 and U.S. Provisional Application No. 60/314,996, “Nonlinear Filter For Liquid Chromatography-Mass Spectrometry Data,” filed Aug. 24, 2001, all of which are herein incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
3997298 | McLafferty et al. | Dec 1976 | A |
4353242 | Harris et al. | Oct 1982 | A |
4752888 | Yoshihara | Jun 1988 | A |
4761545 | Marshall et al. | Aug 1988 | A |
4981783 | Augenlicht | Jan 1991 | A |
5119315 | Kemp et al. | Jun 1992 | A |
5412208 | Covey et al. | May 1995 | A |
5569584 | Augenlicht | Oct 1996 | A |
5592402 | Beebe et al. | Jan 1997 | A |
5672869 | Windig et al. | Sep 1997 | A |
5885841 | Higgs, Jr. et al. | Mar 1999 | A |
5995989 | Gedcke | Nov 1999 | A |
6008490 | Kato | Dec 1999 | A |
6008896 | Sabsabi et al. | Dec 1999 | A |
6091492 | Strickland et al. | Jul 2000 | A |
6112161 | Dryden | Aug 2000 | A |
6122535 | Kaestle et al. | Sep 2000 | A |
6144758 | Fukushima et al. | Nov 2000 | A |
6147344 | Annis et al. | Nov 2000 | A |
6154708 | Koashi | Nov 2000 | A |
6207955 | Wells et al. | Mar 2001 | B1 |
6253162 | Jarman et al. | Jun 2001 | B1 |
6278794 | Parekh et al. | Aug 2001 | B1 |
6288389 | Franzen | Sep 2001 | B1 |
6288782 | Worster et al. | Sep 2001 | B1 |
6391649 | Chait et al. | May 2002 | B1 |
6421612 | Agrafiotis et al. | Jul 2002 | B1 |
6449584 | Bertrand et al. | Sep 2002 | B1 |
6526299 | Pickard | Feb 2003 | B2 |
6642059 | Chait et al. | Nov 2003 | B2 |
6677583 | Umemura | Jan 2004 | B2 |
6753966 | Von Rosenberg | Jun 2004 | B2 |
6787761 | Hastings | Sep 2004 | B2 |
20010019829 | Nelson et al. | Sep 2001 | A1 |
20020053545 | Greef | May 2002 | A1 |
20020102610 | Townsend et al. | Aug 2002 | A1 |
20030040123 | Hastings | Feb 2003 | A1 |
20030078739 | Norton et al. | Apr 2003 | A1 |
20030111596 | Becker et al. | Jun 2003 | A1 |
20040113062 | Norton | Jun 2004 | A1 |
20040181351 | Thompson et al. | Sep 2004 | A1 |
Number | Date | Country |
---|---|---|
969283 | May 2000 | EP |
WO 9816661 | Apr 1998 | WO |
WO 0067017 | Nov 2000 | WO |
WO 0135266 | May 2001 | WO |
Number | Date | Country | |
---|---|---|---|
20050109928 A1 | May 2005 | US |
Number | Date | Country | |
---|---|---|---|
60253178 | Nov 2000 | US | |
60314996 | Aug 2001 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09994575 | Nov 2001 | US |
Child | 10935562 | US |