Method and device for identifying leading peak or trailing peak in clinical mass spectrum peaks

By calculating the angle difference analysis of mass spectrometry peaks, the problem of low artificial recognition accuracy in the prior art is solved, and more efficient recognition effect is achieved.

CN119064436APending Publication Date: 2024-12-03BEIJING OBSTETRICS & GYNECOLOGY HOSPITAL CAPITAL MEDICAL UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411108364.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The analysis of existing clinical mass spectrometry peaks relies on artificial naked eye observation, resulting in low accuracy, low efficiency, large workload of identification of frontier peaks or tail peaks, and is greatly affected by interference factors.

Method used

By calculating the angle and adjacent angle difference between the connection line from each data point to the origin in the clinical mass spectrometer peak, the front peak or tail peak is identified, and the threshold value of continuous adjacent angle difference is adjusted to adapt to Interference factors to improve identification accuracy.

Benefits of technology

It realizes more accurate and standardized identification of front-line peaks or tail peaks in clinical mass spectrometry peaks, which reduces the workload of detectors and improves identification efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119064436A_ABST
    Figure CN119064436A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for identifying leading peaks or trailing peaks in clinical mass spectrum peaks, and relates to the field of clinical mass spectrum detection. The method comprises the following steps: extracting clinical mass spectrum peaks from collected clinical mass spectrum detection data, normalizing the clinical mass spectrum peaks, and sequentially calculating an included angle between a connecting line from each data point in the normalized clinical mass spectrum peaks to an original point and a positive axis of a horizontal axis and an adjacent included angle difference; a leading peak or a trailing peak in clinical mass spectrum peaks is identified according to a comparison result of a certain number of continuous adjacent included angle differences and a given threshold value. According to the method, the retention time of each data point in the clinical mass spectrum peak and the change condition of the ion signal intensity of the data point are uniformly described through the adjacent included angle difference, and the leading peak and the trailing peak in the clinical mass spectrum peak are identified by performing data analysis on the continuous adjacent included angle difference in combination with an adjustable threshold value. The efficiency and the quality of identifying the leading peak or the trailing peak in the clinical mass spectrum peak can be obviously improved, and the workload of detection personnel is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of clinical LC-MS / MS (i.e. liquid chromatography coupled with tandem mass spectrometry, referred to as "clinical mass spectrometry") detection, and in particular to a method and device for identifying leading peaks or tailing peaks in clinical mass spectrometry peaks. Background Art

[0002] Clinical mass spectrometry is a direct analysis method based on the molecular weight, structure and other chemical properties of the biomarker being tested. Compared with other clinical detection methods, such as chemiluminescent immunoassay (CLIA), it has obvious advantages in sensitivity, specificity, and multi-finger joint detection. For example, in the clinical mass spectrometry vitamin detection process, the tester uses a liquid chromatography system to separate the vitamins to be tested, and then uses a tandem mass spectrometry system to ionize the separated vitamin components and convert them into proportional currents that can be recognized by the data system. After computer data processing, the clinical mass spectrometry vitamin detection data can be obtained. A linear curve is drawn with the retention time in the detection data as the horizontal axis and the ion signal intensity as the vertical axis, showing the change in the ion signal intensity of the vitamin to be tested during the detection process as the retention time passes. Within the peak time range of the clinical mass spectrometry vitamin detection, the protruding part on the curve is the clinical mass spectrometry peak. By analyzing the clinical mass spectrometry peak, the vitamin to be tested can be quantified, but before that, it is necessary to first identify and process the abnormal peaks in the clinical mass spectrometry peak, such as the leading peak or the tailing peak.

[0003] At present, the analysis of clinical mass spectrometry peaks relies on manual work. In particular, during the analysis process, the identification of leading peaks or tailing peaks in clinical mass spectrometry peaks requires the detection personnel to observe the shape of the clinical mass spectrometry peaks with the naked eye and experience. Due to the great differences in clinical mass spectrometry peaks formed by different clinical mass spectrometry tests, coupled with the fact that the clinical mass spectrometry instruments themselves may generate background noise, the sample preparation process is complex and the degree of standardization is low, as well as the uneven experience of detection personnel and other interfering factors, the accuracy of identifying leading peaks or tailing peaks in clinical mass spectrometry peaks is low, the efficiency is low, and the workload is large. Summary of the invention

