Automatic analysis method and system for genome copy number variation

By constructing a copy number collection window and a local database in the medical system, and using text comparison technology to conduct automated analysis of copy number variation data, the problem of retrieval difficulties caused by differences in different database formats has been solved, and efficient data retrieval and summary report generation have been achieved. .

CN118588157APending Publication Date: 2024-09-03WUHAN JINYU MEDICAL LAB CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410615383.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The copy number variation data formats among different databases in the existing medical system are different, which results in the need to frequently rewrite the data format during data retrieval, increasing the burden on analysts, and the search results lack summary reports, making it difficult to access.

Method used

By constructing a copy number collection window and a local database, using the data transmission unit, text processing unit and analysis reporting unit, we can perform automated analysis of copy number variation data, use text comparison technology to convert the data into standard text, calculate similarity values ​​and generate Optimize reports.

Benefits of technology

It realizes automated retrieval of copy number variation data across databases, reduces the steps of data format conversion, improves retrieval efficiency, and generates summary analysis reports to simplify the search process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588157A
    Figure CN118588157A
Patent Text Reader

Abstract

The invention relates to the field of genetics examination, and discloses a genome copy number variation automatic analysis method and system.The method comprises the steps that copy number variation data are received based on a copy number collection window, and the copy number variation data are sent to a pre-constructed local database, confirming that the copy number variation data is completely received based on a data transmission unit, constructing a standard text set by utilizing a retrieval database, sequentially extracting standard texts from the standard text set, calculating similarity values based on the extracted standard texts and a pre-constructed text similarity calculation formula to obtain a similarity set, and storing the similarity set in a database; and performing screening operation on the similarity set by utilizing a preset similarity threshold value to obtain an optimized similarity set, and completing automatic analysis of the genome copy number variation based on the optimized similarity set and an analysis report unit. The invention mainly aims to solve the problems of performing copy number variation data retrieval by utilizing text comparison and optimizing a retrieval result according to a text comparison result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an automated analysis method and system for genome copy number variation, and belongs to the field of genetic testing. Background Art

[0002] Copy number variation is a structural abnormality in the genome, which means that the number of copies of a DNA fragment in a certain region of the genome is different from that in the normal population. Copy number variation may cause disease, so it is very important to search for copy number variation.

[0003] In the existing medical system, the data formats of copy number variations are different between different databases. Each time a different database is logged in for data retrieval, the data format of the data to be retrieved needs to be rewritten, and the data retrieval is performed based on the rewritten data.

[0004] Although the above content can realize data retrieval, it requires the highest number of analysts and proficiency, which brings great inconvenience to the clinic. At the same time, in the search results, they are displayed one by one, without a summary report, which is also very laborious to check. Summary of the invention

[0005] The present invention provides a method and system for automatically analyzing genome copy number variation, the main purpose of which is to realize the problem of retrieving copy number variation data based on text comparison and optimizing the retrieval results according to the text comparison results.

[0006] To achieve the above object, the present invention provides an automated analysis method for genome copy number variation, comprising:

[0007] Constructing a copy number acquisition window, receiving copy number variation data based on the copy number acquisition window, and sending the copy number variation data to a pre-constructed local database, wherein the copy number variation data includes a chromosome number, an upstream position, a downstream position, and a copy number, and the local database includes: a data transmission unit, a text processing unit, and an analysis report unit;

[0008] Based on the data transmission unit confirming that the copy number variation data has been completely received, wherein the data transmission unit includes: a cache unit, a monitoring unit and a feedback unit, using the copy number variation data and the text processing unit to obtain the to-be-searched text corresponding to the copy number variation data;

[0009] A standard data set is constructed using a pre-constructed search database, and a standard text set is obtained based on the standard data set, wherein the standard data set includes a plurality of standard data, and the standard data is matched one-to-one with the search results pre-constructed in the search database, and the standard text set includes a plurality of standard texts, and the standard texts are in one-to-one correspondence with the standard data corresponding to the standard texts;

[0010] Extracting standard texts from the standard text set in sequence based on a pre-constructed text comparison unit, calculating similarity values ​​based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be retrieved, and obtaining multiple similarity values;

[0011] Aggregating multiple similarity values ​​and performing a sorting operation on the multiple similarity values ​​to obtain a similarity set, wherein a descending sorting operation is performed on all similarity values ​​in the similarity set;

[0012] Using a preset similarity threshold to perform a screening operation on the similarity set to obtain an optimized similarity set;

[0013] Obtaining analysis reports based on the optimized similarity set and analysis report unit;

[0014] The analysis report is sent to a pre-built report review unit, and the automated analysis of genome copy number variation is completed based on the report review unit.

[0015] Optionally, the step of confirming that the copy number variation data has been completely received based on the data transmission unit includes:

[0016] Wherein, the text processing unit includes a text buffer unit, a text monitoring unit and a text comparison unit;

[0017] After the copy number variation data is sent to the cache unit, the copy number variation is sent to the text monitoring unit based on the cache unit, and after the text monitoring unit confirms receipt of the copy number variation data, the data to be verified is obtained, and after the data to be verified is sent to the text cache unit, a confirmation message is obtained using the data to be verified, and the confirmation message is sent to the feedback unit;

[0018] The feedback unit and the monitoring unit confirm that the copy number variation data has been completely received.

[0019] Optionally, the step of confirming that the copy number variation data has been completely received based on the feedback unit and the monitoring unit includes:

[0020] After the feedback unit determines that the confirmation message is consistent with the preset verification message, the monitoring unit obtains the transmission rate and the integrity hash value;

[0021] Comparing the transmission rate with a preset rate threshold, if the transmission rate is less than the transmission threshold, prompting that the transmission time is too long based on the monitoring unit, otherwise, confirming that the transmission rate is normal;

[0022] Confirm that the copy number variation data has been completely received based on the integrity hash value.

[0023] Optionally, the confirming that the copy number variation data has been completely received based on the integrity hash value includes:

[0024] Comparing the integrity hash value with a preset verification hash value;

[0025] If the integrity hash value is consistent with the verification hash value, it is confirmed that the text monitoring unit has completely received the copy number variation data;

[0026] If the integrity hash value is inconsistent with the verification hash value, the packet loss data is obtained based on the monitoring unit, the cache unit and the text cache unit, and the supplementary data is obtained using the monitoring unit and the packet loss data. After a packet loss recovery operation is performed on the data to be verified based on the supplementary data, the repaired data is obtained, and it is confirmed that the repaired data is the data to be verified. The process returns to the above step of obtaining a confirmation message using the data to be verified until it is confirmed that the text monitoring unit has completely received the copy number variation data.

[0027] Optionally, the standard data is:

[0028] Z n ={A,B,C,D}

[0029] Among them, Z n represents the standard data in the standard data set, n represents the sequence number of the standard data in the standard data set, A represents the chromosome number in the standard data, B represents the upstream position in the standard data, C represents the downstream position in the standard data, and D represents the copy number in the standard data.

[0030] Optionally, the calculating of the similarity value based on each extracted standard text, the pre-constructed text similarity calculation formula and the text to be retrieved includes:

[0031] Using a pre-built text segmentation method, a text segmentation operation is performed on the text to be searched to obtain a sequence of words to be searched.

[0032] The sequence of words to be searched includes four words to be searched, and the sequence of words to be searched is: M = {α, β, γ, δ}

