Transcription factor binding site prediction method and system

Through multi-sequence fusion features and convolution-attention combination network, using sliding window and multi-scale convolutional neural network and conformer network, the problem of low accuracy and neglect of interactions of deep learning methods in TFBS prediction is solved, achieving more efficiency. feature extraction and prediction accuracy.

CN118629495APending Publication Date: 2024-09-10ANHUI UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410754983.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing deep learning methods have low accuracy when predicting transcription factor binding sites TFBS, ignore different types of DNA sequences and potential interactions between them, do not fully consider the relationship between adjacent nucleotides, and the amount of data in the data set. differences, leading to insufficient prediction performance.

Method used

Multi-sequence fusion features and convolution-attention combination network are used to generate rich sequence features through sliding windows. Combined with multi-scale convolutional neural networks and conformer networks, the fusion features are automatically learned to achieve accurate prediction of TFBS.

Benefits of technology

It improves the accuracy and efficiency of TFBS prediction, enhances the model's ability to capture DNA sequence information, shows superior robustness and performance, and breaks through the limitations of existing models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629495A
    Figure CN118629495A
Patent Text Reader

Abstract

The invention provides a transcription factor binding site prediction method and system, and the method comprises the steps: applying a sliding window on different DNA sequences to generate rich sequence features, and then carrying out the comprehensive processing and coding of the features, so as to form detailed feature representation. And finally, automatically learning rich information contained in the fusion features by using a multi-scale convolutional neural network CNN and a conformer network, and realizing prediction of the TFBS. The method solves the technical problems that an existing deep learning method is low in prediction precision, neglects different types of DNA sequences and potential interaction between the DNA sequences, and does not fully consider the mutual relation between adjacent nucleotides and the difference of the data volume of a data set, so that the limitation exists in the aspect of predicting the TFBS.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of gene expression regulation data processing, and in particular to a method and system for predicting transcription factor binding sites. Background Art

[0002] Accurate prediction of transcription factor binding sites (TFBS) plays an important role in revealing the regulatory mechanism of gene expression and promoting drug development. Although traditional experimental methods can predict these sites, they are often laborious, time-consuming and costly. To overcome these challenges, researchers have developed many computational methods to predict TFBS in DNA sequences. Existing computational methods have made some progress, but there is still room for optimization.

[0003] Transcription factors (TFs), as key proteins regulating gene expression, play a vital role in cells. During gene transcription, transcription factors regulate the level of gene expression by binding to nucleotide sequences in non-coding regions of DNA. Such binding sites are called transcription factor binding sites (TFBSs), which are usually 4-30 bp in size. The main function of transcription factors is to promote or inhibit DNA transcription by stimulating or inhibiting RNA polymerase, thereby achieving precise regulation of gene expression. Accurate prediction of TFBSs is essential for analyzing gene regulatory networks and complex molecular interactions in organisms. With the development of high-throughput sequencing technology, some experimental methods have been developed to identify binding sites. However, using experimental methods to predict TFBSs is time-consuming and labor-intensive, and the experimental cost is relatively high. Therefore, how to quickly and accurately extract key information of TFBSs from existing data has become a prominent challenge. In this context, researchers have developed many computational methods to identify TFBSs.

[0004] In recent years, with the rapid development of deep learning methods in the fields of natural language processing and computer vision, more and more deep learning methods have been applied to solve bioinformatics problems. Compared with traditional machine learning methods, deep learning computational methods can more effectively utilize huge experimental data and automatically learn important features from input sequences, thus showing superior performance in predicting TFBS. DeepBind is the first deep learning model for predicting TFBS, which accurately predicts the specificity of DNA binding proteins through convolutional networks (CNN). However, CNN-based methods focus on capturing local features and cannot handle long-term dependencies between Motif variants. Therefore, DanQ combines CNN and bidirectional long short-term network (BiLSTM) to improve the prediction effect by capturing long-term relationships between motifs through BiLSTM. In addition, since the shape of DNA is crucial to determining the DNA binding preference of transcription factors, DLBSS, CRPTS, D-SSCA, and DeepSTF methods attempt to combine sequence and shape information to improve prediction accuracy. With the rise of attention mechanisms, deep networks based on attention mechanisms can extract high-dimensional features. SAResNet and DSAC improve TFBS prediction performance by combining convolutional neural networks (CNN) and attention mechanisms. For example, the existing invention patent application document "Cell-specific enhancer prediction method and system based on DNA sequence data" with publication number CN117174175A includes: extracting sequence information by two different feature encoding methods for DNA sequences, and obtaining Dna2vec features and motif frequency features corresponding to the two different feature encodings; wherein, when Dna2vec feature encoding is used, the pre-trained DNA model provided in Dna2vec is used to index the sequence encoding; when motif frequency feature encoding is used, the number of TFBS motifs in each DNA sequence is extracted and converted into frequencies; the Dna2vec features and motif frequency features are integrated to construct a deep learning model; and the deep learning model is used to determine whether the DNA sequence data belongs to an enhancer. And the existing invention patent application document "A method for predicting transcription factor binding sites by integrating DNA shape features" with publication number CN113593634A includes: the method combines the knowledge of structural biology, genomics and deep learning neural networks to propose a new model for predicting transcription factor binding sites using CNN combined with DNA sequence and shape feature information. At the same time, a special data set containing DNA shape characteristics and DNA sequence information was constructed, and the corresponding DNA shape information was added to the traditional transcription factor prediction data set.

