A method for calibrating a mass spectrometer

By generating model isotope patterns and likelihood functions to evaluate mass spectrometry data, adaptively matching reference positions, and gradually adjusting tolerances, the problems of low resolution and noise influence in quadrupole mass spectrometer calibration are solved, achieving higher precision calibration and peak matching.

CN116348988BActive Publication Date: 2026-11-24WATERS TECH IRELAND LIMITED IE
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202180072147.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-10-21
Filing Date
2021-10-21
Publication Date
2026-11-24
Estimated Expiration
2041-10-21

AI Technical Summary

Technical Problem

Existing technologies for calibrating quadrupole mass spectrometers suffer from low resolution and noise affecting the clarity of output data, leading to inaccurate peak matching.

Method used

By generating model isotope patterns, candidate positions in mass spectrometry data are evaluated using likelihood functions and error bars, adaptively matching reference positions, and gradually adjusting tolerances to fit the calibration function, thereby reducing offset.

Benefits of technology

This improved the calibration accuracy of the mass spectrometer, reduced the impact of noise, ensured the accuracy of peak matching, and improved the resolution of the mass spectrometer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116348988B_ABST
    Figure CN116348988B_ABST
Patent Text Reader

Abstract

We provide a method for evaluating acquired mass spectra, the method comprising the steps of: obtaining a model isotope pattern for a compound with known elemental composition; providing mass spectrometry data obtained from a mass spectrometer in the analysis of the compound; and performing position matching by comparing the mass spectrometry data with the isotope pattern to match reference positions in the isotope pattern with corresponding candidate positions in the mass spectrometry data, the position matching comprising: determining a likelihood function on the mass spectrometry data, which represents the likelihood that each position in the mass spectrometry data correctly corresponds to a reference position in the isotope pattern; determining a set of candidate positions, each candidate position corresponding to a local maximum in the determined likelihood function; and at each candidate position, determining an association error bar based on the curvature of the likelihood function at that position.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for fitting data for calibrating a mass spectrometer, and more particularly to fitting data from a quadrupole mass spectrometer for the purpose of calibrating the spectrometer. Background Technology

[0002] Quadrupole mass spectrometer (QMS) is a type of mass analyzer used in the field of mass spectrometry. QMS offers advantages in its relative simplicity and ease of operation, but results in lower resolution compared to some mass spectrometer designs like time-of-flight (TOF) instruments.

[0003] Before use, the QMS is calibrated by establishing an output analysis of the mass-to-charge ratio for compounds with known components, for example, so that the “correct” (i.e., desired) isotopic pattern of the mass-to-charge ratio is known. The correct or known pattern is then compared with the pattern output by the QMS to establish the degree of divergence between the peak positions of the patterns. In this way, it can be established that the QMS output has sufficient quality.

[0004] If the quality of a mass peak across a mass range is poor, it can indicate a manufacturing defect in the QMS or that it has not been properly tuned. When determining a misalignment or offset between the desired isotopic mode and the mode produced by the QMS, the QMS can be adjusted to account for this offset, thereby reducing or eliminating any offset. Alternatively, without adjusting the QMS itself, subsequent data output from the QMS can be adjusted accordingly to reflect and / or resolve a known level of offset. In some cases, a combination of these two approaches is used.

[0005] GB2405991A describes a generalized method for calibrating a mass spectrometer. US 2016 / 0217986 A1 describes a method for evaluating mass spectral peaks. Summary of the Invention

[0006] This invention aims to mitigate or overcome one or more of the defects associated with the prior art.

[0007] According to a first aspect of the present invention, we provide a method for evaluating an acquired mass spectrometer, the method comprising the following steps: Obtaining model isotope patterns for compounds with known elemental composition. Mass spectrometry data obtained from a mass spectrometer are provided in the analysis of the compound, and Position matching is performed by comparing the mass spectrometry data with the isotopic pattern to match a reference position in the isotopic pattern with a corresponding candidate position in the mass spectrometry data. The position matching includes: A likelihood function is determined on the mass spectrometry data, which represents the likelihood that each position in the mass spectrometry data correctly corresponds to a reference position of the isotopic mode. A set of candidate locations is determined, each candidate location corresponding to a local maximum in the determined likelihood function, and at each candidate location, an associated error bar is determined based on the curvature of the likelihood function at that location.