[0033] Wherein, M represents the sequence of words to be searched, α represents the text corresponding to the chromosome number in the sequence of words to be searched, β represents the text corresponding to the upstream position in the copy number variation data, γ represents the text corresponding to the downstream position in the copy number variation data, and δ represents the text corresponding to the copy number in the copy number variation data;

[0034] A weight matrix of the words to be tested is constructed based on the sequence of words to be searched, and a weight matrix of the standard words is constructed based on the extracted standard text, wherein the order of the matrix elements in the weight matrix of the words to be tested corresponds to the words to be searched in the sequence of words to be searched, and the weight matrix of the words to be tested is:

[0035] x z =(x z·1 , x z·2 , xz·3 , x z·4 )

[0036] Among them, x z Represents the weight matrix of the word to be tested, x z·1 Indicates the weight of the text corresponding to the chromosome number in the text to be retrieved, x z·2 represents the weight of the text corresponding to the upstream position in the text to be retrieved, x z·3 represents the weight of the text corresponding to the downstream position in the text to be retrieved, x z·4 The weight of the text corresponding to the number of copies in the text to be retrieved;

[0037] The similarity value between the extracted standard text and the text to be retrieved is calculated based on the weight matrix of the test word, the weight matrix of the standard word and the text similarity calculation formula, wherein the text similarity calculation formula is:

[0038]

[0039] Among them, X(x z , x m ) represents the similarity value between the extracted standard text and the text to be retrieved, x z Represents the weight matrix of the words to be tested in the text to be retrieved, f(x z·q ) represents the weight of the text corresponding to the qth search term in the test term weight matrix, q is a positive integer from 1 to 4, g(x z·q , x m ) represents the frequency of the qth search term in the standard text, |x m | represents the number of terms in the standard text, and |x m |=4,T avg represents the average term length of the standard text, b and k1 are both hyperparameters, k1∈[1.2, 2.0], b=0.75.

[0040] Optionally, the using a preset similarity threshold to perform a screening operation on the similarity set to obtain an optimized similarity set includes:

[0041] The similarity values ​​are sequentially extracted from the similarity set, and the following operations are performed on the extracted similarity values:

[0042] Comparing the extracted similarity value with a similarity threshold;

[0043] If the similarity value is greater than the similarity threshold, confirming that the similarity value is an optimized similarity value;

[0044] If the similarity value is less than or equal to the similarity threshold, confirming that the similarity value is a value to be re-verified;

[0045] Aggregating multiple values ​​to be re-verified to obtain a set to be re-verified, and using a pre-built overlap screening method to screen the set to be re-verified to obtain a second optimized similarity set;

[0046] A plurality of optimized similarity values ​​are aggregated to obtain a first optimized similarity set, and an optimized similarity set is obtained based on the first optimized similarity set and the second optimized similarity set.

[0047] Optionally, the method of using a pre-built overlap screening method to screen the to-be-re-verified set to obtain a second optimized similarity set includes:

[0048] Extract the values ​​to be re-verified from the set to be re-verified in sequence, and perform the following operations on the extracted values ​​to be re-verified:

[0049] Based on the extracted value to be re-verified, standard data corresponding to the extracted value to be re-verified is obtained to obtain suboptimal reference data;

[0050] Acquire a first chromosome number, a first upstream position, and a first downstream position corresponding to the suboptimal reference data based on the suboptimal reference data;

[0051] According to the sequence of words to be searched, the text corresponding to the chromosome number in the sequence of words to be searched is obtained to obtain the chromosome number to be tested;

[0052] Determine whether the chromosome number to be tested is consistent with the first chromosome number;

[0053] If the chromosome number to be tested is consistent with the first chromosome number, a standard variation fragment is obtained based on the first upstream position and the first downstream position, a variation fragment to be tested is obtained based on the copy number variation data, and an overlap coefficient is obtained based on the standard variation fragment and the variation fragment to be tested, wherein the overlap coefficient is a percentage value of the variation fragment to be tested and the standard variation fragment, and if the overlap coefficient is greater than or equal to a preset overlap threshold, the suboptimal reference data is retained, otherwise, the suboptimal reference data is discarded;

[0054] If the chromosome number to be tested is inconsistent with the first chromosome number, the suboptimal reference data is discarded;

[0055] The retained suboptimal reference data are aggregated to obtain a second optimized similarity set, wherein the second optimized similarity set includes zero, one or more suboptimal reference data.

[0056] Optionally, obtaining the analysis report based on the optimized similarity set and the analysis report unit includes:

[0057] Determining whether the optimized similarity set is an empty set;

[0058] If the optimized similarity set is an empty set, the analysis report unit issues a no-result warning, adds the copy number variation data to the local database based on the no-result warning prompt, and creates a unit analysis report corresponding to the copy number variation data based on the copy number variation data, wherein the unit analysis report includes: chromosome number, upstream position, downstream position, copy number, variation type, fragment size, copy number, pathogenicity level, clinical significance, references and genome annotation files;

[0059] If the optimized similarity set is not an empty set, the optimized similarity values ​​are sequentially extracted from the optimized similarity set, and the following operations are performed on the extracted optimized similarity values:

[0060] Based on the extracted optimized similarity value, the standard text corresponding to the extracted optimized similarity value is called, and based on the standard text and the search database, the search result corresponding to the standard text is obtained to obtain a unit analysis report;

[0061] Aggregate one or more unit analysis reports to obtain the analysis report corresponding to the copy number variation data.

[0062] In order to solve the above problems, the present invention also provides an automated analysis system for genome copy number variation, the system comprising:

[0063] A data transmission unit module, used for constructing a copy number acquisition window, receiving copy number variation data based on the copy number acquisition window, and sending the copy number variation data to a pre-constructed local database, wherein the copy number variation data includes a chromosome number, an upstream position, a downstream position, and a copy number, and the local database includes: a data transmission unit, a text processing unit, and an analysis report unit, and confirming that the copy number variation data has been completely received based on the data transmission unit, wherein the data transmission unit includes: a cache unit, a monitoring unit, and a feedback unit;

[0064] A text comparison module, used for obtaining a text to be searched corresponding to the copy number variation data by using the copy number variation data and the text processing unit, constructing a standard data set by using a pre-constructed search database, and obtaining a standard text set based on the standard data set, wherein the standard data set includes a plurality of standard data, the standard data matches the search results pre-constructed in the search database one by one, the standard text set includes a plurality of standard texts, the standard texts correspond one by one to the standard data corresponding to the standard texts, extracting standard texts from the standard text set in sequence based on a pre-constructed text comparison unit, calculating similarity values ​​based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be searched, obtaining a plurality of similarity values, summarizing the plurality of similarity values ​​and performing a sorting operation on the plurality of similarity values, obtaining a similarity set, wherein a descending sorting operation is performed on all similarity values ​​in the similarity set, and a screening operation is performed on the similarity set using a preset similarity threshold to obtain an optimized similarity set;

[0065] The analysis report generation module is used to obtain the analysis report based on the optimized similarity set and the analysis report unit, send the analysis report to the pre-built report review unit, and complete the automated analysis of genome copy number variation based on the report review unit.

[0066] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0067] at least one processor; and,

[0068] a memory communicatively connected to the at least one processor; wherein,