[0005] The aforementioned existing deep learning methods for predicting TFBS have significantly improved the prediction effect compared to traditional machine learning methods, which shows that deep learning methods are effective in TFBS prediction tasks. However, the aforementioned existing schemes have some limitations: First, the currently commonly used methods are usually based on a single DNA sequence as input, ignoring different types of DNA sequences and their potential interactions. Secondly, in the sequence encoding process, these methods often assume that nucleotides are independent of each other, and do not fully consider the relationship between adjacent nucleotides and their correlation with different binding motif lengths. In addition, due to the difference in data volume between ChIP-seq datasets, especially on smaller datasets, these models still have room for improvement in prediction performance.

[0006] In summary, the existing deep learning methods have low prediction accuracy, ignore different types of DNA sequences and their potential interactions, do not fully consider the relationship between adjacent nucleotides, and there are differences in the amount of data in the data sets, which leads to technical problems such as limitations in predicting transcription factor binding sites TFBS. Summary of the invention

[0007] The technical problem to be solved by the present invention is: how to solve the technical problems that the existing deep learning methods have low prediction accuracy, ignore different types of DNA sequences and their potential interactions, do not fully consider the relationship between adjacent nucleotides, and the difference in the amount of data in the data set, resulting in limitations in predicting transcription factor binding sites TFBS.

[0008] The present invention adopts the following technical solution to solve the above technical problem: A method for predicting transcription factor binding sites comprises:

[0009] S1. Generate the reverse complementary sequence based on the original DNA sequence. In the feature representation process of data, the features of different DNA sequences are processed through fusion learning operation, and the input sequence features are generated using sliding window.

[0010] S2, performing comprehensive processing operations and combined encoding operations on the input sequence features, wherein in the combined encoding operation, a fixed length step and a sliding window are set on the given original DNA sequence and the reverse complementary sequence of the high-order nucleotide encoding k-mer to obtain a non-independent feature matrix, thereby obtaining a detailed feature representation; a single nucleotide feature SN, an adjacent dinucleotide feature AD, and an adjacent trinucleotide feature AT are fused to obtain a fused feature sequence to form a non-independent feature matrix;

[0011] S3. Use a multi-scale convolutional neural network (CNN) to extract data features from the fused feature sequence, use a conformer network to capture high-order features, input the convolutional features and high-order features into the adaptive pooling layer to automatically learn the fusion information in the fused feature sequence to predict TFBS; wherein, the convolutional neural network (CNN) includes: a difference size fixed filter to capture multi-scale features.

[0012] The present invention provides a new hybrid deep learning framework for TFBS prediction based on multi-sequence fusion features and convolution-attention combined network, applies sliding windows on different DNA sequences to generate rich sequence features, and comprehensively processes and encodes these features to form a detailed feature representation. By using a multi-scale convolutional neural network (CNN) and a conformer network to automatically learn the rich information contained in the fusion features, accurate prediction of TFBS is achieved.

[0013] In a more specific technical solution, in S1, a preset number of ChIP-seq data sets are screened from a preset gene data source, and the ChIP-seq data sets include: a positive set and a negative set.

[0014] The sequences integrated by the sliding window are then encoded as the input of the model. This strategy comprehensively considers the dominant and recessive features of sequence characteristics and the relationship between these features. This comprehensive approach provides a more comprehensive perspective for revealing the deep information hidden in DNA sequences.

[0015] In a more specific technical solution, S1 includes:

[0016] S11, generating a reverse complementary sequence based on the original DNA sequence;

[0017] S12. Set up no less than 2 sliding windows of specific lengths on different types of DNA sequences;

[0018] S13. Use sliding window processing to obtain an integrated sequence to obtain model input data as input sequence features.

[0019] The fusion feature sequence of the present invention is composed of multiple k-mer sequences of specified length and step window. In the feature fusion process of the present invention, the fusion feature sequence is used to replace the original DNA sequence, so as to achieve the purpose of aggregating hidden information. The present invention sets multiple sliding windows of specific lengths on different types of DNA sequences, which not only retains the hidden dependency relationship between sequences, but also enriches the feature representation of data.

[0020] In a more specific technical solution, in S2, when performing comprehensive processing operations on the original DNA sequence, a sliding window of difference length is used to extract single nucleotide features SN, adjacent dinucleotide features AD, and adjacent trinucleotide features AT.

[0021] The present invention focuses on three types of characteristic sequences: single nucleotide (SN), adjacent dinucleotide (AD) and adjacent trinucleotide (AT), to consider the impact of potential dependencies between adjacent nucleotides on prediction. The present invention fuses these three sequence features to form a fused 101×84 characteristic matrix for the original sequence and the reverse complementary sequence with a sequence length of 101bp. This method can more comprehensively capture the information in the DNA sequence, effectively extract more hidden information, and improve the effect of feature extraction.

[0022] In a more specific technical solution, in S2, when the original DNA sequence is combined and processed, a combined sequence is obtained according to the original input sequence OI and the reverse complementary sequence RC; wherein, when creating the reverse complementary sequence, the original input sequence OI is arranged in reverse order; according to the base complementary pairing principle A—T, C—G, replacement is performed to obtain a new DNA sequence type; on the original input sequence OI and the reverse complementary sequence RC, sliding windows of different lengths are set, and the combined sequence is obtained by integration, and the size of the combined feature matrix is ​​202×84.

[0023] In the present invention, based on the assumption that transcription factors may bind to reverse sequences or reverse complementary sequences rather than original sequences, the combination of original sequences and reverse complementary sequences is particularly effective for feature extraction. This fusion feature sequence replaces the traditional DNA sequence, further promoting the aggregation of hidden information.

[0024] In a more specific technical solution, in S2, the following logic is used to express the fusion feature sequence:

[0025]