[0008] According to a second aspect of the present invention, we provide a method for evaluating a mass spectrum acquired by a quadrupole mass spectrometer, comprising the following steps: Obtaining model isotope patterns for compounds with known elemental composition. Mass spectrometry data obtained from a quadrupole mass spectrometer are provided in the analysis of the compound. To obtain an initial tolerance parameter and a target tolerance, position matching is performed by comparing the mass spectrometry data with the isotopic mode to match a set of reference positions in the isotopic mode with a set of candidate positions in the mass spectrometry data, determining the offset between the candidate positions and the reference positions, and determining a subset of the candidate positions with offsets smaller than the tolerance parameter. This process is repeated until the tolerance parameter reaches the target tolerance. i) Determine the calibration function to fit the current subset of candidate locations. ii) Fit the calibration function to the mass spectrometry data and perform position matching by comparing the fitted function with the entire set of candidate locations to determine the offset, and updating the current subset to include only those candidate locations with offsets smaller than the tolerance parameter. iii) If the tolerance parameter is greater than the target tolerance, then decrease the tolerance parameter.

[0009] According to a third aspect of the invention, we provide a data processing system for evaluating mass spectra acquired by a mass spectrometer, the system comprising a processor configured to perform the steps of the method of the first or second aspect of the invention.

[0010] Further features of the invention described above are set forth in the appended claims. Attached Figure Description

[0011] Embodiments of the invention will now be described with reference to the following figures, which are merely examples, in which: Figure 1 This is a diagram illustrating the steps involved in modeling and locating isotopic clusters of calibration compounds. Figure 2 It is a graphical representation of isotope clusters that uses likelihood calculations to locate them; Figure 3Is with Figure 2 A similar graphic representation illustrates the location of low-mass isotope clusters; Figure 4 This is a graphical representation of the process involved in adaptively rejecting positions derived from calibration data—a process known as "adaptive position matching"; and Figure 5 and 6 This is a flowchart illustrating a method according to an aspect of the present invention.

[0012] Referring to the accompanying drawings, we describe the method of the present invention for evaluating mass spectrometry data. Using the described method, a mass spectrometer can be calibrated by evaluating whether it has been properly tuned and / or is subject to defects, such as those introduced during manufacturing, and whether it will be subsequently tuned if necessary. Detailed Implementation

[0013] A method is described for determining a model isotopic pattern for compounds with known elemental composition or known class of composition (and preferably for multiple such compounds). This composition may be particularly suitable for calibration at low masses, for example, by including 42 Da / e species within the composition. This isotopic pattern is used as a model for evaluating the accuracy of the QMS output. Isotopic patterns can be generated multiple times for the corresponding multiple calibration compounds in the acquired calibration mixture. The isotopic patterns are convolved with peak shapes, and the convolved patterns are used to find candidate positions (i.e., candidate mass-charge values) in the acquired mass spectrum for the calibration compound of interest.

[0014] This process is called "position matching," where candidate positions in the acquired mass spectrometry data are considered as matches to corresponding positions ("reference positions" or "target positions") in the model isotope pattern. In practice, this involves: determining the correspondence between the features of the model isotope pattern and the acquired mass spectrum; and determining the offset in the alignment between the two patterns. In this way, the shape of the model isotope pattern and its position plotted on the mass-to-charge ratio domain at various candidate positions in the domain are compared with the acquired mass spectrum according to their degree of correspondence to assess which of those candidate positions is most likely to provide a correct match. Theoretically, the selected relative position of the reference point used for comparison between the two datasets in the model isotope pattern and the acquired mass spectrometry data is irrelevant, as long as it is applied consistently. However, in practice, typically, the selected reference position is the maximum peak in the model isotope pattern, which naturally corresponds to the monoisotope mass-to-charge ratio value of the reference compound.

[0015] In existing calibration methods, position matching is performed by selecting the most prominent peak from the acquired mass spectrum. It is possible that the observed peak is incorrectly matched to the reference mass, where debris or peaks caused by unexpected compounds may exist, exacerbated by high quadrupole scan rates and the resulting relatively low resolution. Additionally, noise from electronic devices or other external sources can affect the output data, suppressing its clarity.