[0069] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the above-mentioned automated analysis method for genome copy number variation.

[0070] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned automated analysis method for genome copy number variation.

[0071] Compared with the problems described in the background technology, the embodiments of the present invention establish a copy number acquisition window, receive copy number variation data based on the copy number acquisition window, send the copy number variation data to a pre-built local database, and confirm that the copy number variation data has been completely received based on the data transmission unit. In the embodiments of the present invention, the data transmission unit is used to avoid data loss and data errors caused by slow subsequent processing, and status feedback is performed on the transmission of copy number variation data, thereby reducing the occurrence of data non-transmission and other situations during the data transmission process, thereby improving the stability of the system. A standard data set is constructed using a pre-constructed retrieval database, a standard text set is obtained based on the standard data set, standard texts are extracted from the standard text set in sequence based on a pre-constructed text comparison unit, similarity values ​​are calculated based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be retrieved, multiple similarity values ​​are obtained, the multiple similarity values ​​are summarized and sorted to obtain a similarity set. The embodiment of the present invention identifies the data in the existing database and converts it into text for identification. At the same time, the copy number variation data collected by the experimenter is also converted into the text to be retrieved, and the retrieval of the copy number variation data is completed by comparing the texts, thereby solving the problem that the experimenter needs to rewrite the copy number variation data according to the data format required by different databases when searching for data. A screening operation is performed on the similarity set using a preset similarity threshold to obtain an optimized similarity set, an analysis report is obtained based on the optimized similarity set and an analysis report unit, the analysis report is sent to a pre-built report review unit, and automatic analysis of genome copy number variation is completed based on the report review unit. In the embodiment of the present invention, the similarity threshold is used to eliminate content that is not expected to be retrieved by the text to be retrieved, while retaining data with an overlap coefficient greater than the overlap threshold, so that the copy number variation impact results between two gene fragments can be referenced to each other, and a report that can be consulted is generated at the same time, which solves the problem of using text comparison to retrieve copy number variation data and optimizing the search results based on the text comparison results. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A schematic diagram of a process for an automated analysis method of genome copy number variation provided by an embodiment of the present invention;

[0073] Figure 2 A schematic diagram of a process for obtaining an analysis report based on an optimized similarity set and an analysis report unit in an automated analysis method for genome copy number variation provided by an embodiment of the present invention;

[0074] Figure 3 A functional module diagram of a system for automatically analyzing genome copy number variation provided by one embodiment of the present invention;

[0075] Figure 4A schematic diagram of the structure of an electronic device for implementing the automated analysis method of genome copy number variation provided in one embodiment of the present invention.

[0076] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0077] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0078] The embodiment of the present application provides an automated analysis method for genome copy number variation. The execution subject of the automated analysis method for genome copy number variation includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the automated analysis method for genome copy number variation can be executed by software or hardware installed in a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0079] Embodiment 1:

[0080] Reference Figure 1 FIG. 1 is a flow chart of an automated analysis method for genome copy number variation provided by an embodiment of the present invention. In this embodiment, the automated analysis method for genome copy number variation includes:

[0081] S1. Construct a copy number acquisition window, receive copy number variation data based on the copy number acquisition window, and send the copy number variation data to a pre-constructed local database, wherein the copy number variation data includes chromosome number, upstream position, downstream position and copy number, and the local database includes: a data transmission unit, a text processing unit and an analysis report unit.

[0082] It should be noted that, in an embodiment of the present invention, the copy number acquisition window includes: a chromosome number window, an upstream position window, a downstream position window and a copy number window. The copy number acquisition window is a window for experimenters to enter query information when querying genome copy number variation, the chromosome number window is a window for experimenters to enter the chromosome in which the genome copy number variation appears, the upstream position window is a window for experimenters to enter the genome copy number variation in the upstream position of the chromosome fragment, the downstream position window is a window for experimenters to enter the genome copy number variation in the downstream position of the chromosome fragment, and the copy number window is a window for experimenters to enter the genome copy number variation in the chromosome fragment. The copy number window is a window for experimenters to enter the copy number of the variation in the chromosome fragment. Among them, the chromosome number is the number of the chromosome, and the upstream position, downstream position and copy number are all special terms in the genome copy number variation, which are used to describe the position where the copy number variation appears in the genome fragment, and will not be repeated here.

[0083] It can be understood that the local database is a local database used for genome copy number variation data analysis, the data transmission unit is a unit used to transmit copy number variation data, the text processing unit is a unit that converts copy number variation data into text and retrieves results based on the text, and the analysis report unit is a unit used to generate an analysis report.

[0084] S2. Confirming that the copy number variation data has been completely received based on the data transmission unit, wherein the data transmission unit includes: a cache unit, a monitoring unit and a feedback unit, and using the copy number variation data and the text processing unit to obtain the text to be retrieved corresponding to the copy number variation data.

[0085] Further, the step of confirming that the copy number variation data has been completely received based on the data transmission unit includes:

[0086] Wherein, the text processing unit includes a text buffer unit, a text monitoring unit and a text comparison unit;

[0087] After the copy number variation data is sent to the cache unit, the copy number variation is sent to the text monitoring unit based on the cache unit, and after the text monitoring unit confirms receipt of the copy number variation data, the data to be verified is obtained, and after the data to be verified is sent to the text cache unit, a confirmation message is obtained using the data to be verified, and the confirmation message is sent to the feedback unit;

[0088] The feedback unit and the monitoring unit confirm that the copy number variation data has been completely received.

[0089] It should be noted that the cache unit is a unit for caching data in the data transmission unit. After receiving the copy number variation data through the copy number acquisition window, the copy number variation data is sent to the data cache unit to avoid data loss and data errors caused by slow subsequent processing. The monitoring unit is a unit that monitors the process of transmitting the copy number variation data to the text processing unit. The feedback unit is a unit used to confirm the receipt of the copy number variation data in the process of the text processing unit receiving the copy number variation data and feedback it to the data transmission unit. Its function is to provide status feedback on the transmission of the copy number variation data, thereby reducing the situation of data not being transmitted during the data transmission process and improving the stability of the system.

[0090] It is understandable that the text cache unit is a unit that caches data in the text processing unit, and plays a buffering role in the data processing process. The text monitoring unit is a unit used to monitor whether the copy number variation data is received normally. The text comparison unit is a unit used to retrieve the relevant content corresponding to the copy number variation data by calculating the text similarity.

[0091] It is understandable that the data to be verified is the copy number variation data received by the text monitoring unit. When the text monitoring unit receives the copy number variation data, due to the influence of multiple factors during the data transmission process, there may be problems such as incomplete data and data errors, so it is necessary to verify the received data. The confirmation message is a message transmitted to the text monitoring unit along with the copy number variation data for confirming receipt.

[0092] Furthermore, the step of confirming that the copy number variation data has been completely received based on the feedback unit and the monitoring unit includes:

[0093] After the feedback unit determines that the confirmation message is consistent with the preset verification message, the monitoring unit obtains the transmission rate and the integrity hash value;

[0094] Comparing the transmission rate with a preset rate threshold, if the transmission rate is less than the transmission threshold, prompting that the transmission time is too long based on the monitoring unit, otherwise, confirming that the transmission rate is normal;

[0095] Confirm that the copy number variation data has been completely received based on the integrity hash value.