[0026] in is the single nucleotide (SN) characteristic sequence of the original sequence OI, is the adjacent dinucleotide (AD) characteristic sequence of the original sequence OI, is the adjacent trinucleotide (AT) characteristic sequence of the original sequence OI, It is the single nucleotide (SN) characteristic sequence of the reverse complementary sequence RC. It is the adjacent dinucleotide (AD) characteristic sequence of the reverse complementary sequence RC. It is a characteristic sequence of three adjacent nucleotides (AT) of the reverse complementary sequence RC.

[0027] The present invention uses convolutional neural networks to extract features. The model uses multi-scale convolutional neural networks to extract data features, which are then used as inputs to the attention mechanism module. The non-independent feature matrix of the present invention combines the features of the original sequence and the reverse complementary sequence, effectively enhancing the model's ability to capture DNA sequence information and helping to improve prediction accuracy.

[0028] In a more specific technical solution, in S3, the convolutional neural network CNN also includes: no less than 2 difference-sized convolution kernels as convolution branches to adapt to the difference-length combination area; each convolution layer in the convolutional neural network CNN uses a Relu activation function, and performs mean and variance correction operations through a batch normalization method to learn to obtain an applicable offset and an applicable scale, and concatenate the convolution branches to obtain a difference-sized fixed filter.

[0029] The present invention uses a batch normalization method to perform small batch correction on the mean and variance of the data, thereby learning the most suitable offset and scale and accelerating the convergence speed of the model. Through this multi-scale convolution design, the model can more effectively extract the combined features of different lengths in the genome sequence, providing richer and more accurate information for prediction. In addition, convolution kernels of different sizes are used for feature extraction, and each size of convolution kernel focuses on capturing some features, which can not only accelerate the convergence of the model, but also extract features with stronger correlation, further improving the prediction accuracy of the model.

[0030] In more specific technical solutions, S3 includes:

[0031] S31, using the fused feature sequence to replace the original input sequence OI to aggregate hidden information;

[0032] S32. Extract data features using a convolutional neural network (CNN) as input to the attention mechanism module, wherein the data features are extracted using the following logic:

[0033] X C10 =BN(ELU(Conv 10motif (S)))

[0034] X C12 =BN(ELU(Conv 12motif (S)))

[0035] X C16 =BN(ELU(Conv 16motif (S)))

[0036] X=Concat(X C10 , X C12 , X C16 )

[0037] Where S is a fusion feature sequence with a shape of 202×84, X C10 is the output of the binding motif length 10, X C12 is the output of the binding motif length 12, X C16 is the output of the binding motif length of 16.

[0038] S33. Use the conformer module to adopt deep separable convolution to extract additional features as high-order features, wherein the conformer module includes: 2 feedforward modules, 1 multi-head attention MHSA module, 1 convolution module and LayerNorm processing module, wherein the multi-head attention MHSA module is used to introduce relative sinusoidal position encoding to capture the sequence order information of the input element; the convolution module also includes: gated linear unit GLU, batch normalization BatchNorm module and Swish function; based on the Pre-Norm structure, combined with the Swish activation function and dropout regularization technology, a feedforward module is constructed; the multi-head attention MHSA module also includes: Pre-Norm residual structure with dropout; deep separable convolution includes: deep convolution and point-by-point convolution, deep convolution is used to process the internal dependency of a single channel, and point-by-point convolution is used to obtain the interaction information between channels.

[0039] S34, using the adaptive pooling layer, performing an adaptive maximum pooling operation on the high-order feature P; using the extended sigmoid function to perform model output processing operations, wherein the extended sigmoid function is represented by the following logic:

[0040] Y=AdaptiveMaxpool(P),

[0041] t=Sigmoid(Linear(Flatten(Y)))

[0042] The conformer module of the present invention further extracts additional features to enhance the accuracy and efficiency of the model in predicting TFBS. The new network based on deep learning of the present invention uses fused different sequence features as input, and interactively extracts local and global information by combining multi-scale CNN and conformer. In comparison with other existing models, the model exhibits superior robustness and performance, showing its advancement and practicality in TFBS prediction. This achievement not only emphasizes the importance of integrating multiple sequence features in the field of bioinformatics, but also demonstrates the great potential and application value of deep learning technology in this field.

[0043] In a more specific technical solution, in S33, the following logic is used to express the Conformer module:

[0044]

[0045] X"=X′+Conv(X′)

[0046]

[0047] Where X∈R b×l×d is the feature sequence of the input conformer module, b is the batch size, l is the sequence length, and d is the feature dimension; X is calculated and residually connected through the four modules in the conformer respectively; specifically, after the residual connection of the second feedforward module, the output is also LayerNorm to obtain the final output P∈R b×l×d ; MHSA represents the multi-head attention MHSA module, and FFN represents the feedforward module in the conformer.

[0048] In a more specific technical solution, a transcription factor binding site prediction system includes:

[0049] The input sequence feature generation module is used to process the features of different DNA sequences through fusion learning operations in the feature representation process of data on different types of DNA sequences, and generate input sequence features using a sliding window;

[0050] The fusion feature acquisition module is used to perform comprehensive processing operations and combined coding operations on the input sequence features. In the combined coding operation, the high-order nucleotide coding k-mer sets a fixed length step and a sliding window on the given original DNA sequence and the reverse complementary sequence to obtain a non-independent feature matrix, thereby obtaining a detailed feature representation; the single nucleotide feature SN, the adjacent dinucleotide feature AD and the adjacent trinucleotide feature AT are fused and processed to obtain a fused feature sequence to form a non-independent feature matrix, and the original sequence and the reverse complementary sequence are combined at the same time. The fusion feature acquisition module is connected to the input sequence feature generation module;

