Chinese herbal medicine detection method, device and equipment and storage medium
By establishing a database of Chinese medicinal plants and a sample sequence feature index database, and using gene sequence alignment technology, the varieties and cultivation data of Chinese medicinal plants can be accurately identified, solving the problem of distinguishing varieties of Chinese medicinal plants and improving detection efficiency and quality control capabilities.
Patent Information
- Application Number
- CN202410709255.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-11-08
AI Technical Summary
Existing technologies make it difficult to accurately distinguish between different varieties of Chinese herbal medicines within the same species and from different origins, resulting in inconsistent quality of Chinese medicinal materials and hindering the development of the Chinese medicine industry.
A database of Chinese medicinal plants and a sample sequence feature index database were established. By comparing the gene sequence of the Chinese medicinal plant sample to be tested with the whole genome sequence of standard Chinese medicinal plants, the variety name and cultivation data of the Chinese medicinal plant sample to be tested were determined.
It has improved the accuracy and efficiency of Chinese herbal medicine identification, ensured the quality and safety of Chinese herbal medicine products, and achieved effective control and supervision of the quality of Chinese herbal medicine.
Smart Images

Figure CN118918964A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of bioanalysis technology, and in particular to a method, device, equipment and storage medium for detecting Chinese herbal medicine. Background Art
[0002] China is the birthplace of Chinese herbal medicine. There are about 12,000 species of medicinal plants in the country, which constitute an important treasure house of my country's medical resources. The variety and origin of Chinese herbal medicine are key factors in determining quality and efficacy. However, with the continuous development of market demand for Chinese herbal medicine in my country, the long-standing quality problems of Chinese herbal medicines have become an important challenge that troubles and restricts the healthy development of the traditional Chinese medicine industry. Among them, the mixed germplasm of Chinese herbal medicines, the confusion of varieties, and the existence of multiple germplasms, cultivation types or base sources of one Chinese herbal medicine have led to uneven quality of Chinese herbal medicines.
[0003] At present, the identification technology of Chinese herbal medicine based on genetic characteristics, namely DNA barcode technology, can realize the species identification of Chinese herbal medicine by analyzing one or some specific DNA fragment sequences of the species. This technology establishes a unique "ID card" number for each species and builds a unified cross-species identification system. However, between different varieties of the same species and varieties from different origins, traditional DNA barcode technology often has difficulty in identifying subtle differences. Therefore, in order to achieve accurate detection of Chinese herbal medicine varieties, a more accurate identification method is needed. Summary of the invention
[0004] In order to solve at least one of the technical problems mentioned above, the present disclosure proposes a method, device, equipment and storage medium for detecting Chinese herbal medicine.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for detecting Chinese herbal medicine is provided, the method comprising:
[0006] Establishing a Chinese herbal medicine plant database and a sample sequence feature index database; the Chinese herbal medicine plant database includes the variety name of the standard Chinese herbal medicine plant and the cultivation data of the standard Chinese herbal medicine plant; the sample sequence feature index database includes the variety name of the standard Chinese herbal medicine plant, the whole genome sequence of the standard Chinese herbal medicine plant and the sequence feature index;
[0007] Create a gene sequence database of Chinese herbal medicine samples to be tested;
[0008] Compare the gene sequence database of the Chinese herbal medicine sample to be tested with the sample sequence feature index database to obtain a matching result; the matching result indicates the matching rate between the Chinese herbal medicine sample to be tested and the standard Chinese herbal medicine plant compared in the sample sequence feature index database, and the variety name of the compared standard Chinese herbal medicine plant;
[0009] Based on the matching result and the Chinese herbal plant database, the variety name and cultivation data of the Chinese herbal medicine sample to be tested are determined; the cultivation data is data corresponding to the variety name stored in the Chinese herbal plant database.
[0010] In one embodiment, the step of creating a gene sequence database of the Chinese herbal medicine samples to be tested comprises:
[0011] Obtaining the total deoxyribonucleic acid of the Chinese herbal medicine sample to be tested;
[0012] dividing the total DNA into a plurality of DNA fragments;
[0013] Sequencing the multiple deoxyribonucleic acid fragments to obtain base sequences of the multiple deoxyribonucleic acid fragments;
[0014] Based on the base sequences of the multiple deoxyribonucleic acid fragments, dividing them into multiple fragments with preset base lengths;
[0015] Based on the multiple fragments of preset base lengths, a gene sequence database of the Chinese herbal medicine sample to be tested is created.
[0016] In one embodiment, the cultivation data of the standard Chinese herbal medicine plant includes at least one of the following: the geographical location of the origin of the standard Chinese herbal medicine plant, the soil type of the origin, and the planting time;
[0017] The sequence feature index includes at least one of the following: an index of repeated sequences in the whole genome sequence of the standard Chinese herbal medicine plant, an index of gene positions and an index of gene functions.
[0018] In one embodiment, the establishment of a Chinese herbal medicine database and a sample sequence feature index database comprises:
[0019] Establishing the Chinese herbal medicine plant database based on the variety names and cultivation data of the standard Chinese herbal medicine plants;
[0020] collecting samples of the standard Chinese herbal medicine plants;
[0021] extracting total DNA from samples of the standard Chinese herbal plants;
[0022] Based on a preset sequencing technology, the total deoxyribonucleic acid of the sample of the standard Chinese herbal medicine plant is sequenced and assembled to obtain the whole genome sequence of the standard Chinese herbal medicine plant;
[0023] Based on the whole genome sequence and variety name of the standard Chinese herbal medicine plant, the sample sequence feature index database is established.
[0024] In one embodiment, the comparing the gene sequence database of the Chinese herbal medicine sample to be tested with the sample sequence feature index database to obtain a matching result includes:
[0025] Based on the preset sequence comparison software, the matching rate between the Chinese herbal medicine sample to be tested and the compared standard Chinese herbal medicine plant is calculated; the matching rate is the consistency ratio of the bases in the gene sequence database of the Chinese herbal medicine sample to be tested and the whole genome sequence of the compared standard Chinese herbal medicine plant;
[0026] Obtain the variety name corresponding to the compared standard Chinese herbal medicine plant in the sample sequence feature index database.
[0027] In one embodiment, the determining the variety name and cultivation data of the Chinese herbal medicine sample to be tested based on the matching result and the Chinese herbal medicine plant database includes:
[0028] When the matching rate between the Chinese herbal medicine sample to be tested and the compared standard Chinese herbal medicine plant is greater than a preset threshold, determining the variety name of the Chinese herbal medicine sample to be tested to be the variety name of the compared standard Chinese herbal medicine plant;
[0029] The cultivation data corresponding to the variety name of the Chinese herbal medicine sample to be tested in the Chinese herbal medicine plant database is obtained.
[0030] According to a second aspect of an embodiment of the present disclosure, a detection device for Chinese herbal medicine is provided, the device comprising:
[0031] The database establishment module is configured to establish a Chinese herbal medicine plant database and a sample sequence feature index database; the Chinese herbal medicine plant database includes the variety name of the standard Chinese herbal medicine plant and the cultivation data of the standard Chinese herbal medicine plant; the sample sequence feature index database includes the variety name of the standard Chinese herbal medicine plant, the whole genome sequence of the standard Chinese herbal medicine plant and the sequence feature index;
[0032] A creation module is configured to obtain a gene sequence database of a Chinese herbal medicine sample to be tested;
[0033] A comparison module is configured to compare the gene sequence database of the Chinese herbal medicine sample to be tested with the sample sequence feature index database to obtain a matching result; the matching result indicates the matching rate between the Chinese herbal medicine sample to be tested and the standard Chinese herbal medicine plant compared in the sample sequence feature index database, and the variety name of the compared standard Chinese herbal medicine plant;
[0034] The determination module is configured to determine the variety name and cultivation data of the Chinese herbal medicine sample to be tested based on the matching result and the Chinese herbal medicine plant database; the cultivation data is the data corresponding to the variety name stored in the Chinese herbal medicine plant database.
[0035] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the Chinese herbal medicine detection method as described in the first aspect above.
[0036] According to a fourth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the Chinese herbal medicine detection method as described in the first aspect above by executing the instructions stored in the memory.
[0037] According to the fifth aspect of an embodiment of the present disclosure, a computer program product is provided, which includes a computer program, and the computer program is stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the computer device performs the Chinese herbal medicine detection method as described in the first aspect above.
[0038] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
[0039] The implementation of this disclosure has the following beneficial effects:
[0040] The sample sequence feature index database includes the whole genome sequence of standard Chinese herbal medicine plants. Through the matching results between the gene sequence database of the Chinese herbal medicine samples to be tested and the sample sequence feature index database, the variety name and cultivation data of the Chinese herbal medicine samples to be tested can be accurately determined, which helps to improve the accuracy of Chinese herbal medicine identification; the sample sequence feature index database includes the sequence feature index of standard Chinese herbal medicine plants, which can quickly identify the Chinese herbal medicine samples to be tested, improve the detection efficiency, and make the detection process more standardized; by determining the variety name and cultivation data of the Chinese herbal medicine samples to be tested, the quality of Chinese herbal medicines can be effectively controlled and supervised to ensure the safety and effectiveness of Chinese herbal medicine products.
[0041] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions and advantages in the embodiments of this specification or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 A schematic flow chart of a method for detecting Chinese herbal medicine according to an embodiment of the present disclosure is shown.
[0044] Figure 2 A schematic diagram of the process of establishing a Chinese herbal medicine database and a sample sequence feature index database according to an embodiment of the present disclosure is shown.
[0045] Figure 3 A schematic diagram showing a process of creating a gene sequence database of Chinese herbal medicine samples to be tested according to an embodiment of the present disclosure.
[0046] Figure 4 A schematic diagram showing the matching results of multiple Chinese herbal medicine samples to be tested and standard ginseng according to an embodiment of the present disclosure is shown.
[0047] Figure 5 A schematic diagram showing the matching results of multiple Chinese herbal medicine samples to be tested and standard Salvia miltiorrhiza according to an embodiment of the present disclosure is shown.
[0048] Figure 6 A schematic diagram showing the matching results of the Chinese herbal medicine sample to be tested and the standard Forsythia suspensa at different times according to an embodiment of the present disclosure.
[0049] Figure 7 A module schematic diagram of a Chinese herbal medicine detection device according to an embodiment of the present disclosure is shown.
[0050] Figure 8 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0053] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0054] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0055] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0056] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0057] Figure 1 FIG. 2 is a flow chart showing a method for detecting Chinese herbal medicine according to an embodiment of the present disclosure. Figure 1 , the above method comprises:
[0058] S101. Establish a Chinese herbal medicine plant database and a sample sequence feature index database.
[0059] The Chinese herbal medicine plant database includes the variety names of standard Chinese herbal medicine plants and the cultivation data of standard Chinese herbal medicine plants. The present disclosure does not limit the cultivation data of standard Chinese herbal medicine plants. In one embodiment, the cultivation data of standard Chinese herbal medicine plants includes at least one of the following: the geographical location of the origin of the standard Chinese herbal medicine plants, the soil type of the origin, and the planting time. In one embodiment, the cultivation data of standard Chinese herbal medicine plants also includes planting techniques, such as soil treatment, irrigation methods, fertilization methods, etc. The Chinese herbal medicine plant database helps to trace the origin information and planting information of Chinese herbal medicines, and achieve quality control and standardized production.
[0060] The sample sequence feature index database includes the variety name of the standard Chinese herbal medicine plant, the whole genome sequence of the standard Chinese herbal medicine plant and the sequence feature index. The present disclosure does not limit the sequence feature index. In one embodiment, the sequence feature index includes at least one of the following: an index of repeated sequences in the whole genome sequence of the standard Chinese herbal medicine plant, an index of gene positions and an index of gene functions.
[0061] Figure 2 FIG. 1 is a flow chart showing the process of establishing a Chinese herbal medicine database and a sample sequence feature index database according to an embodiment of the present disclosure. Figure 2 , establish a Chinese herbal medicine plant database and sample sequence feature index database including:
[0062] S201. Establish a Chinese herbal medicine plant database based on the variety names and cultivation data of standard Chinese herbal medicine plants.
[0063] In one embodiment, a main table named "Chinese herbal plants" is designed, which includes fields such as variety name, geographical location of origin, soil type of origin, planting time, and planting technology; the data type of each field is determined according to the characteristics of the field, for example, the variety name can use the string type, the geographical location of origin and the soil type of origin can use the string type, the planting time can use the date type, and the planting technology can use the text type; a "Origin" table is designed, which includes detailed information on the origin, such as climate, altitude, etc., and is associated with the "Chinese herbal plants" table through a foreign key; according to the designed table structure, a corresponding table is created in the selected database, and the sorted standard Chinese herbal plant data is imported into the database, and SQL statements or database management tools can be used to create tables and import data.
[0064] S202, collecting samples of the standard Chinese herbal medicine plants.
[0065] In one embodiment, no less than 10 grams of leaves or other fragile parts of fresh standard Chinese herbal medicine plants are collected and refrigerated at 4 degrees Celsius.
[0066] S203, extracting the total deoxyribonucleic acid from the sample of the standard Chinese herbal plant.
[0067] The present disclosure does not limit the method for extracting deoxyribonucleic acid (DNA). In one embodiment, after the sample is cleaned, total DNA is extracted using a plant DNA extraction kit, the DNA purity is detected by measuring the absorbance ratio or gel electrophoresis, and the DNA is purified by phenol-chloroform extraction or silica gel column extraction to obtain the purified total DNA.
[0068] S204. Based on a preset sequencing technology, the total deoxyribonucleic acid of the sample of the standard Chinese herbal plant is sequenced and assembled to obtain the whole genome sequence of the standard Chinese herbal plant.
[0069] Specifically, it is divided into DNA fragments of appropriate lengths through specific enzyme cutting or mechanical methods, and the two ends of the above fragments are connected to special sequencing adapters using ligase. The adapters contain sequence information that can be recognized by the sequencer to construct a sequencing library; the DNA fragments in the sequencing library are sequenced using a preset sequencing technology such as second-generation sequencing technology or third-generation sequencing technology to generate a large number of short sequences; the short sequences obtained by sequencing are quality controlled to remove low-quality short sequences containing too many errors; bioinformatics tools and methods are used to compare and splice the short sequences that have passed quality control to assemble the whole genome sequence of the standard Chinese herbal plant.
[0070] S205. Establishing the sample sequence feature index database based on the whole genome sequence and variety name of the standard Chinese herbal medicine plant.
[0071] The present disclosure does not limit the method for establishing a sample sequence feature index database. In one embodiment, a sample sequence feature index is constructed using a bowtie2-build indexer or a similar tool. Specifically, prepare a whole genome sequence file of a standard Chinese herbal medicine plant, run the bowtie2-build command, and provide the whole genome sequence file of the standard Chinese herbal medicine plant as input. The command will generate one or more index files for reference indexing when Bowtie 2 performs alignment; create a variety information table and a genome sequence table, the variety information table stores the variety ID and variety name of the standard Chinese herbal medicine plant sample, which is used to uniquely identify each standard Chinese herbal medicine plant sample and provide the variety name; the variety ID field in the genome sequence table is a foreign key to the variety ID field in the variety information table to ensure that each genome sequence corresponds to a variety, and the genome sequence table is used to store the whole genome sequence data. Since the sequence data is long, it is stored in a special binary field or file system, and its path or reference is saved in the genome sequence table, which can reduce the burden on the database and improve the efficiency and performance of the database; multiple index files contain feature information of the whole genome sequence of the standard Chinese herbal medicine plant, such as indexes of repeat sequences, gene positions, and gene functions, which are used to quickly locate parts that match or are similar to the query sequence during the alignment process.
[0072] The sample sequence feature index database stores the whole genome sequences of standard Chinese herbal plants, allowing detection to be performed based on comprehensive genome information, which helps to improve the accuracy of variety identification; the sequence feature index can help speed up the analysis process. The index can quickly locate the whole genome sequence of interest without the need for a comprehensive search of the entire sample sequence feature index database, thereby saving time and computing resources.
[0073] S102. Create a gene sequence database of the Chinese herbal medicine samples to be tested.
[0074] Figure 3 FIG. 1 is a flow chart showing a process of creating a gene sequence database of a Chinese herbal medicine sample to be tested according to an embodiment of the present disclosure. Figure 3 , creating a gene sequence database of Chinese herbal medicine samples to be tested includes:
[0075] S301. Obtain the total deoxyribonucleic acid of the Chinese herbal medicine sample to be tested.
[0076] The present disclosure does not limit the method for obtaining the total DNA of the Chinese herbal medicine sample to be tested. In one embodiment, the sample is cleaned and then the total DNA is extracted using a plant DNA extraction kit. The DNA purity is detected by measuring the absorbance ratio or gel electrophoresis, and the DNA is purified by phenol-chloroform extraction or silica gel column extraction to obtain the purified total DNA.
[0077] S302, dividing the total DNA into multiple DNA fragments.
[0078] The present disclosure does not limit the segmentation method. In one embodiment, a mechanical shearing technique such as an ultrasonic method is used to segment the total DNA into DNA fragments of appropriate lengths.
[0079] S303, sequencing the multiple deoxyribonucleic acid fragments to obtain base sequences of the multiple deoxyribonucleic acid fragments.
[0080] Specifically, a preset sequencing technology, such as the second-generation sequencing technology or the third-generation sequencing technology, is used to sequence multiple DNA fragments to generate a large number of short sequences; quality control is performed on the short sequences obtained by sequencing to remove short sequences of low quality or containing too many errors, and the base sequences of multiple DNA fragments are obtained.
[0081] S304 , based on the base sequences of the multiple DNA fragments, divide them into multiple fragments with preset base lengths.
[0082] S305: Creating a gene sequence database of the Chinese herbal medicine sample to be tested based on the multiple fragments of preset base lengths.
[0083] Specifically, existing tools such as cutadapt, FASTA / FASTQ Trimmer, etc., or self-written programs can be used to divide the base sequence into segments of preset base lengths. The present disclosure does not limit the preset base length. In one embodiment, the preset base length is 300. Starting from the starting position of the base sequence, a segment is cut every preset base length until the end of the sequence, and each segment obtained by the division is saved as new sequence data and stored in a gene sequence database. During the division process, if the sequence length is not enough to form a complete segment of the preset length, you can choose to discard the segment that is too short, or fill in the end of the sequence (using N or other placeholders) to make the segment reach the preset length.
[0084] Fragments with preset base lengths reduce the computational complexity of alignment, thereby improving the efficiency of the alignment algorithm, simplifying the alignment process, and improving the efficiency of the entire detection process; at the same time, using shorter fragments for alignment can reduce the impact of factors such as genomic variation and noise, making it easier to accurately match similar regions in the sample sequence feature index database, thereby improving the accuracy of the match.
[0085] S103, comparing the gene sequence database of the Chinese herbal medicine sample to be tested with the sample sequence feature index database to obtain a matching result.
[0086] The matching result indicates the matching rate between the Chinese herbal medicine sample to be tested and the standard Chinese herbal medicine plant compared in the sample sequence feature index database, as well as the variety name of the compared standard Chinese herbal medicine plant.
[0087] In one embodiment, based on a preset sequence comparison software, such as Bowtie software, the matching rate between the Chinese herbal medicine sample to be tested and the compared standard Chinese herbal medicine plant is calculated, and the matching rate is the consistency ratio of the bases in the gene sequence database of the Chinese herbal medicine sample to be tested and the whole genome sequence of the compared standard Chinese herbal medicine plant. The consistency ratio refers to the ratio of the number of identical bases at the same position in all compared positions to the total number of compared positions. According to the whole genome sequence of the compared standard Chinese herbal medicine plant, the corresponding variety name is obtained in the sample sequence feature index database.
[0088] In one embodiment, the varieties of multiple Chinese herbal medicine samples to be tested are detected, and the multiple Chinese herbal medicine samples to be tested are 1 standard ginseng and 5 closely related varieties within the genus Panax, and the multiple Chinese herbal medicine samples to be tested are respectively compared with the standard ginseng in the sample sequence feature index database, and the genome sequences of the multiple Chinese herbal medicine samples to be tested are downloaded from the NCBI database. Figure 4 FIG. 1 is a schematic diagram showing the matching results of multiple Chinese herbal medicine samples to be tested and standard ginseng according to an embodiment of the present disclosure. Figure 4 ,Through the visualization of the matching results, the closely related varieties within the genus ginseng and the standard ginseng can be effectively distinguished.
[0089] By calculating the matching rate based on the preset sequence comparison software, the similarity between the tested Chinese herbal medicine samples and the standard Chinese herbal medicine plants can be accurately evaluated, ensuring the accuracy of the test results; the acquisition of matching results can help visualize information such as the matching rate and variety name, so that users can intuitively understand the matching status between the tested Chinese herbal medicine samples and the standard Chinese herbal medicine plants, which is helpful for further data analysis and research.
[0090] S104: Determine the variety name and cultivation data of the Chinese herbal medicine sample to be tested based on the matching result and the Chinese herbal medicine plant database.
[0091] The cultivation data is data corresponding to the variety name stored in the Chinese herbal medicine plant database. In one embodiment, when the matching rate between the Chinese herbal medicine sample to be tested and the compared standard Chinese herbal medicine plant is greater than a preset threshold, the variety name of the Chinese herbal medicine sample to be tested is determined to be the variety name of the compared standard Chinese herbal medicine plant; and the cultivation data corresponding to the variety name of the Chinese herbal medicine sample to be tested in the Chinese herbal medicine plant database is obtained.
[0092] The present disclosure does not limit the preset threshold. In one embodiment, the preset threshold can be determined based on statistical analysis of experimental data. Experimental comparisons are performed through a series of Chinese herbal medicine samples of known varieties, and their matching rate data with standard Chinese herbal medicine plants are collected. The matching rate data are statistically analyzed to determine the minimum matching rate that can accurately distinguish different varieties, that is, the preset threshold.
[0093] Figure 5 A schematic diagram showing the matching results of multiple Chinese herbal medicine samples to be tested and standard Danshen according to an embodiment of the present disclosure is shown. Figure 5 , the matching rate of Salvia hispanica:GCF_023119035.1 with the standard Salvia miltiorrhiza is 99.99%, and its variety is determined to be the standard Salvia miltiorrhiza; the matching rate of Salvia hispanica:GCA_023119035.1 with the standard Salvia miltiorrhiza is 99.99%, and its variety is also determined to be the standard Salvia miltiorrhiza. The other three Chinese herbal medicine samples with lower matching rates are judged not to be standard Salvia miltiorrhiza varieties; after determining that the variety name of the Chinese herbal medicine sample to be tested is the standard Salvia miltiorrhiza, the corresponding cultivation data of the standard Salvia miltiorrhiza in the Chinese herbal medicine plant database can be obtained.
[0094] Figure 6 The following is a schematic diagram showing the matching results of the Chinese herbal medicine sample to be tested and the standard Forsythia suspensa at different times according to an embodiment of the present disclosure. Figure 6 The Chinese herbal medicine samples to be tested were compared with the standard Forsythia suspensa at three different times, and the matching rate was 100%, confirming that the variety of the Chinese herbal medicine samples to be tested was the standard Forsythia suspensa.
[0095] By determining the variety name of the Chinese herbal medicine sample to be tested through the matching rate, the accuracy of variety identification is improved, misjudgment is effectively avoided, and the credibility of the test results is ensured, so that the quality of Chinese herbal medicines can be effectively controlled and supervised, and the safety and effectiveness of Chinese herbal medicine products can be guaranteed; obtaining the cultivation data corresponding to the variety name of the Chinese herbal medicine sample to be tested in the Chinese herbal medicine plant database can provide information on the growth environment, geographical location, etc. of the variety, which is helpful to understand the growth conditions and ecological environment of the Chinese herbal medicine samples to be tested, and provide a reference basis for subsequent planting management and quality control.
[0096] Figure 7 FIG. 2 shows a schematic diagram of a module of a Chinese herbal medicine detection device according to an embodiment of the present disclosure. Figure 7 , the detection device of Chinese herbal medicine includes:
[0097] The database establishment module is configured to establish a Chinese herbal medicine plant database and a sample sequence feature index database; the Chinese herbal medicine plant database includes the variety name of the standard Chinese herbal medicine plant and the cultivation data of the standard Chinese herbal medicine plant; the sample sequence feature index database includes the variety name of the standard Chinese herbal medicine plant, the whole genome sequence of the standard Chinese herbal medicine plant and the sequence feature index;
[0098] A creation module is configured to obtain a gene sequence database of a Chinese herbal medicine sample to be tested;
[0099] A comparison module is configured to compare the gene sequence database of the Chinese herbal medicine sample to be tested with the sample sequence feature index database to obtain a matching result; the matching result indicates the matching rate between the Chinese herbal medicine sample to be tested and the standard Chinese herbal medicine plant compared in the sample sequence feature index database, and the variety name of the compared standard Chinese herbal medicine plant;
[0100] The determination module is configured to determine the variety name and cultivation data of the Chinese herbal medicine sample to be tested based on the matching result and the Chinese herbal medicine plant database; the cultivation data is the data corresponding to the variety name stored in the Chinese herbal medicine plant database.
[0101] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0102] The present disclosure also provides a computer-readable storage medium, wherein at least one instruction or at least one program is stored in the computer-readable storage medium, and when the at least one instruction or at least one program is loaded and executed by a processor, the method is implemented. The computer-readable storage medium may be a non-volatile computer-readable storage medium.
[0103] The embodiment of the present disclosure further proposes an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to perform the method.
[0104] The electronic device may be provided as a terminal, a server, or a device in other forms.
[0105] Figure 8 1 shows a block diagram of an electronic device according to an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server. Figure 8, the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0106] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0107] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0108] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0109] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0110] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the above-mentioned module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the standard function in the square box can also occur in a sequence different from the standard in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a special hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0111] The embodiment of the present disclosure also proposes a computer program product, which includes a computer program. The computer program is stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the computer device executes the Chinese herbal medicine detection method of the embodiment of the present disclosure.
[0112] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for detecting Chinese herbal medicine, characterized in that: The method comprises: Establishing a Chinese herbal medicine plant database and a sample sequence feature index database; the Chinese herbal medicine plant database includes the variety name of the standard Chinese herbal medicine plant and the cultivation data of the standard Chinese herbal medicine plant; the sample sequence feature index database includes the variety name of the standard Chinese herbal medicine plant, the whole genome sequence of the standard Chinese herbal medicine plant and the sequence feature index; Create a gene sequence database of Chinese herbal medicine samples to be tested; Compare the gene sequence database of the Chinese herbal medicine sample to be tested with the sample sequence feature index database to obtain a matching result; the matching result indicates the matching rate between the Chinese herbal medicine sample to be tested and the standard Chinese herbal medicine plant compared in the sample sequence feature index database, and the variety name of the compared standard Chinese herbal medicine plant; Based on the matching result and the Chinese herbal plant database, the variety name and cultivation data of the Chinese herbal medicine sample to be tested are determined; the cultivation data is data corresponding to the variety name stored in the Chinese herbal plant database.
2. A Chinese herbal medicine detection method according to claim 1, characterized in that: The step of creating a gene sequence database of the Chinese herbal medicine samples to be tested comprises: Obtaining the total deoxyribonucleic acid of the Chinese herbal medicine sample to be tested; dividing the total DNA into a plurality of DNA fragments; Sequencing the multiple deoxyribonucleic acid fragments to obtain base sequences of the multiple deoxyribonucleic acid fragments; Based on the base sequences of the multiple deoxyribonucleic acid fragments, dividing them into multiple fragments with preset base lengths; Based on the multiple fragments of preset base lengths, a gene sequence database of the Chinese herbal medicine sample to be tested is created.
3. A Chinese herbal medicine detection method according to claim 2, characterized in that: The cultivation data of the standard Chinese herbal medicine plant includes at least one of the following: the geographical location of the origin of the standard Chinese herbal medicine plant, the soil type of the origin, and the planting time; The sequence feature index includes at least one of the following: an index of repeated sequences in the whole genome sequence of the standard Chinese herbal medicine plant, an index of gene positions and an index of gene functions.
4. A method for detecting Chinese herbal medicine according to claim 3, characterized in that: The establishment of the Chinese herbal medicine plant database and the sample sequence feature index database comprises: Establishing the Chinese herbal medicine plant database based on the variety names and cultivation data of the standard Chinese herbal medicine plants; collecting samples of the standard Chinese herbal medicine plants; extracting total DNA from samples of the standard Chinese herbal plants; Based on a preset sequencing technology, the total deoxyribonucleic acid of the sample of the standard Chinese herbal medicine plant is sequenced and assembled to obtain the whole genome sequence of the standard Chinese herbal medicine plant; Based on the whole genome sequence and variety name of the standard Chinese herbal medicine plant, the sample sequence feature index database is established.
5. A method for detecting Chinese herbal medicine according to claim 4, characterized in that: The comparison of the gene sequence database of the Chinese herbal medicine sample to be tested with the sample sequence feature index database to obtain a matching result includes: Based on the preset sequence comparison software, the matching rate between the Chinese herbal medicine sample to be tested and the compared standard Chinese herbal medicine plant is calculated; the matching rate is the consistency ratio of the bases in the gene sequence database of the Chinese herbal medicine sample to be tested and the whole genome sequence of the compared standard Chinese herbal medicine plant; Obtain the variety name corresponding to the compared standard Chinese herbal medicine plant in the sample sequence feature index database.
6. A method for detecting Chinese herbal medicine according to claim 5, characterized in that: The step of determining the variety name and cultivation data of the Chinese herbal medicine sample to be tested based on the matching result and the Chinese herbal medicine plant database comprises: When the matching rate between the Chinese herbal medicine sample to be tested and the compared standard Chinese herbal medicine plant is greater than a preset threshold, determining the variety name of the Chinese herbal medicine sample to be tested to be the variety name of the compared standard Chinese herbal medicine plant; The cultivation data corresponding to the variety name of the Chinese herbal medicine sample to be tested in the Chinese herbal medicine plant database is obtained.
7. A detection device for Chinese herbal medicine, characterized in that: The device comprises: The database establishment module is configured to establish a Chinese herbal medicine plant database and a sample sequence feature index database; the Chinese herbal medicine plant database includes the variety name of the standard Chinese herbal medicine plant and the cultivation data of the standard Chinese herbal medicine plant; the sample sequence feature index database includes the variety name of the standard Chinese herbal medicine plant, the whole genome sequence of the standard Chinese herbal medicine plant and the sequence feature index; A creation module is configured to obtain a gene sequence database of a Chinese herbal medicine sample to be tested; A comparison module is configured to compare the gene sequence database of the Chinese herbal medicine sample to be tested with the sample sequence feature index database to obtain a matching result; the matching result indicates the matching rate between the Chinese herbal medicine sample to be tested and the standard Chinese herbal medicine plant compared in the sample sequence feature index database, and the variety name of the compared standard Chinese herbal medicine plant; The determination module is configured to determine the variety name and cultivation data of the Chinese herbal medicine sample to be tested based on the matching result and the Chinese herbal medicine plant database; the cultivation data is the data corresponding to the variety name stored in the Chinese herbal medicine plant database.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement the Chinese herbal medicine detection method as described in any one of claims 1-6.
9. An electronic device, characterized in that: It includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the Chinese herbal medicine detection method as described in any one of claims 1-6 by executing the instructions stored in the memory.
10. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the computer device executes the Chinese herbal medicine detection method as described in any one of claims 1-6.
