A non-targeted screening method for PPCPs pollutants based on Python Selenium library
Through a method based on the Python Selenium library, combined with GC-QTOF-MS and Pub Chem database, efficient screening of PPCPs contaminants is achieved, which solves the problems of incomplete screening, low accuracy and heavy workload in the existing technology. questions, improving screening efficiency and reducing redundant information.
Patent Information
- Application Number
- CN202410448592.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-04-15
AI Technical Summary
Existing non-targeted screening methods for PPCPs pollutants have problems such as incomplete screening, low accuracy, heavy workload, and the possibility of producing redundant information.
Using a method based on the Python Selenium library, the processed samples were collected through GC-QTOF-MS, the Mass Hunter software was used to deconvolute the data and compared with the NIST spectral library, a PPCPs information library was established, and the Pub Chem database was used for data capture and screening. and export, screen compounds with occurrence frequency >50%, and compare and verify with the standard library.
It achieves a more comprehensive, faster and more accurate screening of compounds that may be PPCPs contaminants, improves screening efficiency and saves time and labor costs.
Smart Images

Figure CN118280476B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of analytical chemistry, and in particular to a method for non-targeted screening of PPCPs pollutants based on a Python Selenium library. Background Art
[0002] The non-targeted screening method for pollutants in pharmaceutical and personal care products (PPCPs) mainly includes: first, using high-resolution mass spectrometry to obtain a large number of molecular formulas that match the database; second, screening compounds that may belong to PPCPs and their metabolites based on their properties, structure and other characteristic information, and then further identifying them.
[0003] Currently, commonly used screening methods include setting screening conditions, literature surveys, and chemical informatics methods. The method of setting screening conditions is to set screening conditions based on the characteristics and properties of PPCPs (such as molecular weight range, fragment ion characteristics, etc.). However, this method is difficult to achieve comprehensive and accurate screening. This is because PPCPs pollutants have diverse structures and properties, and it is difficult to cover all possible compounds relying only on simple screening conditions.
[0004] The literature survey method is to screen by searching for relevant research literature or reports. Since the research and reports on PPCPs pollutants are widely distributed in different literatures, it takes a lot of time and effort to integrate and screen them. Therefore, this method has a large workload and may generate redundant information.
[0005] The cheminformatics method is to screen by using methods such as structural similarity search and compound database comparison. However, this method can only screen out PPCPs compounds with specific structures and cannot effectively screen PPCPs pollutants with novel structures or unknown structures. Summary of the invention
[0006] The purpose of the present invention is to solve the problems of incomplete screening, low accuracy, large workload, and possible generation of redundant information in the existing non-targeted screening of PPCPs pollutants.
[0007] In order to achieve the above object, the first aspect of the present invention provides a method for non-targeted screening of PPCPs pollutants based on Python Selenium library, the method comprising:
[0008] (1) Collect the processed samples using GC-QTOF-MS, and use Mass Hunter software to deconvolute the full scan data into different feature groups. Then compare the feature groups with the NIST spectral library and perform preliminary filtering on each feature group to obtain the preliminarily identified compounds and their CAS numbers.
[0009] (2) Using the Python Selenium library, the first webpage data crawling process and the first data export process are performed on the Pub Chem database in sequence to obtain the functional use information corresponding to the PPCPs in the PPCPs library I, and to establish a PPCPs information library, which is recorded as PPCPs library II;
[0010] (3) using the Python Selenium library to sequentially perform the first webpage data crawling process, data screening process, and the first data export process on the Pub Chem database, matching the compounds preliminarily identified in step (1), and exporting the CAS numbers of the successfully matched compounds and corresponding usage information;
[0011] (4) Screen the compounds with an occurrence frequency > 50% from step (3) and compare and verify them with the standard sample library to further determine the compounds that belong to the PPCPs class of pollutants.
[0012] The method provided by the present invention can screen out compounds that may belong to PPCPs pollutants more comprehensively, quickly and accurately, greatly improving the screening efficiency and saving a lot of time and labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a schematic diagram of step (2) and step (3) in an embodiment of the present invention;
[0014] Figure 2 It is the mass spectrum of some PPCPs pollutants obtained in the examples of the present invention. DETAILED DESCRIPTION
[0015] The endpoints and any values of the ranges disclosed in this article are not limited to the precise ranges or values, and these ranges or values should be understood to include values close to these ranges or values. For numerical ranges, the endpoint values of each range, the endpoint values of each range and the individual point values, and the individual point values can be combined with each other to obtain one or more new numerical ranges, which should be considered as specifically disclosed in this article.
[0016] As mentioned above, the first aspect of the present invention provides a method for non-targeted screening of PPCPs pollutants based on Python Selenium library, the method comprising:
[0017] (1) Collect the processed samples using GC-QTOF-MS, and use Mass Hunter software to deconvolute the full scan data into different feature groups. Then compare the feature groups with the NIST spectral library and perform preliminary filtering on each feature group to obtain the preliminarily identified compounds and their CAS numbers.
[0018] (2) Using the Python Selenium library, the first webpage data crawling process and the first data export process are performed on the Pub Chem database in sequence to obtain the functional use information corresponding to the PPCPs in the PPCPs library I, and to establish a PPCPs information library, which is recorded as PPCPs library II;
[0019] (3) using the Python Selenium library to sequentially perform the first webpage data crawling process, data screening process, and the first data export process on the Pub Chem database, matching the compounds preliminarily identified in step (1), and exporting the CAS numbers of the successfully matched compounds and corresponding usage information;
[0020] (4) Screen the compounds with an occurrence frequency > 50% from step (3) and compare and verify them with the standard sample library to further determine the compounds that belong to the PPCPs class of pollutants.
[0021] According to a preferred embodiment, the treated sample is obtained by the following steps:
[0022] S1: Randomly collect samples from the end of the urban rainwater pipe, collect the collected samples in brown glass bottles, and then store them in a refrigerator at -4°C to obtain intermediate sample I;
[0023] S2: Within 24 hours, the intermediate sample I is filtered using a glass fiber membrane to obtain an intermediate sample II;
[0024] S3: The HLB column was cleaned and activated with 5 mL of dichloromethane, 5 mL of methanol and 10 mL of ultrapure water in sequence, and 1 L of the intermediate sample II was used for infusion, and the column was evacuated with a vacuum pump, and then eluted with 7 mL of methanol and 7 mL of dichloromethane in sequence to obtain the intermediate sample III; the flow rate of the ultrapure water was 5 mL / min; the flow rate of the water was 10 mL / min.
[0025] S4: The intermediate sample III was blown dry to 1 mL with nitrogen, 5 mL of isooctane was added for solvent replacement, and blown dry to 1 mL, and then transferred to the gas phase bottle of the automatic sampler to obtain a treated sample.
[0026] Preferably, in step S1, the specification of the brown glass bottle is 1L.
[0027] Further preferably, in step S2, the average pore size of the glass fiber membrane is 0.45 μm.
[0028] More preferably, the weight of the adsorbent in the HLB column is 500 mg, and the column volume of the HLB column is 6 mL.
[0029] Preferably, in step (1), when the full scan data is deconvoluted into different feature groups using Mass Hunter software, the signal-to-noise ratio threshold is 5, the total ion threshold is 10,000, and the boundary of the accurate mass tolerance is 5 ppm.
[0030] Further preferably, in step (1), the conditions for the preliminary filtering meet the following conditions: score≥80, RI≤50.
[0031] Preferably, in step (1), the method further comprises: obtaining the preliminarily identified compound, as well as the corresponding molecular formula and structural information.
[0032] Further preferably, in step (2), the URL of the Python Selenium library is https: / / github.com / SeleniumHQ / selenium.
[0033] More preferably, in step (2), the Pub Chem database website is: https: / / pubchem.ncbi.nlm.nih.gov.
[0034] Preferably, in step (2), the PPCPs library I is Azithromycin; Cinoxacin; Ciprofloxacin; Sulfisoxazole; Sulfabenzamide; Caffeine; Climbazole; Triclosan; Fenobucarb; Mecoprop.
[0035] Preferably, in step (2), the PPCPs library II is: perfume; antibiotic; hormone; antidepressant; beta-blocker; diabetes; anti-inflammatory; angiomyocardiacs; anticoagulant; bactericide; pesticide; herbicide; disinfectant; fragrance; personal care; drug; medicine; flavouring; hairconditioning; cosmetics; pharmaceutical; biocide; soap; fungicide; bacteriostat; household.
[0036] Further preferably, in step (2) and step (3), the first web page data crawling process is to use the Python Selenium library to simulate the user's operation in the browser, open the web page, and enter the CAS number to search, locate and obtain the use information of the substance.
[0037] Preferably, in step (2) and step (3), the first data export process is to export the CAS number of the successfully matched compound and the corresponding usage information into Excel.
[0038] Preferably, in step (3), the data screening process uses a conditional judgment statement and is based on whether the use information of the substance matches the PPCPs library II.
[0039] Further preferably, the conditional judgment statement is:
[0040] "def word_match(pattern, text):
[0041] # Remove spaces before matching
[0042] pattern_without_spaces = ''.join(pattern.split())
[0043] text_without_spaces = ''.join(text.split())
[0044] # Use regular expressions to find substrings in the same order as pattern_without_spaces
[0045] pattern_regex = re.escape(pattern_without_spaces)
[0046] match = re.search(pattern_regex, text_without_spaces)
[0047] if match:
[0048] matched_substring = match.group()
[0049] return list(matched_substring)
[0050] else:
[0051] return list[]
[0052] if length (list)==0:return 'not matched'".
[0053] The present invention will be described in detail below by way of examples. In the following examples, unless otherwise specified, the raw materials are all commercially available.
[0054] In the following examples, GC-QTOF-MS was purchased from Agilent Technologies, model Agilent7850B-7250.
[0055] In the following examples, unless otherwise specified,
[0056] Brown glass bottle, size 1L;
[0057] Glass fiber membrane, average pore size 0.45 μm;
[0058] HLB column, adsorbent weight is 500 mg, column volume is 6 mL;
[0059] Pub chem database website: https: / / pubchem.ncbi.nlm.nih.gov;
[0060] The known PPCPs library is a collection of PPCPs that have been studied more frequently, denoted as PPCPs library I.
[0061] The PPCPs library I is: Azithromycin; Cinoxacin; Ciprofloxacin; Sulfisoxazole; Sulfabenzamide; Caffeine; Climbazole; Triclosan; Fenobucarb; Mecoprop;
[0062] Python Selenium library URL: https: / / github.com / SeleniumHQ / selenium.
[0063] Preparation Example 1
[0064] This example is used to provide a method for obtaining a processed sample, the method comprising:
[0065] S1: Randomly collect samples from the end of the urban rainwater pipe, collect the collected samples in brown glass bottles, and then store them in a refrigerator at -4°C to obtain intermediate sample I;
[0066] S2: Within 24 hours, the intermediate sample I is filtered using a glass fiber membrane to obtain an intermediate sample II;
[0067] S3: The HLB column was cleaned and activated with 5 mL of dichloromethane, 5 mL of methanol and 10 mL of ultrapure water in sequence, and 1 L of the intermediate sample II was used for infusion, and the column was evacuated with a vacuum pump, and then eluted with 7 mL of methanol and 7 mL of dichloromethane in sequence to obtain the intermediate sample III; the flow rate of the ultrapure water was 5 mL / min; the flow rate of the water was 10 mL / min.
[0068] S4: The intermediate sample III was blown dry to 1 mL with nitrogen, 5 mL of isooctane was added for solvent replacement, and the sample was blown dry to 1 mL, and then transferred to the gas phase bottle of the automatic sampler to obtain the treated sample 1.
[0069] Preparation Example 2
[0070] This example adopts the same method as Preparation Example 1, except that in step S1, 9 samples are randomly collected from the end of the urban rainwater pipe and numbered respectively. The remaining steps and parameters are the same as Preparation Example 1.
[0071] The processed samples 2, 3, 4, 5, 6, 7, 8, 9 and 10 were obtained respectively.
[0072] Example
[0073] This example is used to provide a combination Figure 1 The present invention describes a method for non-targeted screening of PPCPs pollutants at the end of urban rainwater pipes, which comprises the following steps:
[0074] (1) placing a gas phase bottle containing the treated sample 1 in a GC-QTOF-MS, collecting the treated sample 1, and using Mass Hunter software to deconvolute the full scan data into different feature groups (wherein the signal-to-noise ratio threshold is 5, the total ion threshold is 10000, and the boundary of the accurate mass tolerance is 5ppm), then comparing the resolved feature groups with the NIST spectral library, and performing preliminary filtering on each feature group to obtain preliminarily identified compounds, as well as corresponding molecular formulas, structural information, CAS numbers, etc.; the conditions for the preliminary filtering meet the following requirements: score≥80, RI≤50.
[0075] (2) Using the Python Selenium library, the first webpage data crawling process and the first data export process are performed on the Pub Chem database in sequence to obtain the functional use information corresponding to the PPCPs in the PPCPs library I, and to establish a PPCPs information library, which is recorded as PPCPs library II;
[0076] The PPCPs library II includes: perfume; antibiotic; hormone; antidepressant; beta-blocker; diabete; anti-inflammatory; angiomyocardiacs; anticoagulant; bactericide; pesticide; herbicide; disinfectant; fragrance; personal care; drug; medicine; flavouring; hair conditioning; cosmetics; pharmaceutical; biocide; soap; fungicide; bacteriostat; household, which is not case-sensitive and not singular or plural;
[0077] The first web page data crawling process is to use the Python Selenium library to simulate the user's operation in the browser, open the web page, and enter the CAS number to search, locate and obtain the use information of the substance;
[0078] The first data export process is to export the CAS number of the successfully matched compound and the corresponding usage information to Excel.
[0079] (3) Using the Python Selenium library, the Pub Chem database is subjected to the first webpage data crawling process, data screening process and the first data export process, the compounds preliminarily identified in step (1) are matched, and the CAS numbers of the successfully matched compounds and the corresponding usage information are exported (as shown in Table 1) for subsequent use or analysis.
[0080] The data screening process uses conditional judgment statements and screens the CAS numbers corresponding to possible PPCPs pollutants according to whether the use information of the substance matches the PPCPs library II;
[0081] The conditional judgment statement is:
[0082] "def word_match(pattern, text):
[0083] # Remove spaces before matching
[0084] pattern_without_spaces = ''.join(pattern.split())
[0085] text_without_spaces = ''.join(text.split())
[0086] # Use regular expressions to find substrings in the same order as pattern_without_spaces
[0087] pattern_regex = re.escape(pattern_without_spaces)
[0088] match = re.search(pattern_regex, text_without_spaces)
[0089] if match:
[0090] matched_substring = match.group()
[0091] return list(matched_substring)
[0092] else:
[0093] return list[]
[0094] if length (list)==0:return 'not matched'".
[0095] (4) sequentially replacing the treated sample 1 in step (1) with treated sample 2, treated sample 3, treated sample 4, treated sample 5, treated sample 6, treated sample 7, treated sample 8, treated sample 9 and treated sample 10, and sequentially performing steps (2) and (3);
[0096] Then, the compounds with a frequency of >50% were screened from the above results and compared with the standard sample library for verification to further identify the compounds belonging to the PPCPs class of pollutants. Some of the results are as follows: Figure 2 shown.
[0097] Depend on Figure 2(a) It can be seen that the retention time (17.6214min) and ion fragments (149.0233, 233.0965, 104.0256, 57.0699) of diisobutyl phthalate (CAS: 84-69-5) in the sample spectrum correspond to those in the standard spectrum. Therefore, the standard verified that diisobutyl phthalate is a widely existing PPCPs pollutant.
[0098] Depend on Figure 2 (b) It can be seen that the retention time (9.4526min) and ion fragments (163.0391, 135.0439, 77.0386) of dimethyl phthalate (CAS: 131-11-3) in the sample spectrum correspond to those in the standard spectrum. Therefore, after verification by the standard, dimethyl phthalate is a widely existing PPCPs pollutant.
[0099] Table 1
[0100]
[0101] The preferred embodiments of the present invention are described in detail above, but the present invention is not limited thereto. Within the technical concept of the present invention, the technical solution of the present invention can be subjected to a variety of simple modifications, including the combination of various technical features in any other suitable manner, and these simple modifications and combinations should also be regarded as the contents disclosed by the present invention and belong to the protection scope of the present invention.
Claims
1. A method for non-targeted screening of PPCPs pollutants based on Python Selenium library, characterized in that: The method includes: (1) Collect the processed samples using GC-QTOF-MS, and use Mass Hunter software to deconvolute the full scan data into different feature groups, then compare the feature groups with the NIST spectral library, and perform preliminary filtering on each feature group to obtain the preliminarily identified compounds and their CAS numbers; (2) A set of PPCPs is defined, which is recorded as PPCPs library I. For PPCPs library I, the Python Selenium library is used to perform a first webpage data crawling process and a first data export process on the PubChem database in sequence, so as to obtain the usage information corresponding to the PPCPs in PPCPs library I, and establish a PPCPs information library, which is recorded as PPCPs library II. (3) For the compound preliminarily identified in step (1), the first webpage data crawling process is performed on the Pub Chem database in sequence using the Python Selenium library to obtain the use information of the compound preliminarily identified in step (1); then data screening process and the first data export process are performed to match the use information of the compound preliminarily identified in step (1) with the PPCPs library II, and the CAS number and corresponding use information of the successfully matched compound are exported; (4) Screening compounds with an occurrence frequency of >50% from step (3) and comparing and verifying them with the standard sample library to further determine the compounds belonging to the PPCPs class of pollutants.
2. The method according to claim 1, wherein: In step (1), when the full scan data were deconvoluted into different feature groups using Mass Hunter software, the signal-to-noise ratio threshold was 5, the total ion threshold was 10,000, and the boundary of the accurate mass tolerance was 5 ppm.
3. The method according to claim 1 or 2, wherein: In step (1), the conditions for the preliminary filtering meet the following requirements: score≥80, RI≤50.
4. The method according to claim 1 or 2, wherein: In step (2), the PPCPs library I is Azithromycin, Cinoxacin, Ciprofloxacin, Sulfisoxazole, Sulfabenzamide, Caffeine, Climbazole, Triclosan, Fenobucarb, and Mecoprop.
5. The method according to claim 1 or 2, wherein: In step (2), the PPCPs library II is: perfuming; antibiotic; hormone; antidepressant; beta-blocker; diabete; anti-inflammatory; angiomyocardiacs; anticoagulant; bactericide; pesticide; herbicide; disinfectant; fragrance; personal care; drug; medicine; flavouring; hair conditioning; cosmetics; pharmaceutical; biocide; soap; fungicide; bacteriostat; household.
6. The method according to claim 1 or 2, wherein: In step (2) and step (3), the first web page data capture process is to use the Python Selenium library to simulate the user's operation in the browser, open the web page, and enter the CAS number to search, locate and obtain the use information of the substance.
7. The method according to claim 1 or 2, wherein: In step (2), the first data export process is to export the CAS number and corresponding usage information of the PPCPs in the PPCP library I into Excel; In step (3), the first data export process is to export the CAS number of the successfully matched compound and the corresponding usage information into Excel.
8. The method according to claim 1 or 2, wherein: In step (3), the data screening process uses conditional judgment statements and is based on whether the substance usage information matches the PPCPs library II.
Citation Information
Patent Citations
High-resolution mass spectrum data processing method for non-targeted screening of new pollutants
CN117250267A
Method for assisting non-targeted screening by using feature fragments and feature fragment group
CN117789848A