[0051] The high-order feature acquisition module is used to use the multi-scale convolutional neural network CNN to extract data features from the input sequence fusion features, use the conformer network to capture high-order features, and input the convolution features and high-order features into the adaptive pooling layer to automatically learn the fusion information in the fusion feature sequence to predict the TFBS; wherein the convolutional neural network CNN includes: a difference size fixed filter to capture multi-scale features, and the high-order feature acquisition module is connected with the fusion feature acquisition module and the input sequence feature generation module.

[0052] Compared with the prior art, the present invention has the following advantages:

[0053] The present invention provides a new hybrid deep learning framework for TFBS prediction based on multi-sequence fusion features and convolution-attention combined network, applies sliding windows on different DNA sequences to generate rich sequence features, and comprehensively processes and encodes these features to form a detailed feature representation. By using a multi-scale convolutional neural network (CNN) and a conformer network to automatically learn the rich information contained in the fusion features, accurate prediction of TFBS is achieved.

[0054] The sequences integrated by the sliding window are then encoded as the input of the model. This strategy comprehensively considers the dominant and recessive features of sequence characteristics and the relationship between these features. This comprehensive approach provides a more comprehensive perspective for revealing the deep information hidden in DNA sequences.

[0055] The fusion feature sequence of the present invention is composed of multiple k-mer sequences of specified length and step window. In the feature fusion process of the present invention, the fusion feature sequence is used to replace the original DNA sequence, so as to achieve the purpose of aggregating hidden information. The present invention sets multiple sliding windows of specific lengths on different types of DNA sequences, which not only retains the hidden dependency relationship between sequences, but also enriches the feature representation of data.

[0056] The present invention focuses on three types of characteristic sequences: single nucleotide (SN), adjacent dinucleotide (AD) and adjacent trinucleotide (AT) to consider the impact of potential dependencies between adjacent nucleotides on prediction. The present invention forms a fused 101×84 characteristic matrix on the original sequence and the reverse complementary sequence by fusing these three sequence features. This method can capture the information in the DNA sequence more comprehensively, effectively extract more hidden information, and improve the effect of feature extraction.

[0057] In the present invention, based on the assumption that transcription factors may bind to reverse sequences or reverse complementary sequences rather than original sequences, the combination of original sequences and reverse complementary sequences is particularly effective for feature extraction. This fused feature sequence replaces the traditional DNA sequence, and the fused feature matrix size is 202×84, which further promotes the aggregation of hidden information.

[0058] The present invention uses convolutional neural networks to extract features. The model uses multi-scale convolutional neural networks to extract data features, which are then used as inputs to the attention mechanism module. The non-independent feature matrix of the present invention combines the features of the original sequence and the reverse complementary sequence, effectively enhancing the model's ability to capture DNA sequence information and helping to improve prediction accuracy.

[0059] The present invention uses a batch normalization method to perform small batch correction on the mean and variance of the data, thereby learning the most suitable offset and scale and accelerating the convergence speed of the model. Through this multi-scale convolution design, the model can more effectively extract the combined features of different lengths in the genome sequence, providing richer and more accurate information for prediction. In addition, convolution kernels of different sizes are used for feature extraction, and each size of convolution kernel focuses on capturing some features, which can not only accelerate the convergence of the model, but also extract features with stronger correlation, further improving the prediction accuracy of the model.

[0060] The conformer module of the present invention further extracts additional features to enhance the accuracy and efficiency of the model in predicting TFBS. The new network based on deep learning of the present invention uses fused different sequence features as input, and interactively extracts local and global information by combining multi-scale CNN and conformer. In comparison with other existing models, the model exhibits superior robustness and performance, showing its advancement and practicality in TFBS prediction. This achievement not only emphasizes the importance of integrating multiple sequence features in the field of bioinformatics, but also demonstrates the great potential and application value of deep learning technology in this field.

[0061] The present invention solves the technical problems that existing deep learning methods have low prediction accuracy, ignore different types of DNA sequences and their potential interactions, do not fully consider the relationship between adjacent nucleotides, and have differences in the amount of data in the data set, resulting in limitations in predicting transcription factor binding sites TFBS. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 A schematic diagram of the basic steps of a method for predicting transcription factor binding sites in Example 1 of the present invention;

[0063] Figure 2 This is a schematic diagram of the data encoding process of Example 1 of the present invention;

[0064] Figure 3 This is a schematic diagram of the model structure of Example 1 of the present invention;

[0065] Figure 4 This is a schematic diagram of specific feature processing steps in the network model for fusing different sequence features according to Example 2 of the present invention. DETAILED DESCRIPTION

[0066] 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 in combination with 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.

[0067] Example 1

[0068] like Figure 1 As shown, the present invention provides a method for predicting transcription factor binding sites, comprising the following basic steps:

[0069] S1, apply sliding windows on different DNA sequences to generate rich sequence features;

[0070] In the process of obtaining the benchmark data set in this embodiment, in order to evaluate the predictive performance of the model, for example, the same data set as DSAC can be used. Specifically, 165 ChIP-seq data sets were screened out from 690 ChIP-seq data sets generated by the Encyclopedia of DNA Elements (ENCODE) project. In the aforementioned ChIP-seq data set, the positive set includes: a 101bp DNA sequence that has been experimentally confirmed to bind to a specific DNA binding protein, and the negative set includes: a reorganized positive sequence to keep the frequency of dinucleotides unchanged. The aforementioned positive set and negative set cover 29 transcription factors from different cell lines.

[0071] like Figure 2 As shown, in this embodiment, in the feature representation process of data, in view of the direct or indirect dependencies that may exist between different types of DNA sequences, a fusion learning method is adopted to process the features of these different types of DNA sequences. Specifically, a plurality of sliding windows of specific lengths are set on different types of DNA sequences, which not only retains the hidden dependencies between sequences, but also enriches the feature representation of data. These sequences integrated by sliding windows are then encoded as the input of the model. This strategy comprehensively considers the dominant and recessive features of sequence characteristics, as well as the mutual relationship between these features. This comprehensive method provides a more comprehensive perspective for revealing the deep information hidden in the DNA sequence. In this embodiment, the original sequence length is a DNA sequence of 101bp, which is composed of four nucleotides of ATGC.