[0096] It should be noted that the check message is a message used in the data transmission unit to verify whether the copy number variation data can be correctly transmitted. If the confirmation message is consistent with the check message, it means that the copy number variation data has been transmitted to the text processing unit. The transmission rate is the rate at which the copy number variation data is transmitted from the data transmission unit to the text processing unit. If the transmission rate is less than the transmission threshold, it may be due to network jams, network congestion and other problems. Therefore, the transmission rate is detected to ensure the stability of the system that transmits the copy number variation data. The integrity hash value is a hash value used to verify whether the data is complete during the copy number variation data transmission process. The hash value is a unique and extremely compact numerical representation obtained by calculating the data through a hash algorithm. The hash value is irreversible and cannot be tampered with. During the transmission of the copy number variation data from the data transmission unit to the text processing unit, the hash value corresponding to the copy number variation data received in the text processing unit is compared with the hash value of the copy number variation data sent by the data transmission unit. If they are consistent, it can be shown that the data has not been tampered with during the transmission process, thereby verifying the integrity of the data.

[0097] Further, the confirming that the copy number variation data has been completely received based on the integrity hash value includes:

[0098] Comparing the integrity hash value with a preset verification hash value;

[0099] If the integrity hash value is consistent with the verification hash value, it is confirmed that the text monitoring unit has completely received the copy number variation data;

[0100] If the integrity hash value is inconsistent with the verification hash value, the packet loss data is obtained based on the monitoring unit, the cache unit and the text cache unit, and the supplementary data is obtained using the monitoring unit and the packet loss data. After a packet loss recovery operation is performed on the data to be verified based on the supplementary data, the repaired data is obtained, and it is confirmed that the repaired data is the data to be verified. The process returns to the above step of obtaining a confirmation message using the data to be verified until it is confirmed that the text monitoring unit has completely received the copy number variation data.

[0101] It is understandable that the packet loss data is data lost during the transmission of the copy number variation data from the data transmission unit to the text processing unit. The packet loss recovery operation is a prior art and will not be described in detail here. The repaired data is the data obtained after performing the packet loss recovery operation on the to-be-tested data.

[0102] It should be noted that the embodiment of the present invention verifies the integrity of the data to be verified. If the data to be verified is incomplete, it is necessary to supplement the missing data in the data to be verified, thereby generating new data to be verified, and re-verifying the repaired data to be verified until the copy number variation data is completely transmitted to the text processing unit, thereby ensuring the integrity of the data during the data transmission process, enabling the text processing unit to receive complete data, and improving the fault tolerance of the system.

[0103] S3. Use a pre-constructed retrieval database to construct a standard data set, and obtain a standard text set based on the standard data set, wherein the standard data set includes multiple standard data, and the standard data is matched one-to-one with the retrieval results pre-constructed in the retrieval database, and the standard text set includes multiple standard texts, and the standard texts correspond one-to-one with the standard data corresponding to the standard texts.

[0104] Furthermore, the standard data is:

[0105] Z n ={A,B,C,D}

[0106] Among them, Z n represents the standard data in the standard data set, n represents the sequence number of the standard data in the standard data set, A represents the chromosome number in the standard data, B represents the upstream position in the standard data, C represents the downstream position in the standard data, and D represents the copy number in the standard data.

[0107] It is understandable that the retrieval database includes multiple existing databases. Optionally, the multiple existing databases include: Database of Genomic Variants (DGV), Clinical Genome (ClinGen), Online Mendelian Inheritance in Man (OMIM), etc.

[0108] It should be noted that different databases have different data storage and data upload methods, which means that when reading data or searching, different databases need to convert data formats or data writing methods to correctly search. The embodiment of the present invention marks the data in the existing database and converts it into text for marking. At the same time, the copy number variation data collected by the experimenter is converted into text to be searched, and the copy number variation data is searched by comparing the texts, thereby solving the problem that the experimenter needs to rewrite the copy number variation data according to the data format required by different databases when searching data.

[0109] It is understandable that the standard data set is the data set in the search database, and the standard text set is a set used to identify the standard data set, so the standard text corresponds to the standard data one by one. The standard text is the text corresponding to the data in the search database. In the embodiment of the present invention, the standard text is limited. For example, the standard text is: "Chromosome 17, upstream position 1234, downstream position 4567, copy number 3", and the corresponding standard data is: Z n ={17, 1234, 4567, 3}.

[0110] S4. Extracting standard texts from the standard text set in sequence based on a pre-constructed text comparison unit, calculating similarity values ​​based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be retrieved, and obtaining multiple similarity values.

[0111] It should be noted that the text to be retrieved is a text obtained based on copy number variation data, and the format of the text to be retrieved is consistent with that of the standard text. For example, the text to be retrieved is: "Chromosome 17, upstream position 1234, downstream position 4567, copy number 3". In the embodiment of the present invention, the form of the text is limited, and its purpose is to be able to perform result queries more quickly in the retrieval database. The similarity value is a numerical value of the similarity between the text to be retrieved and the standard text calculated using the text similarity calculation formula. The higher the similarity value, the more similar the text to be retrieved is to the standard text.

[0112] Furthermore, the similarity value is calculated based on each extracted standard text, the pre-constructed text similarity calculation formula and the text to be retrieved, including:

[0113] Using a pre-built text segmentation method, a text segmentation operation is performed on the text to be searched to obtain a sequence of words to be searched.

[0114] The sequence of words to be searched includes four words to be searched, and the sequence of words to be searched is: M = {α, β, γ, δ}

[0115] Wherein, M represents the sequence of words to be searched, α represents the text corresponding to the chromosome number in the sequence of words to be searched, β represents the text corresponding to the upstream position in the copy number variation data, γ represents the text corresponding to the downstream position in the copy number variation data, and δ represents the text corresponding to the copy number in the copy number variation data;

[0116] A weight matrix of the words to be tested is constructed based on the sequence of words to be searched, and a weight matrix of the standard words is constructed based on the extracted standard text, wherein the order of the matrix elements in the weight matrix of the words to be tested corresponds to the words to be searched in the sequence of words to be searched, and the weight matrix of the words to be tested is:

[0117] x z =(x z·1 , xz·2 , x z·3 , x z·4 )

[0118] Among them, x z Represents the weight matrix of the word to be tested, x z·1 Indicates the weight of the text corresponding to the chromosome number in the text to be retrieved, x z·2 represents the weight of the text corresponding to the upstream position in the text to be retrieved, x z·3 represents the weight of the text corresponding to the downstream position in the text to be retrieved, x z·4 The weight of the text corresponding to the number of copies in the text to be retrieved;

[0119] The similarity value between the extracted standard text and the text to be retrieved is calculated based on the weight matrix of the test word, the weight matrix of the standard word and the text similarity calculation formula, wherein the text similarity calculation formula is:

[0120]

[0121] Among them, X(x z , x m ) represents the similarity value between the extracted standard text and the text to be retrieved, x z represents the weight matrix of the words to be retrieved, f(z z·q ) represents the weight of the text corresponding to the qth search term in the test term weight matrix, q is a positive integer from 1 to 4, g(x z·q , x m ) represents the frequency of the qth search term in the standard text, |x m | represents the number of terms in the standard text, and |x m |=4,T avg represents the average term length of the standard text, b and k1 are both hyperparameters, k1∈[1.2, 2.0], b=0.75.