[0016] At high quality and high quadrupole scan rates, isotopic peaks in unresolved isotopic clusters are often present (i.e., they may be indistinguishable). Searching for single isotopic peaks in such unresolved clusters leads to inaccurate mass measurements. Furthermore, where isotopic peaks may have comparable or larger sizes than single isotopic peaks, conventional peak-matching techniques often select peaks that are different from the single isotopic peaks.

[0017] In this method, candidate positions (i.e., peaks in the data to be compared with isotopic models as reference positions) are assigned within the acquired mass spectrometry data. For each candidate position, the likelihood of that position matching the reference position in the isotopic model is estimated. This is a measure of the correspondence between the model isotopic model and the acquired mass spectrometry data, if the mass spectrometry data is instead shifted so that the candidate position aligns with the reference position in the model isotopic model. Using those estimates, the candidate positions with the highest association likelihood that provide a “correct” match between the model isotopic model and the acquired mass spectrometry data are finally determined. Furthermore, for each candidate position, an error bar representing the accuracy of that candidate position is constructed.

[0018] Error bars provide an indication of whether a candidate location is highly probable to be accurate or alternatively, whether there is some degree of uncertainty related to the location. Smaller / narrower error bars indicate higher precision.

[0019] From this data, a calibration curve can be generated, which indicates the necessary adjustments to the QMS output across the mass spectrometer.

[0020] In practice, this approach means that the calibration process takes into account these indications of the candidate positional accuracy on the measured uncalibrated mass.

[0021] In low-quality analyses, fragments and other peaks may exist that could lead to false candidate locations. These can be filtered out by an adaptive peak-matching scheme that can accommodate significant nonlinearities.

[0022] Refer to the attached diagram. Figure 5A system 10 for data analysis is illustrated, providing a processor 12 configured to implement steps of evaluating peaks in an acquired mass spectrum. The processor 12 is communicatively coupled to a storage device 13 (which may be local or remote) and a memory device 11 for disposing of and storing data used in the described calculations and processes. The method includes the generalized steps of: obtaining a model isotope pattern 16 for a compound with known elemental composition; and providing mass spectrometry data 18 obtained from a mass spectrometer 14 (such as a quadrupole mass spectrometer) in the analysis of the compound. The method involves performing position matching (indicated at 20) between a reference position in the obtained model isotope pattern and a candidate position in the mass spectrometry data. The system 10 may obtain the isotope pattern from an external source, or may obtain, for example, the data required to generate the isotope pattern from an external source. Alternatively, the data may be stored within the system 10. The position matching process generally involves comparing a graph representing the mass spectrometry data with the modeled isotopic pattern to match the reference mass-to-charge ratio (referred to as the reference position in this paper) in the isotopic pattern with the corresponding candidate position in the mass spectrometry data.

[0023] In this setup, position matching involves: determining a likelihood function (indicated at 22) on the mass spectrometry data, where the likelihood corresponds to each position matching a reference position in the isotopic model. A log-likelihood value is determined, associated with each position in the acquired data matching a reference position in the model's isotopic model. Candidate positions are then determined based on local maxima in the likelihood function, representing the set of potential positions where the reference position might provide the best match. An error bar value associated with each candidate position is provided using interpolation across the likelihood maxima and an evaluation of the curvature of the curve at each candidate position. Narrow peaks with steep log-likelihood curves indicate relatively high accuracy for the candidate position, while relatively smooth peaks in the log-likelihood indicate lower accuracy around the candidate position; represented by smaller and larger error bars, respectively.

[0024] The offset between the position of this (or each) candidate location and its corresponding target location in the isotopic mode provides a mass-charge calibration adjustment value at that location in the domain for use in determining the calibration function. Error bars associated with each candidate peak are used during the calibration process to indicate flexibility in peak localization.

[0025] The method described in this paper for determining error bars uses interpolation of log-likelihood values ​​associated with locations occurring close to the maximum sampled log-likelihood value (i.e., within a specified distance of the maximum sampled log-likelihood value) to establish “optimal” candidate positions. The “optimal” candidate positions are those determined to be the most likely matches to a reference position in the model isotopic mode. The positions are matched to a reference mass-to-charge ratio using the described iterative scheme, resulting in at most one candidate position per reference compound. These offsets between the optimal candidate positions and the reference position in the model isotopic mode can then be used during calibration function acquisition for use when performing calibration on the QMS.