[0004] In view of the defects of the above-mentioned prior art, the technical problem to be solved by the present invention is to provide a method that can more accurately and efficiently identify the leading peak or the tailing peak in the clinical mass spectrum peak, thereby reducing the workload of the detection personnel.

[0005] In order to solve the above technical problems, the present invention provides a method for identifying a leading peak or a tailing peak in a clinical mass spectrum peak, which uses the angle between each data point of the clinical mass spectrum peak and the origin and the positive semi-axis of the horizontal axis and the adjacent angle difference to uniformly describe the change of the retention time and ion signal intensity of each data point in the clinical mass spectrum peak, and identifies the leading peak or the tailing peak in the clinical mass spectrum peak by performing data analysis on the continuous adjacent angle differences, which specifically includes the following steps:

[0006] S1. Obtain normalized clinical mass spectrum peaks;

[0007] S2. Starting from the first data point of the normalized clinical mass spectrometry peak, the angle between the line connecting each data point and the origin and the positive semi-axis of the horizontal axis is calculated in sequence to obtain an ordered set of angles. The angle calculation formula is as follows:

[0008]

[0009] Where y is the ion signal intensity, x is the retention time, and θ is the angle between the line connecting the data point composed of x and y and the origin and the positive semi-axis of the horizontal axis;

[0010] S3, starting from the maximum angle in the ordered set of angles, sequentially calculating the differences between all adjacent angles to the left of the maximum angle in the ordered set of angles, to obtain an ordered set of left adjacent angle differences;

[0011] S4, starting from the first left adjacent angle difference of the ordered set of left adjacent angle differences, taking out left adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to the right, forming the first group of left adjacent angle difference groups, starting from the second left adjacent angle difference of the ordered set of left adjacent angle differences, taking out left adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to the right, forming the second group of left adjacent angle difference groups, and so on, to obtain a set of left adjacent angle difference groups;

[0012] S5. In the left adjacent angle difference grouping set, there is at least one clinical mass spectrum peak whose absolute values ​​of the left adjacent angle differences of all groups are less than or equal to the adjacent angle difference threshold, which is the leading peak;

[0013] S3′, starting from the maximum angle in the ordered set of angles, sequentially calculate the differences between all adjacent angles to the right of the maximum angle in the ordered set of angles to obtain an ordered set of right adjacent angle differences;

[0014] S4′, starting from the first right adjacent angle difference of the ordered set of right adjacent angle differences, taking out right adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to form the first group of right adjacent angle difference groups, starting from the second right adjacent angle difference of the ordered set of right adjacent angle differences, taking out right adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to form the second group of right adjacent angle difference groups, and so on, to obtain a right adjacent angle difference grouping set;

[0015] S5′, a clinical mass spectrum peak in which there is at least one group in the right adjacent angle difference group set whose absolute values ​​of the right adjacent angle differences are all less than or equal to the adjacent angle difference threshold is a tailing peak.

[0016] In the present invention, step S1 further includes the following steps:

[0017] S1-1. Collect clinical mass spectrometry data;

[0018] S1-2, extract clinical mass spectrometry peaks;

[0019] S1-3, Normalized clinical mass spectrometry peaks.

[0020] In the present invention, step S1-2 further includes the following steps:

[0021] S1-2-1. Perform data cleaning on clinical mass spectrometry detection data to obtain clinical mass spectrometry detection data with high signal-to-noise ratio;

[0022] S1-2-2, using the retention time in the clinical mass spectrometry detection data with high signal-to-noise ratio as the horizontal axis and the ion signal intensity as the vertical axis to obtain a clinical mass spectrometry peak diagram;

[0023] S1-2-3, according to the peak time range detected by clinical mass spectrometry, find the peak apex from the clinical mass spectrometry peak graph;

[0024] S1-2-4. Take the point on the left side of the peak apex where the last ion signal intensity decreases discontinuously as the starting point of the peak;

[0025] S1-2-5. The point on the right side of the peak apex where the last ion signal intensity decreases discontinuously is taken as the end point of the peak;

[0026] S1-2-6. The clinical mass spectrum peak is obtained by taking the total retention time from the peak start point to the peak end point as the horizontal axis and the ion signal intensity as the vertical axis.

[0027] In the present invention, step S1-3 further includes the following steps:

[0028] S1-3-1. Divide the number of all data points in the clinical mass spectrum peak by the maximum value of the retention time and the maximum value of the ion signal intensity to obtain the retention time coefficient and the ion signal intensity coefficient respectively;

[0029] S1-3-2. Multiply the retention time of each data point in the clinical mass spectrum peak by the retention time coefficient, and multiply the ion signal intensity by the ion signal intensity coefficient to obtain a normalized clinical mass spectrum peak.

[0030] The beneficial effect of the method for identifying the front peak or tailing peak in the clinical mass spectrum peak of the present invention is that compared with the method in which the detection personnel observe the shape of the clinical mass spectrum peak by naked eyes and experience to identify the front peak or tailing peak in the clinical mass spectrum peak, the present invention analyzes the clinical mass spectrum detection data through a unified algorithm, so that the result of identifying the front peak or tailing peak in the clinical mass spectrum peak is more accurate and standardized. At the same time, in actual scenarios, the clinical mass spectrum detection data will produce large fluctuations due to various interference factors. In order to solve this problem, the present invention gives the detection personnel the choice of setting the continuous adjacent angle difference number threshold and the adjacent angle difference threshold, and is also to adapt to the influence of these interference factors on the identification of the front peak or tailing peak in the clinical mass spectrum peak, and flexibly adjusts the process of identifying the front peak or tailing peak in the clinical mass spectrum peak, and comprehensively considers the identification of the front peak or tailing peak in the clinical mass spectrum peak by the method of program prediction, and combines the detection personnel's own experience to make adaptive adjustments, and further improves the accuracy of identifying the front peak or tailing peak in the clinical mass spectrum peak.

[0031] On the other hand, the present invention provides a device for identifying a leading peak or a tailing peak in a clinical mass spectrum peak, comprising: a clinical mass spectrum detection data acquisition module, used to collect clinical mass spectrum detection data; a clinical mass spectrum peak acquisition module, used to obtain normalized clinical mass spectrum peaks from the clinical mass spectrum detection data; and a leading peak or tailing peak identification module in a clinical mass spectrum peak, used to identify a leading peak or a tailing peak from the normalized clinical mass spectrum peak.

[0032] The beneficial effect of the device for identifying the leading peak or the tailing peak in the clinical mass spectrum peak of the present invention is that: based on the huge computing power of the computer, the present invention can process a large number of clinical mass spectrum detection data completely, accurately and effectively, so that the results of identifying the leading peak or the tailing peak in the clinical mass spectrum peak are more accurate, standardized and efficient, thereby reducing the workload of the detection personnel. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings, wherein:

[0034] Figure 1 is a flow chart of an embodiment of a method for identifying a leading peak in a clinical mass spectrometry peak according to the present invention;

[0035] Figure 2 yes Figure 1 A flowchart of an embodiment of step S1;

[0036] Figure 3 yes Figure 2 A flowchart of an embodiment of step S1-2;

[0037] Figure 4 is based on Figure 2 Schematic diagram of clinical mass spectrometry peaks extracted from certain clinical mass spectrometry vitamin detection data in step S1-2;

[0038] Figure 5 yes Figure 2 A flowchart of an embodiment of steps S1-3;

[0039] Figure 6 is a flow chart of an embodiment of a method for identifying tailing peaks in clinical mass spectrometry peaks according to the present invention;

[0040] Figure 7 It is a schematic structural diagram of an embodiment of a device for identifying a leading peak or a tailing peak in a clinical mass spectrum peak according to the present invention.

[0041] Explanation of the accompanying figures: 7. Device for identifying the leading peak or tailing peak in the clinical mass spectrum peak, 71. Clinical mass spectrum peak acquisition module, 72. Leading peak or tailing peak identification module in the clinical mass spectrum peak, 71-1. Clinical mass spectrum detection data acquisition module, 71-2. Clinical mass spectrum peak extraction module, 71-3. Clinical mass spectrum peak normalization module. DETAILED DESCRIPTION

[0042] Figure 1 The method for identifying the front peak in the clinical mass spectrum peak of the present invention is shown, and the method can be applied to a terminal device (for example, a desktop computer. In this embodiment, for ease of understanding, the desktop computer is used as the subject for explanation, but those skilled in the art understand that the method can also be applied to other terminal devices as long as the corresponding functions can be achieved). The method for identifying the front peak in the clinical mass spectrum peak includes the following steps:

[0043] S1. Obtain normalized clinical mass spectrometry peaks.

[0044] Figure 2 An implementation method of obtaining normalized clinical mass spectrum peaks in step S1 is shown.

[0045] S1-1. Collect clinical mass spectrometry data.

[0046] As an implementation method for collecting clinical mass spectrometry data, the clinical mass spectrometry data output by the data interface of the clinical mass spectrometry instrument is collected. The clinical mass spectrometry data carrier output by the clinical mass spectrometry instrument includes memory objects, data files, database tables, etc. Therefore, the implementation method for reading the clinical mass spectrometry data output by the clinical mass spectrometry instrument can be to access the application program interface of the clinical mass spectrometry instrument to directly read the memory object of the clinical mass spectrometry data, or to access the network application program interface of the clinical mass spectrometry instrument to read the text containing the clinical mass spectrometry data, or to read the clinical mass spectrometry data stored in the data file or database table. Those skilled in the art can fully realize the function of reading the clinical mass spectrometry data output by the clinical mass spectrometry instrument based on the basic skills they have mastered, and there is no possibility of incomprehension or non-reproduction.

[0047] In order to describe the present embodiment more clearly and conveniently, the present embodiment is further described below by way of examples, and the subsequent examples are also described based on the following examples.

[0048] The clinical mass spectrometry serum 25-hydroxyvitamin D3 test data collected from a clinical mass spectrometry instrument are as follows:

[0049]

[0050]

[0051]

[0052]

[0053] S1-2. Extract clinical mass spectrometry peaks.

[0054] Figure 3 An implementation method of extracting clinical mass spectrum peaks in step S1-2 is shown.

[0055] S1-2-1. Perform data cleaning on clinical mass spectrometry detection data to obtain clinical mass spectrometry detection data with high signal-to-noise ratio.

[0056] The clinical mass spectrometry detection data are cleaned by using the existing data cleaning technology to improve the signal-to-noise ratio of the clinical mass spectrometry detection data and obtain clinical mass spectrometry detection data with a high signal-to-noise ratio. The data cleaning technology is preferably a Gaussian smoothing algorithm.

[0057] In the above example, the Gaussian smoothing algorithm with a normal distribution standard deviation of 1.8 is used to clean the clinical mass spectrometry serum 25-hydroxyvitamin D3 test data in the above example, and the clinical mass spectrometry serum 25-hydroxyvitamin D3 test data with a high signal-to-noise ratio is obtained as follows:

[0058]

[0059]

[0060]

[0061]

[0062] S1-2-2. Take the retention time in the clinical mass spectrometry detection data with high signal-to-noise ratio as the horizontal axis and the ion signal intensity as the vertical axis to obtain the clinical mass spectrometry peak diagram.

[0063] Figure 4 In the above example, the clinical mass spectrometry peak diagram obtained with the retention time in the clinical mass spectrometry serum 25-hydroxyvitamin D3 detection data with high signal-to-noise ratio as the horizontal axis and the ion signal intensity as the vertical axis is shown. It can be seen that it contains more than one possible clinical mass spectrometry peak.

[0064] S1-2-3. According to the peak time range detected by clinical mass spectrometry, find the peak apex from the clinical mass spectrometry peak graph.

[0065] In the above example, the peak time range of clinical mass spectrometry serum 25-hydroxyvitamin D3 detection is 4.44±10%, and the retention time 4.7465 corresponding to sequence number 582 is found, and the ion signal intensity 1381.0638 is the apex of the peak.

[0066] S1-2-4. Take the point on the left side of the peak apex where the last ion signal intensity decreases discontinuously as the starting point of the peak.

[0067] In the above example, the last point on the left side of the peak apex where the ion signal intensity decreases discontinuously is the point corresponding to the serial number 557 with a retention time of 4.5422 and an ion signal intensity of 5.5516, which is the starting point of the peak.

[0068] S1-2-5. Take the last point on the right side of the peak apex where the ion signal intensity decreases discontinuously as the end point of the peak.

[0069] In the above example, the last point on the right side of the peak apex where the ion signal intensity decreases discontinuously is the point corresponding to the serial number 594 with a retention time of 4.8445 and an ion signal intensity of 21.3232, which is the end point of the peak.

[0070] S1-2-6. The clinical mass spectrum peak is obtained by taking the total retention time from the peak start point to the peak end point as the horizontal axis and the ion signal intensity as the vertical axis.