[0122] It should be noted that the pre-constructed text segmentation method is to divide the search text into search terms based on the word segmenter, but in the embodiment of the present invention, when constructing the search text, each search term has been separated by a comma, and restrictions have been made on the text form. The embodiment of the present invention believes that there is no dependency between the search terms, and the importance of each search term in the embodiment of the present invention is equal, so the use of the word segmenter to divide the search text is accelerated, wherein the use of the word segmenter is a prior art and will not be repeated here. The search term sequence is a sequence of words in the search text that are arranged based on the order of the search text.

[0123] For example, if the text to be searched is: "Chromosome 17, upstream position 1234, downstream position 4567, copy number 3", then the sequence of words to be searched is: [Chromosome 17, upstream position 1234, downstream position 4567, copy number 3], so the sequence of words to be searched corresponds to the content in the text to be searched. Taking "Chromosome 17, upstream position 1234, downstream position 4567, copy number 3" as an example, when performing text comparison, the embodiment of the present invention uses "Chromosome 17" as a word with characteristic meaning for text comparison, and in the standard text, the corresponding text set is also a text of the same form as "Chromosome 17", and irrelevant redundant information in the search process is reduced by restricting the text form.

[0124] It should be noted that the test word weight matrix is ​​the weight corresponding to the four texts in the sequence to be searched. Optionally, in the embodiment of the present invention, the weights of the four texts are equal. The standard word weight matrix is ​​the weight of the text content corresponding to the standard text. The acquisition method of the standard word weight matrix is ​​the same as that of the test word weight matrix, which will not be repeated here.

[0125] S5. Aggregate multiple similarity values ​​and perform a sorting operation on the multiple similarity values ​​to obtain a similarity set, wherein a descending sorting operation is performed on all similarity values ​​in the similarity set.

[0126] It can be understood that the descending sorting operation is to sort by numerical value, with the larger similarity value being placed in front and the smaller similarity value being placed in the back. When generating a report, the report corresponding to the standard data with the greatest similarity is displayed first.

[0127] S6. Perform a screening operation on the similarity set using a preset similarity threshold to obtain an optimized similarity set.

[0128] Furthermore, the method of performing a screening operation on the similarity set using a preset similarity threshold to obtain an optimized similarity set includes:

[0129] The similarity values ​​are sequentially extracted from the similarity set, and the following operations are performed on the extracted similarity values:

[0130] Comparing the extracted similarity value with a similarity threshold;

[0131] If the similarity value is greater than the similarity threshold, confirming that the similarity value is an optimized similarity value;

[0132] If the similarity value is less than or equal to the similarity threshold, confirming that the similarity value is a value to be re-verified;

[0133] Aggregating multiple values ​​to be re-verified to obtain a set to be re-verified, and using a pre-built overlap screening method to screen the set to be re-verified to obtain a second optimized similarity set;

[0134] A plurality of optimized similarity values ​​are aggregated to obtain a first optimized similarity set, and an optimized similarity set is obtained based on the first optimized similarity set and the second optimized similarity set.

[0135] It is understandable that the similarity set is a collection of multiple similarities, and the similarity threshold is the minimum value of the similarity between the text to be retrieved and the extracted standard text. If the similarity value is less than the similarity threshold, the embodiment of the present invention considers that the information corresponding to the extracted standard text is not the content expected to be retrieved by the text to be retrieved. However, when the overlap degree of two gene fragments reaches a certain value, the copy number variation between the two gene fragments can refer to each other. At this time, it is confirmed that the similarity value is the value to be re-verified. The value to be re-verified is the similarity value that needs to be further judged.

[0136] It should be noted that, in the embodiment of the present invention, the content in the database can be extracted through the standard data corresponding to the similarity value.

[0137] Furthermore, the method of using the pre-constructed overlap screening method to screen the to-be-re-verified set to obtain the second optimized similarity set includes:

[0138] Extract the values ​​to be re-verified from the set to be re-verified in sequence, and perform the following operations on the extracted values ​​to be re-verified:

[0139] Based on the extracted value to be re-verified, standard data corresponding to the extracted value to be re-verified is obtained to obtain suboptimal reference data;

[0140] Acquire a first chromosome number, a first upstream position, and a first downstream position corresponding to the suboptimal reference data based on the suboptimal reference data;

[0141] According to the sequence of words to be searched, the text corresponding to the chromosome number in the sequence of words to be searched is obtained to obtain the chromosome number to be tested;

[0142] Determine whether the chromosome number to be tested is consistent with the first chromosome number;

[0143] If the chromosome number to be tested is consistent with the first chromosome number, a standard variation fragment is obtained based on the first upstream position and the first downstream position, a variation fragment to be tested is obtained based on the copy number variation data, and an overlap coefficient is obtained based on the standard variation fragment and the variation fragment to be tested, wherein the overlap coefficient is a percentage value of the variation fragment to be tested and the standard variation fragment, and if the overlap coefficient is greater than or equal to a preset overlap threshold, the suboptimal reference data is retained, otherwise, the suboptimal reference data is discarded;

[0144] If the chromosome number to be tested is inconsistent with the first chromosome number, the suboptimal reference data is discarded;

[0145] The retained suboptimal reference data are aggregated to obtain a second optimized similarity set, wherein the second optimized similarity set includes zero, one or more similarity values ​​corresponding to zero, one or more suboptimal reference data.

[0146] It is understandable that the optimized similarity value is a similarity value greater than the similarity threshold. The to-be-re-verified set is a set of multiple to-be-re-verified values, and the second optimized similarity set includes multiple second optimized similarity values, and the second optimized similarity value is a similarity value corresponding to the suboptimal reference data. The optimized similarity set is a set of multiple similarity values ​​after screening.

[0147] It should be noted that the suboptimal reference data is the standard data corresponding to the extracted value to be re-verified, the first chromosome number is the chromosome number corresponding to the suboptimal reference data, the first upstream position and the first downstream position are respectively the upstream position and the downstream position corresponding to the suboptimal reference data, the chromosome number to be verified is the text corresponding to the chromosome number in the sequence of words to be searched, the standard variant fragment is the variant fragment of the genome copy number variation in the suboptimal reference data, and the variant fragment to be verified is the variant fragment in the copy number variation data. The overlap threshold is used to screen the fragment value that does not completely match the two upstream positions and the downstream positions, but has a high degree of overlap. When the overlap coefficient is greater than or equal to the overlap threshold, it is considered that the copy number variation between the two gene fragments can refer to each other.

[0148] Exemplarily, the copy number variation data is: chromosome 1, upstream position 1, downstream position 100, copy number 1. The suboptimal reference data is: chromosome 1, upstream position 2, downstream position 95, copy number 1. The overlap threshold is 90%. At this time, if the overlap coefficient between the copy number variation data and the suboptimal reference data is greater than the overlap threshold, it is considered that the suboptimal reference data can be used as the reference data of the copy number variation data, and the content corresponding to the suboptimal reference data can still be referenced. The suboptimal reference data is retained, and the similarity value corresponding to the suboptimal reference data is added to the second optimized similarity value set.

[0149] S7. Obtain an analysis report based on the optimized similarity set and the analysis report unit, send the analysis report to a pre-built report review unit, and complete automated analysis of genome copy number variation based on the report review unit.

[0150] It can be understood that the report review unit is a unit that is expected to be reviewed by a reviewer.

