A virus similarity analysis system based on fuzzy clustering

By implementing the fuzzy clustering virus similarity analysis system on FPGA hardware, the problems of low parallelism, slow speed and high cost of traditional methods are solved, and high-speed, low-power consumption virus similarity analysis is realized, which is suitable for embedded applications and meets the needs of Meet the needs of low cost and small size.

CN114613439BActive Publication Date: 2024-09-06DALIAN NEUSOFT UNIV OF INFORMATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210219863.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-08
Publication Date
2024-09-06
Estimated Expiration
2042-03-08

AI Technical Summary

Technical Problem

Traditional virus similarity analysis methods based on computer platforms have low parallelism, slow speed, high cost, and large equipment size, making it difficult to meet the needs of embedded system applications.

Method used

Design a virus similarity analysis system based on fuzzy clustering, using FPGA hardware accelerator, through the virus feature clustering center generation module and similarity distance calculation module to realize virus feature clustering and similarity distance calculation, using the FPGA hardware circuit resources and low power consumption features to improve analysis efficiency and reduce costs.

Benefits of technology

It achieves high-speed, low-power virus similarity analysis, reduces computing time, and is suitable for low-cost, small-volume embedded application requirements. The calculation results are fast and reliable, and the system has a clear modular structure, making it suitable for interdisciplinary and cross-field research.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114613439B
    Figure CN114613439B
Patent Text Reader

Abstract

The present invention discloses a virus similarity analysis system based on fuzzy clustering, including a virus feature cluster center generation module and a similarity distance calculation module; the virus feature cluster center generation module receives the new coronavirus numerical features to be analyzed and the pre-stored first membership matrix, and updates the new coronavirus feature cluster center according to the new coronavirus numerical features and the first membership matrix; the similarity distance calculation module pre-stores the animal coronavirus features of the control, and obtains the Euclidean distance between the animal coronavirus features and the new coronavirus cluster center according to the animal coronavirus features and the new coronavirus feature cluster center, which is used to quantify the virus similarity, and predict the homology and affinity relationship of the virus according to the quantification result. The present invention is applied to the field of traditional medicine, realizes the combination with data science, and achieves the design and implementation of high-speed and low-power hardware accelerators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of virus genome, and in particular to a virus similarity analysis system based on fuzzy clustering. Background Art

[0002] At present, traditional medicine mostly uses traditional bioinformatics tools, and the analysis methods that incorporate data science are all based on computer platforms to complete the calculation process. Compared with the FPGA hardware accelerator based on the semi-custom integrated circuit system, its software implementation method has low parallelism and slow operation speed, especially when analyzing a large number of data samples, its efficiency is more limited. In addition, the data analysis method based on the computer platform is relatively expensive and the equipment is large, which is difficult to adapt to the needs of fast, low-power, low-cost and embedded applications. Summary of the invention

[0003] The present invention provides a virus similarity analysis system based on fuzzy clustering to overcome the technical problems of completing virus similarity analysis based on a computer platform, which has low parallelism, slow speed, high cost, large equipment volume and cannot meet the application of embedded systems.

[0004] In order to achieve the above object, the technical solution of the present invention is:

[0005] A virus similarity analysis system based on fuzzy clustering, comprising: a virus feature clustering center generation module and a similarity distance calculation module;

[0006] The virus feature cluster center generation module receives the novel coronavirus numerical features to be analyzed and the pre-stored first membership matrix U1, and updates the novel coronavirus feature cluster center v according to the novel coronavirus numerical features and the first membership matrix U1. i ;

[0007] The similarity distance calculation module pre-stores the reference animal coronavirus features, and clusters the center v according to the animal coronavirus features and the novel coronavirus features. i The Euclidean distance between the characteristics of animal coronaviruses and the cluster center of the new coronavirus is obtained to quantify the similarity of the viruses, and the homology and affinity of the viruses are predicted based on the quantification results.

[0008] Furthermore, the virus feature cluster center generation module includes a novel coronavirus feature storage module, a membership initial value storage module, a membership update module, a cluster center update module, and a membership matrix change maximum value judgment module;

[0009] The novel coronavirus feature storage module is used to receive the novel coronavirus numerical features to be analyzed;

[0010] The membership initial value storage module pre-stores the first membership matrix U1;

[0011] The cluster center update module pre-stores the cluster number C, and calls the new coronavirus numerical features and updates them to obtain the cluster center v of the new coronavirus features. i ;