[0072] S2, comprehensively processing and encoding the aforementioned sequence features to form a detailed feature representation;

[0073] In the combined encoding process of this embodiment, the high-order nucleotide encoding (k-mer) is to set a fixed-length step size and sliding window on the given original DNA sequence and the reverse complementary sequence to obtain a size of 4 h ×(L-h+1) dependent feature matrix, where h represents the order. An example of a 1-mer is:

[0074] A=[1,0,0,0],

[0075] T = [0, 1, 0, 0],

[0076] G = [0, 0, 1, 0],

[0077] C = [0, 0, 0, 1].

[0078] In this embodiment, an example of 2-mer is:

[0079] AA=[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],

[0080] AC=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0].

[0081] In this embodiment, when processing a 101 bp original DNA sequence consisting of a single nucleotide {A, C, G, T} or a 101 bp reverse complementary sequence, sliding windows of different lengths are set on the sequence to extract single nucleotide features (SN), adjacent dinucleotide features (AD) and adjacent trinucleotide features (AT).

[0082] For single nucleotide features (SN), a 101×4 feature matrix is ​​obtained by 1-mer encoding with the sliding window size and step size set to 1; for adjacent dinucleotide (AD) features, a 100×16 matrix is ​​initially obtained by 2-mer encoding with the sliding window size set to 2 (k=2) and the step size still set to 1; it is converted into a 101×16 feature matrix through appropriate padding operations; for adjacent trinucleotide (AT) features, a 99×64 matrix is ​​obtained by 3-mer encoding with a sliding window size of 3 (k=3) and a step size of 1, and finally converted into a 101×64 matrix after padding. By simply fusing these three sequence features, a fused 101×84 feature matrix is ​​formed for the original sequence and the reverse complementary sequence with a sequence length of 101bp respectively. The above method can more comprehensively capture the information in the DNA sequence and improve the effect of feature extraction.

[0083] In the operation process of obtaining the combined sequence of the present embodiment, when processing the DNA sequence data, not only the original input sequence (OI) is concerned, but also its reverse complementary sequence (RC) is considered. The reverse complementary sequence can be regarded as another type of DNA sequence. When creating the reverse complementary sequence of DNA, the original DNA sequence is first arranged in reverse order, and then replaced according to the base complementary pairing principle (A-T, C-G), thereby obtaining a new type of DNA sequence. By setting sliding windows of different lengths on the original input sequence (OI) and the reverse complementary sequence (RC), feature sequences of different lengths are gradually integrated. Specifically, three types of feature sequences are extracted from the original sequence and the reverse complementary sequence: single nucleotide (SN), adjacent dinucleotide (AD) and adjacent trinucleotide (AT); these three types of feature sequences are fused on the original sequence and the reverse complementary sequence respectively; and then the features of the original sequence and the reverse complementary sequence are integrated. By fusing the features of the original sequence and the reverse complementary sequence, a 202×84 feature matrix is ​​constructed as the input of the model.

[0084] In this embodiment, the fused feature sequence is expressed as follows:

[0085]

[0086] The aforementioned matrix integrates the features of the original sequence and the reverse complementary sequence, effectively enhancing the model's ability to capture DNA sequence information and helping to improve prediction accuracy.

[0087] S3. TFBS prediction is achieved by using multi-scale convolutional neural network (CNN) and conformer network to automatically learn the rich information contained in the fusion features.

[0088] like Figure 3 As shown, in this embodiment, the model uses a multi-scale convolution module to extract features from the input sequence; uses a conformer module to capture high-order features; and inputs to the adaptive pooling layer for prediction.

[0089] like Figure 4 As shown, in this embodiment, the specific feature processing steps in the network model integrating different sequence features include:

[0090] S31, feature fusion process. The fused feature sequence is used to replace the original DNA sequence, thereby achieving the purpose of aggregating hidden information;

[0091] In this embodiment, the fusion feature sequence consists of multiple k-mer sequences of specified length and step window;

[0092] S32, convolutional neural network extracts features;

[0093] In this embodiment, the model uses a multi-scale convolutional neural network to extract data features, which are then used as input to the attention mechanism module;

[0094] In the multi-scale convolution module adopted in this embodiment, considering that different transcription factors have their own specific binding lengths, it is difficult to fully capture the binding features in the genomic sequence using a fixed motif length. Therefore, a multi-scale feature capture method including fixed filters of different sizes is designed. Specifically, the convolution module includes: three convolution kernels of different sizes to adapt to binding regions of different lengths. In this embodiment, each convolution layer uses the Relu activation function, and the mean and variance of the data are corrected in small batches through the batch normalization method, so as to learn the most suitable offset and scale and speed up the convergence of the model. Finally, the three convolution branches of different scales are spliced ​​together.

[0095] Through the aforementioned multi-scale convolution design, the model can more effectively extract the combined features of different lengths in the genome sequence, providing richer and more accurate information for prediction. In addition, by using convolution kernels of different sizes for feature extraction, each size of convolution kernel focuses on capturing some features, which can not only accelerate the convergence of the model, but also extract more relevant features, further improving the prediction accuracy of the model:

[0096] X C10 =BN(ELU(Conv 10motif (S)))

[0097] X C12 =BN(ELU(Conv 12motif (S)))

[0098] X C16 =BN(ELU(Conv 16motif (S)))

[0099] X=Concat(X C10 , X C12 , X C16 )