[0071] Figure 4 The shaded area shows the clinical mass spectrometry peak of the clinical mass spectrometry serum 25-hydroxyvitamin D3 detection in the above example. By observing the shape of the clinical mass spectrometry peak with the naked eye and experience, it can be identified that the clinical mass spectrometry peak is a leading peak, not a tailing peak.

[0072] S1-3, Normalized clinical mass spectrometry peaks

[0073] Figure 5 An implementation of step S1-3 normalizing clinical mass spectrum peaks is shown.

[0074] S1-3-1. Divide the number of all data points in the clinical mass spectrum peak by the maximum value of the retention time and the maximum value of the ion signal intensity to obtain the retention time coefficient and the ion signal intensity coefficient respectively;

[0075] In the above example, the number of all data points in the clinical mass spectrum peak is 38, the maximum retention time is 4.8445, the maximum ion signal intensity is 1381.0638, and the retention time coefficient is 7.8439 and the ion signal intensity coefficient is 0.0275.

[0076] S1-3-2. Multiply the retention time of each data point in the clinical mass spectrum peak by the retention time coefficient, and multiply the ion signal intensity by the ion signal intensity coefficient to obtain a normalized clinical mass spectrum peak.

[0077] In the above example, the normalized clinical mass spectrometry peak data for the clinical mass spectrometry serum 25-hydroxyvitamin D3 test is:

[0078]

[0079]

[0080] S2. Starting from the first data point of the normalized clinical mass spectrometry peak, the angle between the line connecting each data point and the origin and the positive semi-axis of the horizontal axis is calculated in sequence to obtain an ordered set of angles. The angle calculation formula is as follows:

[0081]

[0082] Where y is the ion signal intensity, x is the retention time, and θ is the angle between the line connecting the data points composed of x and y and the origin and the positive semi-axis of the horizontal axis.

[0083] In the above example, starting from the first data point of the clinical mass spectrometry peak after normalization of clinical mass spectrometry serum 25-hydroxyvitamin D3 detection, the angle between the line connecting each data point and the origin and the positive semi-axis of the horizontal axis is calculated according to the above formula, and the ordered set of angles is obtained as follows:

[0084] [0.2456,0.2519,0.304,0.3812,0.4499,0.4869,0.4965,0.5033,0.5227,0.5535,0.6049,0.6933,0.7977,0.8609,0.877,0.9726,1.4041,2.521,4.7893,8.808 9,15.0613,23.2757,31.9952,39.2793,43.9069,45.57,44.3291,40.2791,33.739,25.6997,17.7644,11.282,6.7338,3.9212,2.3445,1.4945,1.0458,0.8841].

[0085] S3. Starting from the maximum angle in the ordered set of angles, the differences between all adjacent angles to the left of the maximum angle in the ordered set of angles are calculated in sequence to obtain an ordered set of left adjacent angle differences.

[0086] In the above example, the largest angle in the ordered set of angles is 45.57, and the angle adjacent to its left is 43.9069, the difference between the two is 1.6631, the angle adjacent to the left of the angle 43.9069 is 39.2793, the difference between the two is 4.6276, and so on, the ordered set of left adjacent angle differences is as follows:

[0087] [1.6631,4.6276,7.2841,8.7195,8.2144,6.2524,4.0196,2.2683,1.1169,0.4315,0.0956,0.0161,0.0632,0.1044,0.0884,0.0514,0.0308,0.0194,0.0068,0.0096,0.037,0.0687,0.0772,0.0521,0.0063].

[0088] S4. Starting from the first left adjacent angle difference of the ordered set of left adjacent angle differences, take out left adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to the right to form the first group of left adjacent angle difference groups. Starting from the second left adjacent angle difference of the ordered set of left adjacent angle differences, take out left adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to the right to form the second group of left adjacent angle difference groups. And so on, to obtain a set of left adjacent angle difference groups.

[0089] In the above example, the threshold of the number of consecutive adjacent angle differences is set to 3. Starting from the first adjacent angle difference in the ordered set of left adjacent angle differences, 3 left adjacent angle differences are taken to the right to form the first group of left adjacent angle difference groups [1.6631, 4.6276, 7.2841]. Starting from the second adjacent angle difference in the ordered set of left adjacent angle differences, 3 left adjacent angle differences are taken to the right to form the second group of left adjacent angle difference groups [4.6276, 7.2841, 8.7195]. By analogy, the left adjacent angle difference grouping sets are as follows:

[0090]

[0091]

[0092] S5. A clinical mass spectrometry peak in which the absolute values ​​of the left adjacent angle differences of at least one group in the left adjacent angle difference group set are all less than or equal to the adjacent angle difference threshold is a leading peak.

[0093] In the above example, the adjacent angle difference threshold is set to 0.8. Since in the left adjacent angle difference grouping set, there is at least one group whose absolute values ​​of the left adjacent angle differences are all smaller than the adjacent angle difference threshold of 0.8, the clinical mass spectrometry peak is a front peak.

[0094] This identification result is consistent with the results obtained by visually and empirically observing the shapes of clinical mass spectrometry peaks.

[0095] Furthermore, we first identified 4 groups of leading peaks and 2 groups of tailing peaks by observing the shapes of clinical mass spectrometry peaks with the naked eye and experience, and then used a method for identifying leading peaks or tailing peaks in clinical mass spectrometry peaks provided by the present invention. For these 6 groups of test data, the thresholds for the number of consecutive adjacent angle differences were set from 1 to 6, and the thresholds for adjacent angle differences were set from 0.1 to 0.9. A total of 324 combinations were experimented, and the statistical data of the consistency rate of the results obtained by the two methods was greater than 0% were as follows:

[0096]

[0097] The maximum value 3 of the continuous adjacent angle difference number threshold in the statistical data with a consistency rate equal to 100% is taken as the preferred continuous adjacent angle difference number threshold, and the smaller value 0.8 of the adjacent angle difference threshold corresponding to the preferred continuous adjacent angle difference number threshold 3 is taken as the preferred adjacent angle difference threshold.

[0098] Figure 6The method for identifying tailing peaks in clinical mass spectrometry peaks of the present invention is shown. The method can be applied to terminal devices (for example, desktop computers. In this embodiment, for ease of understanding, desktop computers are used as the subject for explanation, but those skilled in the art understand that the method can also be applied to other terminal devices as long as the corresponding functions can be achieved). The first two steps S1 and S2 of the method are consistent with the first two steps S1 and S2 of the method for identifying front peaks in clinical mass spectrometry peaks of the present invention. Starting from the third step, the following steps are included:

[0099] S3′, starting from the maximum angle in the ordered set of angles, sequentially calculate the differences between all adjacent angles to the right of the maximum angle in the ordered set of angles to obtain an ordered set of right adjacent angle differences;

[0100] In the above example, the largest angle in the ordered set of angles is 45.57, and the angle adjacent to its right is 44.3291, the difference between the two is 1.2409, the angle adjacent to the right of angle 44.3291 is 40.2791, the difference between the two is 4.05, and so on, the ordered set of right adjacent angle differences is as follows:

[0101] [1.2409,4.05,6.5401,8.0393,7.9353,6.4824,4.5482,2.8126,1.5767,0.85,0.4487,0.1617].

[0102] S4′, starting from the first right adjacent angle difference of the ordered set of right adjacent angle differences, taking out right adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to form the first group of right adjacent angle difference groups, starting from the second right adjacent angle difference of the ordered set of right adjacent angle differences, taking out right adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to form the second group of right adjacent angle difference groups,

[0103] By analogy, we get the right adjacent angle difference grouping set;

[0104] In the above example, the preferred threshold for the number of consecutive adjacent angle differences is 3. Starting from the first adjacent angle difference in the ordered set of right adjacent angle differences, 3 right adjacent angle differences are taken to the right to obtain the first group of right adjacent angle difference groups [1.2409, 4.05, 6.5401]. Starting from the second adjacent angle difference in the ordered set of right adjacent angle differences, 3 right adjacent angle differences are taken to the right to obtain the second group of right adjacent angle difference groups.

[0105] [4.05,6.5401,8.0393], and so on, the right adjacent angle difference grouping set is as follows:

[0106]

[0107] S5′, a clinical mass spectrum peak in which there is at least one group in the right adjacent angle difference group set whose absolute values ​​of the right adjacent angle differences are all less than or equal to the adjacent angle difference threshold is a tailing peak.