[0012] The membership update module calls the first membership matrix U1 and combines the cluster center v i Update and obtain the second membership matrix u ij ;

[0013] The membership matrix change maximum value judgment module is based on the first membership matrix U1 and the second membership matrix u ij The maximum value of the matrix change is obtained, and it is determined whether the maximum value of the matrix change is less than the preset value ε. If it is less than the preset value ε, the cluster center update module outputs the current novel coronavirus feature cluster center V i , if it is greater than or equal to the preset value ε, the cluster center update module calls the cluster number C and updates it.

[0014] Furthermore, the similarity distance calculation module includes an animal coronavirus feature storage module and a Euclidean distance calculation module;

[0015] The animal coronavirus feature storage module is used to store the control animal coronavirus features;

[0016] The Euclidean distance calculation module is based on the characteristics of animal coronavirus and the cluster center v i Obtain animal coronavirus characteristics and cluster centers v i The Euclidean distance is used to quantify the virus similarity and predict the virus homology and affinity based on the quantification results.

[0017] Furthermore, the cluster center update module calls the novel coronavirus numerical features and updates them to obtain the novel coronavirus feature cluster center v i The specific calculation formula is:

[0018]

[0019] in, Represents the second membership matrix u ij The membership degree of the jth sample in the i-th category, the cluster center v of the novel coronavirus feature i is the i-th center of cluster number C, x j represents the j-th numerical feature of the novel coronavirus, n represents the number of numerical features of the novel coronavirus, and m is a real number greater than 1.

[0020] Furthermore, the membership update module calls the first membership matrix U1 and combines the cluster center V i Update and obtain the second membership matrix u ij The specific calculation formula is:

[0021]

[0022] Among them, v k Represents the kth cluster center.

[0023] Furthermore, the novel coronavirus numerical features, the first membership matrix U1 and the cluster number C are input into the RAM on the FPGA chip through the serial port; the cluster center update module and the membership update module obtain the cluster center vi and the second membership matrix u of the novel coronavirus features through the FPGA chip. ij .

[0024] Beneficial effects: The present invention realizes interdisciplinary and cross-field research, integrates the virus similarity analysis module into the system, and applies it to the field of traditional medicine, realizes the combination with data science, and achieves the design and implementation of high-speed and low-power hardware accelerator.

[0025] Calculating virus similarity through this system can reduce the time investment of operation, and the data results are rigorous. The product consumes little energy, and the system modular calculation structure is clear, and the calculation results are fast and reliable.

[0026] First, the novel coronavirus genome characteristic data and the coronavirus data that other animals have been infected with, as well as the initial membership matrix U1 and the number of clusters C, are received through the serial port module and temporarily stored in the FPGA on-chip RAM, making full use of the high-speed read and write characteristics of the FPGA on-chip SRAM to improve the calculation speed; then, the novel coronavirus characteristic cluster center v is iteratively updated i , and iteratively updates the membership matrix U, making full use of the rich hardware circuit resources on the FPGA chip to realize pipeline processing of each cluster center and membership, and improve the calculation speed. The entire system design adopts a structured approach to facilitate expansion. In addition, by taking advantage of the low power consumption characteristics of FPGA itself, low-power accelerated computing design can be realized to meet the needs of low-cost and small-volume embedded applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0028] Figure 1 Schematic diagram of the structure of the virus similarity analysis system based on fuzzy clustering of the present invention;

[0029] Figure 2 This is a simulation diagram of the similarity analysis results of coronaviruses infected with chickens, ducks, cattle, and bats and the new coronavirus calculated by the system of the present invention; DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] This embodiment provides a virus similarity analysis system based on fuzzy clustering. Figure 1 , including: a virus feature clustering center generation module and a similarity distance calculation module;

[0032] The virus feature cluster center generation module receives the novel coronavirus numerical features to be analyzed and the pre-stored first membership matrix U1, and updates the novel coronavirus feature cluster center v according to the novel coronavirus numerical features and the first membership matrix U1. i ;

[0033] The similarity distance calculation module pre-stores the reference animal coronavirus features, and clusters the center v according to the animal coronavirus features and the novel coronavirus features. i The paradigm distance between the characteristics of animal coronaviruses and the cluster center of the new coronavirus is obtained to quantify the similarity of the virus and predict the homology and affinity of the virus based on the quantification results. The closer the distance, the higher the similarity and the greater the possibility of homology; conversely, the farther the distance, the lower the similarity and the smaller the possibility of homology.

