A method for predicting
DNA binding residues based on a three-segment sliding window is disclosed. Firstly, according to the input
protein sequence information P for
DNA binding residue prediction, the number of residues is L, the
protein sequence database UniRef90 is searched using the PSI-BLAST program to generate a position-specific scoring matrix of size L×20, a
solvent accessibility feature matrix of size L×3 is obtained using the SANN program, and a
feature matrix of size L×20 is obtained by one-hot encoding. Then, the three feature matrices are concatenated into a super
feature matrix of size L×43, that is, each
protein residue corresponds to a 1×43
feature vector, and the similarity of the feature vectors between two residues is obtained by
cosine similarity, that is, the residue similarity. Secondly, the feature view
processing is performed on each residue in the super matrix by using the three-segment sliding window technology, and these feature views are expanded into feature vectors. Thirdly, the corresponding feature vectors and labels are generated by using the protein sequence of known
DNA binding residues, and input into the
support vector machine for training. Finally, the
feature vector generated by the protein sequence to be predicted is input into the trained model to predict whether the residues in the protein sequence are DNA binding residues. The present invention has low calculation cost and high prediction accuracy.