[0108] In the above example, the preferred adjacent angle difference threshold is 0.8. Since in the right adjacent angle difference grouping set, there is no group whose absolute values ​​of right adjacent angle differences are all less than or equal to the adjacent angle difference threshold of 0.8, the clinical mass spectrum peak is not a tailing peak.

[0109] This identification result is consistent with the results obtained by visually and empirically observing the shapes of clinical mass spectrometry peaks.

[0110] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0111] It should be understood that in the above embodiments, the size of the sequence number of each step does not mean the order of execution. The execution order of each step should be determined by function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0112] Figure 7 It is a schematic diagram of a device 7 for identifying a leading peak or a tailing peak in a clinical mass spectrum peak according to the present invention. For the sake of convenience, only the part related to the embodiment of the present application is shown.

[0113] The device 7 for identifying leading peaks or tailing peaks in clinical mass spectrometry peaks may be a software unit, a hardware unit, or a unit combining software and hardware built into the terminal device, or may be integrated into the terminal device as an independent accessory.

[0114] The device 7 for identifying the leading peak or tailing peak in the clinical mass spectrum peak includes two independently running software functional modules, namely a clinical mass spectrum peak acquisition module 71 and a leading peak or tailing peak identification module 72 in the clinical mass spectrum peak, wherein the clinical mass spectrum peak acquisition module 71 is used to obtain the normalized clinical mass spectrum peak, that is, to implement step S1; the leading peak or tailing peak identification module 72 in the clinical mass spectrum peak is used to identify the leading peak or tailing peak from the normalized clinical mass spectrum peak, that is, to implement steps S2 to S5′. The clinical mass spectrometry peak acquisition module 71 includes three independently running software functional modules, namely, a clinical mass spectrometry detection data acquisition module 71-1, a clinical mass spectrometry peak extraction module 71-2, and a clinical mass spectrometry peak normalization module 71-3, wherein the clinical mass spectrometry detection data acquisition module 71-1 is used to collect clinical mass spectrometry detection data, i.e., to implement step S1-1; the clinical mass spectrometry peak extraction module 71-2 is used to extract clinical mass spectrometry peaks from clinical mass spectrometry detection data, i.e., to implement steps S1-2-1 to S1-2-6; the clinical mass spectrometry peak normalization module 71-3 is used to normalize clinical mass spectrometry peaks, i.e., to implement steps S1-3-1 and S1-3-2. There are many ways to implement these modules. They can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one processing unit. The internal structure of the device can be divided into different program units or modules as needed. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software program units. After understanding the ideas of the present invention and the functional description of each module, those skilled in the art can completely implement the programming and operation of each module according to the basic skills they have mastered to complete all or part of the functions described above, and there is no possibility of being incomprehensible or incapable of reproduction. In addition, the specific names of each program module are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0115] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0116] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed with hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0117] In the embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0119] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0120] It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.

Claims

1. A method for identifying a leading peak in a clinical mass spectrometry peak, characterized in that: The steps include: Obtain normalized clinical mass spectrum peaks; Starting from the first data point of the normalized clinical mass spectrum peak, the angle between each data point and the line connecting the origin and the positive semi-axis of the horizontal axis is calculated in sequence to obtain an ordered set of angles. The angle calculation formula is as follows: Where y is the ion signal intensity, x is the retention time, and θ is the angle between the line connecting the data point composed of x and y and the origin and the positive semi-axis of the horizontal axis; Starting from the maximum angle in the ordered set of angles, the differences between all adjacent angles to the left of the maximum angle in the ordered set of angles are calculated in sequence to obtain an ordered set of left adjacent angle differences; Starting from the first left adjacent angle difference of the ordered set of left adjacent angle differences, taking out the left adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to the right to form the first group of left adjacent angle difference groups; starting from the second left adjacent angle difference of the ordered set of left adjacent angle differences, taking out the left adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to the right to form the second group of left adjacent angle difference groups, and so on to obtain a set of left adjacent angle difference groups; The mass spectrum peak in which the absolute values ​​of the left adjacent angle differences of at least one group in the set of left adjacent angle difference groups are all less than or equal to the adjacent angle difference threshold is a leading peak.