[0026] Error bars (i.e., representing the determined precision at the peak position) are evaluated using the curvature of the interpolation curve at local maxima in the log-likelihood. To provide a reasonable estimate of the error bars, the variance associated with each data point used in evaluating the log-likelihood is marginalized to allow for unknown contributions from noise in the data.

[0027] The known elemental composition of the ions generated by the mass spectrometer (along with a suitable library of isotopic masses and abundances) can be used to generate isotopic patterns for calibration compounds. Alternatively, representative patterns can be generated (e.g., via the Poisson approximation) such that the excess neutron rate is increased proportionally to the monoisotopic mass.

[0028] Many different peak shape models (i.e., suitable curves for fitting the relationship between charge-to-mass ratio and intensity based on data observations) are available. For example, such a suitable model is one in which a finite support approximation of Gaussian is convolved with a quadratic. Adjusting the ratio of the widths of the pseudo-Gaussian and the quadratic results in peak shapes suitable for modeling both low-quality (with high quadratic width and low pseudo-Gaussian width) and high-quality (low quadratic width, with high pseudo-Gaussian width), as is known to those skilled in the art.

[0029] Instead of mixing the Gaussian approximation with the quadratic, an alternative peak shape model can be used by convolving the Gaussian approximation with a top-hat function (i.e., a rectangular function). A suitable function can be determined during the initial instrument setup process prior to calibration (referred to as "resolution setup"). The top-hat peak shape (i.e., the width of the peak of the rectangular function) can be used during this initial setup to determine the accurate peak width, provided that the peak width of the rectangular function is very clearly defined. This function, formed by convolving the Gaussian approximation with the top-hat function, can also be used during the calibration steps described herein.

[0030] Isotope mode positions Before calibration, several plausible locations may exist for the calibrated isotope clusters, especially at low masses. The purpose of isotope pattern locations is to find these plausible locations to present to the cluster matching algorithm, which will either select one of them or not. Figure 1 The image shows an overview of the peak detection process.

[0031] Figure 1 This is a diagrammatic illustration of the steps involved in modeling and locating isotopic clusters of calibration compounds. The chemical formula of the compound, along with a library of isotopic mass and abundance, is used to generate an isotopic pattern for the compound. This pattern is then convolved with an appropriate peak shape to produce a model that can be located in the data.

[0032] Use the following procedure to examine the regions where calibrated isotope clusters may be found.

[0033] Step 1. Calculate the log-likelihood of the isotope cluster at a specific location for each sampling location within the range.

[0034] Step 2. Locate the maximum value in the log-likelihood by interpolation (which also generates error bars in the position based on the curvature of the determined log-likelihood curve at each maximum value).

[0035] Step 3. Calculate the log-likelihood for the range containing only the background.

[0036] Step 4. Remove the low-probability maximum values ​​found in Step 2 from the list.

[0037] When determining the likelihood of peak matching to various observed mass-to-charge ratios, we first assume that the noise in the spectrum is correlated with Poisson statistics and estimate the gain value that correlates the detector response with the number of ions. One way to achieve this is to use a Gaussian approximation of the Poisson statistics. Poisson statistics have the property that the variance equals the mean, and therefore, the error increases with intensity. We can reduce or remove this variation (approximately) by taking the square root of the intensity and then estimating the characteristics of Gaussian white noise in the values. This can be done by taking successive differences in the data points, thus removing the smoothing variation of ascending order. The quantity corresponding to ±σ / 2 for Gaussian can then be found from the remaining values. As each difference amplifies the noise, the difference between these two values ​​must be scaled down to provide an estimate of σ in the square root intensity data. Finally, to derive the Poisson gain (a constant that correlates ions proportionally with intensity), the estimate of σ must be squared and multiplied by four to account for the change in the variable as we return from the square root intensity to the intensity.

[0038] Prior to this, the height or area of ​​the isotopic cluster is not known. Using the total area of ​​the cluster, we might define a uniform prior probability from 0 up to a finite upper limit A. These ranges should be wide enough that the integral performed in (-∞, +∞) is a good approximation of the more difficult integral over the actual finite range. If we consistently use the same prior range for area when comparing models, then the actual range need not appear in our implementation of the analysis.