[0151] In another embodiment of the present invention, refer to Figure 2 As shown, the method of obtaining the analysis report based on the optimized similarity set and the analysis report unit includes:

[0152] S71, determining whether the optimized similarity set is an empty set;

[0153] S72. If the optimized similarity set is an empty set, the analysis report unit issues a no-result warning, adds the copy number variation data to the local database based on the no-result warning prompt, and creates a unit analysis report corresponding to the copy number variation data based on the copy number variation data, wherein the unit analysis report includes: chromosome number, upstream position, downstream position, copy number, variation type, fragment size, pathogenicity grade, clinical significance, references and genome annotation files;

[0154] S73: If the optimized similarity set is not an empty set, extract optimized similarity values ​​from the optimized similarity set in sequence, and perform the following operations on the extracted optimized similarity values:

[0155] Based on the extracted optimized similarity value, the standard text corresponding to the extracted optimized similarity value is called, and based on the standard text and the search database, the search result corresponding to the standard text is obtained to obtain a unit analysis report;

[0156] S74. Summarize one or more unit analysis reports to obtain an analysis report corresponding to the copy number variation data.

[0157] It should be noted that the no result warning is used to prompt that the information corresponding to the copy number variation data is not included in the search database. This means that the copy number variation data is not entered in the search database, so the information corresponding to the copy number variation data needs to be added manually. Variation types include: duplication, insertion, confirmation, and inversion. The fragment size is the size between the upstream position and the downstream position.

[0158] Furthermore, the pathogenicity level includes: pathogenicity level, non-pathogenicity level, and the pathogenicity level is the level of pathogenicity of the current variant based on the retrieval database to obtain the copy number variation data and the whole genome incidence rate. If the whole genome incidence rate is greater than or equal to one percent, the copy number variation data is confirmed to be a non-pathogenic level, otherwise, the copy number variation data is confirmed to be a pathogenic level.

[0159] It is understandable that the unit analysis report is a standard text and a search database is used to obtain the search results corresponding to the standard text. The unit analysis reports are summarized to obtain the analysis report, which is conducive to centralized viewing of the report content.

[0160] Compared with the problems described in the background technology, the embodiments of the present invention establish a copy number acquisition window, receive copy number variation data based on the copy number acquisition window, send the copy number variation data to a pre-built local database, and confirm that the copy number variation data has been completely received based on the data transmission unit. In the embodiments of the present invention, the data transmission unit is used to avoid data loss and data errors caused by slow subsequent processing, and status feedback is performed on the transmission of copy number variation data, thereby reducing the occurrence of data non-transmission and other situations during the data transmission process, thereby improving the stability of the system. A standard data set is constructed using a pre-constructed retrieval database, a standard text set is obtained based on the standard data set, standard texts are extracted from the standard text set in sequence based on a pre-constructed text comparison unit, similarity values ​​are calculated based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be retrieved, multiple similarity values ​​are obtained, the multiple similarity values ​​are summarized and sorted to obtain a similarity set. The embodiment of the present invention identifies the data in the existing database and converts it into text for identification. At the same time, the copy number variation data collected by the experimenter is also converted into the text to be retrieved, and the retrieval of the copy number variation data is completed by comparing the texts, thereby solving the problem that the experimenter needs to rewrite the copy number variation data according to the data format required by different databases when searching for data. A screening operation is performed on the similarity set using a preset similarity threshold to obtain an optimized similarity set, an analysis report is obtained based on the optimized similarity set and an analysis report unit, the analysis report is sent to a pre-built report review unit, and automatic analysis of genome copy number variation is completed based on the report review unit. In the embodiment of the present invention, the similarity threshold is used to eliminate content that is not expected to be retrieved by the text to be retrieved, while retaining data with an overlap coefficient greater than the overlap threshold, so that the copy number variation impact results between two gene fragments can be referenced to each other, and a report that can be consulted is generated at the same time, which solves the problem of using text comparison to retrieve copy number variation data and optimizing the search results based on the text comparison results.

[0161] Embodiment 2:

[0162] like Figure 3 , which is a functional module diagram of an automated genome copy number variation analysis system provided by an embodiment of the present invention.

[0163] The automated genome copy number variation analysis system 100 of the present invention can be installed in an electronic device. According to the functions implemented, the automated genome copy number variation analysis system 100 may include a data transmission unit module 101, a text comparison module 102, and an analysis report generation module 103. The module of the present invention may also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0164] The data transmission unit module 101 is used to construct a copy number acquisition window, receive copy number variation data based on the copy number acquisition window, and send the copy number variation data to a pre-constructed local database, wherein the copy number variation data includes a chromosome number, an upstream position, a downstream position, and a copy number, and the local database includes: a data transmission unit, a text processing unit, and an analysis report unit, based on the data transmission unit confirming that the copy number variation data has been completely received, wherein the data transmission unit includes: a cache unit, a monitoring unit, and a feedback unit;

[0165] The text comparison module 102 is used to use the copy number variation data and the text processing unit to obtain the text to be searched corresponding to the copy number variation data, use the pre-constructed search database to construct a standard data set, and obtain a standard text set based on the standard data set, wherein the standard data set includes a plurality of standard data, and the standard data matches the search results pre-constructed in the search database one by one, and the standard text set includes a plurality of standard texts, and the standard texts correspond to the standard data corresponding to the standard texts one by one, and the standard texts are sequentially extracted from the standard text set based on the pre-constructed text comparison unit, and similarity values ​​are calculated based on each extracted standard text, the pre-constructed text similarity calculation formula and the text to be searched to obtain a plurality of similarity values, and the plurality of similarity values ​​are summarized and sorted to obtain a similarity set, wherein all similarity values ​​in the similarity set are sorted in descending order, and the similarity set is screened using a preset similarity threshold to obtain an optimized similarity set;

[0166] The analysis report generation module 103 is used to obtain an analysis report based on the optimized similarity set and the analysis report unit, send the analysis report to a pre-built report review unit, and complete the automated analysis of genome copy number variation based on the report review unit.

[0167] In detail, each module in the automated genome copy number variation analysis system 100 in the embodiment of the present invention is used in the same manner as described above. Figure 1 The same technical means are used as the automated analysis method for genome copy number variation described in , and can produce the same technical effects, so they will not be repeated here.

[0168] Embodiment 3:

[0169] like Figure 4 , is a schematic diagram of the structure of an electronic device for implementing an automated analysis method for genome copy number variation provided by an embodiment of the present invention.

[0170] The electronic device 1 may include a processor 10, a memory 11, a bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as an automated genome copy number variation analysis program.

[0171] Wherein, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. The memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a mobile hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the automatic analysis program of the genome copy number variation, but also be used to temporarily store data that has been output or is to be output.

[0172] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules (such as genome copy number variation automated analysis programs, etc.) stored in the memory 11, and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.

[0173] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0174] Figure 4 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 4 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0175] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0176] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0177] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0178] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0179] The automatic genome copy number variation analysis program stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0180] Constructing a copy number acquisition window, receiving copy number variation data based on the copy number acquisition window, and sending the copy number variation data to a pre-constructed local database, wherein the copy number variation data includes a chromosome number, an upstream position, a downstream position, and a copy number, and the local database includes: a data transmission unit, a text processing unit, and an analysis report unit;