2. A method for identifying tailing peaks in clinical mass spectrometry peaks, characterized in that: The steps include: Obtain normalized clinical mass spectrum peaks; Starting from the first data point of the normalized clinical mass spectrum peak, the angle between each data point and the line connecting the origin and the positive semi-axis of the horizontal axis is calculated in sequence to obtain an ordered set of angles. The angle calculation formula is as follows: Where y is the ion signal intensity, x is the retention time, and θ is the angle between the line connecting the data point composed of x and y and the origin and the positive semi-axis of the horizontal axis; Starting from the maximum angle in the ordered set of angles, the differences between all adjacent angles to the right of the maximum angle in the ordered set of angles are calculated in sequence to obtain an ordered set of right adjacent angle differences; Starting from the first right adjacent angle difference of the ordered set of right adjacent angle differences, taking out right adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to form a first group of right adjacent angle difference groups; starting from the second right adjacent angle difference of the ordered set of right adjacent angle differences, taking out right adjacent angle differences equal to the threshold number of consecutive adjacent angle differences to form a second group of right adjacent angle difference groups, and so on, to obtain a set of right adjacent angle difference groups; The mass spectrum peak in which the absolute values ​​of the right adjacent angle differences of at least one group in the right adjacent angle difference group set are all less than or equal to the adjacent angle difference threshold is a tailing peak.

3. A method for identifying leading peaks or tailing peaks in clinical mass spectrometry peaks according to claim 1 or 2, characterized in that: The step of obtaining the normalized clinical mass spectrum peak further comprises the following steps: Collect clinical mass spectrometry data; Extract clinical mass spectrometry peaks; Normalized clinical mass spectrometry peaks.

4. A method for identifying leading peaks or tailing peaks in clinical mass spectrometry peaks according to claim 3, characterized in that: The extraction of clinical mass spectrum peaks further comprises the following steps: performing data cleaning on the clinical mass spectrometry detection data to obtain clinical mass spectrometry detection data with a high signal-to-noise ratio; Taking the sampling time in the clinical mass spectrometry detection data with high signal-to-noise ratio as the horizontal axis and the ion signal intensity as the vertical axis, a clinical mass spectrometry peak diagram is obtained; According to the peak time range detected by clinical mass spectrometry, the apex of the peak is found from the clinical mass spectrometry peak graph; The last point on the left side of the peak apex where the ion signal intensity decreases discontinuously is taken as the starting point of the peak; The last point on the right side of the peak apex where the ion signal intensity decreases discontinuously is taken as the end point of the peak; The clinical mass spectrum peak is obtained by taking the total retention time between the starting point of the peak and the end point of the peak as the horizontal axis and the ion signal intensity as the vertical axis.

5. The method for identifying leading peaks or tailing peaks in clinical mass spectrometry peaks according to claim 3, characterized in that: The normalized clinical mass spectrum peak further comprises the following steps: Dividing the number of all data points in the clinical mass spectrum peak by the maximum value of the retention time and the maximum value of the ion signal intensity, respectively, to obtain a retention time coefficient and an ion signal intensity coefficient; The retention time of each data point in the clinical mass spectrum peak is multiplied by the retention time coefficient, and the ion signal intensity is multiplied by the ion signal intensity coefficient to obtain the normalized clinical mass spectrum peak.

6. A method for identifying leading peaks or tailing peaks in clinical mass spectrometry peaks according to any one of claims 1 to 5, characterized in that: The threshold value for the number of consecutive adjacent angle differences is preferably 3, and the threshold value for the adjacent angle difference is preferably 0.

8.

7. A device for identifying leading peaks or tailing peaks in clinical mass spectrometry peaks, characterized in that: A method for identifying a leading peak or a tailing peak in a clinical mass spectrometry peak as described in any one of claims 1 to 6, comprising: A clinical mass spectrum peak acquisition module, used to acquire the normalized clinical mass spectrum peak; The leading peak or tailing peak identification module in the clinical mass spectrum peak is used to identify the leading peak or tailing peak in the normalized clinical mass spectrum peak.

8. The device for identifying leading peaks or tailing peaks in clinical mass spectrometry according to claim 7, characterized in that: The clinical mass spectrum peak acquisition module further includes the following modules: A clinical mass spectrometry detection data acquisition module, used to collect the clinical mass spectrometry detection data; A clinical mass spectrometry peak extraction module, used to extract clinical mass spectrometry peaks from the clinical mass spectrometry detection data; The clinical mass spectrum peak normalization module is used to perform normalization processing on the clinical mass spectrum peak to obtain the normalized clinical mass spectrum peak.