[0100] Among them, S is a fusion feature sequence with a shape of 202×84. C10 is the output of the binding motif length 10, X C12 is the output of the binding motif length 12, X C16 is the output of the binding motif length of 16.

[0101] S33. Use the conformer module to further extract additional features to enhance the accuracy and efficiency of the model in predicting TFBS.

[0102] In this embodiment, a conformer module is used after the multi-scale convolution module of the model. The conformer module effectively combines the global modeling capability of the self-attention mechanism with the local modeling capability of the convolutional neural network CNN, so that the model can pay more attention to the key areas in the DNA sequence. The core submodules of the conformer module include: two feedforward modules, a multi-head attention module and a convolution module, each of which also includes multiple submodules, which work together to further enhance the processing capability of the model.

[0103] In the Conformer module adopted in this embodiment, a key component is the multi-head attention MHSA module, which effectively captures the order information of the input element sequence by introducing relative sinusoidal position encoding. The aforementioned method not only enhances the adaptability of the module to the length of the input sequence, but also improves the generalization and robustness of the model for inputs of different lengths, so that the model can show good performance when processing sequences of various lengths. In addition, the MHSA module also adopts a Pre-Norm residual structure with dropout, which helps to train and regularize deeper network models. The addition of the Dropout mechanism, especially in high-level network layers, effectively prevents overfitting, while the Pre-Norm structure ensures the stability and efficiency of the network. The combination of these designs not only improves the prediction accuracy of the model, but also enhances its robustness and reliability when processing complex sequence data.

[0104] In this embodiment, the convolution module is a key component lacking in the Transformer architecture, and the convolution module is specifically used to capture local features of sequence data. The convolution module in Conformer uses deep separable convolution technology to model sequences, which is an effective method that can replace traditional convolutional networks. Deep separable convolution combines deep convolution and point-by-point convolution, where deep convolution is responsible for processing dependencies within a single channel, while point-by-point convolution focuses on the interaction between different channels. This combination can achieve the effect of traditional convolutional networks while maintaining efficient calculations. In order to further improve the performance of the model, the gated linear unit (GLU) can effectively alleviate the problem of gradient disappearance and accelerate the convergence process of the model through its CNN-based gating mechanism. In addition, GLU can also screen features and effectively transfer valuable features to the next layer, thereby better modeling local features. Batch normalization (BatchNorm) is also applied in the convolution module, which helps to optimize the training and convergence process of the network. In addition, compared with the ReLU activation function, the Swish function is more efficient in processing deep networks because of its smooth and non-monotonic characteristics. Through the combination of these advanced technologies, Conformer's convolutional module can more effectively extract local features in sequences, providing strong support for the training and performance improvement of deep neural network models.

[0105] In this embodiment, the feedforward module in the Conformer model adopts an efficient Pre-Norm structure and combines the Swish activation function and the dropout regularization technology. The choice of this structure is mainly to optimize the training effect of the deep model and accelerate the training process. The conformer module not only captures the local information in the sequence, but also grasps the overall sequence context. In this way, the model can not only accurately identify the key sequence features, but also understand the complex relationship between sequences in a larger range. Finally, the output of the conformer block is processed by LayerNorm to ensure the stability and consistency of the network output. This multi-level and multi-angle feature processing method enables the model to show higher efficiency and accuracy in capturing and interpreting DNA sequence features.

[0106] In this embodiment, the Conformer block is formally expressed as the following formula:

[0107]

[0108] X″=X′+Conv(X′)

[0109]

[0110] Where X∈R b×l×dis the feature sequence of the input conformer module, b is the batch size, l is the sequence length, and d is the feature dimension. X is calculated and residually connected in four modules of the conformer. After the residual connection of the second feedforward module, the output is also LayerNorm to obtain the final output P∈R b×l×d .

[0111] In the prediction module used in this embodiment, an adaptive maximum pooling operation is performed on the high-order sequence feature P processed by the Conformer module. This step is to generate a more sophisticated and efficient feature representation Y, thereby improving the accuracy and efficiency of the model when processing complex sequence data. In addition, an extended version of the sigmoid function is used to process the model output. This extended sigmoid function plays an important role in the model, and the extended sigmoid function is used to accurately estimate the specific location of transcription factor binding. Through the aforementioned method, the TF binding area can be more accurately identified and located, thereby achieving a higher accuracy in the prediction task of transcription factor binding site TFBS:

[0112] Y = AdaptiveMaxpool(P),

[0113] t=Sigmoid(Linear(Flatten(Y)))

[0114] During the model implementation operation of this embodiment, the model can be implemented using, for example, PyTorch, and the binary cross entropy loss function (BCELoss) is selected as the method for loss calculation. In order to optimize the model performance, the Adam optimizer is used. Under the premise of ensuring the independence of the test set, we divided each training set, 80% of which was used as a training subset and 20% as a validation subset. This segmentation method aims to evaluate the performance of the model by monitoring the loss on the validation set, so as to determine whether it is necessary to adjust the hyperparameters of the model or change the training strategy. In the final evaluation stage of the model, an independent test set was used for testing. For each training set and validation set, we set a batch size of 64, and for each test set, the batch size was set to 1. In order to comprehensively evaluate the performance of the model, the average accuracy (ACC) of 165 test sets was calculated.

[0115] Example 2

[0116] In this embodiment, a key performance evaluation indicator is used: accuracy ACC. As an intuitive indicator, ACC reflects the proportion of transcription factor binding sites (TFBS) correctly predicted by the model as a whole, which can provide a basic understanding of the model performance.