[0181] Based on the data transmission unit confirming that the copy number variation data has been completely received, wherein the data transmission unit includes: a cache unit, a monitoring unit and a feedback unit, using the copy number variation data and the text processing unit to obtain the to-be-searched text corresponding to the copy number variation data;

[0182] A standard data set is constructed using a pre-constructed search database, and a standard text set is obtained based on the standard data set, wherein the standard data set includes a plurality of standard data, and the standard data is matched one-to-one with the search results pre-constructed in the search database, and the standard text set includes a plurality of standard texts, and the standard texts are in one-to-one correspondence with the standard data corresponding to the standard texts;

[0183] Extracting standard texts from the standard text set in sequence based on a pre-constructed text comparison unit, calculating similarity values ​​based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be retrieved, and obtaining multiple similarity values;

[0184] Aggregating multiple similarity values ​​and performing a sorting operation on the multiple similarity values ​​to obtain a similarity set, wherein a descending sorting operation is performed on all similarity values ​​in the similarity set;

[0185] Using a preset similarity threshold to perform a screening operation on the similarity set to obtain an optimized similarity set;

[0186] Obtaining analysis reports based on the optimized similarity set and analysis report unit;

[0187] The analysis report is sent to a pre-built report review unit, and the automated analysis of genome copy number variation is completed based on the report review unit.

[0188] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0189] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0190] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0191] Constructing a copy number acquisition window, receiving copy number variation data based on the copy number acquisition window, and sending the copy number variation data to a pre-constructed local database, wherein the copy number variation data includes a chromosome number, an upstream position, a downstream position, and a copy number, and the local database includes: a data transmission unit, a text processing unit, and an analysis report unit;

[0192] Based on the data transmission unit confirming that the copy number variation data has been completely received, wherein the data transmission unit includes: a cache unit, a monitoring unit and a feedback unit, using the copy number variation data and the text processing unit to obtain the to-be-searched text corresponding to the copy number variation data;

[0193] A standard data set is constructed using a pre-constructed search database, and a standard text set is obtained based on the standard data set, wherein the standard data set includes a plurality of standard data, and the standard data is matched one-to-one with the search results pre-constructed in the search database, and the standard text set includes a plurality of standard texts, and the standard texts are in one-to-one correspondence with the standard data corresponding to the standard texts;

[0194] Extracting standard texts from the standard text set in sequence based on a pre-constructed text comparison unit, calculating similarity values ​​based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be retrieved, and obtaining multiple similarity values;

[0195] Aggregating multiple similarity values ​​and performing a sorting operation on the multiple similarity values ​​to obtain a similarity set, wherein a descending sorting operation is performed on all similarity values ​​in the similarity set;

[0196] Using a preset similarity threshold to perform a screening operation on the similarity set to obtain an optimized similarity set;

[0197] Obtaining analysis reports based on the optimized similarity set and analysis report unit;

[0198] The analysis report is sent to a pre-built report review unit, and the automated analysis of genome copy number variation is completed based on the report review unit.

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

[0200] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0201] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0202] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for automated analysis of genome copy number variation, characterized in that: The method comprises Constructing a copy number acquisition window, receiving copy number variation data based on the copy number acquisition window, and sending the copy number variation data to a pre-constructed local database, wherein the copy number variation data includes a chromosome number, an upstream position, a downstream position, and a copy number, and the local database includes: a data transmission unit, a text processing unit, and an analysis report unit; Based on the data transmission unit confirming that the copy number variation data has been completely received, wherein the data transmission unit includes: a cache unit, a monitoring unit and a feedback unit, using the copy number variation data and the text processing unit to obtain the to-be-searched text corresponding to the copy number variation data; A standard data set is constructed using a pre-constructed search database, and a standard text set is obtained based on the standard data set, wherein the standard data set includes a plurality of standard data, and the standard data is matched one-to-one with the search results pre-constructed in the search database, and the standard text set includes a plurality of standard texts, and the standard texts are in one-to-one correspondence with the standard data corresponding to the standard texts; Extracting standard texts from the standard text set in sequence based on a pre-constructed text comparison unit, calculating similarity values ​​based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be retrieved, and obtaining multiple similarity values; Aggregating multiple similarity values ​​and performing a sorting operation on the multiple similarity values ​​to obtain a similarity set, wherein a descending sorting operation is performed on all similarity values ​​in the similarity set; Using a preset similarity threshold to perform a screening operation on the similarity set to obtain an optimized similarity set; Obtaining analysis reports based on the optimized similarity set and analysis report unit; The analysis report is sent to a pre-built report review unit, and the automated analysis of genome copy number variation is completed based on the report review unit.

2. The automated analysis method for genome copy number variation according to claim 1, characterized in that: The data transmission unit confirms that the copy number variation data has been completely received, include: Wherein, the text processing unit includes a text buffer unit, a text monitoring unit and a text comparison unit; After the copy number variation data is sent to the cache unit, the copy number variation is sent to the text monitoring unit based on the cache unit, and after the text monitoring unit confirms receipt of the copy number variation data, the data to be verified is obtained, and after the data to be verified is sent to the text cache unit, a confirmation message is obtained using the data to be verified, and the confirmation message is sent to the feedback unit; The feedback unit and the monitoring unit confirm that the copy number variation data has been completely received.

3. The method for automated analysis of genomic copy number variation according to claim 2, characterized in that: The step of confirming that the copy number variation data has been completely received based on the feedback unit and the monitoring unit includes: After the feedback unit determines that the confirmation message is consistent with the preset verification message, the monitoring unit obtains the transmission rate and the integrity hash value; Comparing the transmission rate with a preset rate threshold, if the transmission rate is less than the transmission threshold, prompting that the transmission time is too long based on the monitoring unit, otherwise, confirming that the transmission rate is normal; Confirm that the copy number variation data has been completely received based on the integrity hash value.

4. The method for automated analysis of genomic copy number variation according to claim 3, characterized in that: The step of confirming that the copy number variation data has been completely received based on the integrity hash value includes: Comparing the integrity hash value with a preset verification hash value; If the integrity hash value is consistent with the verification hash value, it is confirmed that the text monitoring unit has completely received the copy number variation data; If the integrity hash value is inconsistent with the verification hash value, the packet loss data is obtained based on the monitoring unit, the cache unit and the text cache unit, and the supplementary data is obtained using the monitoring unit and the packet loss data. After a packet loss recovery operation is performed on the data to be verified based on the supplementary data, the repaired data is obtained, and it is confirmed that the repaired data is the data to be verified. The process returns to the above step of obtaining a confirmation message using the data to be verified until it is confirmed that the text monitoring unit has completely received the copy number variation data.

5. The automated analysis method for genome copy number variation according to claim 1, characterized in that: The standard data are: Z m ={A,B,C,D} Among them, Z n represents the standard data in the standard data set, n represents the sequence number of the standard data in the standard data set, A represents the chromosome number in the standard data, B represents the upstream position in the standard data, C represents the downstream position in the standard data, and D represents the copy number in the standard data.

