Microorganism identification method, device, equipment and medium
By using standard samples and preset laser energy in microbial identification for multiple samples and comparison of the identification mass spectrum with standard identification results, the shortcomings of existing microbial identification methods in terms of speed and accuracy are solved, and more efficient and accurate microbial identification is achieved.
Patent Information
- Application Number
- CN202411839485.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-03-04
AI Technical Summary
The existing microbial identification methods have shortcomings in terms of speed and accuracy, especially when sample pretreatment and instrument status requirements are high, which can easily lead to false negative results. In addition, artificial intelligence methods require a lot of data training and are highly complex and difficult to explain and troubleshoot problems.
By placing standard samples in the target sample target for sampling and identification, the standard mass spectra and identification results are obtained, and the samples to be detected are sampled multiple times using preset laser energy to generate the mass spectra to be identified. The mass spectra to be identified are compared with the standard identification results, the number of marks is updated, and whether the sample to be detected is positive is determined based on the number of marks and the number of samples sampled.
It improves the speed and accuracy of microbial identification, reduces the occurrence of false negative results, simplifies the detection process, and reduces the requirements for sample pretreatment and instrument status.
Smart Images

Figure CN119555790A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of microbial analysis, and in particular to a microbial identification method, device, equipment and medium. Background Art
[0002] In clinical or non-clinical testing, it is sometimes necessary to use microbial mass spectrometry to detect whether microorganisms are growing. For example, when performing phenotypic drug sensitivity testing, it is necessary to test whether the corresponding microorganisms can be detected in each sample point after the same microorganisms are placed in the sample points of different antibiotic concentrations. At this time, a clear microbial growth interpretation method is required to complete the relevant test and give a positive or negative result, where a positive indicates growth and a negative indicates no growth or absence.
[0003] Currently, two methods are commonly used to interpret microbial mass spectra:
[0004] The first method is to judge by detecting whether there are a certain number of mass spectrum peaks in the microbial mass spectrum, or the peak height, peak area, signal-to-noise ratio and other attributes. For example, when the mass spectrum peaks reach a certain number and the signal-to-noise ratio and other attributes reach a certain value, it is positive; otherwise it is negative; but the above method has many defects: high requirements for sample pretreatment. If the sample pretreatment effect is general, the mass spectrometry peak effect may be poor and cause false negatives; high requirements for instrument status. If the instrument attenuates, the mass spectrometry peak effect may be poor and cause false negatives; poor compatibility of microbial strains, and the protein fingerprint spectra of different microorganisms are quite different, which leads to the need to set different thresholds for different microorganisms as judgment criteria.
[0005] The second method is to train the microbial mass spectrometry through artificial intelligence methods such as neural network models to form a binary classifier, and then use the binary classifier to interpret the microbial mass spectrometry. However, the above method also has many shortcomings: a large amount of positive or negative data is required for training, and as the number of detected bacteria increases, the data that needs to be collected and trained will increase linearly or even geometrically; when the sample is contaminated, especially when the contaminated microorganisms dominate, the detection accuracy is greatly reduced; the more complex the neural network and other artificial intelligence methods are, the more unexplainable they are, and the more difficult it is to troubleshoot problems.
[0006] From the above, it can be seen that how to improve the speed and accuracy of microbial identification in the process of microbial identification is a problem that needs to be solved urgently. Summary of the invention
[0007] In view of this, the purpose of the present invention is to provide a microbial identification method, device, equipment and medium, which can determine whether the sample to be detected is positive based on the current number of markers and the current number of sampled positions, thereby improving the speed of microbial identification and improving the accuracy of the results obtained from the microbial identification. The specific scheme is as follows:
[0008] In a first aspect, the present application provides a microbial identification method, which is applied to a preset microbial mass spectrometer, comprising:
[0009] Sampling and identifying the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample;
[0010] Determine the current sampling position in the target sample target, and use each preset laser energy to sample the sample to be detected at the current sampling position to obtain the corresponding current mass spectrum to be identified, and count the corresponding current number of sampled positions;
[0011] Identify the mass spectrum to be identified to obtain the corresponding identification result to be compared;
[0012] Compare the current identification result to be compared with the standard identification result, and update the current mark number when the current comparison result meets the preset condition;
[0013] Based on the current number of marks and the current number of sampled positions, determine whether the sample to be detected at the current position to be sampled is judged as positive, then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met.
[0014] Optionally, the sampling and identification of the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample includes:
[0015] Sampling the standard sample placed in the target sample target to obtain a standard mass spectrum corresponding to the standard sample, and judging whether the standard mass spectrum meets the first indicator; if the standard mass spectrum does not meet the first indicator, exiting the microbial identification process;
[0016] If the standard mass spectrum meets the first indicator, the standard mass spectrum is identified, and it is determined whether the obtained standard identification result meets the preset credibility condition;
[0017] If the standard identification result meets the preset credibility condition, the standard identification result corresponding to the standard sample is recorded; if the standard identification result does not meet the preset credibility condition, the microbial identification process is exited.
[0018] Optionally, after determining the current position to be sampled in the target sample target, sampling the sample to be detected at the current position to be sampled using each preset laser energy to obtain the corresponding current mass spectrum to be identified, and counting the corresponding number of current sampled positions, the method further includes:
[0019] Counting the current preset energy sequence number, and determining whether the current preset energy sequence number is less than the total amount of laser energy;
[0020] If the current preset energy sequence number is less than the total number of laser energies, triggering an operation of sampling the sample to be detected in the current position to be sampled using another preset laser energy;
[0021] If the current preset energy sequence number is not less than the total number of laser energies, the next sampling position in the target sample target is used as the new current sampling position, and the process jumps to the step of sampling the sample to be detected at the current sampling position using each preset laser energy.
[0022] Optionally, comparing the current identification result to be compared with the standard identification result, and updating the current mark number when the current comparison result meets a preset condition, includes:
[0023] Comparing the current identification result to be compared with the standard identification result to obtain the current comparison result;
[0024] If the comparison result indicates that the identification result to be compared is consistent with the standard identification result, then determining whether the identification result to be compared meets a preset credibility condition;
[0025] If the identification result to be compared meets the preset credibility condition, the current number of marks corresponding to the sample to be detected is updated.
[0026] Optionally, comparing the current identification result to be compared with the standard identification result, and updating the current mark number when the current comparison result meets a preset condition, includes:
[0027] According to the screening order of the bacterial species identification scores in the identification results to be compared from large to small, a target number of bacterial species is determined from each bacterial species corresponding to the sample to be tested, and it is determined whether there is a bacterial species consistent with the standard identification result among the target number of bacterial species;
[0028] If there is a strain consistent with the standard identification result among the target number of strains, it is determined whether the strain identification score corresponding to the strain meets the preset credibility condition. If the strain identification score corresponding to the strain meets the preset credibility condition, the operation of updating the current number of marks is triggered.
[0029] Optionally, the determining whether to judge the sample to be detected at the current position to be sampled as positive based on the current number of markers and the current number of sampled positions includes:
[0030] Determine whether the current number of markers is equal to the target current number of markers. If the current number of markers is equal to the target current number of markers, the sample to be tested is judged as positive and the microbial identification process is exited;
[0031] If the current number of marks is not equal to the target current number of marks, determine whether the current number of sampled positions is greater than the upper limit of the sampling position. If the current number of sampled positions is greater than the upper limit of the sampling position, the sample to be tested is judged as negative and exits the microbial identification process.
[0032] Optionally, after determining whether to judge the sample to be detected at the current position to be sampled as positive based on the current number of marks and the current number of sampled positions, the method further includes:
[0033] Scanning the target sample target to determine whether there are undetected samples to be detected in the target sample target; if there are no undetected samples to be detected in the target sample target, exiting the microbial identification process;
[0034] If there are undetected samples to be detected in the target sample target, the operation of taking the next position to be sampled in the target sample target as a new current position to be sampled is triggered.
[0035] In a second aspect, the present application provides a microorganism identification device, which is applied to a preset microorganism mass spectrometer, comprising:
[0036] An identification result acquisition module is used to sample and identify the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample;
[0037] A sampling position determination module is used to determine the current sampling position in the target sample target, and use each preset laser energy to sample the sample to be detected at the current sampling position to obtain the corresponding current mass spectrum to be identified, and count the corresponding current number of sampled positions;
[0038] A mass spectrum identification module is used to identify the mass spectrum to be identified to obtain the corresponding identification result to be compared;
[0039] A marking number updating module, used for comparing the current identification result to be compared with the standard identification result, and updating the current marking number when the current comparison result meets the preset conditions;
[0040] The sample judgment module is used to determine whether the sample to be detected at the current position to be sampled is judged as positive based on the current number of marks and the current number of sampled positions, and then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met.
[0041] In a third aspect, the present application provides an electronic device, including:
[0042] Memory, used to store computer programs;
[0043] The processor is used to execute the computer program to implement the aforementioned microorganism identification method.
[0044] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program implements the aforementioned microorganism identification method when executed by a processor.
[0045] As can be seen from the above, before the present application performs microbial identification, it is necessary to sample and identify the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample; determine the current position to be sampled in the target sample target, and use each preset laser energy to sample the sample to be detected at the current position to be sampled to obtain the corresponding current mass spectrum to be identified, and count the corresponding number of currently sampled positions; identify the current mass spectrum to be identified to obtain the corresponding current identification result to be compared; compare the current identification result to be compared with the standard identification result, and update the current number of markers when the current comparison result meets the preset conditions; determine whether the sample to be detected at the current position to be sampled is judged as positive based on the current number of markers and the current number of sampled positions, and then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met. It can be seen that the present application identifies the standard sample to obtain the standard identification result, and uses different laser energies to sample the current sampling position, and identifies the mass spectrum to be identified after sampling, and updates the current number of sampled positions. Subsequently, the identification result to be compared obtained by identifying the mass spectrum to be identified is compared with the standard identification result to obtain a comparison result; then, it is determined whether the comparison result meets the first preset condition, and if it does, the current number of markers is updated; finally, based on the current number of markers and the current number of sampled positions, it is determined whether the sample to be detected is judged as positive, and then the next position to be sampled in the target sample target is used as the new current position to be sampled, and jumps to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met. In this way, the speed of identifying microorganisms is improved, and the accuracy of the results obtained by identifying microorganisms is improved, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0047] Figure 1 A flow chart of a microorganism identification method disclosed in this application;
[0048] Figure 2 A schematic diagram of uneven crystal distribution of a sample disclosed in the present application;
[0049] Figure 3 A schematic diagram of a microbial protein fingerprint;
[0050] Figure 4 A schematic diagram of a sample target for microbial mass spectrometry;
[0051] Figure 5 A schematic diagram of a main process for microbial identification disclosed in this application;
[0052] Figure 6 This is a structural flow chart of a microorganism identification device disclosed in this application;
[0053] Figure 7 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] In clinical or non-clinical testing, it is sometimes necessary to use microbial mass spectrometry to detect whether microorganisms are growing. For example, when performing phenotypic drug sensitivity testing, it is necessary to detect whether the corresponding microorganisms can be detected in each sample point after the same microorganism is placed in the midpoint of the sample points with different concentrations of antibiotics. At this time, a clear method for interpreting microbial growth is required to complete the relevant tests and give a positive and negative result, where a positive indicates growth and a negative indicates no growth or absence. To this end, the present application provides a microbial identification method that can determine whether the sample to be tested is positive based on the current number of markers and the current number of sampled positions, thereby increasing the speed of identifying microorganisms.
[0056] See also Figure 1 As shown, an embodiment of the present invention discloses a microorganism identification method, which is applied to a preset microorganism mass spectrometer, comprising:
[0057] Step S11, sampling and identifying the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample.
[0058] Microbial mass spectrometry is a microbial identification instrument currently commonly used in clinical and non-clinical testing; in a specific embodiment, microbial mass spectrometry uses MALDI-TOF (i.e., matrix-assisted laser desorption ionization time-of-flight mass spectrometry) to collect protein fingerprints of microorganisms. After obtaining the protein fingerprint, the protein fingerprint is compared with all known microbial protein fingerprints stored in the microbial mass spectrometry database to obtain the microbial mass spectrometry identification results. The embodiment of the present application can know the specific strain corresponding to the microorganism based on the microbial mass spectrometry identification results. It is worth mentioning that in the process of microbial identification, the microbial mass spectrometry database can be reused. In a specific embodiment, the microbial mass spectrometry database contains 4000-5000 species of microorganisms, which can meet the needs of most application scenarios.
[0059] In this embodiment, before sampling and identifying the sample to be detected, the embodiment of the present application needs to pre-set a control point, that is, a standard sample, and sample and identify the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample, so as to compare it with the identification result of the sample to be detected later. Specifically, the sampling and identification of the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample can include: sampling the standard sample placed in the target sample target to obtain a standard mass spectrum corresponding to the standard sample, and judging whether the standard mass spectrum meets the first indicator; if the standard mass spectrum does not meet the first indicator, then exit the microbial identification process; if the standard mass spectrum meets the first indicator, then identify the standard mass spectrum, and judge whether the obtained standard identification result meets the preset credibility condition; if the standard identification result meets the preset credibility condition, then record the standard identification result corresponding to the standard sample; if the standard identification result does not meet the preset credibility condition, then exit the microbial identification process.
[0060] Step S12, determining the current sampling position in the target sample target, and using each preset laser energy to sample the sample to be detected at the current sampling position to obtain the corresponding current mass spectrum to be identified, and counting the corresponding current number of sampled positions.
[0061] It is worth mentioning that in a specific embodiment, because different types of microorganisms are suitable for different laser energies, when the microbial mass spectrometry is sampled by laser, there will be adverse effects such as poor crystallization effect at the sampling position or incompatibility of laser energy, resulting in weak detection signals or deformation of mass spectrometry signals, such as poor mass spectrometry peaks, which ultimately lead to false negative detection results. Figure 2 As shown, located Figure 2The red arrow on the left side of the graph indicates that there is no sample crystallization. Figure 2 The red arrow on the right half of the image indicates that there is sample crystallization, that is, there is a problem of uneven crystallization.
[0062] In another specific embodiment, if the number of samplings and laser changes are increased inside the target point to ensure that an effective sample signal is obtained, this will greatly reduce the detection speed of the microbial mass spectrometer. For example, the number of samplings performed is the product of the number of sampling positions and the type of laser energy, so that the number of samplings increases geometrically; in addition, since there is a scenario where the corresponding sample microorganism is not growing, that is, a true negative, the microbial mass spectrometer itself cannot collect an effective mass spectrometry signal. For this scenario, it is also necessary to quickly read out the negative result of the sample.
[0063] Among them, the mass spectrum can be a microbial protein fingerprint. Figure 3 As shown, Figure 3 It is a microbial protein fingerprint, where the horizontal axis is the mass-to-charge ratio and the vertical axis is the ion intensity (i.e., ion content), where each mass spectrum peak is a protein with a mass-to-charge ratio and its corresponding content. It is worth mentioning that the protein fingerprint of each strain is theoretically different. In addition, the mass spectrometry database is a database of known microbial protein fingerprints, and its richness directly determines the types of microorganisms that can be detected by the microbial mass spectrometry. The larger the mass spectrometry database, the more types of microorganisms that can be detected by the mass spectrometry.
[0064] It is worth mentioning that, because the microbial mass spectrometer is highly dependent on the mass spectrometry detection signal, when the mass spectrometry detection signal is not accurate enough, the identification result is also inaccurate. In addition, when the sample pretreatment or instrument status is relatively poor, it will also lead to incorrect interpretation of the microorganisms to be detected, thus easily obtaining false negative results.
[0065] In addition, when adding bacterial species to be detected, a large amount of work should not be spent on readjusting the method or model; or, when the sample to be detected is contaminated by other microorganisms, for example, the bacterial species corresponding to the sample to be detected and interpreted in the embodiment of the present application is bacteria A, but because it contaminates bacteria B and B grows effectively while A does not grow, a false positive result appears in the interpretation result; furthermore, when the crystallization of the sample to be detected is poor or the microorganism to be detected is different, or the sample to be detected itself is negative, a false negative result is easily obtained, or the time for microbial detection is greatly increased.
[0066] Therefore, when using a microbial mass spectrometer to interpret the growth of microorganisms, the present embodiment of the application first needs to prepare a normal growth standard sample point in the target sample target to serve as a control point for subsequent microbial identification. Subsequently, the standard sample point needs to be sampled and identified first, and then the sample to be tested needs to be sampled and identified multiple times at different sampling locations. In a specific embodiment, the sample target of the microbial mass spectrometer is as follows: Figure 4 shown.
[0067] In this embodiment, when testing the sample to be tested, different laser energies can be used to sample the same sampling position, and the mass spectrum after sampling can be identified. It is worth mentioning that the embodiment of the present application does not require the quality of the mass spectrum itself, but directly identifies it, so as to solve the phenomenon caused by excessively high quality requirements for the mass spectrum, conflicting negative results, and sample contamination, which leads to abnormal mass spectrum peaks and errors in the microbial identification results. Specifically, after determining the current position to be sampled in the target sample target, sampling the sample to be detected at the current position to be sampled using each preset laser energy to obtain the corresponding current mass spectrum to be identified, and counting the corresponding number of currently sampled positions, it can also include: counting the current preset energy sequence number, and judging whether the current preset energy sequence number is less than the total number of laser energies; if the current preset energy sequence number is less than the total number of laser energies, triggering the operation of sampling the sample to be detected in the current position to be sampled using another preset laser energy; if the current preset energy sequence number is not less than the total number of laser energies, taking the next position to be sampled in the target sample target as the new current position to be sampled, and jumping to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy.
[0068] Step S13: Identify the mass spectrum to be identified to obtain the corresponding identification result to be compared.
[0069] In this embodiment, after obtaining a number of current mass spectra to be identified after sampling the sample to be detected using different preset laser energies, the obtained number of current mass spectra to be identified need to be identified to obtain a number of current identification results to be compared corresponding to the number of current mass spectra to be identified, so as to subsequently compare the current identification results to be compared with the standard identification results.
[0070] Step S14: compare the current identification result to be compared with the standard identification result, and update the current mark number when the current comparison result meets the preset condition.
[0071] It is worth mentioning that if the relative content of contaminated bacteria in the sample point to be tested is relatively large, or the microorganism to be tested does not grow in the sample point to be tested, the identification result obtained by identifying the sample to be tested can be compared with the standard identification result. If they are different, the sample to be tested is judged as negative; if the relative content of bacteria in the sample point to be tested is relatively small, so that the mass spectrum peak in the mass spectrum obtained after sampling is not significant, the sample to be tested can still be identified, and it does not affect the identification result of the sample to be tested. This can solve the crystallization problem of the sample to be tested and the problem of different laser energy adaptation of different microorganisms, and at the same time reduce the probability of false negative results, ensure the detection speed.
[0072] In a specific embodiment, the current identification result to be compared is compared with the standard identification result, and the current number of marks is updated when the current comparison result meets the preset condition, which may include: comparing the current identification result to be compared with the standard identification result to obtain the current comparison result; if the comparison result indicates that the identification result to be compared is consistent with the standard identification result, then judging whether the identification result to be compared meets the preset credibility condition; if the identification result to be compared meets the preset credibility condition, then updating the current number of marks corresponding to the sample to be detected. That is, if the same and credible identification result as the standard sample point can be obtained after sampling and identification of the sample point to be detected, the sample to be detected can be determined to be positive; if the same and credible identification result as the sample point to be detected cannot be obtained after multiple sampling and identification of the sample point to be detected, then the sample to be detected can be determined to be negative.
[0073] In another specific embodiment, the comparing the current identification result to be compared with the standard identification result, and updating the current number of marks when the current comparison result meets the preset conditions, may include: determining a target number of bacterial species from each bacterial species corresponding to the sample to be tested according to the screening order of the bacterial species identification scores from large to small in the identification result to be compared, and judging whether there are bacterial species consistent with the standard identification result among the target number of bacterial species; if there are bacterial species consistent with the standard identification result among the target number of bacterial species, judging whether the bacterial species identification score corresponding to the bacterial species meets the preset credibility condition, and if the bacterial species identification score corresponding to the bacterial species meets the preset credibility condition, triggering the operation of updating the current number of marks.
[0074] Step S15, based on the current number of marks and the current number of sampled positions, determine whether the sample to be detected at the current position to be sampled is judged as positive, then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met.
[0075] In this embodiment, after obtaining the updated current mark number and the current number of sampled positions, the embodiment of the present application needs to compare the updated current mark number and the current number of sampled positions with the target current mark number and the upper limit of the sampling position. Specifically, the determination of whether to judge the sample to be detected at the current position to be sampled as positive based on the current mark number and the current number of sampled positions may include: judging whether the current mark number is equal to the target current mark number, if the current mark number is equal to the target current mark number, then judging the sample to be detected as positive and exiting the microbial identification process; if the current mark number is not equal to the target current mark number, then judging whether the current number of sampled positions is greater than the upper limit of the sampling position, if the current number of sampled positions is greater than the upper limit of the sampling position, then judging the sample to be detected as negative and exiting the microbial identification process.
[0076] It is worth mentioning that after the sample to be detected at the current sampling position is interpreted, the target sample target needs to be scanned to determine whether there are undetected samples to be detected in the target sample target. Specifically, after determining whether the sample to be detected at the current sampling position is interpreted as positive based on the current number of marks and the current number of sampled positions, it can also include: scanning the target sample target to determine whether there are undetected samples to be detected in the target sample target; if there are no undetected samples to be detected in the target sample target, exiting the microbial identification process; if there are undetected samples to be detected in the target sample target, triggering the operation of using the next sampling position in the target sample target as the new current sampling position.
[0077] It is worth mentioning that the embodiment of the present application may not directly use the microbial protein fingerprint for identification, but may use other methods to establish a database of the original microbial mass spectra, such as a microbial positive judgment detection library, so as to analyze and compare the standard mass spectrum corresponding to the standard sample with the mass spectrum to be compared corresponding to the sample to be tested, so as to make a positive judgment on the sample to be tested. In addition, after multiple samplings of each sample to be tested, several mass spectra to be identified can be identified uniformly.
[0078] As can be seen from the above, before the microorganism identification is performed in the embodiment of the present application, it is necessary to sample and identify the standard sample placed in the target sample target to obtain the standard identification result corresponding to the standard mass spectrum of the standard sample; determine the current position to be sampled in the target sample target, and use each preset laser energy to sample the sample to be detected at the current position to be sampled to obtain the corresponding current mass spectrum to be identified, and count the corresponding current number of sampled positions; identify the current mass spectrum to be identified to obtain the corresponding current identification result to be compared; compare the current identification result to be compared with the standard identification result, and update the current number of marks when the current comparison result meets the preset conditions; determine whether the sample to be detected at the current position to be sampled is judged as positive based on the current number of marks and the current number of sampled positions, and then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met. In this way, the speed of identifying microorganisms is improved, and the accuracy of the results obtained by identifying microorganisms is improved, thereby improving the user experience.
[0079] For further information, see Figure 5 As shown, the embodiment of the present invention discloses a method for identifying microorganisms, comprising:
[0080] In this embodiment, the main process of microbial identification is as follows:
[0081] First, the microorganism to be detected is added to the sample point of the target sample target, and a standard sample that can grow normally is added to other sample points in the target sample target as a positive control point;
[0082] Next, the standard sample in the target sample target is sampled using a preset microbial mass spectrometer and the following sub-steps are performed:
[0083] First sub-step: If the mass spectrum obtained after sampling the standard sample fails to meet the indicators, such as the peak intensity, signal-to-noise ratio, resolution, and number of peaks in the mass spectrum do not reach the preset indicators, it is determined that an abnormal condition has occurred in the process of microbial detection, and the entire microbial detection process is terminated; if the peak intensity, signal-to-noise ratio, resolution, and number of peaks in the mass spectrum reach the preset indicators, enter the second sub-step.
[0084] The second sub-step: identify the standard mass spectrum corresponding to the standard sample in the target sample target. If the identification result is not credible, it is worth mentioning that the preset microbial mass spectrometer will give a score based on the obtained identification result. The embodiment of the present application can judge the credibility of the obtained identification result through the above score, thereby judging the credibility of the identification result. If it is not credible, it is determined that an abnormal situation has occurred in the process of microbial detection and the microbial detection process is terminated; if the identification result is credible, enter the third sub-step.
[0085] The third sub-step: recording the standard identification results corresponding to the standard samples, wherein the standard identification results include the strain identification scores corresponding to each strain, and are arranged in descending order according to the strain identification scores.
[0086] In this embodiment, after obtaining the standard identification result, the sample to be detected needs to be sampled and identified. The steps of detecting the sample to be detected in the target sample target are as follows:
[0087] The first step: select the first sample to be detected in the target sample target, and set a current label number n=0, a target current label number d, a current sampled position number m=0, and a sampling position upper limit max for the sample to be detected;
[0088] The second step: select a sampling position from the positions of the samples to be detected, such as the center of the sample point, and the sampling position selected each time is different. After sampling, the number of sampling positions is counted by one, that is, m=m+1. Then, the sampling position is sampled multiple times using different preset laser energies, such as the rated energy of the preset laser energy is 55%, 45%, and 35%. After obtaining several mass spectra, several mass spectra need to be identified.
[0089] It is worth mentioning that in a specific implementation, if the identification result to be compared is the same as the standard identification result and the credibility determined by the identification score meets the preset credibility requirements, for example, if the full score is 10 points, and the identification score obtained at this time is not less than 6 points, then the obtained identification score is considered to be credible, and the current number of marks is increased by one, that is, n=n+1.
[0090] In another specific embodiment, if the first k of the obtained identification results to be compared have the same bacterial species as the standard control point and the credibility determined by the identification score meets the preset credibility requirement, the obtained identification score is considered to be credible, and the current number of markers is increased by one; wherein k is a preset target number, which can be set based on the user's own needs. It is worth mentioning that after the above operation is completed, the third step can be entered.
[0091] The third step: when the current number of markers is equal to the target current number of markers, the sample to be tested is judged as positive and the microbial detection process ends; otherwise, the fourth step is entered;
[0092] The fourth step: if the number of currently sampled positions is greater than the upper limit of the sampling position, the sample to be tested is judged as negative and the microbial detection process is terminated; otherwise, the step of selecting any sampling position from the positions where the sample to be tested is located is triggered.
[0093] The fifth step: Repeat the third step until the testing process of all samples to be tested is completed.
[0094] As can be seen from the above, before the microorganism identification is performed in the embodiment of the present application, it is necessary to sample and identify the standard sample placed in the target sample target to obtain the standard identification result corresponding to the standard mass spectrum of the standard sample; determine the current position to be sampled in the target sample target, and use each preset laser energy to sample the sample to be detected at the current position to be sampled to obtain the corresponding current mass spectrum to be identified, and count the corresponding current number of sampled positions; identify the current mass spectrum to be identified to obtain the corresponding current identification result to be compared; compare the current identification result to be compared with the standard identification result, and update the current number of marks when the current comparison result meets the preset conditions; determine whether the sample to be detected at the current position to be sampled is judged as positive based on the current number of marks and the current number of sampled positions, and then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met. In this way, the speed of identifying microorganisms is improved, and the accuracy of the results obtained by identifying microorganisms is improved, thereby improving the user experience.
[0095] Accordingly, see Figure 6 As shown, the present application also provides a microorganism identification device, which is applied to a preset microorganism mass spectrometer, comprising:
[0096] The identification result acquisition module 11 is used to sample and identify the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample;
[0097] The sampling position determination module 12 is used to determine the current sampling position in the target sample target, and use each preset laser energy to sample the sample to be detected at the current sampling position to obtain the corresponding current mass spectrum to be identified, and count the corresponding current number of sampled positions;
[0098] The mass spectrum identification module 13 is used to identify the mass spectrum to be identified to obtain the corresponding identification result to be compared;
[0099] The marking number updating module 14 is used to compare the current identification result to be compared with the standard identification result, and update the current marking number when the current comparison result meets the preset conditions;
[0100] The sample judgment module 15 is used to determine whether the sample to be detected at the current position to be sampled is judged as positive based on the current number of marks and the current number of sampled positions, and then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met.
[0101] As can be seen from the above, before the present application performs microbial identification, it is necessary to sample and identify the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample; determine the current position to be sampled in the target sample target, and use each preset laser energy to sample the sample to be detected at the current position to be sampled to obtain the corresponding current mass spectrum to be identified, and count the corresponding number of currently sampled positions; identify the current mass spectrum to be identified to obtain the corresponding current identification result to be compared; compare the current identification result to be compared with the standard identification result, and update the current number of markers when the current comparison result meets the preset conditions; determine whether the sample to be detected at the current position to be sampled is judged as positive based on the current number of markers and the current number of sampled positions, and then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met. It can be seen that the present application identifies the standard sample to obtain the standard identification result, and uses different laser energies to sample the current sampling position, and identifies the mass spectrum to be identified after sampling, and updates the current number of sampled positions. Subsequently, the identification result to be compared obtained by identifying the mass spectrum to be identified is compared with the standard identification result to obtain a comparison result; then, it is determined whether the comparison result meets the first preset condition, and if it does, the current number of markers is updated; finally, based on the current number of markers and the current number of sampled positions, it is determined whether the sample to be detected is judged as positive, and then the next position to be sampled in the target sample target is used as the new current position to be sampled, and jumps to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met. In this way, the speed of identifying microorganisms is improved, and the accuracy of the results obtained by identifying microorganisms is improved, thereby improving the user experience.
[0102] In some specific implementations, the identification result acquisition module 11 may specifically include:
[0103] A standard mass spectrum acquisition unit is used to sample the standard sample placed in the target sample target to obtain a standard mass spectrum corresponding to the standard sample, and determine whether the standard mass spectrum meets the first indicator; if the standard mass spectrum does not meet the first indicator, then exit the microbial identification process;
[0104] A mass spectrum identification unit, used for identifying the standard mass spectrum if the standard mass spectrum meets the first indicator, and judging whether the obtained standard identification result meets the preset credibility condition;
[0105] The identification result recording unit is used to record the standard identification result corresponding to the standard sample if the standard identification result meets the preset credibility condition; if the standard identification result does not meet the preset credibility condition, exit the microbial identification process.
[0106] In some specific embodiments, the microorganism identification device may further include:
[0107] An energy number counting unit, used for counting the current preset energy number and determining whether the current preset energy number is less than the total amount of laser energy;
[0108] A sample sampling unit, used for triggering the operation of sampling the sample to be detected in the current position to be sampled by using another preset laser energy if the current preset energy sequence number is less than the total number of laser energies;
[0109] The step jump unit is used to take the next position to be sampled in the target sample target as the new current position to be sampled if the current preset energy sequence number is not less than the total number of laser energies, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy.
[0110] In some specific implementations, the tag number updating module 14 may specifically include:
[0111] A comparison result determination unit, used for comparing the current identification result to be compared with the standard identification result to obtain a current comparison result;
[0112] An identification result judging unit, configured to judge whether the identification result to be compared satisfies a preset credibility condition if the comparison result indicates that the identification result to be compared is consistent with the standard identification result;
[0113] The label number updating unit is used to update the current label number corresponding to the sample to be detected if the identification result to be compared meets the preset credibility condition.
[0114] In some specific implementations, the tag number updating module 14 may specifically include:
[0115] a bacterial species determination unit, for determining a target number of bacterial species from each bacterial species corresponding to the sample to be detected according to the screening order of the bacterial species identification scores in the identification results to be compared from large to small, and determining whether there are bacterial species in the target number of bacterial species that are consistent with the standard identification results;
[0116] The identification score judgment unit is used to judge whether the strain identification score corresponding to the target number of strains satisfies a preset credibility condition if there is a strain consistent with the standard identification result among the target number of strains; if the strain identification score corresponding to the strain satisfies the preset credibility condition, the operation of updating the current number of marks is triggered.
[0117] In some specific embodiments, the sample interpretation module 15 may specifically include:
[0118] A marker number judging unit, used to judge whether the current marker number is equal to the target current marker number. If the current marker number is equal to the target current marker number, the sample to be tested is judged as positive and the microorganism identification process is exited;
[0119] The sampling position number judgment unit is used to judge whether the current number of sampled positions is greater than the upper limit of the sampling position if the current mark number is not equal to the target current mark number. If the current number of sampled positions is greater than the upper limit of the sampling position, the sample to be tested is judged as negative and the microbial identification process is exited.
[0120] In some specific embodiments, the microorganism identification device may further include:
[0121] A sample target scanning unit is used to scan the target sample target to determine whether there are undetected samples to be detected in the target sample target; if there are no undetected samples to be detected in the target sample target, then exit the microbial identification process;
[0122] The waiting-for-sampling position updating unit is used for triggering the operation of taking the next waiting-for-sampling position in the target sample target as the new current waiting-for-sampling position if there is an undetected waiting-for-sampling sample in the target sample target.
[0123] Furthermore, the present application also discloses an electronic device. Figure 7This is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the figure cannot be regarded as any limitation on the scope of use of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the microbial identification method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0124] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0125] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0126] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the microbial identification method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.
[0127] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed microorganism identification method is implemented. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.
[0128] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0129] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may 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.
[0130] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0131] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0132] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for identifying microorganisms, characterized in that: Applications for pre-set microbial mass spectrometers include: Sampling and identifying the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample; Determine the current sampling position in the target sample target, and use each preset laser energy to sample the sample to be detected at the current sampling position to obtain the corresponding current mass spectrum to be identified, and count the corresponding current number of sampled positions; Identify the mass spectrum to be identified to obtain the corresponding identification result to be compared; Compare the current identification result to be compared with the standard identification result, and update the current mark number when the current comparison result meets the preset condition; Based on the current number of marks and the current number of sampled positions, determine whether the sample to be detected at the current position to be sampled is judged as positive, then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met.
2. The microorganism identification method according to claim 1, characterized in that: The sampling and identification of the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample includes: Sampling the standard sample placed in the target sample target to obtain a standard mass spectrum corresponding to the standard sample, and judging whether the standard mass spectrum meets the first indicator; if the standard mass spectrum does not meet the first indicator, exiting the microbial identification process; If the standard mass spectrum meets the first indicator, the standard mass spectrum is identified, and it is determined whether the obtained standard identification result meets the preset credibility condition; If the standard identification result meets the preset credibility condition, the standard identification result corresponding to the standard sample is recorded; if the standard identification result does not meet the preset credibility condition, the microbial identification process is exited.
3. The microorganism identification method according to claim 1, characterized in that: After determining the current position to be sampled in the target sample target, sampling the sample to be detected at the current position to be sampled using each preset laser energy to obtain the corresponding mass spectrum to be identified, and counting the corresponding number of currently sampled positions, the method further includes: Counting the current preset energy sequence number, and determining whether the current preset energy sequence number is less than the total amount of laser energy; If the current preset energy sequence number is less than the total number of laser energies, triggering an operation of sampling the sample to be detected in the current position to be sampled using another preset laser energy; If the current preset energy sequence number is not less than the total number of laser energies, the next sampling position in the target sample target is used as the new current sampling position, and the process jumps to the step of sampling the sample to be detected at the current sampling position using each preset laser energy.
4. The microorganism identification method according to claim 1, characterized in that: The step of comparing the current identification result to be compared with the standard identification result and updating the current mark number when the current comparison result meets a preset condition includes: Comparing the current identification result to be compared with the standard identification result to obtain the current comparison result; If the comparison result indicates that the identification result to be compared is consistent with the standard identification result, then determining whether the identification result to be compared meets a preset credibility condition; If the identification result to be compared meets the preset credibility condition, the current number of marks corresponding to the sample to be detected is updated.
5. The microorganism identification method according to claim 1, characterized in that: The step of comparing the current identification result to be compared with the standard identification result and updating the current mark number when the current comparison result meets a preset condition includes: According to the screening order of the bacterial species identification scores in the identification results to be compared from large to small, a target number of bacterial species is determined from each bacterial species corresponding to the sample to be tested, and it is determined whether there is a bacterial species consistent with the standard identification result among the target number of bacterial species; If there is a strain consistent with the standard identification result among the target number of strains, it is determined whether the strain identification score corresponding to the strain meets the preset credibility condition. If the strain identification score corresponding to the strain meets the preset credibility condition, the operation of updating the current number of marks is triggered.
6. The microorganism identification method according to claim 1, characterized in that: The determining whether to judge the sample to be detected at the current sampling position as positive based on the current number of marks and the current number of sampled positions includes: Determine whether the current number of markers is equal to the target current number of markers. If the current number of markers is equal to the target current number of markers, the sample to be tested is judged as positive and the microbial identification process is exited; If the current number of marks is not equal to the target current number of marks, determine whether the current number of sampled positions is greater than the upper limit of the sampling position. If the current number of sampled positions is greater than the upper limit of the sampling position, the sample to be tested is judged as negative and exits the microbial identification process.
7. The microorganism identification method according to any one of claims 1 to 6, characterized in that: After determining whether the sample to be detected at the current position to be sampled is judged as positive based on the current number of marks and the current number of sampled positions, the method further includes: Scanning the target sample target to determine whether there are undetected samples to be detected in the target sample target; if there are no undetected samples to be detected in the target sample target, exiting the microbial identification process; If there are undetected samples to be detected in the target sample target, the operation of taking the next position to be sampled in the target sample target as a new current position to be sampled is triggered.
8. A microorganism identification device, characterized in that: Applications for pre-set microbial mass spectrometers include: An identification result acquisition module is used to sample and identify the standard sample placed in the target sample target to obtain a standard identification result corresponding to the standard mass spectrum of the standard sample; A sampling position determination module is used to determine the current sampling position in the target sample target, and use each preset laser energy to sample the sample to be detected at the current sampling position to obtain the corresponding current mass spectrum to be identified, and count the corresponding current number of sampled positions; A mass spectrum identification module is used to identify the mass spectrum to be identified to obtain the corresponding identification result to be compared; A marking number updating module, used for comparing the current identification result to be compared with the standard identification result, and updating the current marking number when the current comparison result meets the preset conditions; The sample judgment module is used to determine whether the sample to be detected at the current position to be sampled is judged as positive based on the current number of marks and the current number of sampled positions, and then use the next position to be sampled in the target sample target as the new current position to be sampled, and jump to the step of sampling the sample to be detected at the current position to be sampled using each preset laser energy until the preset cycle end condition is met.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the microorganism identification method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the steps of the microorganism identification method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Mass spectrum acquisition method and system, mass spectrometer and electronic equipment
CN116825602A
Microorganism mass spectrum quality control method, device, equipment and medium
CN118655214A
Microorganism Mass Spectrometry Method
US20240290602A1