[0117] In this embodiment, the discussion is based on the evaluation results. In order to comprehensively evaluate the performance of the model, it is compared with a series of deep learning-based models on 165 benchmark data sets, and the comparison includes but is not limited to: DeepBind, DanQ, CRPTS, DLBSS, D-SSCA, DSAC and DeepSTF. The aforementioned existing models are all advanced models in the field of transcription factor binding site prediction. Through these comparisons, the accuracy ACC of the present invention on 165 benchmark data sets is optimal, proving its excellent performance and application potential in transcription factor binding site prediction.

[0118]

[0119]

[0120] In this example, in order to verify the effectiveness of the model, the same dataset used in the work of Zhang Y, Wang Z, Zeng Y, et al. A novel convolution attention model for predicting transcription factor binding sites by combination of sequence and shape [J]. Briefings in Bioinformatics, 2022, 23 (1): bbab525 was used for testing. The experimental results show that our model exhibits the best performance compared with several other existing methods. Tests on 165 ChIP-seq benchmark datasets show that the average accuracy (ACC) of the model reached 0.865, which is 4.9% higher than the current best method.

[0121] In summary, the present invention provides a new hybrid deep learning framework for TFBS prediction based on multi-sequence fusion features and convolution-attention combined network, applies sliding windows on different DNA sequences to generate rich sequence features, and comprehensively processes and encodes these features to form a detailed feature representation, and realizes accurate prediction of TFBS by automatically learning the rich information contained in the fusion features using a multi-scale convolutional neural network (CNN) and a conformer network.

[0122] The sequences integrated by the sliding window are then encoded as the input of the model. This strategy comprehensively considers the dominant and recessive features of sequence characteristics and the relationship between these features. This comprehensive approach provides a more comprehensive perspective for revealing the deep information hidden in DNA sequences.

[0123] The fusion feature sequence of the present invention is composed of multiple k-mer sequences of specified length and step window. In the feature fusion process of the present invention, the fusion feature sequence is used to replace the original DNA sequence, so as to achieve the purpose of aggregating hidden information. The present invention sets multiple sliding windows of specific lengths on different types of DNA sequences, which not only retains the hidden dependency relationship between sequences, but also enriches the feature representation of data.

[0124] The present invention focuses on three types of characteristic sequences: single nucleotide (SN), adjacent dinucleotide (AD) and adjacent trinucleotide (AT), to consider the impact of potential dependencies between adjacent nucleotides on prediction. The present invention fuses these three sequence features to form a fused 101×84 characteristic matrix for the original sequence and the reverse complementary sequence with a sequence length of 101bp. This method can more comprehensively capture the information in the DNA sequence, effectively extract more hidden information, and improve the effect of feature extraction.

[0125] In the present invention, based on the assumption that transcription factors may bind to reverse sequences or reverse complementary sequences rather than original sequences, the combination of original sequences and reverse complementary sequences is particularly effective for feature extraction. This fused feature sequence replaces the traditional DNA sequence, and the fused feature matrix size is 202×84, which further promotes the aggregation of hidden information.

[0126] The present invention uses convolutional neural networks to extract features. The model uses multi-scale convolutional neural networks to extract data features, which are then used as inputs to the attention mechanism module. The non-independent feature matrix of the present invention combines the features of the original sequence and the reverse complementary sequence, effectively enhancing the model's ability to capture DNA sequence information and helping to improve prediction accuracy.

[0127] The present invention uses a batch normalization method to perform small batch correction on the mean and variance of the data, thereby learning the most suitable offset and scale and accelerating the convergence speed of the model. Through this multi-scale convolution design, the model can more effectively extract the combined features of different lengths in the genome sequence, providing richer and more accurate information for prediction. In addition, convolution kernels of different sizes are used for feature extraction, and each size of convolution kernel focuses on capturing some features, which can not only accelerate the convergence of the model, but also extract features with stronger correlation, further improving the prediction accuracy of the model.

[0128] The conformer module of the present invention further extracts additional features to enhance the accuracy and efficiency of the model in predicting TFBS. The new network based on deep learning of the present invention uses fused different sequence features as input, and interactively extracts local and global information by combining multi-scale CNN and conformer. In comparison with other existing models, the model exhibits superior robustness and performance, showing its advancement and practicality in TFBS prediction. This achievement not only emphasizes the importance of integrating multiple sequence features in the field of bioinformatics, but also demonstrates the great potential and application value of deep learning technology in this field.

[0129] The present invention solves the technical problems that existing deep learning methods have low prediction accuracy, ignore different types of DNA sequences and their potential interactions, do not fully consider the relationship between adjacent nucleotides, and have differences in the amount of data in the data set, resulting in limitations in predicting transcription factor binding sites TFBS.

[0130] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for predicting transcription factor binding sites, characterized in that: The method comprises: S1. Generate a reverse complementary sequence based on the original DNA sequence. On different types of DNA sequences, in the feature representation process of data, process the features of the different DNA sequences through fusion learning operations, and generate input sequence features using a sliding window. S2, performing a comprehensive processing operation and a combined encoding operation on the input sequence features, wherein in the combined encoding operation, a fixed length step and a sliding window are set on a given original DNA sequence and a reverse complementary sequence for a high-order nucleotide encoding k-mer to obtain a non-independent feature matrix, thereby obtaining a detailed feature representation; the single nucleotide feature SN, the adjacent dinucleotide feature AD and the adjacent trinucleotide feature AT are fused to obtain a fused feature sequence to form the non-independent feature matrix; S3. Utilize a multi-scale convolutional neural network (CNN) to extract data features from a fused feature sequence in the input sequence features, utilize a conformer network to capture high-order features, and input the convolutional features and the high-order features into an adaptive pooling layer to automatically learn the fusion information in the fused feature sequence to predict TFBS; wherein the convolutional neural network (CNN) includes: a difference size fixed filter to capture multi-scale features.