6. The method for automated analysis of genomic copy number variation according to claim 5, characterized in that: The similarity value is calculated based on each extracted standard text, the pre-constructed text similarity calculation formula and the text to be retrieved, including: Using a pre-built text segmentation method, a text segmentation operation is performed on the text to be searched to obtain a sequence of words to be searched. The sequence of words to be searched includes four words to be searched, and the sequence of words to be searched is: M = {α, β, γ, δ} Wherein, M represents the sequence of words to be searched, α represents the text corresponding to the chromosome number in the sequence of words to be searched, β represents the text corresponding to the upstream position in the copy number variation data, γ represents the text corresponding to the downstream position in the copy number variation data, and δ represents the text corresponding to the copy number in the copy number variation data; A weight matrix of the words to be tested is constructed based on the sequence of words to be searched, and a weight matrix of the standard words is constructed based on the extracted standard text, wherein the order of the matrix elements in the weight matrix of the words to be tested corresponds to the words to be searched in the sequence of words to be searched, and the weight matrix of the words to be tested is: x z =(x z·1 ,x z·2 ,x z·3 ,x z·4 ) Among them, x z Represents the weight matrix of the word to be tested, x z·1 Indicates the weight of the text corresponding to the chromosome number in the text to be retrieved, x z·2 Indicates the weight of the text corresponding to the upstream position in the text to be retrieved, x z·3 represents the weight of the text corresponding to the downstream position in the text to be retrieved, x z·4 The weight of the text corresponding to the number of copies in the text to be retrieved; The similarity value between the extracted standard text and the text to be retrieved is calculated based on the weight matrix of the test word, the weight matrix of the standard word and the text similarity calculation formula, wherein the text similarity calculation formula is: Among them, X(x z , x m ) represents the similarity value between the extracted standard text and the text to be retrieved, x z Represents the weight matrix of the words to be tested in the text to be retrieved, f(x z·q ) represents the weight of the text corresponding to the qth search term in the test term weight matrix, q is a positive integer from 1 to 4, g(x z·q , x m ) represents the frequency of the qth search term in the standard text, |x m | represents the number of terms in the standard text, and |x m |=4,T avg represents the average term length of the standard text, b and k1 are both hyperparameters, k1∈[1.2, 2.0], b=0.

75.

7. The method for automated analysis of genomic copy number variation according to claim 6, characterized in that: The method of performing a screening operation on the similarity set using a preset similarity threshold to obtain an optimized similarity set includes: The similarity values ​​are sequentially extracted from the similarity set, and the following operations are performed on the extracted similarity values: Comparing the extracted similarity value with a similarity threshold; If the similarity value is greater than the similarity threshold, confirming that the similarity value is an optimized similarity value; If the similarity value is less than or equal to the similarity threshold, confirming that the similarity value is a value to be re-verified; Aggregating multiple values ​​to be re-verified to obtain a set to be re-verified, and using a pre-built overlap screening method to screen the set to be re-verified to obtain a second optimized similarity set; A plurality of optimized similarity values ​​are aggregated to obtain a first optimized similarity set, and an optimized similarity set is obtained based on the first optimized similarity set and the second optimized similarity set.

8. The method for automated analysis of genomic copy number variation according to claim 7, wherein: The method of using the pre-built overlap screening method to screen the to-be-re-verified set to obtain a second optimized similarity set includes: Extract the values ​​to be re-verified from the set to be re-verified in sequence, and perform the following operations on the extracted values ​​to be re-verified: Based on the extracted value to be re-verified, standard data corresponding to the extracted value to be re-verified is obtained to obtain suboptimal reference data; Acquire a first chromosome number, a first upstream position, and a first downstream position corresponding to the suboptimal reference data based on the suboptimal reference data; According to the sequence of words to be searched, the text corresponding to the chromosome number in the sequence of words to be searched is obtained to obtain the chromosome number to be tested; Determine whether the chromosome number to be tested is consistent with the first chromosome number; If the chromosome number to be tested is consistent with the first chromosome number, a standard variation fragment is obtained based on the first upstream position and the first downstream position, a variation fragment to be tested is obtained based on the copy number variation data, and an overlap coefficient is obtained based on the standard variation fragment and the variation fragment to be tested, wherein the overlap coefficient is a percentage value of the variation fragment to be tested and the standard variation fragment, and if the overlap coefficient is greater than or equal to a preset overlap threshold, the suboptimal reference data is retained, otherwise, the suboptimal reference data is discarded; If the chromosome number to be tested is inconsistent with the first chromosome number, the suboptimal reference data is discarded; The retained suboptimal reference data are aggregated to obtain a second optimized similarity set, wherein the second optimized similarity set includes zero, one or more suboptimal reference data.

9. The automated analysis method for genomic copy number variation according to any one of claims 1 to 8, characterized in that: The obtaining of the analysis report based on the optimized similarity set and the analysis report unit includes: Determining whether the optimized similarity set is an empty set; If the optimized similarity set is an empty set, the analysis report unit issues a no-result warning, adds the copy number variation data to the local database based on the no-result warning prompt, and creates a unit analysis report corresponding to the copy number variation data based on the copy number variation data, wherein the unit analysis report includes: chromosome number, upstream position, downstream position, copy number, variation type, fragment size, copy number, pathogenicity level, clinical significance, references and genome annotation files; If the optimized similarity set is not an empty set, the optimized similarity values ​​are sequentially extracted from the optimized similarity set, and the following operations are performed on the extracted optimized similarity values: Based on the extracted optimized similarity value, the standard text corresponding to the extracted optimized similarity value is called, and based on the standard text and the search database, the search result corresponding to the standard text is obtained to obtain a unit analysis report; Aggregate one or more unit analysis reports to obtain the analysis report corresponding to the copy number variation data.

10. An automated analysis system for genome copy number variation, characterized in that: The system comprises: A data transmission unit module, used for constructing a copy number acquisition window, receiving copy number variation data based on the copy number acquisition window, and sending the copy number variation data to a pre-constructed local database, wherein the copy number variation data includes a chromosome number, an upstream position, a downstream position, and a copy number, and the local database includes: a data transmission unit, a text processing unit, and an analysis report unit, and confirming that the copy number variation data has been completely received based on the data transmission unit, wherein the data transmission unit includes: a cache unit, a monitoring unit, and a feedback unit; A text comparison module, used for obtaining a text to be searched corresponding to the copy number variation data by using the copy number variation data and the text processing unit, constructing a standard data set by using a pre-constructed search database, and obtaining a standard text set based on the standard data set, wherein the standard data set includes a plurality of standard data, the standard data matches the search results pre-constructed in the search database one by one, the standard text set includes a plurality of standard texts, the standard texts correspond one by one to the standard data corresponding to the standard texts, extracting standard texts from the standard text set in sequence based on a pre-constructed text comparison unit, calculating similarity values ​​based on each extracted standard text, a pre-constructed text similarity calculation formula and the text to be searched, obtaining a plurality of similarity values, summarizing the plurality of similarity values ​​and performing a sorting operation on the plurality of similarity values, obtaining a similarity set, wherein a descending sorting operation is performed on all similarity values ​​in the similarity set, and a screening operation is performed on the similarity set using a preset similarity threshold to obtain an optimized similarity set; The analysis report generation module is used to obtain the analysis report based on the optimized similarity set and the analysis report unit, send the analysis report to the pre-built report review unit, and complete the automated analysis of genome copy number variation based on the report review unit.

Citation Information

Cited By

  • Method, device and medium for mining copy number variation data for input text

    CN119903177A

  • Method, device, and medium for mining copy number variation data for input text

    CN119903177B