[0034] In a specific embodiment, the virus feature cluster center generation module includes a novel coronavirus virus feature storage module, a membership initial value storage module, a membership update module, a cluster center update module, and a membership matrix change maximum value judgment module;

[0035] The novel coronavirus virus feature storage module is used to receive the novel coronavirus numerical features to be analyzed; this module receives N features [x0, x1, ..., x] after the novel coronavirus numerical features are integerized. N ], input into the system through the serial port and temporarily stored in the on-chip RAM;

[0036] The membership initial value storage module pre-stores the first membership matrix U1 and temporarily stores it in the on-chip RAM

[0037] middle;

[0038] The cluster center update module pre-stores the cluster number C, and calls the new coronavirus numerical features and updates them to obtain the cluster center v of the new coronavirus features. i ;

[0039] The membership update module calls the first membership matrix U1 and combines the cluster center v i Update to obtain the second membership matrix uij;

[0040] The membership matrix change maximum value judgment module obtains the maximum value of the matrix change according to the first membership matrix U1 and the second membership matrix uij, and judges whether the maximum value of the matrix change is less than the preset value ε. If it is less than the preset value ε, the cluster center update module outputs the current novel coronavirus feature cluster center V i , if it is greater than or equal to the preset value ε, the cluster center update module calls the cluster number C and updates it.

[0041] In a specific embodiment, the similarity distance calculation module includes an animal coronavirus feature storage module and a Euclidean distance calculation module;

[0042] The animal coronavirus feature storage module is used to store the control animal coronavirus features;

[0043] The Euclidean distance calculation module clusters the center V according to the characteristics of animal coronavirus and the characteristics of novel coronavirus i The Euclidean distance between the animal coronavirus features and the novel coronavirus cluster center is obtained to quantify the virus similarity and predict the virus homology and affinity relationship based on the quantification results. This module receives the N integerized features of the coronavirus numerical features input from the serial port, temporarily stores them in the on-chip RAM, calculates the Euclidean distance with the novel coronavirus cluster center, determines the similarity, and outputs the calculation results through the serial port and other interfaces for use by other devices.

[0044] In a specific embodiment, the cluster center update module calls the new coronavirus numerical features and updates them to obtain the new coronavirus feature cluster center v i The specific calculation formula is:

[0045]

[0046] in Represents the second membership matrix u ij The membership degree of the jth sample in the i-th category, the cluster center v of the novel coronavirus featurei is the i-th center of cluster number C, x j represents the jth numerical feature of the novel coronavirus, n represents the number of numerical features of the novel coronavirus, and m is a real number greater than 1. For the convenience of circuit implementation, m is set to 2. To simplify the calculation circuit structure, a state machine control method is used. Specifically, multiplication is implemented by addition followed by summation, and division is implemented by subtraction followed by difference.

[0047] In a specific embodiment, the membership update module calls the first membership matrix U1 and combines the cluster center v i Update and obtain the second membership matrix u ij The specific calculation formula is:

[0048]

[0049] Among them, v k Represents the kth cluster center.

[0050] The second membership matrix u ij Specifically, 00,0 u1,…,u 0c ;u 10 ,u 11 ,…u 1c ;…;u N0 ,u N1 ,…,u Nc ].

[0051] The whole system adopts parallel structure and pipeline design to improve data processing speed and data throughput; from top to bottom, it adopts structured circuit design. At the same time, the calculation time investment can be reduced through the system to calculate virus similarity, and the data results are rigorous. The product consumes little energy, and the system modular calculation structure is clear, and the calculation results are fast and reliable.

[0052] First, the virus feature cluster center generation module and the similarity distance calculation module in the present invention are both embedded in the FPGA chip. The virus feature cluster center generation module receives the novel coronavirus genome characteristic data and the coronavirus data that other animals have been infected with through the serial port module, as well as the initial membership matrix U1 and the number of clusters C, and is temporarily stored in the FPGA on-chip RAM, making full use of the high-speed read and write characteristics of the FPGA on-chip SRAM to improve the operation speed; then, iteratively update the novel coronavirus feature cluster center vi, and iteratively update the membership matrix U, making full use of the rich hardware circuit resources on the FPGA chip, realizing the pipeline processing of each cluster center and membership, and improving the operation speed. The whole system design adopts a structured approach for easy expansion. In addition, the low-power consumption characteristics of the FPGA itself are utilized to realize the low-power accelerated computing design, which can meet the requirements of low-cost and small-volume embedded applications.