[0039] If we label our current model (i.e., isotope clusters at specific locations) as having an error bar σ within the data range i Data point d i The height f of I i For a list, the likelihood of a position is: It is approximated as: in

[0040] Since the peak shape may not be modeled perfectly or for other reasons involving model inaccuracy, we might want to "soften" the likelihood by assuming that the Poisson gain estimate is a lower bound and that the gain should be expanded or contracted using the prior probability distribution through a factor κ≥1. Pr(κ|p>1)=(p-1)k -p .

[0041] For example, when p = 2, we can integrate κ to give: in And γ(a, z) are incomplete gamma functions (i.e., a generalization of the complete gamma function γ(a)). Where χ 2 In the extreme case where = 0, we can evaluate the likelihood as:

[0042] This approach is taken, rather than having a Cauchy or Student t-distribution at each data point, because the model is: there exists a single unknown gain governing the detector’s response to incoming ions.

[0043] Figure 2This is a graphical representation of isotopic clusters located using likelihood calculations. The graph shows uncalibrated data plotted against isotopic models (at arbitrary scales, but positioned as if the m / z axis were calibrated) and the log-likelihood associated with the highest intensity peak of the isotopic model at each location (i.e., each mass-charge value). Note that y-axis labels for the log-likelihood are arranged on the right side of the graph.

[0044] Figure 2 A plot of the log-likelihood of the isotopic cluster positions against the uncalibrated m / z axis is also shown. In this case, a universal isotopic pattern was generated for titanium of the same mass as the reference compound. Reasonably, the maximum likelihood position has been chosen as the point in the highest bin of the single isotopic peak in the data, and the next highest minor maximum in the likelihood is less than the e of the major maximum. -250 The error bars in the position of the isotope clusters are approximately 0.008 Da / e.

[0045] It should be understood that although certain functions for modeling likelihood and noise estimation have been described, alternative functions will be known to those skilled in the art, and it is conceivable that alternative functions to the described functions can be used. The use of the log-likelihood function is, for example, a suitable method for assessing likelihood in this setting, but alternatively, other suitable functions can be used.

[0046] Remove the list of candidate matches In the region around the reference m / z, more than one peak or isotopic cluster may exist in the calibration data. It is also possible that no plausible isotopic cluster exists in the region. The approach taken is to calculate the likelihood of a "background" model (which can be as simple as a constant level) and then approximate the evidence for the presence of the isotopic cluster using the Laplace approximation. Where L k Let σ be the likelihood at the k-th maximum value, R be the size of the region, and σ be the likelihood at the k-th maximum value. k It is the error bar (R) associated with the kth maximum value. -1 The term represents a uniform prior regarding the location of clusters within the region. In summary, the evidence is: Where q is the prior probability of the presence of the isotope cluster in the region, and L0 is the likelihood associated with the background model. The label k can be chosen such that the maximum values ​​are ranked according to their contribution to the evidence, so that once, for example, 99.9% of the evidence has been accumulated, any remaining maximum values ​​can be discarded. This approach does indeed assume that the correct match is often the strongest or not much weaker than the strongest feature in the region.

[0047] In this manner, candidate positions are discarded by sorting them according to the assessed posterior probabilities of their corresponding reference positions matching the isotopic patterns. The posterior probabilities are determined as arranged above using the Laplace approximation, based on the maximum log-likelihood calculated as previously described, and error bars. Candidate positions are retained from those with the highest assessed posterior probabilities to those with the lowest (i.e., in the order in which they are assessed to provide information, as calculated in the previous step), until a predetermined combination probability is reached (e.g., at least 0.95, or preferably at least 0.97, or more preferably at least 0.99). Then, those candidate positions that do not contribute to this total number are discarded from the current set of considered matches.

[0048] Figure 3 The typical case at lower masses is shown. In this example, the maximum peak of the reference compound is used as the reference position. Multiple maxima exist, and while the strongest peak in the expected spectrum matches the reference position, three positions seem reasonable. In this example, the probabilities of clusters existing at the three highest maxima of the log-likelihood shifted from left to right are 0.001, 0.902, and 0.097, respectively. Model isotope patterns are again illustrated at arbitrary scales, as shown regarding... Figure 2 That's the situation.

