Abstract
Because of the limited effectiveness of prevailing phylogenetic methods when applied to highly divergent protein sequences, the phylogenetic analysis problem remains challenging. Here, we propose a sequence-based evolutionary distance algorithm termed sequence distance (SD), which innovatively incorporates site-to-site correlation within protein sequences into the distance estimation. In protein superfamilies, SD can effectively distinguish evolutionary relationships both within and between protein families, producing phylogenetic trees that closely align with those based on structural information, even with sequence identity less than 20%. SD is highly correlated with the similarity of the protein structure, and can calculate evolutionary distances for thousands of protein pairs within seconds using a single CPU, which is significantly faster than most protein structure prediction methods that demand high computational resources and long run times. The development of SD will significantly advance phylogenetics, providing researchers with a more accurate and reliable tool for exploring evolutionary relationships.
Subject terms: Phylogenetics, Protein sequence analyses
Introduction
Evolutionary information on protein sequences is crucial for various purposes, including homologue detection1,2, protein design, and drug target selection3. Phylogenetic analysis is a widely used method for extracting this information that provides valuable insights into the early evolution of proteins, such as identifying ancestral peptide motifs and key sites for protein conformation shifts. However, when dealing with superfamilies containing remote homologues, accurate and unbiased phylogenetic analysis remains a challenge because of high sequence divergence and a large data scale.
A protein superfamily is the largest group of proteins sharing a common ancestor4. Proteins in the same superfamily might have highly divergent sequences with sequence identity as low as 15%5. Traditional phylogenetic analysis methods, such as Bayesian inference, maximum likelihood (ML), maximum parsimony, and distance-based methods, often perform poorly in the analysis of highly divergent sequences such as those found in a superfamily. This is attributable to the unreliable nature of multiple sequence alignments (MSAs) obtained from these sequences6. Among these methods, distance-based methods, such as neighbour joining, are good choices for the phylogenetic analysis of protein sequences in a superfamily because of their ability to circumvent MSA degradation and their scalability for large datasets.
The effectiveness of an evolutionary distance matrix is essential for the success of distance-based phylogenetic analysis. There are three main categories of traditional sequence-based evolutionary distance estimation methods. The first category consists of mathematical model-based algorithms that calculate the percentage of nonidentical amino acids and then correct the probability of multiple substitutions in evolution to estimate the evolutionary distance7–9. The second category uses a series of residue substitution matrices to estimate the evolutionary distance. These matrices obtained from large datasets of taxa and alignments are divided into two groups: simple and complex. Simple substitution matrices, such as the Dayhoff10, Jones-Taylor-Thomton(JTT)11, Whelan and Goldman(WAG)12, and Müller-Vingron (MV)13 models, ignore site heterogeneity during evolution. However, different sites in protein sequences experience varying evolutionary rates and are characterized by different substitution models because of differences in evolutionary pressures14. This led to the development of a complex substitution matrix series15–18. Both types of evolutionary distance estimation algorithms rely on MSAs. As the awareness of less informative MSAs for remote homologous proteins has increased, there has been a shift towards the use of pairwise sequence alignments (PSAs) in phylogenetic analysis. The third category of evolutionary distance estimation algorithms is based on PSAs, such as the Needleman–Wunsch (NW) algorithm and all-to-all MMseq219,20.
In this study, we proposed the sequence-based algorithm sequence distance (SD) for evolutionary distance estimation. Unlike existing sequence-based methods, this method leverages the correlation information between sites from position-specific scoring matrices (PSSMs) to construct a feature matrix for further evolutionary distance estimation21. This approach, which incorporates the correlation between sites, has successfully predicted protein structures22, identified protein–protein interactions23, and extracted the evolutionary features of key viral proteins24. Our results demonstrate that the SD algorithm can accurately measure the evolutionary distances between remote homologues in protein superfamilies and distinguish evolutionary relationships within and between families, even when the protein sequence identity is less than 20%. Furthermore, the SD algorithm continues to perform effectively when the sequence identity is as low as 10%, whereas other sequence-based methods fail at this level. Under the fact that the protein structure being much more highly conserved throughout evolution than the protein sequence, several structure-based phylogenetic analysis methods are developed. Protein structure prediction tools have achieved remarkable advancements in recent CASP14 and CASP15. However, these methods typically demand a substantial amount of computing resources, including CPUs, GPUs, and even TPUs, which may not be accessible to most researchers. Moreover, for proteins with lengths exceeding 1000 residues, predicting their structures may take several days. In contrast, the SD algorithm can efficiently calculate evolutionary distances for thousands of protein pairs in just a few seconds using a single CPU. Furthermore, the distances derived from the SD algorithm highly correlate with structural similarity, and the topology of evolutionary trees based on the SD algorithm is much more similar to that based on structural evolutionary distances than that based on other methods. In conclusion, the SD algorithm can be widely used for the phylogenetic analysis of remote homologues, especially in cases of high sequence divergence.
Materials and methods
The superfamily database
The protein superfamily database was constructed on the basis of the SCOP2 database5. SCOP2 is a non-redundant, manually classified database that provides information on the structural and evolutionary relationships between proteins. To evaluate the effectiveness of the evolutionary distance on a superfamily level, which is the largest classification level capable of finding common ancestor sequences, we conducted a series of tests. Initially, we filtered out proteins shorter than 50 amino acids or longer than 500 amino acids. After this screening, 31,725 proteins belonging to 2106 superfamilies remained. Then, we eliminated 715 superfamilies that featured only a single family and 938 superfamilies with fewer than five protein domains to ensure further statistical analysis. Then, 529 superfamilies consisting of 14,108 proteins were used for further database construction (Table 1). For each protein superfamily, we built datasets with sequence identities under different thresholds (0.5, 0.4, 0.3, 0.2, and 0.1) using PISCES25.
Table 1.
Sequence identity thresholds | Fold | Superfamily | Family | Protein |
---|---|---|---|---|
0.1 | 322 | 401 | 2714 | 5741 |
0.2 | 324 | 402 | 2725 | 6080 |
0.3 | 324 | 403 | 2734 | 7848 |
0.4 | 397 | 529 | 3065 | 11,162 |
0.5 | 398 | 529 | 3093 | 13,717 |
All | 398 | 529 | 3093 | 14,108 |
SD algorithm
The state-of-the-art sequence-based evolutionary distance estimation methods assume that each site in the protein sequence is independent. In the evolutionary distance estimation algorithm SD, we consider the correlations between adjacent sites in protein sequences. The algorithm utilizes the interactions between residues as extracted from PSSMs and considers the predicted secondary structure and solvent accessibility to depict the local structure of sites. Based on these features, a feature profile is constructed. SD then employs PSA using these feature profiles to eliminate low-quality MSAs. The evolutionary distance is ultimately calculated on the basis of the best alignment score.
The SD algorithm uses three input features: the PSSM, predicted secondary structure, and solvent accessibility. The PSSM is calculated using PSI-BLAST in the BLAST v2.2.25 package with a three-iteration search of the Uniref90 database and an E-value threshold of 0.00126. Each element in the PSSM represents the probability of occurrence of 20 amino acids at each site in the protein. The secondary structure and solvent accessibility are predicted by SPIDER227. The secondary structure feature is one-dimensional, and it can take on the values H (α-helix), E (β-sheet layer), and C (irregularly coiled). The solvent accessibility feature describes the solvent contact area of the amino acid at the site. This characteristic is assigned values of either B (buried) when the relative accessible surface area (rASA) of the residue predicted by SPIDER2 is less than 20%, or E (exposed) when the rASA exceeds 20%27. This resulted in a total of 23 input features for each site, including 20-dimensional amino acid occurrence probability features, 1-dimensional secondary structure features, and 2-dimensional solvent accessibility features (Fig. 1).
The construction of a feature profile is a critical step in the SD algorithm, as it incorporates the correlations between sites into the original input features. This transformation process consists of two main steps: (1) constructing the probability profile of a specific residue pair occurrence at adjacent sites by calculating the cross product of the probability of amino acid occurrence at site i and site i + 1, resulting in a 20 × 20-dimensional vector, and (2) constructing the probability profile of the intersection of neighbouring residue occurrence types and local structural features. The crossover information is obtained as a total of 4 × 3 × 20-dimensional vectors. After these transformation steps, the feature profile for each site is a 640-dimensional vector that considers the correlation between neighbouring sites.
Next, we defined a pairwise scoring function for feature profile alignment, as presented in Eq. (1). Given matching between site i of protein sequence L1 and site j of sequence L2, the scoring function is
1 |
The SD algorithm calculates the evolutionary distance between two protein sequences by first using a global alignment algorithm based on a scoring function of the site feature profile. The scoring function consists of three terms. is the feature profile (L1 × 640-dimentional vector) for protein sequence L1. And the same definition for . The first term is the dot product of the feature profile vectors of sites i and j when they are matching. The second term is the secondary structure matching score. In this term, if the predicted secondary structure of two sequence sites is the same, then ; otherwise, , and is the weight coefficient. The final term is the relative solvent accessibility. In this term, if the predicted relative solvent accessibility of two sequence sites is the same, then ; otherwise, , and is the weight coefficient. and are chosen ranging from 1.0 to 2.0 through experimentation and optimization.
Pairwise sequence alignment in SD is based on the classical NW algorithm28, which requires a global sequence alignment from start to end. The gap penalty function that we used is the affine gap penalty function. As presented in Eq. (2), we implement three scoring matrices. The process of state transfer is divided into four steps: match transfer to match, match transfer to open gap, open gap to match (end gap), and open gap to open gap.
2 |
Since the alignment score obtained by the former process represents the closeness of two sequences, it is mapped to the [0,1] space to calculate the evolutionary distance of two protein sequences.
3 |
Evaluation of evolutionary distances
To assess the ability of evolutionary distances to identify SCOP relationships at the superfamily level, we introduce the concept of the recognition rate (RR). The RR refers to the percentage of superfamilies for which proteins belonging to the same family and those from different families can be differentiated based on a specified evolutionary distance. First, we calculated the superfamily standard deviation (sfsd) as follows:
4 |
where are proteins in the same superfamily but in different families and is the evolutionary distance between and calculated by different algorithms. can detect the heterogeneity of distant evolutionary relationships, preventing the omission of situations in which the evolutionary distance between families exceeds the threshold. We used the Mann–Whitney U test to determine whether the distribution of evolutionary distance within the same family and that between different families were significantly different. The RR is defined as follows:
5 |
6 |
where is a set of protein superfamilies in which the distribution of evolutionary distance between proteins within the same family is significantly different from the distribution of evolutionary distance between proteins in different families, is the number of elements in the set, and represents the total number of superfamilies in the database. The performance of the evolutionary distance in recognizing SCOP relationships increases as the RR increases.
Furthermore, we define relative distance (RD) as follows:
7 |
RD measures the extent to which evolutionary distances vary within and between families. refers to the mean evolutionary distance of proteins within the same family in superfamily i, and refers to the mean evolutionary distance between proteins of different families in superfamily i. A higher RD indicates better performance of the evolutionary distance.
Protein similarity calculation
Remote homologues are characterized by low sequence identity but certain structural similarities. Thus, the evolutionary distance used for the phylogenetic analysis of proteins with remote homologues might exhibit a relationship with structural similarities. We used our superfamily database to investigate the correlation between evolutionary distances based on sequence information and structural similarity.
Because proteins with sequence identities greater than 20% are likely to have similar structures, we removed redundant proteins with sequence identities exceeding 20% using the PISCES program25. In total, 7035 proteins were retained.
To measure structural similarity, we used the template modelling score (TM-score), which provides a global measure of the structural similarity between proteins29.
8 |
9 |
In the formulas, denotes the scale factor, which makes the TM-score length-independent. is the distance of the i-th pair of the equivalent residues between the two structures, which depends on the superposition matrix; the ‘max’ means the procedure to identify the optimal superposition matrix that maximizes the sum in Eq. 829. is the sequence length of the template protein. is the length of the aligned sequence. To obtain a more appropriate expression of the structural similarity between two protein sequences, it is important to normalize the TM-score based on the appropriate chain. As different chains can result in different values, we use the following formula to calculate the TM-score:
10 |
Here, refers to the length of protein sequence , and represents the calculated TM-score normalized by protein sequence . The same definition applies to and . Formula (10) ensures a more accurate reflection of structural similarity between two protein sequences, irrespective of the chain used for normalization.
Phylogenetic tree construction
In this study, several sequence-based evolutionary distance algorithms were implemented for comparison. They are mainly from three classes. The first class consists of mathematical model-based evolutionary distances. The Raw distance, JCP distance, Kimura distance, and Scoredist distance were calculated by Belvu 2.26, which require the input of MSAs obtained from Cluster Omega30. The second class includes residue substitution matrix-based evolutionary distances, which are divided into simple substitution matrix-based distances and complex substitution matrix-based distances. The former include the EXP-DAY, EXP-JTT, EXP-MV, EXP-WAG, ML-DAY, ML-JTT, ML-MV, and ML-WAG distances calculated by lapd 1.031. The latter type is the IQ-Tree-ML distance, which is calculated by IQ-Tree v1.6.932 using different complex amino acid substitution matrices and selecting the optimal matrix by the ML rule. The MSA was obtained from Cluster Omega30. The third class includes pairwise sequence alignment-based evolutionary distance. The Needleman–Wunsch (NW) distance was calculated using the biopython package33, whereas the MMseq2 distance was obtained directly from the intermediate results generated by the evolutionary analysis software graph splitting19. For phylogenetic tree construction, we used BioNJ, an accurate and widely used evolutionary distance-based phylogenetic tree generation method34.
Evaluation of the accuracy of the phylogenetic tree
We calculated the Robinson–Foulds (RF) distance to evaluate the accuracy of the estimated phylogenetic tree using ETE3 3.1.235. The RF distance between two trees is defined as the number of steps required to convert the first tree topology into the second tree topology. This process involves interrupting the branch (edge) unique to tree A and generating a branch unique to tree B. Consequently, the RF distance between trees A and B is equal to (n1 + n2), where n1 represents the number of branches unique to tree A and n2 represents the number of branches unique to tree B. There are algorithms that normalize the RF distance. The advantages of the RF distance are simplicity, intuitiveness, and low computational cost.
Results
The evolutionary distance calculated by SD is highly correlated with protein structural similarity
For proteins in constructed superfamily database with varying sequence identities, we investigated the relationship between the structural similarity score (TM-score) and the evolutionary distance. Specifically, we compared the SD distance with the NW distance, MMseq2 distance and IQ-Tree distance. As detailed in the Materials and Methods, NW, SD and MMseq2 are based on PSA, while the IQ-Tree distance is based on MSA.
Protein pairs within each superfamily were pooled and analysed under different thresholds to calculate evolutionary distances and TM-scores. They were divided into groups based on their TM-scores, and the mean and variance of different evolutionary distances were calculated for each group (Fig. 2a).
As illustrated in Fig. 2b,c, in the superfamily dataset, the mean of TM-score is 0.2622, and the Pearson correlation between evolutionary distances and TM-score increased with increasing sequence identity. However, for proteins with low sequence identity (10% and 20%), the SD distance could effectively reflect the evolutionary distances of protein structures while other evolutionary distances failed. The PSA-based distances performed better than MSA-based distances. IQ-Tree distance displayed a large variance in each TM-score-based group, while MMseq2 distance barely had variance in the 0.1 to 0.5 TM-score range. SD decreased smoothly with increasing TM-scores; conversely, the NW distance displayed a noticeable decrease only in the initial section, and its mean value remained unchanged when the TM-score exceeded 0.4. For protein pairs with a sequence identity under 20%, the overall Pearson correlation between the SD evolutionary distance and TM-score was −0.80867, and the correlation between the NW evolutionary distance and TM-score was −0.47572. A larger SD evolutionary distance indicates lower structural similarity between proteins, whereas other PSA-based evolutionary distances are limited in its ability to reflect changes in protein structural similarity. Meanwhile, the SD distance provided a better indication of the variation in protein structural similarity and has the potential to be applied to the search for distant templates.
In this study, we compared SD with the widely used protein distant homologue identification software SPARKS-X and HHblits, which incorporate template structural information36,37. The SCOP20_v1.75 database contains 6365 proteins with less than 20% sequence identity. We evaluated the similarity of the structures of the Top1 distant homologues identified by different methods to the target proteins, measured by the TM-score.
For SPARKS-X, the profile of each sequence was obtained by three iterations of PSI-BLAST (with an E value threshold of 0.001), and for HHblits, directly from https://github.com/soedinglab/hh-suite. All parameters were set as default for SPARKS-X and HHblits. As shown in Supplementary Table 1, the mean TM-scores of the Top1 distant homologues identified by SPARKS-X, HHblits, and SD were 0.6216, 0.6199, and 0.61538, respectively. Additionally, the percentages of proteins with TM-scores > 0.5 were 75.75%, 76.99%, and 76.10%, respectively. The performance of SD was comparable to that of SPARKS-X and HHblits for both evaluation criteria.
The SD algorithm can accurately distinguish SCOP relationships at the superfamily level
To evaluate the performance of the SD algorithm in distinguishing evolutionary relationships within and between families at the superfamily level, we calculated the RR and RD and compared these parameters with those calculated using other evolutionary distance methods. The details of the RR and RD calculations can be found in the Materials and Methods.
As illustrated in Fig. 3a, evolutionary relationships were more easily detected when sequence homology exceeded 0.3. To evaluate the ability of evolutionary distances to distinguish proteins within and between families, different sequence homology thresholds were set. Our results demonstrated that the SD algorithm performed best in terms of the RR and RD when the homology threshold ranged from 0.1 to 0.5. As the homology threshold decreased, both the RR and RD decreased for all evolutionary distances tested. Under a homology threshold of 0.5, the SD algorithm demonstrated significant differences in evolutionary distances between and within families for 75.24% of superfamilies, with an RD of 0.66. Under homology thresholds of 0.4 and 0.3, the SD algorithm still performed best, with significant differences in evolutionary distances between and within families measured for 64.69% and 66.75% of superfamilies, respectively. The slight superiority of SD under the 0.3 sequence identity threshold compared to the 0.4 threshold can primarily be attributed to variations in dataset distribution across these different sequence identity thresholds. Furthermore, it is important to consider that RR inherently demonstrates statistical variability, which can lead to fluctuations in performance metrics when assessed across varying thresholds. However, these results were generally inferior to those obtained under a homology threshold of 0.5.
In the twilight zone of protein sequence evolution, distinguishing evolutionary relationships within and between families at the superfamily level is challenging. At a homology threshold of 0.2, compared to a threshold of 0.3, although proteins in the same family generally maintain similar conformations or functions, their recognition ability rapidly weakens, causing a sharp drop in the RR from 66.75% to 49.86%. RD also decreased by approximately 14% from 0.5606 at the 0.3 homology threshold to 0.4811 at a threshold of 0.2. This decrease in performance is mainly attributed to an increase in the evolutionary distance within the family as the sequence homology decreases. Despite these challenging conditions, the SD algorithm still outperformed other evolutionary distances. The performance of the SD algorithm at the superfamily level was further demonstrated by its stability even at a low homology threshold of 0.1. The RR only decreased from 49.86% to 46.11%. Similarly, this gap was also reflected in RD. The downwards trend of the two indicators tended to be flat. Detailed results can be found in Supplementary Table 2.
Compared to other evolutionary distance methods, SD demonstrated superior performance for both the RR and RD, which was maintained at different homology thresholds. The SD algorithm's advantages are particularly evident when sequence homology is high, highlighting its broad discrimination capabilities. Under the condition of low sequence homology, SD remains applicable. Overall, these results demonstrated that SD can effectively distinguish evolutionary relationships within and between families in the superfamily database, even under conditions of low sequence identity.
Case study: SD distance of the Homeodomain-like superfamily
We analysed the performance of SD in determining evolutionary relationships from the perspective of the entire superfamily database. In this section, we utilized the Homeodomain-like superfamily, which consists of proteins with helices involved in DNA binding38,39, as a case study to further evaluate the ability of SD to infer evolutionary relationships. With a sequence identity threshold of 50%, the Homeodomain-like superfamily comprises 167 proteins divided into 24 families. Notably, the Tetracyclin repressor-like family has more than 50 domains, while two other families have more than 20 domains, and six families have more than two domains (see Supplementary Table 3). These characteristics of the Homeodomain-like superfamily highlight its sequence variability and evolutionary diversity. To illustrate the actual distribution of evolutionary distances within the Homeodomain-like superfamily, we calculated pairwise alignment-based, mathematical model-based and residue substitution matrix-based evolutionary distances of proteins in this superfamily (Fig. 3b).
Several methods for measuring evolutionary relationships, such as PSA or complex substitution matrix-based methods, exhibit varying degrees of accuracy. The NW method provides an effective measure of relationships that occur within and between families, but it displays significant overlap between the distance distributions of interfamily and intrafamily relationships, indicating its inability to differentiate between close and distant relationships (also known as the twilight zone). Conversely, IQ-Tree performs well in depicting intrafamily evolutionary relationships, whereas most interfamily distances take a maximum value. Measurement of the latter was beyond the scope of IQ-Tree. Similarly, MMseq2 also fails to accurately measure the evolutionary relationships between families. In contrast, SD distinguishes between close and distant evolutionary relationships effectively, with distances measured by SD tending to be larger for relationships between families than for relationships within families. Furthermore, the distribution of distances of the two groups were significantly different (p < 0.001, Mann–Whitney U test).
Although the R distance calculation does not involve sequence alignments, it can measure remote evolutionary relationships. However, there is overlap between interfamily and intrafamily distance distributions. As shown in Fig. 3b, JCP distance, Kimura distance, and Scoredist distance fail to effectively distinguish remote evolutionary relationships, with most interfamily relationships assigned a maximum value of 300. The findings indicate that the effective range of the existing mathematical correction-based evolutionary distances is insufficient for accurately estimating the evolutionary distances of distant sequences within protein superfamilies. Additionally, the quality of MSA may be compromised when incorporating highly divergent sequences, resulting in a failure to measure close evolutionary relationships.
Simple amino acid substitution-based models perform well in inferring proximate relatives, but their range is limited in measuring remote evolutionary relationships. EXP-DAY, EXP-JTT, and EXP-WAG underperform in this regard, whereas EXP-MV is capable of estimating remote evolutionary relationships. However, upon a comparison of evolutionary distances within and between families, the distributions of the two groups are similar, indicating that these evolutionary distances are inadequate in distinguishing between close and distant evolutionary relationships.
Performance of SD distances for the phylogenetic analysis of superfamilies
In this section, we utilized the SD distance to perform phylogenetic analysis of protein sequences within a superfamily. Specifically, phylogenetic trees were constructed using SD distances, and their topological features were compared to those of trees constructed using the TM-score as a structural evolutionary distance. The TM-score, which represents structural similarity, is more suitable for evolutionary tree construction than sequence homology since two distant homologous proteins with insignificant sequence similarity could adopt a common fold and may perform similar biochemical functions40. The accuracy of the phylogenetic trees was assessed by comparing their topologies with that of the evolutionary tree generated by BioNJ based on the TM-score, and the RF distance was used to measure topology similarity, where smaller distances indicate greater accuracy.
Our results demonstrated that the RF distances of the SD phylogenetic tree ranged mainly from 0.25 to 0.7, with a probability of 0.1189 that the RF distance would be 0, indicating that in 11.89% of superfamilies, the SD-based phylogenetic trees had the exact same topology as the TM-score-based phylogenetic tree (Fig. 4). Moreover, under different sequence identity thresholds, SD consistently displayed a lower RF distance than the other methods. Notably, the mean RF distance hardly changes with increasing sequence identity, suggesting that SD is less influenced by sequence identity. Taken together, our findings highlight the suitability of SD for the phylogenetic analysis of proteins within superfamilies.
Case study: Phylogenetic analysis of the Flavoreductase-like superfamily
The Flavoreductase-like superfamily (ID: 3,000,055) is an important group of proteins that function as FAD/NAD(P) binders41, and it comprises 36 proteins with sequence identities under 50% (see Supplementary Table 4). To gain a deeper understanding of the evolutionary relationships between the six distinct families within this superfamily, we conducted a comprehensive analysis. The SD algorithm required 21 s on a single CPU to calculate the distance matrix for the set of 630 protein pairs. We constructed phylogenetic trees based on various evolutionary distances and compared them to the TM-score-based tree. Our results indicated that the SD-BioNJ phylogenetic tree was the most similar to the TM-score-based tree among all the trees based on different algorithms (Fig. 5). This observation suggests that the SD distance is a reliable metric for measuring evolutionary distances among the members of this superfamily. Both the SD-BioNJ and TM-BioNJ trees grouped the GMC oxidoreductase-like, UDP-galactopyranose mutase-like and Amine oxidase-like protein families together, indicating their close evolutionary relationships, and only a few minor variations were observed in the evolutionary relationships within families. In terms of overall topological differences, the SD-BioNJ tree had the lowest RF distance of 0.212 when compared to the reference tree, while the IQ-Tree-BioNJ tree and MMseq2-BioNJ tree had higher RF distances of 0.606 and 0.424, respectively.
Therefore, our findings suggest that the SD distance can effectively distinguish the evolutionary relationships between families within the Flavoreductase-like superfamily and that the SD-BioNJ tree is a useful tool for the phylogenetic analysis of protein sequences in this superfamily. Our detailed analysis of the Flavoreductase-like superfamily provides valuable insights into the evolutionary relationships between its six different families. Topology of different evolutionary trees for the Homeodomain-like superfamily can be found in Supplementary Fig. S1. The SD distance metric was found to be the most accurate among the evolutionary distance-based methods for phylogenetic analysis of this superfamily.
Discussion
We developed the SD algorithm for protein evolutionary distance calculation based on a single protein sequence. Since the evolutionary processes of different sites are influenced by the local structure and amino acids of the surrounding sites, we extracted the interaction information from neighbouring residues using a PSSM and utilized the predicted secondary structure information and solvent accessibility information to depict local structure. In addition, pairwise sequence alignment was performed using the SD algorithm to avoid the impact of low-quality MSAs.
In remote evolutionary relationship analysis, SD outperformed traditional methods, accurately measuring inter- and intrafamily evolutionary distances in the SCOP2 database, especially under low sequence homology thresholds. We found that SD was more effective than other methods in distinguishing intra- and interfamily proteins under different homology thresholds, as demonstrated by the RR and RD. As the SD distance correlates well with protein structural similarity and can identify a comparable percentage of distant homologues in the SCOP20 dataset, it can be applied to search for distant homologous sequences. When combined with structural information, it supports an effective distant homologous template search in protein structure prediction.
In terms of phylogenetic analysis, the SD algorithm yielded high topological similarity with evolutionary trees constructed on the basis of structural similarity. We measured the difference in topology between trees using the RF distance metric and found that the mean RF distance between SD-BioNJ trees and structural similarity-based trees was smaller than those of IQ-Tree-BioNJ and MMseq2-BioNJ trees. A case study of the Flavoreductase-like superfamily demonstrated that the SD-based tree and TM-score-based tree depicted similar evolutionary relationships among protein families, but they differed in describing some proteins within families. In terms of computational efficiency, we evaluated the SD algorithm on several randomly selected sets of protein sequences from the superfamily database, and it requires only a few seconds on a single CPU to compute the distance matrix for thousands of protein pairs (Supplementary Table 5).
The increasing number of protein structures solved through X-ray crystallography and nuclear magnetic resonance (NMR) techniques has highlighted the fact that the protein structure being much more highly conserved throughout evolution than the protein sequence. This is because tertiary structures are subject to strict constraints during evolution to maintain structural stability, functional integrity, and folding correctness under the pressure of natural selection. In fact, the evolution rate of protein structures is significantly lower than that of protein sequences. New folds emerge on a timescale of billions of years42. Several approaches have been taken to incorporate structural information into evolutionary analysis. A stochastic evolution model that combines an insertion/deletion model, an amino acid substitution model, and a structural drift model has been proposed43. Another group used an amino acid substitution model that considers both amino acid identity and side-chain conformational states to estimate evolutionary distances44. Protein structural alignment algorithms, including Q-score and RMSD, are also used45,46. Incorporating structural information can potentially enhance the accuracy of evolutionary distance estimation. However, despite the significant progress made in computational protein structure prediction methods in recent years, their accuracy is still limited and they often require high computational resources and long execution times. Consequently, the practical application of structure-based algorithms for evolutionary distance estimation may be constrained.
Supplementary Information
Acknowledgements
This work was supported in part by project 39625008 of the National Natural Science Foundation of China.
Author contributions
W.C. and L.-Y.W. designed the study, developed the method. W.C., L.-Y.W., X.C. and X.-Y.X. implemented the data analysis and database construction. W.C. wrote the manuscript. Z.-X.W and X.-M.P. participated in study design and revision of the manuscript. All the authors read and approved the final manuscript.
Data availability
The SD program has been written in C++ language, and it runs on the Linux platform. It is free for use on the web server http://166.111.152.74:8888/sd_distance/. For academic users, the executable code and superfamily database can be obtained by e-Mail: pan-xm@mail.tsinghua.edu.cn.
Competing interests
The authors declare no competing interests.
Footnotes
The original online version of this Article was revised: The original version of this Article contained an error in Figure 3, panel b, where the labels are not displayed.
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: Wei Cao, Lu-Yun Wu and Xia-Yu Xia.
Change history
12/28/2023
A Correction to this paper has been published: 10.1038/s41598-023-50520-7
Contributor Information
Zhi-Xin Wang, Email: zhixinwang@mail.tsinghua.edu.cn.
Xian-Ming Pan, Email: pan-xm@mail.tsinghua.edu.cn.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-023-47496-9.
References
- 1.Remmert M, Biegert A, Hauser A, Söding J. HHblits: Lightning-fast iterative protein sequence searching by HMM-HMM alignment. Nat. Methods. 2011;9:173–175. doi: 10.1038/nmeth.1818. [DOI] [PubMed] [Google Scholar]
- 2.Webb-Robertson BJ, Oehmen C, Matzke M. SVM-BALSA: Remote homology detection based on Bayesian sequence alignment. Comput. Biol. Chem. 2005;29:440–443. doi: 10.1016/j.compbiolchem.2005.09.006. [DOI] [PubMed] [Google Scholar]
- 3.van Montfort RLM, Workman P. Structure-based drug design: Aiming for a perfect fit. Essays Biochem. 2017;61:431–437. doi: 10.1042/ebc20170052. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Goitre L, Trapani E, Trabalzini L, Retta SF. The Ras superfamily of small GTPases: The unlocked secrets. Methods Mol. Biol. 2014;1120:1–18. doi: 10.1007/978-1-62703-791-4_1. [DOI] [PubMed] [Google Scholar]
- 5.Andreeva A, Kulesha E, Gough J, Murzin AG. The SCOP database in 2020: Expanded classification of representative family and superfamily domains of known protein structures. Nucl. Acids Res. 2020;48:D376–D382. doi: 10.1093/nar/gkz1064. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Wong KM, Suchard MA, Huelsenbeck JP. Alignment uncertainty and genomic analysis. Science. 2008;319:473–476. doi: 10.1126/science.1151532. [DOI] [PubMed] [Google Scholar]
- 7.Gojobori T, Moriyama EN, Kimura M. Molecular clock of viral evolution, and the neutral theory. Proc. Natl. Acad. Sci. USA. 1990;87:10015–10018. doi: 10.1073/pnas.87.24.10015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Steel MA, Fu YX. Classifying and counting linear phylogenetic invariants for the Jukes–Cantor model. J. Comput. Biol. 1995;2:39–47. doi: 10.1089/cmb.1995.2.39. [DOI] [PubMed] [Google Scholar]
- 9.Sonnhammer EL, Hollich V. Scoredist: A simple and robust protein sequence distance estimator. BMC Bioinf. 2005;6:108. doi: 10.1186/1471-2105-6-108. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Dayhoff, M., Schwartz, R. & Orcutt, B. A model of evolutionary change in proteins. In Atlas of Protein Sequence and Structure' (MO Dayhoff, Ed.) (1978).
- 11.Jones DT, Taylor WR, Thornton JM. The rapid generation of mutation data matrices from protein sequences. Comput. Appl. Biosci. 1992;8:275–282. doi: 10.1093/bioinformatics/8.3.275. [DOI] [PubMed] [Google Scholar]
- 12.Whelan S, Goldman N. A general empirical model of protein evolution derived from multiple protein families using a maximum-likelihood approach. Mol. Biol. Evol. 2001;18:691–699. doi: 10.1093/oxfordjournals.molbev.a003851. [DOI] [PubMed] [Google Scholar]
- 13.Müller T, Vingron M. Modeling amino acid replacement. J. Comput. Biol. 2000;7:761–776. doi: 10.1089/10665270050514918. [DOI] [PubMed] [Google Scholar]
- 14.Echave J, Spielman SJ, Wilke CO. Causes of evolutionary rate variation among protein sites. Nat. Rev. Genet. 2016;17:109–121. doi: 10.1038/nrg.2015.18. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Lartillot N, Philippe H. A Bayesian mixture model for across-site heterogeneities in the amino-acid replacement process. Mol. Biol. Evol. 2004;21:1095–1109. doi: 10.1093/molbev/msh112. [DOI] [PubMed] [Google Scholar]
- 16.Le SQ, Lartillot N, Gascuel O. Phylogenetic mixture models for proteins. Philos. Trans. R. Soc. Lond. B. Biol. Sci. 2008;363:3965–3976. doi: 10.1098/rstb.2008.0180. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Le SQ, Dang CC, Gascuel O. Modeling protein evolution with several amino acid replacement matrices depending on site rates. Mol. Biol. Evol. 2012;29:2921–2936. doi: 10.1093/molbev/mss112. [DOI] [PubMed] [Google Scholar]
- 18.Wang HC, Minh BQ, Susko E, Roger AJ. Modeling site heterogeneity with posterior mean site frequency profiles accelerates accurate phylogenomic estimation. Syst. Biol. 2018;67:216–235. doi: 10.1093/sysbio/syx068. [DOI] [PubMed] [Google Scholar]
- 19.Matsui M, Iwasaki W. Graph splitting: A graph-based approach for superfamily-scale phylogenetic tree reconstruction. Syst. Biol. 2020;69:265–279. doi: 10.1093/sysbio/syz049. [DOI] [PubMed] [Google Scholar]
- 20.Xia X. PhyPA: Phylogenetic method with pairwise sequence alignment outperforms likelihood methods in phylogenetics involving highly diverged sequences. Mol. Phylogenet. Evol. 2016;102:331–343. doi: 10.1016/j.ympev.2016.07.001. [DOI] [PubMed] [Google Scholar]
- 21.Ahmad S, Sarai A. PSSM-based prediction of DNA binding sites in proteins. BMC Bioinf. 2005;6:33. doi: 10.1186/1471-2105-6-33. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Hopf TA, et al. Sequence co-evolution gives 3D contacts and structures of protein complexes. Elife. 2014;3:1. doi: 10.7554/eLife.03430. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Wang Y, Correa Marrero M, Medema MH, van Dijk ADJ. Coevolution-based prediction of protein-protein interactions in polyketide biosynthetic assembly lines. Bioinformatics. 2020;36:4846–4853. doi: 10.1093/bioinformatics/btaa595. [DOI] [PubMed] [Google Scholar]
- 24.Douam F, et al. A protein coevolution method uncovers critical features of the Hepatitis C Virus fusion mechanism. PLoS. Pathog. 2018;14:e1006908. doi: 10.1371/journal.ppat.1006908. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Wang G, Dunbrack RL. PISCES: Recent improvements to a PDB sequence culling server. Nucl. Acids Res. 2005;33:W94–W98. doi: 10.1093/nar/gki402. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Schäffer AA, et al. Improving the accuracy of PSI-BLAST protein database searches with composition-based statistics and other refinements. Nucl. Acids Res. 2001;29:2994–3005. doi: 10.1093/nar/29.14.2994. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Yang Y, et al. Spider2: A package to predict secondary structure, accessible surface area, and main-chain torsional angles by deep neural networks. Methods Mol. Biol. 2017;1484:55–63. doi: 10.1007/978-1-4939-6406-2_6. [DOI] [PubMed] [Google Scholar]
- 28.Du ZH, Lin F. Improvement of the Needleman-Wunsch algorithm. Lect. Notes Artif. Int. 2004;3066:792–797. [Google Scholar]
- 29.Xu J, Zhang Y. How significant is a protein structure similarity with TM-score= 0.5? Bioinformatics. 2010;26:889–895. doi: 10.1093/bioinformatics/btq066. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Sievers F, et al. Fast, scalable generation of high-quality protein multiple sequence alignments using Clustal Omega. Mol. Syst. Biol. 2011;7:1. doi: 10.1038/msb.2011.75. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Hollich V, Milchert L, Arvestad L, Sonnhammer EL. Assessment of protein distance measures and tree-building methods for phylogenetic tree reconstruction. Mol. Biol. Evol. 2005;22:2257–2264. doi: 10.1093/molbev/msi224. [DOI] [PubMed] [Google Scholar]
- 32.Nguyen LT, Schmidt HA, von Haeseler A, Minh BQ. IQ-TREE: A fast and effective stochastic algorithm for estimating maximum-likelihood phylogenies. Mol. Biol. Evol. 2015;32:268–274. doi: 10.1093/molbev/msu300. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Cock PJA, et al. Biopython: Freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics. 2009;25:1422–1423. doi: 10.1093/bioinformatics/btp163. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Lefort V, Desper R, Gascuel O. FastME 2.0: A comprehensive, accurate, and fast distance-based phylogeny inference program. Mol. Biol. Evol. 2015;32:2798–2800. doi: 10.1093/molbev/msv150. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Huerta-Cepas J, Dopazo J, Gabaldón T. ETE: A python environment for tree exploration. BMC bioinformatics. 2010;11:1–7. doi: 10.1186/1471-2105-11-24. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Steinegger M, et al. HH-suite3 for fast remote homology detection and deep protein annotation. BMC Bioinf. 2019;20:473. doi: 10.1186/s12859-019-3019-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Yang Y, Faraggi E, Zhao H, Zhou Y. Improving protein fold recognition and template-based modeling by employing probabilistic-based matching between predicted one-dimensional structural properties of query and corresponding native properties of templates. Bioinformatics. 2011;27:2076–2082. doi: 10.1093/bioinformatics/btr350. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Marin-de la Rosa, N. et al. Large-Scale Identification of Gibberellin-Related Transcription Factors Defines Group VII ETHYLENE RESPONSE FACTORS as Functional DELLA Partners. Plant Physiol. 166, 1022–1032. 10.1104/pp.114.244723 (2014). [DOI] [PMC free article] [PubMed]
- 39.Elfving N, et al. The Arabidopsis thaliana Med25 mediator subunit integrates environmental cues to control plant development. Proc. Natl. Acad. Sci. USA. 2011;108:8245–8250. doi: 10.1073/pnas.1002981108. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Balaji S, Srinivasan N. Comparison of sequence-based and structure-based phylogenetic trees of homologous proteins: Inferences on protein evolution. J. Biosci. 2007;32:83–96. doi: 10.1007/s12038-007-0008-1. [DOI] [PubMed] [Google Scholar]
- 41.Hammerstad M, Hersleth HP. Overview of structurally homologous flavoprotein oxidoreductases containing the low M(r) thioredoxin reductase-like fold—A functionally diverse group. Arch. Biochem. Biophys. 2021;702:108826. doi: 10.1016/j.abb.2021.108826. [DOI] [PubMed] [Google Scholar]
- 42.Wang M, et al. A universal molecular clock of protein folds and its power in tracing the early history of aerobic metabolism and planet oxygenation. Mol. Biol. Evol. 2011;28:567–582. doi: 10.1093/molbev/msq232. [DOI] [PubMed] [Google Scholar]
- 43.Challis CJ, Schmidler SC. A stochastic evolutionary model for protein structure alignment and phylogeny. Mol. Biol. Evol. 2012;29:3575–3587. doi: 10.1093/molbev/mss167. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Perron U, Kozlov AM, Stamatakis A, Goldman N, Moal IH. Modeling structural constraints on protein evolution via side-chain conformational states. Mol. Biol. Evol. 2019;36:2086–2103. doi: 10.1093/molbev/msz122. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Lundin D, Poole AM, Sjoberg BM, Hogbom M. Use of structural phylogenetic networks for classification of the ferritin-like superfamily. J. Biol. Chem. 2012;287:20565–20575. doi: 10.1074/jbc.M112.367458. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Malik AJ, Poole AM, Allison JR. Structural Phylogenetics with Confidence. Mol. Biol. Evol. 2020;37:2711–2726. doi: 10.1093/molbev/msaa100. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The SD program has been written in C++ language, and it runs on the Linux platform. It is free for use on the web server http://166.111.152.74:8888/sd_distance/. For academic users, the executable code and superfamily database can be obtained by e-Mail: pan-xm@mail.tsinghua.edu.cn.