2. A method for predicting transcription factor binding sites according to claim 1, characterized in that: In S1, a preset number of ChIP-seq data sets are screened from a preset gene data source, and the ChIP-seq data sets include: a positive set and a negative set.

3. A method for predicting transcription factor binding sites according to claim 1, characterized in that: The S1 includes: S11, generating a reverse complementary sequence based on the original DNA sequence; S12, setting the sliding windows of no less than 2 specific lengths on the different types of DNA sequences; S13. Using sliding window processing to obtain an integrated sequence to obtain model input data as the input sequence feature.

4. A method for predicting transcription factor binding sites according to claim 1, characterized in that: In S2, when the comprehensive processing operation is performed on the original DNA sequence and the reverse complementary sequence, the sliding window of the difference length is used to extract the single nucleotide feature SN, the adjacent dinucleotide feature AD and the adjacent trinucleotide feature AT.

5. A method for predicting transcription factor binding sites according to claim 1, characterized in that: In S2, when the original DNA sequence is combined and processed, a combined sequence is obtained according to the original input sequence OI and the reverse complementary sequence RC; wherein, when creating the reverse complementary sequence, the original input sequence OI is arranged in reverse order; according to the base complementary pairing principle A—T, C—G, replacement is performed to obtain a new DNA sequence type; on the original input sequence OI and the reverse complementary sequence RC, sliding windows of different lengths are set to obtain the combined sequence through integration.

6. A method for predicting transcription factor binding sites according to claim 1, characterized in that: In S2, the fusion feature sequence is expressed using the following logic:

7. A method for predicting transcription factor binding sites according to claim 1, characterized in that: In S3, the convolutional neural network CNN also includes: no less than 2 difference-size convolution kernels as convolution branches to adapt to the difference-length combination area; each convolution layer in the convolutional neural network CNN uses a Relu activation function, and performs mean and variance correction operations through a batch normalization method to learn to obtain an applicable offset and an applicable scale, and splices the convolution branches to obtain the difference-size fixed filter.

8. A method for predicting transcription factor binding sites according to claim 1, characterized in that: The S3 includes: S31, using the fused feature sequence to replace the original input sequence OI to aggregate hidden information; S32, using the convolutional neural network CNN to extract the data features as input to the attention mechanism module, wherein the data features are extracted using the following logic: X C10 =BN(TWO(Conv 10motif (S))) X C12 =BN(TWO(Conv 12motif (S))) X C16 =BN(TWO(Conv 16motif (S))) X=Concat(X C10 ,X C12 ,X C16 ) Where S is a fusion feature sequence with a shape of 202×84, X C10 is the output of the binding motif length 10, X C12 is the output of the binding motif length 12, X C16 is the output of the binding motif length 16. S33. Utilize the conformer module to adopt deep separable convolution to extract additional features as the high-order features, wherein the conformer module includes: 2 feedforward modules, 1 multi-head attention MHSA module, 1 convolution module and LayerNorm processing module, wherein the multi-head attention MHSA module is used to introduce relative sinusoidal position encoding to capture the order information of the input element sequence; the convolution module also includes: gated linear unit GLU, batch normalization BatchNorm module and Swish function; based on the Pre-Norm structure, combined with the Swish activation function and dropout regularization technology, the feedforward module is constructed; the multi-head attention MHSA module also includes: Pre-Norm residual structure with dropout; the deep separable convolution includes: deep convolution and point-by-point convolution, the deep convolution is used to process the internal dependency of a single channel, and the point-by-point convolution is used to obtain the interaction information between channels. S34, using the adaptive pooling layer, performing an adaptive maximum pooling operation on the high-order feature P; using an extended sigmoid function to perform a model output processing operation, wherein the extended sigmoid function is represented by the following logic: Y=AdaptivMaxpool(P), t=Sigmoid(Lineaar(Flatten(Y))).

9. A method for predicting transcription factor binding sites according to claim 8, characterized in that: In S33, the Conformer module is expressed using the following logic: Where X∈R b×l×d is the feature sequence of the input conformer module, b is the batch size, l is the sequence length, and d is the feature dimension; X is calculated and residually connected by the four modules in the conformer module respectively.

10. A transcription factor binding site prediction system, characterized in that: The system comprises: An input sequence feature generation module is used to process the features of different types of DNA sequences through a fusion learning operation in the feature representation process of data, and generate input sequence features using a sliding window; A fusion feature acquisition module is used to perform comprehensive processing operations and combined coding operations on the input sequence features, wherein in the combined coding operation, a fixed length step and a sliding window are set on the given original DNA and reverse complementary sequence for the high-order nucleotide coding k-mer to obtain a non-independent feature matrix, thereby obtaining a detailed feature representation; according to the original input sequence OI and the reverse complementary sequence RC, the single nucleotide feature SN, the adjacent dinucleotide feature AD and the adjacent trinucleotide feature AT are fused and processed to form the non-independent feature matrix, and the fusion feature acquisition module is connected to the input sequence feature generation module; A high-order feature acquisition module is used to use a multi-scale convolutional neural network CNN to extract data features from the original input sequence OI in the input sequence features, use a conformer network to capture high-order features, and input the convolutional features and the high-order features into an adaptive pooling layer to automatically learn the fusion information in the fusion feature sequence to predict TFBS; wherein the convolutional neural network CNN includes: a difference size fixed filter to capture multi-scale features, and the high-order feature acquisition module is connected to the fusion feature acquisition module and the input sequence feature generation module.

Citation Information

Cited By

  • Deep learning-based mRNA translation protein product prediction method and model

    CN119785882A

  • Plant transcription factor binding site prediction method fusing complete dynamic convolution and CubeMLP

    CN120148607A