[0049] Find the best matching set Therefore, the method according to one aspect of the present invention includes the following general steps.

[0050] First, we select an initial tolerance (e.g., 4 Da / e in uncalibrated m / z) for matching candidate locations to reference locations in the first instance, and a target tolerance (which is relatively narrower; e.g., 0.5 Da / e).

[0051] A set of potential candidate sites is constructed based on local maxima in the likelihood function. We then match the obtained mass spectra to a reference site (i.e., typically, the maximum peak of the isotopic mode) and discard any candidate sites located outside the initial tolerance window (i.e., those located further from the reference site compared to the selected tolerance). To achieve this, this subset is maintained (this can be changed on each iteration) as candidate sites are discarded from the subset of candidate sites because they fail to fall within the desired tolerance parameter. If more than one candidate site of the isotopic mode is within the tolerance for a particular reference site, we select the candidate site with the highest intensity (i.e., the assessed likelihood) as the "matched" candidate site.

[0052] We then choose a low-order calibration function, such as a quadratic function.

[0053] In embodiments, a set of two or more quadratic functions can be used as a calibration function to address potential inaccuracies found at low-quality locations associated with using a single function across the entire range. In embodiments, two functions can be used—one for m / z values ​​above a certain threshold and one for m / z values ​​below that threshold. For example, a first quadratic function can be used for candidate locations with m / z values ​​up to and including a value of approximately 556.3 for leucine enkephalin. A second quadratic function is used for candidate locations with m / z values ​​above that.

[0054] Then follow the iterative process below: 1. Use the fault-tolerant likelihood function to fit the calibration function to each matching candidate position (within the current subset); 2. Perform position matching by discarding (for the purpose of this iteration) any candidate positions that exceed the (current) tolerance by moving away from the function obtained in step 1; if more than one candidate position is within the tolerance for a particular reference position, the candidate position with the highest intensity is selected. To achieve this, update the "current" subset of candidate positions so that only those falling within the defined tolerance are included; 3. Reduce the tolerance to a certain factor (e.g., 1 / 2) and repeat the process.

[0055] Each time the tolerance is lowered in step 3, the above steps are repeated until the target tolerance has been reached, and steps 1 and 2 are performed using the target tolerance level to perform position matching.

[0056] Regarding step 1, a suitable fault-tolerant likelihood function is, for example, the Cauchy or Laplace function.

[0057] It should be noted that if a candidate position is outside the current tolerance of the target position, it may be discarded during the iteration, but due to the modification of the calibration function, it may still be within the updated tolerance at a later step of the process. In this case, the candidate position is considered again, as long as it is within the given tolerance during that iteration.

[0058] In other words, we first perform position matching between the acquired mass spectrometry data, comparing the data with known isotopic patterns. We then perform position matching on the data based on a selected initial tolerance, rejecting candidate positions that fall outside that tolerance "window".

[0059] Then, matching locations are considered across the m / z spectrum, and for each matching location, the difference in m / z (i.e., the offset from the true location determined based on the isotopic mode) is determined. A calibration function is then fitted to the locations across the m / z domain to model the difference established at each location. Using the determined calibration function, we subsequently perform location matching based on the obtained function. Again, candidates outside the tolerance window at each location are discarded. The tolerance is then reduced, and the steps are repeated to improve the candidate set.

[0060] During this process, positions that match outside a given tolerance—and are now outside the defined tolerance—are considered outliers. Effectively, these values ​​are ignored for the current iteration when determining the calibration function. As noted above, it's possible that as the function improves in subsequent iterations, positions previously considered outliers may become relevant again—and be included in the set of candidate positions, making them worth considering once more. At each iteration, once the desired tolerance has been achieved, positions considered outliers at that point are ignored when fitting the calibration function, as they are most likely mismatches. In this way, the impact of outliers on the resulting calibration function is significantly reduced.