[0053] Figure 2 This is a simulation diagram of the similarity analysis between coronaviruses infected by chickens, ducks, cattle, and bats and the new coronavirus. Figure 2 It can be seen that in the process of analyzing the genetic similarity between coronavirus samples that animals have been infected with and novel coronavirus samples, it was found that the coronavirus that bats have been infected with has the highest genetic similarity with novel coronavirus samples (the smallest Euclidean distance), from which it can be inferred that the novel coronavirus is most likely to have originated from bats. Among them, ofrom_gallus, ofrom_duck, ofrom_bat, and ofrom_cattle are homology judgment results;

[0054] w_distance_gallus, w_distance_duck, w_distance_bat, and w_distance_cattle are similarity calculation results.

[0055] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A virus similarity analysis system based on fuzzy clustering, characterized in that: include: Virus feature clustering center generation module and similarity distance calculation module; The virus feature cluster center generation module receives the novel coronavirus numerical features to be analyzed and the pre-stored first membership matrix U1, and updates the novel coronavirus feature cluster center v according to the novel coronavirus numerical features and the first membership matrix U1. i ; The similarity distance calculation module pre-stores the reference animal coronavirus features, and clusters the center v according to the animal coronavirus features and the novel coronavirus features. i Obtain the Euclidean distance between the characteristics of animal coronaviruses and the cluster center of the new coronavirus to quantify the similarity of the viruses and predict the homology and affinity of the viruses based on the quantification results; The virus feature cluster center generation module includes a novel coronavirus feature storage module, a membership initial value storage module, a membership update module, a cluster center update module, and a membership matrix change maximum value judgment module; The novel coronavirus feature storage module is used to receive the novel coronavirus numerical features to be analyzed; The membership initial value storage module pre-stores the first membership matrix U1; The cluster center update module pre-stores the cluster number C, calls the new coronavirus numerical features and updates them to obtain the cluster center v of the new coronavirus features. i ; The membership update module calls the first membership matrix U1 and combines the cluster center v i Update and obtain the second membership matrix u ij ; The membership matrix change maximum value judgment module obtains the maximum value of the matrix change according to the first membership matrix U1 and the second membership matrix uij, and judges whether the maximum value of the matrix change is less than the preset value ε. If it is less than the preset value ε, the cluster center update module outputs the current novel coronavirus feature cluster center V i , if it is greater than or equal to the preset value ε, the cluster center update module calls the cluster number C and updates it; The membership update module calls the first membership matrix U1 and combines the cluster center V i Update and obtain the second membership matrix u ij The specific calculation formula is: Among them, v k Represents the kth cluster center.

2. A virus similarity analysis system based on fuzzy clustering as claimed in claim 1, characterized in that: The similarity distance calculation module includes an animal coronavirus feature storage module and a Euclidean distance calculation module; The animal coronavirus feature storage module is used to store the control animal coronavirus features; The Euclidean distance calculation module is based on the characteristics of animal coronavirus and the cluster center v i Obtain animal coronavirus characteristics and cluster centers v i The Euclidean distance is used to quantify the virus similarity and predict the virus homology and affinity based on the quantification results.

3. A virus similarity analysis system based on fuzzy clustering as claimed in claim 2, characterized in that: The cluster center update module calls the novel coronavirus numerical features and updates them to obtain the novel coronavirus feature cluster center v i The specific calculation formula is: in, Represents the second membership matrix u ij The membership degree of the jth sample in the ith category, the cluster center v of the novel coronavirus feature i is the i-th center of cluster number C, x j represents the j-th numerical feature of the novel coronavirus, n represents the number of numerical features of the novel coronavirus, and m is a real number greater than 1.

4. A virus similarity analysis system based on fuzzy clustering as claimed in claim 1, characterized in that: The novel coronavirus numerical features, the first membership matrix U1 and the cluster number C are input into the RAM on the FPGA chip through the serial port; the cluster center update module and the membership update module obtain the cluster center vi and the second membership matrix u1 of the novel coronavirus features through the FPGA chip. ij .

Citation Information

Patent Citations

  • Gaussian fuzzy clustering computing method for differentiating and diagnosing chronic bronchitis

    CN107545133A

  • Medical data processing method, apparatus, device, and storage medium

    WO2021151337A1