Quality control method and equipment based on mass spectrometry data
Through the visual analysis model, the mass spectrogram is subjected to computer vision analysis and database identification, which solves the problem of difficult to judge the errors in the mass spectrometer parameters, and realizes efficient automatic control of the mass spectrometer data quality, improves the accuracy and efficiency of the analysis results, and reduces costs.
Patent Information
- Application Number
- CN202411090367.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Existing mass spectrometry analysis methods are difficult to determine whether the mass spectrometer has parameter errors or failures, which makes it difficult to control the mass spectrometry results, which is time-consuming and costly.
The mass spectrometer is computer vision analysis using a visual analysis model, and the mass spectrometer mass data quality is automatically adjusted through the analysis database to achieve efficient and automated mass spectrometer quality control.
The visual analysis model is more stable than manual analysis, and is suitable for the needs of large-scale continuous mass spectrometry, which improves the accuracy and efficiency of mass spectrometry data, reduces costs, and realizes timely adjustment and automated processing of mass spectrometer operating parameters.
Smart Images

Figure CN118655261B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mass spectrometry analysis, and in particular to a quality control method based on mass spectrometry data, a computer device, a readable storage medium and a computer program product. Background Art
[0002] Mass spectrometry is a time-honored technique for the identification and quantification of complex mixtures of usually large organic molecules. In recent years, techniques have been developed that allow the analysis of a wide range of biological and non-biological materials, with applications in areas such as law enforcement (e.g. identification of drugs and explosive materials), the environment, scientific research, and biology (e.g. in proteomics, the study of simple and complex protein mixtures, with applications in drug discovery, disease identification, etc.).
[0003] Mass spectrometry analysis is generally performed by placing the sample to be analyzed into a mass spectrometer. Different mass spectrometers are used for mass spectrometry analysis according to different samples to be analyzed. In the prior art, after the mass spectrometer completes the mass spectrometry analysis, it is difficult to determine whether the mass spectrometer has parameter errors or failures, and it is impossible to know whether the mass spectrometry results can meet the mass spectrometry quality requirements. It can only be discovered through review, and if the mass spectrometry quality is to be controlled, the mass spectrometry method needs to be changed and the mass spectrometry analysis needs to be performed again. Therefore, the existing mass spectrometry analysis methods have the problems of being difficult, time-consuming and costly to control the quality of mass spectrometry results.
[0004] In view of this, it is necessary to provide a new mass spectrometry structure quality control method. Summary of the invention
[0005] The purpose of the present invention is to overcome the deficiency of mass spectrometry data in the prior art that is difficult to control the quality, and to provide a quality control method based on mass spectrometry data, which performs computer visual analysis of the mass spectrometer using a visual analysis model, and then identifies, classifies and quantifies the mass spectrometer through an analysis database, and performs quality comparison on the analysis results, and adjusts the mass spectrometry data quality of the mass spectrometer through feedback, thereby achieving the technical effect of efficiently and automatically controlling the quality of the mass spectrometry data.
[0006] The technical solution of the present invention provides a quality control method based on mass spectrometry data, comprising:
[0007] Selecting an analysis mode of a mass spectrometer according to the type of the sample to be analyzed, and acquiring mass spectrum data of the sample to be analyzed from the mass spectrometer;
[0008] Processing the original mass spectrum in the mass spectrum data to obtain a clear mass spectrum that meets the visual analysis requirements;
[0009] Inputting the clarified mass spectrum into a visual analysis model for visual analysis to obtain visual analysis data;
[0010] Inputting the visual analysis data into an analysis database for identification, classification and quantification to obtain analysis results;
[0011] A target mass spectrum mass is acquired, a current mass spectrum mass of the mass spectrum data is determined according to the analysis result, the mass spectrometer is adjusted based on the current mass spectrum mass and the target mass spectrum mass, and mass spectrum data is obtained from the mass spectrometer again.
[0012] In one of the optional technical solutions, the mass spectrometer includes a composite ion source having a plurality of switchable ion source components, a mass analyzer having a plurality of independent analysis areas, an ion transmission component connecting the composite ion source with each analysis area, and a monitoring component arranged inside the mass spectrometer, wherein the ion transmission component is used to switch the connectivity between the composite ion source and each analysis area.
[0013] In one of the optional technical solutions, the analysis mode of the mass spectrometer is selected according to the type of sample to be analyzed, specifically including:
[0014] Select an appropriate analysis mode according to the properties of the sample to be analyzed and the type of target analyte;
[0015] determining the type of ion source and the type of mass analyzer according to the analysis mode;
[0016] Controlling the switching of the composite ion source and starting corresponding ion source components according to the analysis mode;
[0017] changing the connectivity state of the ion transmission component according to the analysis mode;
[0018] Controlling the instructing analyzer to start the corresponding analysis area according to the analysis mode;
[0019] The internal image of the mass spectrometer is acquired in real time through the monitoring component to monitor the position of the sample to be analyzed, the operating status of the composite ion source, the connectivity status of the transmission component and the operating status of the mass analyzer.
[0020] In one of the optional technical solutions, the processing of the original mass spectrum in the mass spectrum data to obtain a clear mass spectrum that meets the visual analysis requirements specifically includes:
[0021] Subtracting at least one background signal from the raw mass spectrum and reducing random noise in the raw mass spectrum;
[0022] Identifying peaks in the original mass spectrum and performing baseline calibration on the peaks;
[0023] Performing data interpolation on the signal intensity or m / z axis of the original mass spectrum;
[0024] The original mass spectrum is converted into a corresponding chromatogram-mass spectrum according to the type of chromatographic separation experienced by the sample to be analyzed.
[0025] In one of the optional technical solutions, before inputting the clarified mass spectrum into a visual analysis model for visual analysis, the method further includes:
[0026] The data in the constructed database is input into the residual neural network model for training to build a visual analysis model.
[0027] In one of the optional technical solutions, before selecting the analysis mode of the mass spectrometer according to the type of the sample to be analyzed, the method further includes:
[0028] Prepare samples for analysis, including:
[0029] Weigh a preset amount of original sample;
[0030] diluting the original sample;
[0031] adding a predetermined amount of positioning substance to the diluted original sample and mixing;
[0032] The mixed original sample is allowed to stand for a preset time to obtain a transition sample that is convenient for chromatographic analysis;
[0033] The transition sample is separated by liquid chromatography or gas chromatography to obtain a sample to be analyzed.
[0034] In one of the optional technical solutions, the separation of the transition sample by liquid chromatography or gas chromatography to obtain the sample to be analyzed specifically includes:
[0035] Determining whether the transition sample satisfies the first chromatographic condition or the second chromatographic condition;
[0036] If the transition sample satisfies the first chromatographic condition, separating the transition sample in a corresponding chromatographic column by a liquid chromatograph according to the physicochemical properties of the target analyte;
[0037] If the transition sample meets the second chromatographic condition, the transition sample is separated by a gas chromatograph according to the difference in the distribution coefficients of the target analyte in the stationary phase and the mobile phase.
[0038] The technical solution of the present invention provides a computer device, including a memory, a processor and a computer program on the memory, wherein the processor executes the computer program to implement any step of the above-mentioned quality control method based on mass spectrometry data.
[0039] The technical solution of the present invention provides a computer-readable storage medium having a computer program / instruction stored thereon, which implements any step of the above-mentioned quality control method based on mass spectrometry data when executed by a processor.
[0040] The technical solution of the present invention provides a computer program product, including a computer program / instruction, which implements any step of the above-mentioned quality control method based on mass spectrometry data when executed by a processor.
[0041] The above technical solution has the following beneficial effects:
[0042] The quality control method based on mass spectrometry data provided by the present invention can adjust the analysis mode of the mass spectrometer in a targeted manner according to the type of sample to be analyzed, and then perform computer visual analysis on the mass spectrometer by using a visual analysis model, and then perform identification, classification and quantification by analyzing the database, so as to achieve the effect of automating the analysis of mass spectrometry data in the overall process. The trained visual analysis model is more stable than manual analysis and is suitable for large-scale continuous mass spectrometry needs. After completing the analysis of the mass spectrometry data, the current mass spectrometry quality is also evaluated to obtain a more accurate analysis result, analyze the current mass spectrometry quality, and adjust the operating parameters of the mass spectrometer in time. The mass spectrometry data obtained by performing mass spectrometry analysis again with the adjusted mass spectrometer can achieve the target mass spectrometry quality. The entire process is automated, with high accuracy, high efficiency and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It should be understood that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In the drawings:
[0044] Figure 1 A workflow diagram of a quality control method based on mass spectrometry data provided by one embodiment of the present invention;
[0045] Figure 2 A workflow diagram of a quality control method based on mass spectrometry data provided by another embodiment of the present invention;
[0046] Figure 3 A workflow diagram of a quality control method based on mass spectrometry data provided by another embodiment of the present invention;
[0047] Figure 4 A schematic diagram of the structure of a computer device provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0048] The specific embodiments of the present invention are further described below in conjunction with the accompanying drawings. The same components are represented by the same reference numerals. It should be noted that the words "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to directions in the accompanying drawings, and the words "inner" and "outer" refer to directions toward or away from the geometric center of a specific component, respectively.
[0049] For the purpose of this detailed description, unless specifically denied, the singular includes the plural, and vice versa; the words "and" and "or" may be both conjunctive and disjunctive; the words "any" and "all" may both mean "any and all"; the words "include", "comprise", "includes", "have", etc. may each mean "including but not limited to". In addition, approximate words such as "approximately", "almost", "substantially", "roughly", "approximately", etc. may each be used in the sense of "at, close to or nearly at" or "within 0-5%" or "within an acceptable manufacturing tolerance" or any logical combination thereof.
[0050] like Figure 1 As shown, an embodiment of the present invention provides a quality control method based on mass spectrometry data, comprising:
[0051] Step S101: selecting an analysis mode of a mass spectrometer according to the type of the sample to be analyzed, and acquiring mass spectrum data of the sample to be analyzed from the mass spectrometer;
[0052] Step S102: processing the original mass spectrum in the mass spectrum data to obtain a clear mass spectrum that meets the visual analysis requirements;
[0053] Step S103: inputting the clarified mass spectrum into a visual analysis model for visual analysis to obtain visual analysis data;
[0054] Step S104: inputting the visual analysis data into an analysis database for identification, classification and quantification to obtain analysis results;
[0055] Step S105: acquiring a target mass spectrum mass, determining a current mass spectrum mass of the mass spectrum data according to the analysis result, adjusting the mass spectrometer based on the current mass spectrum mass and the target mass spectrum mass, and obtaining mass spectrum data from the mass spectrometer again.
[0056] The embodiment of the present invention performs mass spectrometry analysis on mass spectrometry data through a visual analysis model, specifically, performs image recognition analysis on the mass spectrogram in the mass spectrometry data through a visual analysis model, and before performing visual analysis, the original mass spectrogram needs to be clarified. The visual analysis model performs visual analysis on the clarified mass spectrogram, mainly analyzing the position, shape and area of the peak in the clarified mass spectrogram, and using the positioning substance as a reference to obtain the substances that may exist in the sample to be analyzed, and then, according to the substances that may exist, sequentially identify, classify and quantify through the analysis database to obtain the mass spectrometry analysis results of the sample to be analyzed. The state of the mass spectrometer is obtained by further determining the quality of the mass spectrometry analysis results, that is, by performing quality detection on the mass spectrometry data generated by the mass spectrometer this time, the current mass spectrometry quality is obtained, and according to the difference between the current mass spectrometry quality and the target mass spectrometry quality, it is determined whether the mass spectrometer needs to be adjusted to obtain the mass spectrometry data again. If the difference between the current mass spectrometry quality and the target mass spectrometry quality is large, it is necessary to adjust the operating parameters of the mass spectrometer, and perform mass spectrometry analysis on the current sample to be analyzed again to ensure that mass spectrometry data that meets the mass spectrometry quality requirements can be obtained.
[0057] Visual analysis is a simulation of biological vision using computers and related equipment, using computers to obtain, process, analyze and understand mass spectra. It is mainly implemented through deep learning algorithms, specifically using residual neural networks to implement, residual neural networks are variants of convolutional neural networks, which add residual block structures to traditional convolutional neural networks, can solve the problem of rising deep network errors in traditional convolutional neural networks, improve function fitting capabilities, and combine the analysis samples in the mass spectrogram with the residual neural network to train a visual analysis model that meets the visual analysis needs of the mass spectrogram. The present invention replaces traditional manual analysis with a visual analysis model, which can ensure the uniformity of subsequent evaluation of mass spectrum quality, and mass spectrum quality is no longer affected by the subjective differences during manual analysis, nor by the state of the operator. The evaluation of mass spectrum quality has a high degree of uniformity, and can achieve a unified evaluation standard for different mass spectrum data, which is conducive to accurately controlling the mass spectrum quality by adjusting the mass spectrometer in the future.
[0058] The target mass spectrometry mass can be selected according to the type of sample to be analyzed, pre-set by the user, or input by the user in real time. If the difference between the current mass spectrometry mass and the target mass spectrometry mass is within the preset acceptable range, a second mass spectrometry analysis is not performed, thereby saving energy and time. If the difference between the current mass spectrometry mass and the target mass spectrometry mass exceeds the preset acceptable range, the operating parameters of the mass spectrometer are adjusted in a targeted manner according to the specific comparison results. After the adjustment, the mass spectrometer is controlled to use new operating parameters or change the analysis mode, and the mass spectrometry analysis of the current sample to be analyzed is performed again to obtain mass spectrometry data of the composite target mass spectrometry mass. This time, the mass spectrometry data no longer needs to be visually analyzed through the visual analysis model, nor does it need to be analyzed through the analysis database.
[0059] Further, in order to improve the analysis results of mass spectrometry, mass spectrometry can be combined with other technologies, including but not limited to gas chromatography-mass spectrometry, liquid chromatography-mass spectrometry, nuclear magnetic resonance-mass spectrometry, infrared spectroscopy-mass spectrometry, ultraviolet-visible spectroscopy-mass spectrometry, thermal analysis-mass spectrometry, electron microscope-mass spectrometry and thermal desorption-mass spectrometry, etc. The specific method of the combination is to first process or separate the sample to be analyzed by the pre-technology, and then perform mass spectrometry analysis on the processed sample to be analyzed, so as to generate more comprehensive and accurate mass spectrometry data. In the present invention, some steps are only judged and processed for gas chromatography-mass spectrometry and liquid chromatography-mass spectrometry, that is, the mass spectrometry data also includes gas chromatograms or liquid chromatograms. By processing mass spectrometry data, including denoising, baseline correction, peak identification, isotope pattern recognition and fragmentation pattern analysis, a mass spectrum is obtained, and then the mass spectrum is analyzed using a visual recognition model. The mass spectrometry data and analysis results are displayed through the user interface, and visual recognition technology is used to assist users in data interpretation, so as to display the mass spectrometry results to users in a straightforward manner.
[0060] Through the visual analysis model, information including chromatographic peaks, retention time, peak area, peak height and chromatographic column selectivity can be analyzed from the gas chromatogram, information including chromatographic peaks, retention time, peak area, peak height and chromatographic column selectivity can be analyzed from the liquid chromatogram, and information including mass-to-charge ratio, ion intensity, ion abundance, molecular ion peaks, fragment ion peaks, isotope ion peaks and total ion flow diagram can be analyzed from the mass spectrum, so that the mass spectrum results can be automatically analyzed through visual analysis. Other types should also belong to the scope of application of the present invention, and will not be repeated here.
[0061] After the sample to be analyzed has completed gas chromatography or liquid chromatography processing, in order to determine the molecular structure of the target analyte, the mass spectrometer is first used to perform mass analysis on all sample ions or precursor ions within the selected mass-to-charge ratio (m / z) window. Such a scan is usually represented as an MS1 scan. The selected sample ions are then fragmented, and the resulting fragments are then mass analyzed within the selected m / z range. The scan of the fragmented ions is usually represented as an MS2 scan.
[0062] Mass spectrometry analysis of samples to be analyzed can be divided into data-independent analysis / acquisition (DIA) technology and data-dependent analysis / acquisition (DDA) technology. DIA technology is used to determine the types of substances present in samples to be analyzed with potential unknown characteristics. DDA technology is used to confirm whether one or more specific substances are present in a given sample to be analyzed. DDA technology identifies a fixed number of precursor ion species and selects and analyzes the types of these substances by mass spectrometry analysis using MS2 scanning. In DDA technology, determining which precursor ion species are target species can be achieved based on intensity ranking or by defining precursor mass spectrum peaks.
[0063] Among them, before the sample to be analyzed enters the mass spectrometer, the sample to be analyzed exists in the form of a transition sample. Therefore, it is also necessary to select the transition sample to be placed in a gas chromatograph or a liquid chromatograph for chromatographic analysis according to the type of the transition sample, so as to obtain a chromatographic analysis result that can assist in mass spectrometry data analysis. The transition sample separated and processed by the chromatographic column in the chromatograph will become a sample to be analyzed that can meet the needs of mass spectrometry analysis. When performing gas chromatography analysis, the transition sample passes through the injector in the gas chromatograph for introducing the sample into the chromatographic column, the chromatographic column for separating volatile substances, the carrier gas system for carrying the sample to be analyzed through the chromatographic column, and the detector at the end of the chromatographic column for detecting the separated compounds, so as to realize gas chromatography analysis. When performing liquid chromatography analysis, the transition sample passes through the injector in the liquid chromatograph for injecting the sample to be analyzed into the mobile phase, the chromatographic column for separating non-volatile or thermally unstable substances, the solvent delivery system for controlling the delivery state of the mobile phase, and the detector for detecting the substance flowing out of the chromatographic column. Transition samples can be separated only by chromatographic columns without subsequent chromatographic analysis. The mass spectrum generated by the sample to be analyzed after chromatographic column separation can better meet the needs of visual analysis.
[0064] When gas chromatography or liquid chromatography is coupled with mass spectrometry, they share some equipment components, such as the chromatographic column and injection system of the gas chromatography or liquid chromatography, but require specific interfaces to transfer the samples to be analyzed obtained after separation by the chromatograph to the ion source of the mass spectrometer. These interfaces must be able to withstand the difference between the normal pressure environment of the chromatograph and the high vacuum environment required by the mass spectrometer.
[0065] In summary, the quality control method based on mass spectrometry data provided in this embodiment can adjust the analysis mode of the mass spectrometer in a targeted manner according to the type of sample to be analyzed, and then perform computer visual analysis on the mass spectrometer by using a visual analysis model, and then identify, classify and quantify by analyzing the database, so as to achieve the effect of automating the analysis of mass spectrometry data in the overall process. The trained visual analysis model is more stable than manual analysis and is suitable for large-scale continuous mass spectrometry needs. After completing the analysis of the mass spectrometry data, the current mass spectrometry quality is also evaluated to obtain a more accurate analysis result, analyze the current mass spectrometry quality, and adjust the operating parameters of the mass spectrometer in time. The mass spectrometry data obtained by performing mass spectrometry analysis again with the adjusted mass spectrometer can achieve the target mass spectrometry quality. The entire process is automated, with high accuracy, high efficiency and low cost.
[0066] In one embodiment, the mass spectrometer includes a composite ion source having multiple switchable ion source components, a mass analyzer having multiple independent analysis areas, an ion transmission component connecting the composite ion source and each analysis area, and a monitoring component arranged inside the mass spectrometer, wherein the ion transmission component is used to switch the connectivity between the composite ion source and each analysis area.
[0067] In the present embodiment, in order to ensure the quality of mass spectrometry, the mass spectrometer is internally set to a vacuum environment to reduce the collision of ions with background gas, and the composite ion source at least includes an electrospray ion source assembly, a matrix-assisted laser ion source assembly and an electron bombardment ion source assembly. Of course, other types of ion source assemblies can also be included, and different ion source assemblies are integrated on a turntable, by rotating the turntable to switch the position of the ion source assembly, so that the corresponding ion source assembly can be selectively started. The ion transmission assembly includes a plurality of pipelines that are respectively connected to the region of the composite ion source and each analysis region, and each pipeline can be individually controlled to be selectively connected, so as to ensure that the demand of the composite working mode of the analysis region where ions enter. The mass analyzer includes a quadrupole analysis region, a time-of-flight analysis region, an ion trap analysis region, etc., and mass analysis can be sequentially performed by multiple analysis regions in the analysis mode of the mass spectrometer, and the mass spectrometer also includes a detector for detecting and measuring ion signals, such as an electron multiplier and a photomultiplier tube, etc. The monitoring assembly includes at least an adjustable angle camera element, which detects the operating state of the mass spectrometer in real time by the camera element, so as to ensure that the problems that occur in the mass spectrometer during the execution of the mass spectrometry can be found in time.
[0068] In one embodiment, Figure 2 As shown, the analysis mode of the mass spectrometer is selected according to the type of sample to be analyzed, specifically including:
[0069] Step S201: selecting an appropriate analysis mode according to the properties of the sample to be analyzed and the type of the target analyte;
[0070] Step S202: determining the type of ion source and the type of mass analyzer according to the analysis mode;
[0071] Step S203: controlling the switching of the composite ion source according to the analysis mode and starting the corresponding ion source components;
[0072] Step S204: changing the connectivity state of the ion transmission component according to the analysis mode;
[0073] Step S205: controlling the instruction analyzer to start a corresponding analysis area according to the analysis mode;
[0074] Step S206: acquiring the internal image of the mass spectrometer in real time through the monitoring component to monitor the position of the sample to be analyzed, the operating status of the composite ion source, the connectivity status of the transmission component and the operating status of the mass analyzer.
[0075] In the present embodiment, analysis mode comprises the ion source assembly type, analysis area selection, temperature and reaction time etc. of running in the composite ion source.By arranging multiple analysis modes, standardized data processing and analysis flow are set up, it is ensured that the mass spectral data produced by different batches or different instruments have a high degree of consistency.Specifically, according to analysis mode, the electrospray ion source assembly is selected to convert the solution of sample to be analyzed into charged molecules or molecular complexes, or the matrix-assisted laser ion source assembly is selected to convert the solid sample to be analyzed into ions, or the electron bombardment ion source assembly is selected to directly ionize the surface of the sample to be analyzed.Then again according to the state after the sample to be analyzed is converted, the connected state of the switching ion transmission assembly is carried out mass spectrometry to transport ions to suitable analysis area.Because multiple ion source assemblies are provided in the composite ion source simultaneously, the working state of ion source has a huge impact on mass spectrometry, and the structure of the composite ion source is complicated, it is necessary to ensure that the switching position is in place and the relevant setting of the corresponding ion source working state composite analysis mode by the internal image of the real-time monitoring analyzer.
[0076] In one embodiment, Figure 3 As shown, step S103 specifically includes:
[0077] Step S301: subtracting at least one background signal from the original mass spectrum and reducing random noise in the original mass spectrum;
[0078] Step S302: identifying peaks in the original mass spectrum and performing baseline calibration on the peaks;
[0079] Step S303: performing data interpolation on the signal intensity or m / z axis of the original mass spectrum;
[0080] Step S304: converting the original mass spectrum into a corresponding chromatogram-mass spectrum according to the type of chromatographic separation experienced by the sample to be analyzed.
[0081] In this embodiment, by processing the original mass spectrum, the image on the chromatogram-mass spectrum obtained is clearer, which is conducive to computer vision analysis processing through a visual analysis model to ensure the accuracy and efficiency of the analysis results.
[0082] In one embodiment, before inputting the clarified mass spectrum into a visual analysis model for visual analysis, the method further includes:
[0083] The data in the constructed database is input into the residual neural network model for training to build a visual analysis model. The specific steps include:
[0084] Select a variety of samples as initial samples for building a database;
[0085] mixing at least two initial samples to obtain a construction sample for constructing a database;
[0086] The constructed samples are sequentially subjected to sample preparation, visual analysis and image acquisition to obtain identification results, classification results, quantitative results and mass spectra of the constructed samples;
[0087] The identification results, classification results, quantitative results and mass spectra of all constructed samples are combined to construct a database;
[0088] Select a suitable design architecture from the preset design architectures to construct the design architecture of the residual neural network model, the design architecture including the number of layers, the number of neurons and the activation function;
[0089] The data for constructing the database is input into the residual neural network model for training, and the trained residual neural network model is a visual analysis model.
[0090] In this embodiment, a variety of substances can be selected as initial samples. As preferred examples, small organic molecules, proteins, peptides, biomacromolecules, isotopes, inorganic elements, drugs and metabolites can be selected as initial samples. Any two or more initial samples can be mixed to obtain constructed samples of various different components. Each initial sample can also be used directly as a constructed sample.
[0091] Then, for each constructed sample, according to the above steps, the constructed sample is used as the sample to be analyzed for preparation, mass spectrometry analysis and image acquisition, and the material identification, classification and quantitative information of the constructed sample under different ratios are obtained through mass spectrometry analysis software, as well as the mass spectrogram used to construct the visual analysis model, that is, the identification result, classification result, quantitative result and mass spectrogram, and these data are used to construct the database. Then, according to the preset conditions or the selection results of the operator, the design architecture including the number of layers, the number of neurons and the activation function is obtained, so as to confirm the specific design architecture of the residual neural network model. Based on the data in the constructed database, visual analysis training is performed through the residual neural network model, and the residual between the input and output is learned through the characteristics of the residual neural network model. The input refers to the mass spectrometry data of the constructed sample in the constructed database, and the output refers to the identification result, classification result and quantitative result of the constructed sample. Through the identity mapping and residual mapping, training is performed to construct a visual analysis model that can efficiently and accurately perform visual analysis on the mass spectrogram.
[0092] In one embodiment, before selecting the analysis mode of the mass spectrometer according to the type of the sample to be analyzed, the method further includes:
[0093] Prepare samples for analysis, including:
[0094] Weigh a preset amount of original sample;
[0095] diluting the original sample;
[0096] adding a predetermined amount of positioning substance to the diluted original sample and mixing;
[0097] The mixed original sample is allowed to stand for a preset time to obtain a transition sample that is convenient for chromatographic analysis;
[0098] The transition sample is separated by liquid chromatography or gas chromatography to obtain a sample to be analyzed.
[0099] In this embodiment, when preparing the sample to be analyzed, in order to improve the analyzability of the sample to be analyzed, the operator can prepare a transition sample by diluting under specific conditions, adding a positioning substance and letting it stand after weighing a preset amount of the original sample, and then separate the sample by gas chromatography or liquid chromatography to obtain the sample to be analyzed, and obtain the sample to be analyzed suitable for mass spectrometry analysis. In addition to the combination of gas chromatography and liquid chromatography with mass spectrometry, other combinations can also be selected. Accordingly, when preparing the sample to be analyzed, the chromatographic separation step is replaced by the corresponding step of the combined analysis method, which will not be repeated here.
[0100] Among them, the preset amount described in this embodiment can be pre-set according to the total amount of transition samples required for the analysis of gas chromatography or liquid chromatography, or it can be obtained by the operator after calculation according to the actual situation, or it can be selected according to the experience of the operator. And in the subsequent processing, the gas chromatogram and the liquid chromatogram can be correspondingly positioned according to the added positioning substance, which can improve the analyzability of the gas chromatogram or liquid chromatogram and ensure that the mass spectrum generated subsequently can be accurately visually analyzed in the visual analysis model. The positioning substance refers to a known reference substance added to the sample to be analyzed, which can be used as a reference to help determine the position of other unknown substances in the gas chromatogram, liquid chromatogram or mass spectrum.
[0101] In one embodiment, the separation of the transition sample by liquid chromatography or gas chromatography to obtain the sample to be analyzed specifically includes:
[0102] Determining whether the transition sample satisfies the first chromatographic condition or the second chromatographic condition;
[0103] If the transition sample satisfies the first chromatographic condition, separating the transition sample in a corresponding chromatographic column by a liquid chromatograph according to the physicochemical properties of the target analyte;
[0104] If the transition sample meets the second chromatographic condition, the transition sample is separated by a gas chromatograph according to the difference in the distribution coefficients of the target analyte in the stationary phase and the mobile phase.
[0105] This embodiment can ensure that the sensitivity of subsequent mass spectrometry analysis is improved by judging and selecting a chromatographic separation mode suitable for the sample to be analyzed. This embodiment can also judge whether the sample to be analyzed meets the type of other technologies that can be used in conjunction with mass spectrometry, such as judging whether the sample to be analyzed meets the conditions for pre-treatment such as nuclear magnetic resonance, infrared spectroscopy and ultraviolet. If the sample to be analyzed meets the conditions, the corresponding type of pre-treatment can also be performed.
[0106] In one embodiment, in step S104, the visual analysis data is input into an analysis database for identification, classification and quantification to obtain analysis results, specifically including:
[0107] Classify the substances in the analysis database according to their chemical properties based on the requirements of mass spectrometry analysis;
[0108] Extract key features from analytical data, including the position, shape and area of mass spectrum peaks;
[0109] Matching the key features with the data stored in the analysis database to obtain matching results;
[0110] Perform identification based on the matching results to identify the target analyte present in the sample to be analyzed;
[0111] Quantitative calculation is performed based on key features to obtain the content of the target analyte.
[0112] In this embodiment, the mass spectrometry data after visual analysis is further identified, classified and quantitatively analyzed by analyzing the database, and the obtained analysis results can more intuitively reflect the mass spectrometry quality of the mass spectrometry data, that is, the current mass spectrometry quality. By comparing the target mass spectrometry quality with the current mass spectrometry quality, it can be determined whether the mass spectrometry data meets the requirements.
[0113] As needed, the above technical solutions can be combined to achieve the best technical effect.
[0114] like Figure 4 The figure shows a hardware structure diagram of a computer device of the present invention, including a memory 402, a processor 401 and a computer program on the memory 402, wherein the processor 401 executes the computer program to implement the steps of the quality control method based on mass spectrometry data of any of the above-mentioned embodiments.
[0115] The figure takes a processor 401 as an example.
[0116] The computer device may further include: an input device 403 and a display device 404 .
[0117] The processor 401, the memory 402, the input device 403 and the display device 404 may be connected via a bus or other means, and the figure takes the connection via a bus as an example.
[0118] The memory 402 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the mass spectrometry data-based quality control method in the embodiment of the present application, for example, Figure 1 , Figure 2 and Figure 3 The processor 401 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 402, that is, implements the quality control method based on mass spectrometry data in the above embodiment.
[0119] The memory 402 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of a quality control method based on mass spectrometry data, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 402 may optionally include a memory remotely arranged relative to the processor 401, and these remote memories may be connected to a device for executing a quality control method based on mass spectrometry data via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0120] The input device 403 can receive user clicks and generate signal inputs related to user settings and function controls of a quality control method based on mass spectrometry data. The display device 404 can include display devices such as a display screen.
[0121] The one or more modules are stored in the memory 402 and, when executed by the one or more processors 401 , perform the quality control method based on mass spectrometry data in any of the above method embodiments.
[0122] When the computer device disclosed in the present invention is running, it can execute all the steps of the above-mentioned quality control method based on mass spectrometry data, perform computer visual analysis on the mass spectrum by adopting a visual analysis model, and then identify, classify and quantify it through an analysis database, and perform quality comparison on the analysis results, and adjust the mass spectrometry data quality of the mass spectrometer through feedback, thereby achieving the technical effect of efficiently and automatically controlling the quality of mass spectrometry data.
[0123] An embodiment of the present invention provides a computer-readable storage medium storing a computer program / instruction. When the computer program / instruction is executed by the processor 401, all steps of the mass spectrometry data-based quality control method as described above are implemented.
[0124] In the context of the present disclosure, a storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. The storage medium may be a machine-readable signal medium or a machine-readable storage medium. Alternatively, the storage medium may be a non-temporary computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a ROM, a random access memory (Random Access Memory, RAM), a compact disc read-only memory (Compact Disc ROM, CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0125] An embodiment of the present invention provides a computer program product, including a computer program / instruction, which implements the steps of the mass spectrometry data-based quality control method as described above when executed by a processor.
[0126] By running the above-mentioned computer program product, all steps of the quality control method based on mass spectrometry data as described above can be executed, by using a visual analysis model to perform computer visual analysis on the mass spectrum, and then identifying, classifying and quantifying it through an analysis database, and performing quality comparison on the analysis results, and adjusting the mass spectrometry data quality of the mass spectrometer through feedback, thereby achieving the technical effect of efficiently and automatically controlling the quality of mass spectrometry data.
[0127] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A quality control method based on mass spectrometry data, characterized in that: include: Selecting an analysis mode of a mass spectrometer according to the type of the sample to be analyzed, and acquiring mass spectrum data of the sample to be analyzed from the mass spectrometer; Processing the original mass spectrum in the mass spectrum data to obtain a clear mass spectrum that meets the visual analysis requirements; Inputting the clarified mass spectrum into a visual analysis model for visual analysis to obtain visual analysis data; Inputting the visual analysis data into an analysis database for identification, classification and quantification to obtain analysis results; Acquiring a target mass spectrum mass, determining a current mass spectrum mass of the mass spectrum data according to the analysis result, adjusting the mass spectrometer based on the current mass spectrum mass and the target mass spectrum mass, and obtaining mass spectrum data from the mass spectrometer again; If the difference between the current mass spectrometry quality and the target mass spectrometry quality exceeds the preset acceptable range, the operating parameters of the mass spectrometer are adjusted in a targeted manner according to the specific comparison results. According to the adjustment situation, the mass spectrometer is controlled to use new operating parameters or change the analysis mode, and the mass spectrometry analysis of the current sample to be analyzed is performed again to obtain mass spectrometry data that meets the target mass spectrometry quality; The mass spectrometer comprises a composite ion source having a plurality of switchable ion source components, a mass analyzer having a plurality of independent analysis regions, an ion transmission component connecting the composite ion source and each analysis region, and a monitoring component arranged inside the mass spectrometer, wherein the ion transmission component is used to switch the connection state between the composite ion source and each analysis region; The analysis mode includes the type of ion source components running in the composite ion source, the selection of analysis area, temperature and reaction time.
2. The quality control method based on mass spectrometry data according to claim 1, characterized in that: The analysis mode of the mass spectrometer is selected according to the type of sample to be analyzed, specifically including: Select an appropriate analysis mode according to the properties of the sample to be analyzed and the type of target analyte; determining the type of ion source and the type of mass analyzer according to the analysis mode; Controlling the switching of the composite ion source and starting corresponding ion source components according to the analysis mode; changing the connectivity state of the ion transmission component according to the analysis mode; Controlling the instructing analyzer to start the corresponding analysis area according to the analysis mode; The internal image of the mass spectrometer is acquired in real time through the monitoring component to monitor the position of the sample to be analyzed, the operating status of the composite ion source, the connectivity status of the transmission component and the operating status of the mass analyzer.
3. The quality control method based on mass spectrometry data according to claim 1, characterized in that: The processing of the original mass spectrum in the mass spectrum data to obtain a clear mass spectrum that meets the visual analysis requirements specifically includes: Subtracting at least one background signal from the raw mass spectrum and reducing random noise in the raw mass spectrum; Identifying peaks in the original mass spectrum and performing baseline calibration on the peaks; Performing data interpolation on the signal intensity or m / z axis of the original mass spectrum; The original mass spectrum is converted into a corresponding chromatogram-mass spectrum according to the type of chromatographic separation experienced by the sample to be analyzed.
4. The quality control method based on mass spectrometry data according to claim 1, characterized in that: Before inputting the clarified mass spectrum into a visual analysis model for visual analysis, the method further includes: The data in the constructed database is input into the residual neural network model for training to build a visual analysis model.
5. The quality control method based on mass spectrometry data according to claim 1, characterized in that: Before selecting the analysis mode of the mass spectrometer according to the type of the sample to be analyzed, the method further includes: Prepare samples for analysis, including: Weigh a preset amount of original sample; diluting the original sample; adding a predetermined amount of positioning substance to the diluted original sample and mixing; The mixed original sample is allowed to stand for a preset time to obtain a transition sample that is convenient for chromatographic analysis; The transition sample is separated by liquid chromatography or gas chromatography to obtain a sample to be analyzed.
6. The quality control method based on mass spectrometry data according to claim 5, characterized in that: The step of separating the transition sample by liquid chromatography or gas chromatography to obtain a sample to be analyzed specifically includes: Determining whether the transition sample satisfies the first chromatographic condition or the second chromatographic condition; If the transition sample satisfies the first chromatographic condition, separating the transition sample in a corresponding chromatographic column by a liquid chromatograph according to the physicochemical properties of the target analyte; If the transition sample meets the second chromatographic condition, the transition sample is separated by a gas chromatograph according to the difference in the distribution coefficients of the target analyte in the stationary phase and the mobile phase.
7. A computer device comprising a memory, a processor and a computer program on the memory, characterized in that: The processor executes the computer program to implement the steps of the mass spectrometry data-based quality control method according to any one of claims 1 to 6.
8. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the mass spectrometry data-based quality control method according to any one of claims 1 to 6 are implemented.
9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the mass spectrometry data-based quality control method according to any one of claims 1 to 6 are implemented.