[0061] Figure 4 The process of adaptively rejecting candidate locations from calibration data is illustrated graphically. The x-axis of the graph reflects arbitrary scale or discrete candidate locations according to the relative mass-to-charge ratio of those corresponding locations. Squares represent the differences between the observed locations in the calibration data and their true values, based on the initial calibration. An eight-unit tolerance is applied, which retains all candidates, and a fault-tolerant fit is performed, resulting in the differences indicated by diamonds. In the example shown, the tolerance is reduced to four units, resulting in the points at 3 and 16 (x-axis values) being rejected as outliers, resulting in the differences for the fault-tolerant fit indicated by circles. Note that the differences at locations 3 and 16, where candidate locations were identified as outliers, have been discarded and reset to zero.

[0062] Broadly speaking, this aspect of the method for evaluating peaks in data output from a quadrupole mass spectrometer involves: first obtaining a (16) model isotope pattern for a compound with known elemental composition; and obtaining (18) mass spectrometry data from a quadrupole mass spectrometer (14) in the analysis of that compound. Initial tolerance parameters and target tolerance parameters (indicated at 30) are obtained—via, for example, user input to system 10 or pre-determined and stored values.

[0063] In this context, position matching 20 is performed by comparing mass spectrometry data with isotopic patterns to match multiple positions in the isotopic patterns with corresponding candidate peaks in the mass spectrometry data. When considering candidate matches for pairing corresponding peaks during the position matching process, a tolerance parameter reflects the maximum permissible offset between peaks in the dataset. An initial value is used at the beginning of the process, and subsequently, this value is decreased—to narrow the tolerance applied when pruning potential candidate positions—until a target tolerance is reached, at which point the data is considered to have achieved the desired accuracy. The offset between positions in the matched positions is determined, and candidate positions with offsets larger than the tolerance parameter are discarded from consideration during this iteration.

[0064] Subsequently, repeat the following steps until the tolerance parameters reach the target tolerance.

[0065] We determine a calibration function (indicated at 32) to fit the matching candidate positions, preferably a quadratic function. The calibration function is based on the determined offset between the matching positions across the domain. Applying the calibration function to subsequently generated data or adjusting the spectrometer based on it results in the output values ​​being realigned based on the determined offset. As mentioned earlier, a calibration function can be selected from a set of suitable quadratic functions based on the m / z values ​​of the matching candidate positions.

[0066] We then compare the calibration function with the candidate positions again (indicated at 34), and again discard candidate positions from the data whose offsets are outside the selected tolerance.

[0067] Finally, if the tolerance parameter has not yet reached the target tolerance (i.e., it is still above the target tolerance), we reduce the tolerance parameter (indicated at 36). Typically, the tolerance parameter is reduced to a predetermined factor (e.g., factor 1 / 2), but alternatively, the reduction can be selected via user input or based on a predetermined sequence of factors or values ​​chosen before the process.

[0068] In each iterative step of this process, the set of candidate positions is improved. At the end of the process, once the target tolerance has been reached, the current set of candidate positions (indicated at 26) can be output for use during quadrupole mass spectrometer calibration or for adjusting the quadrupole mass spectrometer output. Alternatively, the method may include the further step of actively calibrating the quadrupole mass spectrometer based on the determined calibration function (indicated at 28).

[0069] The candidate locations for output preferably include error bar data as described herein.

[0070] The data processing system 10 for evaluating peaks of the mass spectra acquired by the mass spectrometer 14 can be operated according to the methods described herein. The data processing system 10 (in addition to other standard system components not described in detail herein, such as memory device 11 and storage device 13) includes a processor 12, which is configured to perform the steps of the method as outlined.

[0071] When used in this specification and claims, the terms "comprising" and "including" and their variations mean to include the specified feature, step, or integer. These terms should not be construed as excluding the presence of other features, steps, or components.

[0072] Where appropriate, features disclosed in the above description, or the appended claims, or in their specific form, or in the accompanying drawings expressed according to the means for performing the disclosed functions, or in the methods or processes for obtaining the disclosed results, may be used separately or in any combination of such features to implement the invention in its various forms.

[0073] Although certain exemplary embodiments of the invention have been described, the scope of the appended claims is not intended to be limited to these embodiments. The claims should be understood literally and purposefully and / or cover equivalents.

Claims

1. A method for evaluating acquired mass spectra, the method comprising the following steps: Obtaining model isotope patterns for compounds with known elemental composition. Mass spectrometry data obtained from a mass spectrometer are provided in the analysis of the compound, and Position matching is performed by comparing the mass spectrometry data with the isotopic pattern to match a reference position in the isotopic pattern with a corresponding candidate position in the mass spectrometry data. The position matching includes: A likelihood function is determined on the mass spectrometry data, which represents the likelihood that each position in the mass spectrometry data correctly corresponds to a reference position of the isotopic mode. Determine a set of candidate locations, each corresponding to a local maximum in the determined likelihood function, and At each candidate location, an associated error bar is determined based on the curvature of the likelihood function at that location.

2. The method of claim 1, wherein determining the associated error bar comprises: The variance associated with the mass spectrometry data is evaluated at each candidate location to account for noise in the data.

3. The method according to claim 1 or 2, wherein obtaining the model isotope pattern comprises obtaining multiple isotope patterns for multiple compounds with known elemental composition, and providing mass spectrometry data comprises obtaining data from the mass spectrometer in the analysis of said multiple compounds.

4. The method according to claim 1 or 2, wherein the target position in the isotopic pattern corresponds to the position of the peak in the isotopic pattern.

5. A method for evaluating a mass spectrum acquired by a quadrupole mass spectrometer, comprising the following steps: Obtaining model isotope patterns for compounds with known elemental composition. Mass spectrometry data obtained from a quadrupole mass spectrometer are provided in the analysis of the compound. Obtain the initial tolerance parameters and the target tolerance. Position matching is performed by comparing the mass spectrometry data with the isotopic pattern to match a set of reference positions in the isotopic pattern with a set of candidate positions in the mass spectrometry data, determining the offset between the candidate positions and the reference position, and determining a subset of the candidate positions with offsets smaller than the tolerance parameter. The following steps are repeated until the tolerance parameter reaches the target tolerance: i) Determine the calibration function to fit the current subset of candidate locations. ii) Fit the calibration function to the mass spectrometry data and perform position matching by comparing the fitted function with the entire set of candidate locations to determine the offset, and updating the current subset to include only those candidate locations with offsets smaller than the tolerance parameter. iii) If the tolerance parameter is greater than the target tolerance, then decrease the tolerance parameter.

6. The method of claim 5, wherein reducing the tolerance parameter involves reducing the tolerance parameter to a predetermined factor in each iteration.

7. The method according to claim 5 or 6, wherein the calibration function is a quadratic function.

8. The method of claim 5 or 6, wherein the calibration function is selected from a set of quadratic functions based on the mass-charge values ​​of the matched candidate locations.

9. The method of claim 5 or 6, wherein performing position matching comprises: A likelihood function is determined on the mass spectrometry data, which represents the likelihood that each position in the mass spectrometry data correctly corresponds to a reference position of the isotopic mode. Determine a set of candidate locations, each corresponding to a local maximum in the determined likelihood function, and At each candidate location, an associated error bar is determined based on the curvature of the likelihood function at that location.

10. The method according to claim 5 or 6, wherein the method further comprises: Once the target tolerance has been reached, the current subset of the candidate positions is output.

11. The method of claim 5 or 6, wherein obtaining the model isotope pattern comprises obtaining multiple isotope patterns for multiple compounds with known elemental composition, and providing mass spectrometry data comprises obtaining data from the mass spectrometer in the analysis of said multiple compounds.

12. The method according to claim 5 or 6, wherein the target position in the isotopic pattern corresponds to the position of the peak in the isotopic pattern.

13. A method for calibrating a quadrupole mass spectrometer, comprising performing the steps of any one of claims 5 to 12 and subsequently calibrating the spectrometer using a subset of candidate positions.

14. A method for calibrating a quadrupole mass spectrometer, comprising performing the steps of any one of claims 5 to 13, including outputting a calibration function based on a subset of candidate locations.

15. A data processing system for evaluating mass spectra acquired by a mass spectrometer, the system comprising a processor configured to perform the steps of any one of claims 1 to 14.

Citation Information

Patent Citations

  • Peak Assessment for Mass Spectrometers

    US20160217986A1

  • Spectrometric analysis

    CN108780730A

  • Method for automatically correcting mass spectrometry isotope distribution curves

    CN110320297A