Identification of a covert evolutionary pathway between two protein folds

News

HomeHome / News / Identification of a covert evolutionary pathway between two protein folds

Sep 10, 2023

Identification of a covert evolutionary pathway between two protein folds

Nature Communications volume

Nature Communications volume 14, Article number: 3177 (2023) Cite this article

317 Accesses

15 Altmetric

Metrics details

Although homologous protein sequences are expected to adopt similar structures, some amino acid substitutions can interconvert α-helices and β-sheets. Such fold switching may have occurred over evolutionary history, but supporting evidence has been limited by the: (1) abundance and diversity of sequenced genes, (2) quantity of experimentally determined protein structures, and (3) assumptions underlying the statistical methods used to infer homology. Here, we overcome these barriers by applying multiple statistical methods to a family of ~600,000 bacterial response regulator proteins. We find that their homologous DNA-binding subunits assume divergent structures: helix-turn-helix versus α-helix + β-sheet (winged helix). Phylogenetic analyses, ancestral sequence reconstruction, and AlphaFold2 models indicate that amino acid substitutions facilitated a switch from helix-turn-helix into winged helix. This structural transformation likely expanded DNA-binding specificity. Our approach uncovers an evolutionary pathway between two protein folds and provides a methodology to identify secondary structure switching in other protein families.

Life is sustained by the chemical interactions and catalytic reactions of hundreds of millions of folded proteins. The structures and functions of these proteins are determined by their amino acid sequences1. As such, sequence changes have various functional effects, ranging from none to intermediate impairment to complete loss2,3, with biological outcomes ranging from no observable effect to debilitating disease4,5,6. While many historical studies indicate that amino acid variation can locally or globally unfold protein structure7,8, such changes typically do not remodel secondary structure, such as converting α-helices to β-sheets. These findings support the well-established observation that proteins with similar sequences have similar folds and execute similar functions. In turn, these similarities are used to classify protein folds into families9,10,11 and underlie state-of-the-art protein structure prediction methods12,13,14.

Nevertheless, recent work shows that a subset of amino acid changes can switch secondary structure. This process has been called "evolutionary metamorphosis15" and "evolved fold switching16". For instance, the most frequent non-Hodgkin-lymphoma-associated mutation observed in human mycocyte enhancer factor 2 (MEF2) switches a C-terminal α-helix to a β-strand, likely impeding MEF2 function17. Furthermore, numerous single mutations deactivate the cyanobacterial circadian clock by preventing a transformation that is critical for its normal function – the switch of its C-terminal subdomain from a βααβ fold to an αββα fold18. Finally, for an engineered protein G variant, a single mutation or incorporation into a larger protein domain can switch the 3-α-helix bundle that binds human serum albumin to other folds with altered functions, such as an α/β-grasp fold that binds immunoglobulins or an α/β-plait ribosomal protein domain19,20,21,22,23.

These examples suggest that evolved fold switching of secondary structures, via stepwise amino acid changes, may be one mechanism by which new protein folds originate in nature. If so, this evolutionary mechanism should be identifiable by searching for homologous protein sequences with different experimentally determined structures (Fig. 1a). Similar approaches have successfully identified evolutionary relationships between protein fold families with conserved secondary structures but different tertiary arrangements24,25.

a Querying the full sequence of FixJ (HTH4) against the PDB with one round of BLAST yielded a significant match with full-length KdpE (wH). Notably, in two regions, experimentally determined α-helices aligned with β-sheets. b A subsequent PSI-BLAST search confirmed a likely evolutionary relationship between the full-length FixJ and KdpE sequences; full-length structures are shown with conserved NTDs in gray, linkers in orange, HTH4 CTD in black, and wH CTD in yellow. The resulting PSI-BLAST alignment includes the NTD and CTD (starting where KdpE sequence is highlighted in yellow); bold amino acids are identical (black) or similar (gray), regions were α-helices align with β-strands are pink; gaps are denoted ‘-‘. c Regions of three-dimensional structure (left) and secondary structure (right) where PSI-BLAST aligns α-helices in the HTH4 fold with sequences of β-strand in the wH fold (pink). Gray regions indicate conserved secondary and tertiary structure; beige regions in the wH correspond to its additional amino acids in the alignment, indicated as open spaces in the aligned secondary structure of FixJ (right). Source data are provided as a Source Data file.

However, observations of evolved secondary structure interconversion have been impeded by several technical barriers: (1) the limited abundance and diversity of sequenced genes, (2) the limited quantity of experimentally determined protein structures, and (3) the assumptions underlying the statistical methods used to infer homology. Indeed, all three limitations impacted the pioneering work of Cordes and colleagues, who identified a likely evolutionary relationship between the two distinctly folded transcription factors, P22 Cro and λ Cro26,27,28. Structurally, these two proteins share a 3-helical N-terminal core but have divergent C-terminal regions: P22 Cro's C-terminal region folds into two α-helices, whereas λ Cro's C-terminal assumes a β-hairpin. Although these differences could have arisen from evolved fold-switching, the data available were too limited to be conclusive: at the time of their study, the protein family comprised only 55 sequences and 5 solved structures (barriers (1) and (2)). The authors also proposed the existence of barrier (3): since whole-database PSI-BLAST searches did not identify P22 Cro and λ Cro as homologous, the authors concluded that27, "profile-based methods might be intrinsically ill suited…when wholesale structural change has occurred, since sequence conservation patterns will change in such a case."

Since the aforementioned study was performed nearly 20 years ago, the number of available sequences in the RefSeq29 database has increased by three orders of magnitude, and the number of experimentally determined structures deposited in the Protein Data Bank (PDB) has increased by a factor of 730,31. Thus, we hypothesized that sufficient protein sequence and structure information are now available to detect stepwise amino acid changes that lead to evolved fold switching.

To that end, we searched for evidence among a large family of bacterial response regulators comprising ~600,000 sequences and 76 unique, experimentally determined structures. Each homolog in this family constitutes one-half of a bacterial "two-component system"; the other half is a cognate sensor protein32. These protein pairs work together to allow bacteria to respond to their environments through chemotaxis33, antibiotic resistance34, oxygen sensing35, and more36. To carry out its function, each sensor protein has an extracellular domain that binds a triggering ligand, thereby activating the sensor's histidine kinase domain to phosphorylate its cognate response regulator at a conserved aspartate in the N-terminal receiver domain. In turn, this modification causes the response regulator's C-terminal "output" domain to mount the organism's response, such as altered transcription regulation37.

Structurally, the response regulator proteins share a common N-terminal domain architecture, whereas structural differences among their C-terminal domains have been used to divide them into subfamilies37,38. Nearly 50% of the C-terminal domains fold into either helix-turn-helix (HTH) or winged helix (wH) DNA-binding domains37. (This ~50% corresponds to the ~600,000 sequences mentioned above). Both C-terminal domain folds comprise a core 3-helix bundle flanked by either (1) an N-terminal helical linker and a 4th C-terminal helix (e.g., a tetrahelical HTH, or HTH4) or (2) a four-stranded N-terminal β-sheet (here called a linker for ease of comparison) and a C-terminal β-hairpin (or "wing", Fig. 1b and c). On average, response regulators with HTH4 output domains are ~30 residues shorter than their wH counterparts.

Common evolutionary descent of the response regulator HTH4 and wH domains was suggested previously39. However, an evolutionary mechanism could not be detected, again most likely due to the paucity of sequence and structure information available at the time of study. Thus, it has been unclear whether the differences in CTD secondary structures resulted from sequence insertions, complete or partial domain recombination, stepwise amino acid changes (e.g., evolved fold switching), or some combination of the three.

In this work, we report strong statistical support for evolved fold switching of C-terminal secondary structure in HTH4 and wH domains and propose a putative evolutionary pathway between the two folds. First, we showed that the C-terminal α-helix of the HTH4 shares an evolutionary relationship with the β-sheet wing of the wH (Figs. 1 and 2). This relationship was then reinforced through multiple statistical analyses of phylogenetic relationships, ancestral sequence reconstruction with AlphaFold2 models, and functional analyses. All lines of evidence consistently point to an evolutionary trajectory by which an α-helix transformed into a β-sheet through stepwise mutation(s). Our results suggest how stepwise mutations can switch protein secondary structure and provide methodology to identify evolved fold switching in other protein families.

We previously used protein BLAST40 to search the PDB for pairs of protein sequences with high sequence identity (≥70% though not identical) but divergent, experimentally determined secondary structures41 (Fig. 1a). This study supports the hypothesis that homologous proteins can switch folds through stepwise mutation but could not provide a detailed description of how the structural transitions occurred. Indeed of the fold-switching proteins reported, NusG had the largest sequence set, with ~16,000 non-redundant sequences42; however, these sequences are unreliably annotated42 and the fold transition/s is/are difficult to identify43, confounding phylogenetic analyses that could potentially reveal the fold-switch transition.

Here, we reasoned that searching families with larger numbers of sequences would enhance the statistics underlying homology inference, boost fold annotation accuracy, and enable the statistically significant phylogenetic analyses required to identify homologous but distinctly folded proteins. Larger families may also afford the ability to identify evolved fold switching pathways among sequences with ≤70% identity. To that end, we used all ~150,000 sequences in the PDB to query all other sequences with divergent secondary structures ("Methods" section) and identified sequence matches with e-values of 1e-04 or lower. Lower e-values indicate that a match is increasingly unlikely to arise by chance, allowing homology to be inferred44. Our threshold of 1e-04 is conservative; 5e-02 is often used to infer homology40 and some sequences with even higher e-values are also homologous40.

Among the pairs of potential fold-switching homologs in the PDB, we identified a match between the full-length structures of FixJ from Bradyrhizobium japonicum (query) and KdpE from Escherichia coli, with an e-value of 1e-07. Importantly, FixJPDB and KdpEPDB are defined as having different folds by several independent annotators, including Pfam, ECOD, and SCOP ("Methods" section). Both FixJPDB and KdpEPDB are response regulators of bacterial two-component systems. These proteins are highly abundant within and among myriad bacterial species. Sequences for >1,000,000 diverse genes are present in the nr database, which is nearly 2 orders of magnitude larger than the NusG family mentioned before.

Structurally, the N-terminal domains (NTDs) of FixJPDB and KdpEPDB showed high sequence and structural similarities (Fig. 1b, left), whereas their linkers and DNA-binding C-terminal domains (CTDs) showed modest sequence similarities and striking differences in secondary structure: FixJPDB's CTD comprises a tetrahelical helix-turn-helix (HTH4) architecture, whereas KdpEPDB's CTD comprises a winged helix (wH, Fig. 1). The KdpEPDB CTD is also 15 aa longer than that of FixJPDB. Nonetheless, FixJ's helical linker aligned partially with the four β-sheets of KdpE's CTD. (For ease of comparison, we call both regions, "linkers".) Furthermore, the C-terminal α-helix of FixJPDB aligns with the C-terminal β-hairpin of KdpEPDB's CTD, also known as its "wing".

In contrast to queries with the full-length proteins, BLAST and PSI-BLAST searches of the PDB using the sequences of isolated CTDs from either FixJPDB or KdpEPDB as queries only identified sequences from the same fold families (HTH4 or wH). Sequences encoding the alternative structure were not identified.

Two possibilities could explain these conflicting results. First, in the full-length sequences, the strong similarities of the NTD could erroneously give rise to the CTD alignment through "homologous overextension", in which flanking, non-homologous sequences are erroneously included in a local sequence alignment45. In this case, the distinctly folded CTDs would not share a common ancestor. Instead, genes encoding the separate CTDs likely recombined with genes encoding the NTDs of response regulators. Consistent with this possibility, the alignment coverage after our initial BLAST search included only 52% of the CTD sequence. Alternatively, the HTH4 and wH domains could share a common ancestor that is difficult to robustly infer from the isolated, divergent CTD sequences. In this case, searching with complete sequences (NTD + CTD) produced statistically significant alignments that correctly suggested an evolutionary relationship between alternatively folded CTDs. Indeed, the second phenomenon was proposed for both the Cro proteins26,27,28 and bacterial NusG transcription factors46.

To further discriminate whether our initial FixJPDB/KdpEPDB HTH4/wH match indicated a true evolutionary relationship or resulted from faulty homologous overextension, we next used full-length FixJPDB to query the PDB with 3 rounds of PSI-BLAST40, an iterative algorithm that identifies conservation patterns among homologous protein sequences. Unlike the faster BLAST algorithm (which identifies matches using pairwise identities between the query sequence and entries in a sequence database), PSI-BLAST searches for sequences that match conservation patterns within a set of homologous sequences used to generate a position-specific scoring matrix. This matrix stores scores for substituting one amino acid for another in each sequence position and is updated after each PSI-BLAST iteration if new sequences are hit in the search. As such, PSI-BLAST identifies hidden conservation patterns characteristic to a given protein family that cannot be detected by BLAST. Indeed, PSI-BLAST identified stronger conservation patterns between sequences encoding HTH4 and wH folds. This alignment approach also shifted the alignment registers of the CTDs, so that 97% of the FixJPDB sequence aligned with KdpEPDB with an e-value of 6 × 10−39 (Fig. 1b, right). This result supports the hypothesis that the HTH4 and wH folds of the FixJ and KdpE CTDs are distant homologs rather than alignment artifacts.

Furthermore, for 11 of the top 20 PSI-BLAST matches from this search, the CTDs assumed the same wH fold as KdpEPDB, whereas the other 9 matches assumed the same HTH fold as the FixJPDB query (Supplementary Table 1). A reciprocal, three-round PSI-BLAST search using the full-length KdpEPDB sequence as query aligned 90% of this protein with FixJPDB, with an e-value of 10−29. Notably, sequences of isolated DNA-binding domains with HTH folds were matched with the CTD of KdpEPDB (wH), and sequences of isolated DNA-binding domains with wH folds were matched with the sequence of FixJPDB's CTD (HTH4, Supplementary Table 2). Together, these results indicate that: (1) HTH4 and wH domains share a common ancestor39 and (2) the use of full-length sequences in our analyses, rather than isolated domains, is both legitimate and necessary to identify the relationship. Thus, all subsequent searches used full-length sequences as queries, unless otherwise noted.

Further examination of the aligned FixJPDB HTH4 and KdpEPDB wH folds revealed regions of structural similarity and dissimilarity: both folds share a conserved trihelical core39 (Fig. 1c). By contrast, striking regions of dissimilarity are evident between (1) FixJPDB's α-helical inter-domain linker and KdpE's corresponding quadruple-stranded β-sheet; long gaps in this alignment suggest that KdpEPDB's linker region was extended through an insertion, and (2) FixJPDB's C-terminal helix aligned with KdpEPDB's C-terminal β-hairpin "wing" (Fig. 1c); the ungapped alignment of this region suggests that one of these two secondary structures may have evolved into the other through stepwise mutation.

To further test whether stepwise mutations could have engendered a switch from α-helices to β-sheets (or vice versa), we next used an alternative sequence search algorithm, jackhmmer, to assess the potential evolutionary relationship between response regulators with HTH4 and wH output domains. Although more computationally intensive, iterative Hidden Markov Model (HMM)-based searches are typically more sensitive than PSI-BLAST47 and may better avoid homologous overextension45. To that end, sequences for 23 non-redundant, full-length response regulators with HTH4 (11) and wH (12) domains were identified from the PDB using the ECOD database.

In this round of analysis, our goal was to determine whether sequences of all the experimentally determined full-length response regulators with HTH4 and wH folds could be matched to sequences encoding the alternative fold (i.e., HTH4 to wH matches, and vice versa). Using jackhmmer47, each full-length sequence was used to query all sequences from the PDB ("Methods" section). As expected, the pairwise sequence identities of 23 full-length response regulators clustered into two subfamilies based on their CTD architectures (HTH4 and wH, Fig. 2a), indicating that CTDs in the same fold families have closer evolutionary relationships than those in different fold families (Supplementary Fig. 1). Nonetheless, the C-terminal helices of the HTH4 domains consistently aligned with a region in the C-terminal β-hairpin wings of wH fold domains (Fig. 2b). Furthermore, the α-helical interdomain linkers of the HTH4 consistently aligned with the four N-terminal β-strands of the wH domain. In further support of the cross-fold relationship, another 19/34 CTD-only structures were identified by the full-length queries, again with cross-fold recognition.

a Jackhmmer-aligned sequences of response regulators with experimentally determined structures (PDB IDs) were used to calculate pairwise sequence identities. Sequences cluster into two subfamilies, with HTH4 (upper right bracket) and wH (lower right braket) C-terminal domains. Each row reports % aligned identities (numbers within boxes) calculated from pairwise comparisons. Identical sequences are white; all others are colored by % identity (left colorbar). b Experimentally determined secondary structures of each sequence in a. The N-terminal domain, linker, and C-terminal domain are indicated by different background colors. The secondary structures are colored by their sequence-based, secondary-structure alignments with the alternatively folded structures (HTH4 aligned with wH and vice versa). Identical secondary structures that consistently align are dark purple (e.g., helices that always align with helices); secondary structures that align with regions of random coil range from light purple to pink; α-helices that align with β-sheets and vice versa are colored from pink to yellow, depending on whether the alignment is more or less frequent. c Box and whisker plots of log10(e-values) of jackhmmer searches of sequences that used one fold to query sequences from the alternative subfamily (HTH4 against wH or vice versa). The distributions of each HTH4 (gray background)/wH (yellow background) box were derived from N = 12 (1A04, 1YIO, 3C3W, 4GVP, 4HYE, 4LDZ, 4YN8, 5F64, 5HEV, 5O8Y), 11 (1KGS, 1P2F, 2HQR, 4B09), 10 (5XSO, 2GWR, 4S04), 9 (2OQR), 8 (4KFC, 5VFA, 7LZ9), 7 (1YS6, 5ED4) e-values; each box bounds the interquartile range (IQR) of the data (first quartile, Q1 through third quartile, Q3); medians of each distribution are gray lines within each black box; lower whisker is the lowest datum above Q1-1.5*IQR; upper whisker is the highest datum below Q3 + 1.5*IQR. Source data are provided as a Source Data file.

The possible relationship between HTH4 and wH folds was further supported by assessing the e-value distributions from alignments between the full-length proteins with (1) homologs from their own subfamily and (2) homologs from the alternatively folded subfamily (Fig. 2c, gray/yellow backgrounds, respectively). Median e-values of the alignments between the sequence of a given experimentally determined fold (HTH/wH) and the set of sequences with the alternative fold (wH/HTH) ranged from e-33 to e-43, suggesting significant evolutionary relationships across all members of the two subfamilies (Fig. 2c). As expected, the median e-values among sequences of similar folds ranged from e-54 to e-72 (Supplementary Fig. 2a), indicating closer evolutionary relationships.

Statistically significant alignments were also identified between full-length query sequences and isolated CTDs with the alternative fold in 22/23 full-length response regulators. Median e-values of these alignments ranged from e-04 to e-09, whereas median e-values of aligned sequences from the same fold family ranged from e-17 to e-30 (Supplementary Fig. 2b). These domain-specific alignments further support the evolutionary relationship between HTH4 and wH domains.

Thus, the jackhammer results (Fig. 2) are consistent with the PSI-BLAST alignment (Fig. 1b), and suggest two types of evolutionary events: (1) The linker may have been extended/shortened through an insertion/deletion; and (2) stepwise mutation may have induced a structural interconversion between the C-terminal α-helix of the HTH4 and the C-terminal β-sheet of the wH.

Although these structure-based sequence searches were consistent with evolved fold switching in the C-terminal HTH4 and wH domains, the mechanism of secondary structure conversion was obscured by the alternative locations of sequences inserted into the longer wH homologs. PSI-BLAST fully aligned the C-terminal α-helix of the HTH4 with the β-hairpin of the wH (Fig. 1b), suggesting a full secondary structure conversion. By contrast, jackhmmer aligned the C-terminal α-helix of the HTH4 with only the first β-strand of the wH (Fig. 2b), suggesting a partial conversion along with an insertion. To discriminate between these options, we next collected a large set of response regulator sequences with HTH4 and wH output domains. To that end, the FixJPDB and KdpEPDB sequences were queried against the nr database using protein BLAST to identify 581,791 putative homologs. Given the size of this sequence set, we developed several strategies for curating and sampling the data ("Methods" section) so that the final subset of sequences would be small enough for various phylogenetic analyses but large enough to adequately represent the large family of response regulators.

To that end, the 581,791 sequences were grouped into 367 clusters using a greedy clustering algorithm and filtered to 85% redundancy for a final number of 23,791 sequences. Clusters were then compared to identify 13,006 FixJ-like sequences and 10,785 KdpE-like sequences. Sequences within each group readily aligned; however, the two groups had overall low sequence identities with each other. Several approaches were attempted to align these groups. One attempt identified a "transitive homology pathway" of 7 sequences connecting HTH4 to wH sequences (Supplementary Table 3, "Methods" section) that was used to match the FixJ-like (HTH4) and KdpE-like (wH) alignments. However, when a phylogenetic tree was constructed in IQ-Tree for the combined 23,791 sequences, its quality was poor (i.e., 140 gaps/360 positions in the KdpEPDB sequence) and failed to converge after 3 rounds of bootstrapping.

Nevertheless, the transitive homology path suggested the existence of additional sequences that might bridge the HTH4 and wH fold families. Thus, we searched the original sequence set with an alternative approach. First, we categorized clusters with ≥100 sequences by their CTD architectures to identify 74,741/387,276 sequences with HTH4/wH output domains. These sequence sets were used to construct BLAST libraries. Next, the sequences with HTH4 output domains were filtered to 50% redundancy, and the remaining 4520 sequences were queried against the wH library with protein BLAST. If a match was statistically significant, we searched NCBI sequence records of both sequences for CTD structure annotations, which are typically inferred from Hidden Markov Models. These results were used to distinguish BLAST matches between different fold families (sequence pairs with 1 annotated HTH4 and 1 annotated wH) from matches between the same fold family. Sequence pairs with annotations from different fold families were retained; this process identified 3136 matches between 664 HTH4 and 2541 wH proteins with mean/median e-values of 4 × 10−10/5 × 10−16. Reciprocal BLAST searches, using the wH sequences as queries, were successfully performed in all 3136 cases, with mean/median e-values of 1 × 10−8/2 × 10−16; these higher e-values likely reflect the smaller size of the HTH4 database or the longer lengths of wH sequences relative to HTH4.

Next, we aligned the 3205 sequences using two different methods, Clustal Omega48 and MUSCLE49 (Supplementary Data 1). Again, a key difference between these cross-family multiple sequence alignments (MSAs) was the location of sequences inserted into/deleted from the longer wH/shorter HTH4 homologs. Nevertheless, in both cross-family MSAs, the C-terminal helix of the HTH4 aligned fully with the C-terminal β-sheet wing of the wH, indicating evolution from α-helix to β-sheet by stepwise mutation rather than insertion or deletion (Fig. 3a and Supplementary Fig. 3). In the Clustal Omega alignment, a two-residue gap found in > 99% of HTH4 folds was also found in an annotated wH fold (wHwing_gap), further suggesting that the α-helix ↔ β-sheet interconversion occurred through stepwise mutation. Furthermore, several HTH4 sequences with linker lengths similar to wH sequences were identified (e.g., HTH4_ insert in Fig. 3a), demonstrating that long linkers are not exclusive to wH folds. Sequences within the alignment were diverse, with mean pairwise identities of 31% among HTH4 folds, 40% among wH folds, and 31% across folds. Notably, evolutionary conservation patterns differed between the HTH4 and wH folds (Supplementary Fig. 4). Particularly, the C-terminal helix of the HTH4 did not show strong conservation patterns, whereas the β-strand wing of the wH did. As suggested by Cordes and colleagues27, such distinct conservation patterns may explain why homology between sequences for the isolated wH and HTH4 domains could not be inferred from the PSI-BLAST and jackhmmer searches against the PDB.

a Clustal Omega alignment of 3205 HTH4 and wH sequences indicates complete conversion of C-terminal secondary structure over evolutionary history. Secondary structure diagrams were generated using the structures of FixJPDB (black) and KdpEPDB (yellow). Background colors of the four sequences match those in the phylogenetic tree. Notes in the spaces between sequences show important changes: (1) orange linker insertion (or deletion, depending upon the properties of ancestral sequences) (2) fold conversion (3) sequence elongation/deletion. The word in front of a slash represents what happens if a sequence changes from top to bottom; the word following the slash represents what happens if a sequence changes from bottom to top. A common ancestor between the FixJPDB and KdpEPDB sequences is also possible. Source data are provided as a Source Data file. b Maximum-likelihood phylogenetic trees suggest an evolutionary path between response regulators with HTH4 and wH folds. Sequences with C-terminal domains annotated as HTH/wH from NCBI protein records are gray/yellow. The clade containing the 12 identified bridging sequences is highlighted in pink. HTH4_insert provides an example of an annotated HTH4 sequence whose linker length was similar to wH; wHwing_gap provides an example of a wH sequence with a 2-residue deletion similar to those found in >99% of the C-terminal helices of aligned HTH4 sequences. Distance units are arbitrary, though sequences further in space have more distant evolutionary relationships.

Finally, we generated a bootstrap-supported, phylogenetic tree for the cross-family MSA. Strikingly, results revealed a sequence clade that appears to bridge the two fold families (Fig. 3b and Figs. S5 and S6). The 12 sequences of this clade include one identified in the transitive homology path; all 12 have output domains annotated as HTH4 and originated from several bacterial phyla (Supplementary Table 4). In the phylogenetic tree, these 12 sequences adjoin branches with wH and HTH4 CTDs (Fig. 3b), suggesting that their ancestors might be evolutionary intermediates between the two folds. To assess the statistical robustness of the HTH-bridge-wH interface, we quantified the frequency of its occurrence using trees rooted in all 6393 possible branch points. The log-likelihood of each rooted tree was calculated using the approximately unbiased test50 (p-AU, Supplementary Fig. 7A). Of the 6393 possible rootings, 18 had a p-AU score ≥0.8 (Supplementary Fig. 7B), indicating statistical significance. In all 18 cases, the bridge sequences adjoined branches with annotated wH and HTH4 domains (Supplementary Fig. 8), strongly supporting the role of this clade as an evolutionary bridge between the two folds.

We next examined the predicted structural properties of sequences in the bridge clade. To that end, structural models of each bridge sequence were produced with AlphaFold214 (AF2). Strikingly, all models assumed the HTH4 fold (Supplementary Fig. 9). This result suggests a few possibilities. First, some bridge sequence(s) might interconvert between HTH4 and wH folds; previous work has shown that AF2 generally predicts only one dominant conformation of proteins that can switch between two folds42,51. Second, the AF2 predictions could be unreliable, and some or all bridge sequences could, in fact, assume wH folds. Thirdly, the fold transition might have occurred in earlier ancestors located at nodes linking most HTH4 and wH sequences. These nodes connect the two fold families in the tree (Supplementary Fig. 5), suggesting that their corresponding ancestral sequences may have had properties of both HTH and wH folds.

Thus, we next performed ancestral sequence reconstruction and generated additional AF2 models for the ancestral sequences bridging the HTH4 and wH folds (Figs. 4 and S5). Note that the linkers of all ancestral sequences were as long as the wH linkers. Our rationale was that the linkers of some HTH4 sequences near the bridge region were equally long as the linkers of wH sequences (Fig. 3 and Supplementary Fig. 3), suggesting that these linkers may have already been modified by a large insertion.

The earliest ancestor appears to be the longer version of a tetrahelical helix-turn-helix (HTH4), from which winged helix (wH) folds evolved. The fold-switching C-terminal helix/β-hairpin is shown in pink, and the structurally plastic linker is shown in yellow. The bridge sequence used in this plot was TME68356.1, the one nearest the ancestral node in Fig. 3b.

Intriguingly, results from ancestral reconstruction suggest that the ancestor sequences may have had structurally plastic regions that could switch between α-helices and β-sheets in response to mutation (Fig. 4 and Supplementary Table 5). Notably, Ancestor 0's most C-terminal secondary structure element is an α-helix, Ancestor 1's is a β-hairpin, and Ancestor 2's switches back to an α-helix (Fig. 4, pink). Interestingly, the sequence of Ancestor 1's β-hairpin is 83% identical to the sequences of both Ancestor 0's and Ancestor 2's C-terminal helices, which are 75% identical to one another. These results suggest that just two mutations can switch the C-terminal α-helix to a β-sheet and back again through a different set of sequence substitutions.

The N-terminal linker region (Fig. 4, yellow) also appears to be plastic. In Ancestors 0–2, this linker is partially folded into a β-hairpin structure, whereas in Ancestor 3 the linker assumes a fully folded 4-β-sheet structure. In contrast, the linker assumes a partially helical structure in Ancestors 4–5 and in the modern-day bridge sequence (Fig. 4).

Taken together, these results suggest that ancestors of sequences in the bridge clade may have had propensities for both wH and HTH4 folds. To further test this possibility, both PSI-BLAST and jackhmmer searches were carried out between the ancestral CTD sequences and PDB structures with both HTH4 and wH folds. Statistically significant cross-fold matches were identified in all cases except for Anc. 3 (Supplementary Data 2). By comparison, the earlier PSI-BLAST and jackhmmer searches of the isolated CTDs of existing HTH4 and wH sequences matched homologs with the same but not the alternative fold.

Finally, we sought to identify whether the shift from HTH4 to wH folds may have had some evolutionary advantage. Examination of experimentally determined HTH4 and wH response regulator structures in complex with their cognate DNA partners suggests that one benefit of the structural transformation might have been expanded binding specificity. On average, the HTH4 folds contact 17 unique nucleotides, whereas the wH folds contact 22 (Fig. 5a). Both HTH4 and wH folds have a single recognition helix that binds the major grove, and the C-terminal β-hairpin of winged helices also contacts the minor groove (Fig. 5b). As such, wH domains can likely recognize more unique nucleotide sequences than HTH.

a Simplified box-and-whisker plot with overlaying datapoints for the number of contacts between HTH4 and DNA (black) and wH and DNA (yellow). On average, HTH4 domains have 5 fewer DNA contacts than wH domains. Central bars correspond to means, upper/lower bars to standard deviations. Statistics were derived from 16/15 independently determined structures of HTH-DNA/wH-DNA complexes. Source data are provided as a Source Data file. b Examples of DNA (gray) interactions with HTH4 and wH domains, above and below, respectively. The C-terminal α-helix of the HTH4 (black, above) does not contact the DNA, whereas the β-hairpin wing of the wH (yellow, below) contacts the minor groove. Structurally similar parts of the HTH4 (PDB ID: 1h0m, chain D) and wH (PDB ID: 4hf1, chain A) folds are light gray. This result and the corresponding increase in the possible number of unique DNA sequences that could be recognized by the wH might explain why it evolved from the HTH4 in response regulators.

Decades of research suggest that protein secondary structure is largely conserved over evolutionary history52,53. Accordingly, a variety of studies have shown that new protein folds can evolve through various mechanisms that keep secondary structure fixed, such as insertions, deletions, and circular permutation54. Others have shown that proteins with conserved secondary structures can evolve different tertiary arrangements24,25,55.

In contrast, several recent studies suggest that stepwise mutations can switch protein secondary structures, fostering the evolution of new protein folds19,28,56,57. Our work supports this hypothesis by identifying a statistically significant evolutionary trajectory between two protein folds. These folds comprise fragments of response regulator CTDs that switch from α-helix to β-sheet. Our findings are supported by ancestral sequence reconstruction, structural models, and several sequence alignment methods. Furthermore, this evolved fold switching likely had a functional consequence: expanding DNA-binding specificity. Notably, HTH4 and wH folds are not limited to the superfamily of response regulators. In other families, the wHs could have evolved from HTH4 ancestors through different or additional mechanisms (and the evolutionary order may differ).

Since the fold-switching region observed here comprises a fragment of the whole protein, we compare our proposed stepwise mechanism to other mechanisms for protein evolution that involve protein fragments, such as "words"58 and "bridging themes"59,60,61. The work presented here differs from these studies in several important ways. First, "words" were defined as protein fragments with "local similarities in sequence and structure within globally different folds"58, and bridging "themes" each comprise a set of "homologous protein fragments found in different sequential and structural contexts"59. As such, the isolated sequences of these fragments have discernable homology without the context of the rest of the protein. In contrast, the fold-switching sequences of HTH4 and wH fragments reported here only exhibited discernible homology within the context of the whole protein. Practically speaking, the searches used to identify words and themes, which rely on matches between homologous sequence of protein fragments in different protein contexts, could not be used to identify the evolved fold switching transition proposed here.

Second, the evolutionary mechanism underlying words and bridging themes differs from the stepwise mutation that likely caused the HTH4 domains of response regulators to evolve into wH folds. Words and bridging themes are conserved protein fragments proposed to either recombine with or accrete non-homologous segments of protein structure to form distinct domains. In contrast, the fold-switching transition proposed here occurs within a conserved protein context. In this case, stepwise mutations appear to have caused a protein fragment to switch from α-helix to β-sheet without fragment recombination or accretion. Importantly, fragment recombination, accretion and stepwise mutation are all valid evolutionary mechanisms that occur in different situations.

Third, although some bridging themes switch folds61, their switching likely depends on their larger protein context. That is, within differently folded domains, the same bridging theme may also assume different folds. This is also true of chameleon sequences62,63, identical protein fragments with different folds in different protein contexts. In contrast, the homologous sequences in this work assume different structures within homologous protein contexts: both folds are C-terminal to a conserved trihelical helix-turn-helix39. It cannot be overstated that the fold switch we report was covert: homology between the sequences of the fold-switching region could not be identified without the context of the rest of the protein, including the N-terminal receiver domain. This critical point distinguishes our findings from previous studies of words and bridging themes, as well as from the "creative destruction" mechanism by which new folds evolve through fusions of genes encoding distinct domains64.

Although outside the scope of this study, experimental testing of the reported bridge sequences and reconstructed ancestors may reveal mechanistic details of the transition from HTH4 to wH. Whether any of these sequences populate both folds – as has been observed for other fold-switching proteins57,65– would be of particular interest. For the reconstructed ancestors, structural interconversion would be analogous to functional studies of reconstructed ancestors of green and red fluorescent proteins that emit both green and red light66 or promiscuous glucocorticoid receptors reconstructed from extant receptors with unique binding specificities67. As previous work has shown57,68,69, structural interconversion can be observed with nuclear magnetic resonance (NMR) spectroscopy. Indeed, NMR studies of the Arc repressor70,71 and XCL157 identified a handful of key mutations that switch protein folds. Accordingly, it would be interesting to experimentally identify minimal mutational pathways that switch HTH4 sequences to wH and vice versa.

Biophysically based computational approaches may also provide insights into the mechanism and evolution of response regulator proteins with HTH4 and wH domains. Such studies successfully predicted fold transitions between engineered protein G variants with high levels of sequence identity but different folds72,73. Other biophysical models or hybrid theoretical-experimental approaches can be used to infer the roles of point mutations, multifunctionality, selective pressure, and epistasis in protein evolution74,75,76.

Secondary structure switching, such as the instance identified here, may be more common in the evolutionary record than currently realized. Among our results, an evolutionary pathway from HTH4 to wH was consistently observed, with a clade of "bridge sequences" occupying a key location in the pathway. Notably, these bridge sequences were identified from metagenomic sequencing performed primarily in 2018 and 2019, which demonstrates the importance of new sequencing techniques and initiatives for advancing evolutionary studies77 and suggests that more instances of evolved fold switching might now be identifiable.

Thus, we close by offering the following step-by-step guide (Fig. 6) to aid future computational searches for evolved fold switching:

Identify pairs of homologous sequences with distinct folds. Here, we achieved this by performing an all-against-all search of the PDB using protein BLAST (Fig. 1, "Methods" section). Additional instances of evolved fold switching may be identified as more structures are deposited. Alternatively, structural models generated by predictive algorithms such as AlphaFold214, ColabFold78, RGN213, or ESM-fold79 could be used instead of experimentally determined predictions. Though less certain than experiment, these predicted structures could provide useful starting points for sequence analyses and subsequent experimental testing. Notably, successful identification of the evolutionary pathway reported here required that the whole protein sequence be searched (N-terminal+C-terminal domains) rather than the fold-switching C-terminal domain only.

Cross-validate findings using homologous sequences with experimentally determined structures. Here, we performed jackhmmer searches of all response regulator sequences with HTH4 and wH domains whose structures had been experimentally determined. We found signs of cross-fold homology for all sequences (Fig. 2). This approach provides confidence that the evolutionary relationship identified in Step 1 spanned both protein families rather than being a single hit obtained by chance. Similar analyses could be performed on experimentally determined structures of putative evolved fold switchers from other protein families. If such structures are not available, they could be generated using predictive algorithms. If many predictions need to be made, we recommend using ColabFold78 because of its high accuracy and superior performance.

Identify and cluster sequences homologous to the two fold families. Identify. For the FixJ/KdpE sequences, BLAST searches of the nr database returned >1,000,000 sequences. We used BLAST because of its efficiency in searching such a large database, though a more sensitive high-efficiency method such as HHBlits80 could also be used. Curation of the sequence set ("Methods" section) may be required to remove anomalous sequences. Cluster. Although we used a custom-written greedy clustering algorithm, MMSeqs281 could also be used. Next, we associated each remaining cluster with a given fold by BLASTing the sequences of FixJPDB and KdpEPDB against each cluster and calculating which sequence yielded more matches with ≥200 residues and e-values ≥ 1e-04.

Obtain a cross-family sequence alignment containing sequences with high e-values but different structural annotations. For successful completion of downstream analyses, this "Goldilocks" step is key: overly large alignments can lead to uninterpretable results ("Methods" section), but alignments that are too small could inadvertently omit important evolutionary intermediates. For this work, we extracted and constructed the relevant cross-family alignment by searching all sequences from clusters assigned to one fold (Fold1) against all sequences from clusters assigned to the other (Fold2). Since this process involved thousands of independent searches, protein BLAST was used for efficiency. For consistency, reciprocal searches of Fold2 matches against the Fold1 database are necessary. As a final validation step, it is advisable to discard sequences from Fold1/Fold2 clusters that were not annotated as Fold1/Fold2 in their NCBI sequence records. The remaining set of cross-family sequences can then be aligned using multiple algorithms. In this case, we used both Clustal Omega48 and MUSCLE49.

Perform downstream phylogenetic analyses. Here, we did phylogenetic analyses on our cross-family sequence alignment with IQ-Tree82 and Consurf83 and ancestral sequence reconstruction with IQ-Tree. A cross-family alignment should be compatible with a range of other phylogenetic analysis methods.

1. Query a sequence of interest (black) against the PDB (or database of predicted structures) with one round of protein BLAST (or phmmer) and search for hits with distinct secondary structures (yellow). Hits may indicate evolved fold switching. 2. Cross-validate results from step 1 by performing more sensitive sequence searches (e.g., jackhmmer) of all homologous sequences with experimentally determined structures. Black sequences=Fold1; yellow sequences=Fold2. Black regions of Fold2 have the same folds as Fold1 to allow for the possibility that Fold2 is a protein subdomain. 3. If cross validation is successful, find all sequences homologous to Fold1 (black) and Fold2 (yellow); cluster sequences by likely fold family. 4. Obtain a cross-family sequence alignment by searching all sequences from Fold1 against Fold2 and reciprocally searching Fold2 hits against Fold1. 5. Use cross-family alignment for downstream analyses including, but not limited to, IQ-Tree, ConSurf, and AlphaFold2. Complete descriptions of each step can be found in the main text.

To identify the putative evolutionary relationship between FixJPDB and KdpEPDB, we performed protein BLAST searches with maximum e-value of 1e-04 on all sequences within the Protein Data Bank (PDB) against all other PDB sequences16,41. To determine whether homologous sequences folded into different structures, secondary structure annotations of each PDB, by DSSP84, were aligned in register with their corresponding BLAST alignments and compared one-by-one, position-by-position. This approach allowed us to quantitatively assess the similarity of aligned secondary structures. A potential match was required to have a continuous region of at least 15 residues in which at least 50% of the residues showed α-helix ↔ β-sheet differences. Using this approach, the sequence of FixJPDB matched the sequence of KdpEPDB with an e-value of 1e-07; differing secondary structures in the C-terminal output domains were identified through DSSP comparison. Subsequent three-round PSI-BLAST searches of FixJPDB and KdpEPDB sequences against all PDB sequences were performed with a gap open penalty of 10 and a gap extension penalty of 1. In CTD PSI-BLAST searches, the sequences for FixJPDB and KdpEPDB spanned residues 124–205 and residues 129–225, respectively. Importantly, FixJPDB and KdpEPDB were defined to have different folds by several independent annotators: Pfam85 (http://pfam.xfam.org): PF00010 (helix-turn-helix), PF02319 (winged helix). ECOD86 (http://prodata.swmed.edu/ecod/) puts them in different T-groups (tetrahelical HTH and winged), SCOP10 (https://scop.mrc-lmb.cam.ac.uk): HTH: 8034563 (Superfamily C-terminal effector domain of the bipartite response regulators) Winged helix: 8075578 (Superfamily: PhoB-like).

To test the PSI-BLAST results obtained previously, jackhmmer searches were also performed on HTH4 and wH sequences with experimentally determined structures. Accordingly, structures of 23 full-length response regulators with HTH4 (11) and wH (12) output domains were identified from the Evolutionary Classification of Protein Domains (ECOD) database86. Five rounds of jackhmmer were run on each of the 23 sequences with gap open/extension probabilities of 0.05 and 0.5, respectively, using a database of all sequences downloaded from the PDB (7/15/2021) and removing sequence duplicates post-search. Sequence identities from each row of Fig. 2a were calculated from each sequence alignment generated by jackhmmer run on the sequence of the PDB entry with ID labeling each respective row.

DSSP annotations were aligned in register with each jackhmmer-generated sequence alignment to compose the secondary structure diagrams in Fig. 2b. In further detail, secondary structure annotations of each of the 11 HTH4s were compared with secondary structure annotations of 48 wHs identified from ECOD; likewise, secondary structure annotations of each of the 12 wHs were compared with secondary structure annotations of 35 HTH4s identified from ECOD (Supplementary Data 3). Similarities of each pair of aligned secondary structure (46 pairs for each of the 11 HTH4 proteins, 30 pairs for each of the 12 wH proteins) were scored as follows: +1 for a position with identical secondary structures (helix:helix [H,G,I in DSSP notation] or strand:strand [E in DSSP notation]) and −1 for a position with alternative secondary structures (helix:strand or strand:helix using the same DSSP notations as above). Position-specific scores were normalized by the frequency of ungapped residue pairs in each position, including coil-secondary structure alignments, effectively scored as 0. These normalized position-specific scores were used to generate the colormaps of each secondary structure diagram.

The full sequences of both FixJPDB (PDB ID 5XSO, chain A) and KdpEPDB (PDB ID 4KFC, chain A) were searched against the nr database (10/8/2020) using protein BLAST with a maximum e-value of 1e–04 and a maximum of 500,000 alignments per search. Full sequences from each alignment were retrieved by their NCBI accession codes using blastdbcmd on the nr database. All sequences from both searches were combined, which totaled 999,912 after sequence duplicates were removed. Sequences with either fewer than 162 or more than 300 residues were removed because they likely lacked the proper response regulator domain structure, leaving 581,791 sequences. This was too many to curate using standard tools, and many sequence identities were well below the ~40% identity threshold, below which many alignment tools become unreliable87. Thus, to further analyze these sequences, we performed the clustering and sampling methods described in the following sections.

From set of 581,791 sequences, a basis set of 367 sequences – each with <24% pairwise identity to all other members of the set – was selected to seed sequence clustering. Above this threshold, response regulator sequences would be expected to assume similar structures52. To identify this set of seed sequences, the first sequence in the list of 581,791 sequences (FixJPDB) was chosen. Subsequent sequences were aligned with FixJPDB's sequence using Biopython88 pairwise2.align.localxs with gap open/extension penalties of −1, −0.5, respectively. If a sequence's pairwise identity with the FixJPDB sequence <24%, it was added to the basis set. Sequences in the list were aligned with all sequences previously added to the basis set and included only if the identities of all pairwise alignments were <24%, yielding 367 total basis sequences. The remaining 581,424 sequences were clustered with the basis sequence to which they had the highest aligned pairwise identity, determined exhaustively by aligning all sequences with all basis sequences using pairwise2.align.localxs, with parameters as before.

To further reduce the total number of sequences, we disregarded the 251 clusters with fewer than 50 sequences. The remaining 116 clusters comprised 103 "medium" clusters (<5000 sequences) and 13 "large" clusters (> 4000 sequences). Of the large clusters, one contained the sequence of FixJ (PDB ID 5XSO) and 283,762 other sequences, and another contained the sequence of KdpE (PDB ID 4KFC) and 25,035 other sequences.

Sequences within each medium cluster were first aligned using Clustal Omega48. Visual inspection revealed that some alignments were biased by sequences that were either substantially shorter or longer than majority of the homologs in their cluster. To computationally identify and filter out such sequences, we identified (i) "sparse zones" by searching for windows of 8 positions where more than 95% of the sequences contained gaps, and (ii) "populated zones" by searching windows of 10 positions where more than 90% of the sequences contained amino acid residues. Sequences with (1) ≥10% of their amino acids in sparse zones or (2) <10% of their amino acids in populated zones were removed from the cluster. The 10% thresholds were determined empirically to best perform this "culling" step. Next, we performed ~2–7 successive iterations of culling and Clustal Omega alignments, until the number of sequences in each cluster converged. During this process, 9 medium clusters shrunk to fewer than 50 sequences and were subsequently ignored, leaving 94 medium clusters.

Finally, since Clustal Omega's global alignment algorithm does not accurately report phylogeny or suggest structure, the multiple sequence alignments were further aligned using PROMALS89, which first groups sequences based on phylogeny and then performs local alignment of recognized structural domains. The quality of all cluster alignments was inspected visually.

The large clusters, with thousands of sequences, required different strategies to appropriately generate a subsample that was tractable for additional sequence analyses. To determine subsample sizes that adequately represented the sequence composition within clusters, three independent, random subsamples of 1000 and 5000 sequences were extracted from the FixJ cluster, and three 5000 sequence subsamples were extracted from the KdpE cluster. These subsamples were subjected to iterative culling and alignments like the medium clusters (described above).

Next, the multiple sequence alignments (MSAs) of these subsamples were uploaded to ConSurf83 (https://consurf.tau.ac.il/consurf_index.php). Resulting scores were compared to determine how many sequences were required to give consistent evolutionary rates. Results indicated that 5000 sequences were required for an adequate representation of the both the FixJ and KdpE clusters. Visual inspection of heatmaps generated from sequence identity matrices of these sequence alignments supported the conclusion that 5000 sequences evenly sampled the sequence space. Thus, to represent the FixJ and KdpE clusters, we randomly chose one of its 5000 subsamples sequence sets. For 8 of the 11 large clusters with >5000 sequences, we similarly subsampled 5000 sequences. The 3 large clusters with <5000 sequences were curated as described for the medium clusters.

The high sequence diversity between clusters, with cross-cluster pairwise aligned sequence identities often <24%, impeded MSA assembly of the FixJ-KdpE superfamily. Thus, we looked for strategies to assemble sequences from the 94 medium clusters, 11 large cluster subsamples, and the 5000-sequence subsamples of the FixJ and KdpE large clusters into one combined MSA. First, we classified the clusters into two half-families with sequences resembling those in either the FixJ or KdpE large clusters. To that end, we matched sequences from each cluster with all sequences from the FixJ and KdpE large clusters with protein BLAST. Sequences from these clusters tended to align with high statistical significance to one of the large clusters but not both, simplifying cluster classification. This approach showed promise because sequences from each cluster aligned to sequences from other clusters with identities ≥38%, fostering reliable alignments. After completing all BLAST searches, 45 medium and 6 large clusters were assigned to the FixJ half-familiy for a total of 13,006 sequences and 49 medium and 5 large clusters to the KdpE half-family for a total of 10,785 sequences.

Despite sampling and curation, both half-families were too large to create an MSA using conventional tools. Thus, we used an alternative approach in which two reference alignments were generated using Clustal Omega to align representative sequences from each cluster (51 sequences for FixJ and 54 for KdpE). PROMALS was then used to refine the two half-family reference MSAs. Upon visual inspection, 7 sequences were removed from the KdpE reference MSA because they generated many gaps in the alignment; their clusters of origin were subsequently ignored. The remaining sequences in the KdpE reference MSA were realigned using Clustal Omega and PROMALS. Finally, upon visual inspection, the registers of prolines and charged amino acids were manually edited to match in 3 sequences (PSQ94266, HBD38673, and KEZ75144) between the registers 225 and 270 in the KdpE reference MSA. No such manual curation was needed in the FixJ MSA. Sequences within each of the remaining 98 clusters were then (i) independently aligned with PROMALS and (ii) integrated into the appropriate half-family reference MSA using MARS (Maintainer of Alignments using Reference Sequences for Proteins90). The MARS program allows curated sequence alignments with at least one sequence in common to be merged with each other without re-aligning the whole sequence set. Using this program, all sequences of the 51 FixJ-matching clusters and the curated subsample of the FixJ cluster were merged, using the FixJ half-family reference MSA as a guide. Similarly, all sequences of the 47 KdpE-matching clusters along with the curated subsample of the KdpE cluster were merged.

The pairwise identities of sequences across the two half-families were too low to reliably create an MSA. Thus, we tried a "transitive homology" approach to combine the half-family alignments into one alignment for the superfamily. First, we identified a "path" of related sequences91,92 following the logic that, if sequences A and B are homologous and sequences B and C are homologous, then homology between sequences A and C can be assumed through the "bridge" sequence B. To carry out this strategy, we used protein BLAST to search for the highest sequence identity match between the unsampled FixJ and the KdpE large clusters (i.e., the clusters with >250,000 and >25,000 sequences). This hit was then queried against the database of the opposite fold and so on until we identified 7 sequences with pairwise sequence alignments each with ≥38% sequence identity that connected the FixJ sequence to the KdpE sequence (Supplementary Table 3). Note that the "bridge" sequence TME68356 (Supplementary Table 4) could align well with another sequence in either half-family, although it was originally assigned to the KdpE half-family. The top/bottom four sequences in Supplementary Table 3 were aligned with the FixJ/KdpE half-families using Clustal Omega. We next used MARS to combine half-family alignments using the bridge sequence as the reference. The resulting whole family MSA contained 45,199 sequences. These sequences were filtered to 85% redundancy with CD-HIT, ultimately yielding an MSA with 23,791 sequences. However, when a phylogenetic tree was constructed in IQ-Tree for this sequence set, its quality was poor (i.e., 140 gaps/360 positions in the KdpEPDB sequence) and failed to converge after 3 rounds of 1000 bootstrapping iterations each.

The transitive homology path identified above (Supplementary Table 3) suggested the existence of additional sequences that might bridge the HTH4 and wH folds. Accordingly, the five/six previously-assigned FixJ/KdpE sequence clusters with >4000 sequences were each combined and converted into two BLAST databases representing HTH4 (FixJ-like) and wH4 (KdpE-like) sequences. Sequences within the combined FixJ sequence clusters were reduced to 50% redundancy using CD-HIT93 with a word size of 2, as recommended. Protein BLAST searches were performed on each of the remaining 4520 sequences with a maximum e-value of 1e–04 using the full KdpEPDB database. All 8607 alignments with minimum sequence identities and lengths of 33% and 200 residues, respectively, were considered significant. To ensure that these alignments truly matched HTH4 with wH sequences, NCBI records of 1793 HTH4, and 4995 wH sequences were retrieved using NCBI's efetch. Each record was searched for structural annotations of its CTD (HTH or wH). Ultimately, 3074 BLAST matches, each with one annotated HTH and one annotated wH CTD were retained.

To identify additional HTH sequences that might match with wH sequences, additional BLAST searches were run on all 4 HTH4 sequences in our set of 3074 matches that aligned with wH sequences with ≥38% pairwise identity. This time, the database comprised all 581,791 length-limited sequences identified from the initial FixJ and KdpE BLAST searches. These searches, intended to identify additional HTH4 sequences regardless of how they were clustered, yielded 66 putative HTH sequences that might match well with additional wH sequences. Finally, 66 additional Protein BLAST searches were performed by querying each of the 66 putative HTH sequences against all sequences from the 47 KdpE-matching clusters identified previously. The resulting 62 matches with minimum sequence identities and lengths of 33% and 200 residues and HTH/wH annotations from their NCBI records, identified as before, were included, totaling 3136 matches between 3203 sequences. For reference, the sequences of FixJPDB and KdpEPDB were also included; these two sequences had minimum aligned identities and lengths of 32% and 198, respectively, to sequences encoding the alternative folds.

The resulting 3205 sequences were aligned in two ways, with Clustal Omega and with MUSCLE49 version 3 using the super5 command. Columns with >75% gaps were removed from both alignments using Geneious Prime 2022.2.2 (https://www.geneious.com) for further analyses. The final alignments showed full overlap between the C-terminal helix of the HTH4 and the β-hairpin wing of the wH. Subsequent phylogenetic analyses and ancestral sequence reconstruction were performed on the Clustal Omega alignment.

A version of ConSurf that could be run locally, Rate4Site 2.0194 (https://www.tau.ac.il/~itaymay/cp/rate4site.html), was used to compute evolutionary rates for the full alignment of 3205 sequences as well as the separate HTH4 and wH subfamilies (664 and 2541 sequences, respectively; Supplementary Fig. 4). This program requires an MSA file to compute a phylogenetic tree. We chose the empirical Bayesian method to generate the rates, which significantly improves the accuracy of conservation scores estimations over the Maximum Likelihood method94. The scores are represented as grades ranging from conserved (9) to variable (1).

A maximum-likelihood (ML) phylogenetic tree was inferred from the alignment with FastTree95,96, using the Jones-Taylor-Thorton/JTT97 models of amino acid evolution and the CAT98 approximation to account for the varying rates of evolution across sites. This tree was further supported by ultrafast bootstrapping (UFBoot99) as implemented in IQ-Tree282. We used ModelFinder100 to identify the best fitted evolutionary model for the MSA (chosen model - LG + F + R10), and then evaluated branch support with 1000 UFBoot replicates. The minimum correlation coefficient for the convergence criterion was set at 0.99. A consensus tree was also generated (Supplementary Fig. 5).

The ML and consensus trees generated by FastTree and IQ-Tree2, respectively, lacked information on root placement of the estimated phylogeny. Ideally, external information – such as an outgroup – is used to root the tree. However, we could not use an outgroup because it was not possible to identify a single sequence outside of our alignment that was homologous to both folds. Therefore, we combined the nonreversible model with a maximum-likelihood model101 used to calculated the log-likelihoods of the trees being rooted on every branch of the tree. Bootstrapping of 10,000 replicates was performed to obtain reliable results. The method returns a list of 6393 trees rooted at each node and sorted by log-likelihoods in descending order, along with other scores by different tests, as follows; bp-RELL: bootstrap proportion using RELL method102, p-KH: p-value of one-sided Kishino-Hasegawa test103, p-SH: p-value of Shimodaira-Hasegawa test104, c-ELW: Expected Likelihood Weight105 and the p-AU: p-value of approximately unbiased (AU) test50.

The AU test uses a newly devised multiscale bootstrapping technique developed to reduce test bias and to obtain a reliable set of statistically significant trees. The AU test, like the SH test, adjusts the selection bias overlooked in the standard use of the bootstrap probability and KH tests. It also eliminates bias that can arise from the SH test50. Overall, the AU test has been shown to be less biased than other methods in typical cases of tree selection and is recommended for general selection problems50. Hence, we relied on p-AU (p-values from AU) to get a list of 18 most-likely rooted trees with p-AU > 0.8.

Ancestral sequence reconstruction was performed using maximum-likelihood methods implemented in IQ-Tree2, which uses the algorithm described in Yang et al.106. Ancestral sequences were determined for all nodes of the consensus tree (Supplementary Fig. 5) using the empirical Bayesian method. Posterior probabilities are reported for each state (amino acid) at each node. We scored the nodes in three steps. First, we calculated the average probability considering all assigned states at the node. Then, replacing the states by the amino acids in the bridge sequence (TME68356.1), we calculated the total p-value. Finally, calculated the pairwise sequence identity between ancestral sequence and the bridge sequence. Using all three criteria, we identified 6 reconstructed sequences with low p-values near the bridge sequences. These sequences were used for downstream analysis and model building.

The FASTA sequences of the 6 reconstructed ancestors, along with the 12 bridge sequences, were used as input to the full build of the AlphaFold2.114 structure prediction model. MSAs were generated by the default procedure of combining sequence searches of the BFD, MGnify, and Uniref databases. Predictions were made using templates with a maximum date of 4/20/2022. Structures ranked 0 were depicted in Fig. 4 and S9. To test the plausibility of the AF2-generated structures for the reconstructed ancestors and bridge sequences, we examined recently released AF2 predictions for 338 HTH4 and 937 wH sequences107. AF2 predictions matched genomic annotations in every case. Prediction qualities varied: of 1275 predicted structures, 29% were predicted with high confidence, 58% had moderate confidence, and the remaining 13% had low confidence.

The unique nucleotide contacts between the response regulators and their corresponding DNA sequences were identified using Resmap108, a tool that uses the atomic coordinates from PDB files to calculate intra-atomic distances for non-covalent interactions under set thresholds. The default distance thresholds for different interaction types that were used are: (1) Hydrogen bonds - ≤3.5 Å, (2) Hydrophobic interactions - ≤4.5 Å, (3) Aromatic interactions - ≤4.5 Å, (4) Destabilizing contacts - ≤3.5 Å, (5) Ion pairs - ≤5.0 Å, (6) Other contacts (which include van der Waals interactions) - ≤3.5 Å. Since the nomenclature for DNA atoms has changed since the development of Resmap, the PDB files were manually edited to match Resmap's input format with the following changes: (1) Symbol replacements of ‘ to *, (2) the nucleotide atoms (A,C,G, or T) were appended with the prefix ‘D’ (DA, DC, DG, DT), (3) the edited nucleotide atoms were also assigned unique atom identification numbers. The PDB files with these changes were then inputted into Resmap to identify unique contacts between of atoms in the protein chains with the atoms in DNA chains.

Protein figures were generated in PyMOL (The PyMOL Molecular Graphics System, Version 2.0 Schrödinger, LLC) (https://pymol.org/2/), plots and heatmap in Matplotlib109 (https://matplotlib.org/stable/index.html) and seaborn110 (https://seaborn.pydata.org/). Phylogenetic trees were visualized with ggtree (https://guangchuangyu.github.io/ggtree-book/chapter-ggtree.html) implemented as an R package111.

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.

The data generated in this study, including sequence alignments and clusters, phylogenetic analyses, and AlphaFold2 models, have been deposited in the Zenodo database under accession code https://doi.org/10.5281/zenodo.7837636. The supporting data generated in this study are provided in the Supplementary Information and the Source Data file. The structural data used in this study are available in the Protein Data Bank (PDB) under accession code 5XSO, [https://doi.org/10.2210/pdb5SXO/pdb], chain A (FixJPDB) 4KFC, [https://doi.org/10.2210/pdb4KFC/pdb], chain A (KdpEPDB), 1H0M [https://doi.org/10.2210/pdb1H0M/pdb], chain D, and 4HF1 [https://doi.org/10.2210/pdb4HF1/pdb], chain A. The structure classifications used in this study are available from the ECOD (http://prodata.swmed.edu/ecod/), SCOP (https://scop.mrc-lmb.cam.ac.uk), and Pfam (https://www.ebi.ac.uk/interpro/) databases. Source data are provided with this paper.

Code used to generate the results reported in this manuscript is available at: https://doi.org/10.5281/zenodo.7837636 and https://github.com/ncbi/FixJ_KdpE.

Anfinsen, C. B. Principles that govern the folding of protein chains. Science 181, 223–230 (1973).

Article ADS CAS PubMed Google Scholar

Meinhardt, S., Manley, M. W. Jr., Parente, D. J. & Swint-Kruse, L. Rheostats and toggle switches for modulating protein function. PLoS ONE 8, e83502 (2013).

Article ADS PubMed PubMed Central Google Scholar

Markin, C. J. et al. Revealing enzyme functional architecture via high-throughput microfluidic enzyme kinetics. Science https://doi.org/10.1126/science.abf8761 (2021).

Cole-Strauss, A. et al. Correction of the mutation responsible for sickle cell anemia by an RNA-DNA oligonucleotide. Science 273, 1386–1389 (1996).

Article ADS CAS PubMed Google Scholar

Morral, N. et al. The origin of the major cystic fibrosis mutation (delta F508) in European populations. Nat. Genet. 7, 169–175 (1994).

Article CAS PubMed Google Scholar

Muller, P. A. & Vousden, K. H. p53 mutations in cancer. Nat. Cell Biol. 15, 2–8 (2013).

Article CAS PubMed Google Scholar

Bai, Y. & Englander, S. W. Future directions in folding: the multi-state nature of protein structure. Proteins 24, 145–151 (1996).

3.0.CO;2-I" data-track-action="article reference" href="https://doi.org/10.1002%2F%28SICI%291097-0134%28199602%2924%3A2%3C145%3A%3AAID-PROT1%3E3.0.CO%3B2-I" aria-label="Article reference 7" data-doi="10.1002/(SICI)1097-0134(199602)24:23.0.CO;2-I">Article CAS PubMed Google Scholar

Jackson, S. E. & Fersht, A. R. Folding of chymotrypsin inhibitor 2. 1. Evidence for a two-state transition. Biochemistry 30, 10428–10435 (1991).

Article CAS PubMed Google Scholar

Orengo, C. A., Pearl, F. M. & Thornton, J. M. The CATH domain structure database. Methods Biochem. Anal. 44, 249–271 (2003).

CAS PubMed Google Scholar

Andreeva, A. et al. Data growth and its impact on the SCOP database: new developments. Nucleic Acids Res. 36, D419–D425 (2008).

Article CAS PubMed Google Scholar

Greene, L. H. et al. The CATH domain structure database: new protocols and classification levels give a more comprehensive resource for exploring evolution. Nucleic Acids Res. 35, D291–D297 (2007).

Article CAS PubMed Google Scholar

Baek, M. et al. Accurate prediction of protein structures and interactions using a three-track neural network. Science 373, 871–876 (2021).

Article ADS CAS PubMed PubMed Central Google Scholar

Chowdhury, R. et al. Single-sequence protein structure prediction using a language model and deep learning. Nat. Biotechnol. https://doi.org/10.1038/s41587-022-01432-w (2022).

Jumper, J. et al. Highly accurate protein structure prediction with AlphaFold. Nature 596, 583–589 (2021).

Article ADS CAS PubMed PubMed Central Google Scholar

Dishman, A. F. & Volkman, B. F. Unfolding the Mysteries of Protein Metamorphosis. ACS Chem. Biol. 13, 1438–1446 (2018).

Article CAS PubMed PubMed Central Google Scholar

Porter, L. L. & Looger, L. L. Extant fold-switching proteins are widespread. Proc. Natl Acad. Sci. USA 115, 5968–5973 (2018).

Article ADS CAS PubMed PubMed Central Google Scholar

Lei, X. et al. The cancer mutation D83V induces an alpha-helix to beta-strand conformation switch in MEF2B. J. Mol. Biol. 430, 1157–1172 (2018).

Article CAS PubMed Google Scholar

Chang, Y. G. et al. Circadian rhythms. A protein fold switch joins the circadian oscillator to clock output in cyanobacteria. Science 349, 324–328 (2015).

Article ADS CAS PubMed PubMed Central Google Scholar

Alexander, P. A., He, Y., Chen, Y., Orban, J. & Bryan, P. N. A minimal sequence code for switching protein structure and function. Proc. Natl Acad. Sci. USA 106, 21149–21154 (2009).

Article ADS CAS PubMed PubMed Central Google Scholar

He, Y., Chen, Y., Alexander, P. A., Bryan, P. N. & Orban, J. Mutational tipping points for switching protein folds and functions. Structure 20, 283–291 (2012).

Article CAS PubMed PubMed Central Google Scholar

Porter, L. L., He, Y., Chen, Y., Orban, J. & Bryan, P. N. Subdomain interactions foster the design of two protein pairs with approximately 80% sequence identity but different folds. Biophys. J. 108, 154–162 (2015).

Article ADS CAS PubMed PubMed Central Google Scholar

Ruan, B. et al. Design and characterization of a protein fold switching network. Nat. Commun. 14, 431 (2023).

Article ADS CAS PubMed PubMed Central Google Scholar

Solomon, T. L. et al. Reversible switching between two common protein folds in a designed system using only temperature. Proc. Natl Acad. Sci. USA 120, e2215418120 (2023).

Article CAS PubMed Google Scholar

Alvarez-Carreno, C., Penev, P. I., Petrov, A. S. & Williams, L. D. Fold Evolution before LUCA: Common Ancestry of SH3 Domains and OB Domains. Mol. Biol. Evol. 38, 5134–5143 (2021).

Article CAS PubMed PubMed Central Google Scholar

Farias-Rico, J. A., Schmidt, S. & Hocker, B. Evolutionary relationship of two ancient protein superfolds. Nat. Chem. Biol. 10, 710–715 (2014).

Article CAS PubMed Google Scholar

Kumirov, V. K. et al. Multistep mutational transformation of a protein fold through structural intermediates. Protein Sci. 27, 1767–1779 (2018).

Article CAS PubMed PubMed Central Google Scholar

Newlove, T., Konieczka, J. H. & Cordes, M. H. Secondary structure switching in Cro protein evolution. Structure 12, 569–581 (2004).

Article CAS PubMed Google Scholar

Roessler, C. G. et al. Transitive homology-guided structural studies lead to discovery of Cro proteins with 40% sequence identity but different folds. Proc. Natl Acad. Sci. USA 105, 2343–2348 (2008).

Article ADS CAS PubMed PubMed Central Google Scholar

O’Leary, N. A. et al. Reference sequence (RefSeq) database at NCBI: current status, taxonomic expansion, and functional annotation. Nucleic Acids Res. 44, D733–D745 (2016).

Article PubMed Google Scholar

Berman, H. M. et al. The Protein Data Bank. Acta Crystallogr. D Biol. Crystallogr. 58, 899–907 (2002).

Article PubMed Google Scholar

Burley, S. K. et al. Protein Data Bank (PDB): the single global macromolecular structure archive. Methods Mol. Biol. 1607, 627–641 (2017).

Article CAS PubMed PubMed Central Google Scholar

Koretke, K. K., Lupas, A. N., Warren, P. V., Rosenberg, M. & Brown, J. R. Evolution of two-component signal transduction. Mol. Biol. Evol. 17, 1956–1970 (2000).

Article CAS PubMed Google Scholar

Stock, A. M., Mottonen, J. M., Stock, J. B. & Schutt, C. E. Three-dimensional structure of CheY, the response regulator of bacterial chemotaxis. Nature 337, 745–749 (1989).

Article ADS CAS PubMed Google Scholar

Leonard, P. G., Golemi-Kotra, D. & Stock, A. M. Phosphorylation-dependent conformational changes and domain rearrangements in Staphylococcus aureus VraR activation. Proc. Natl Acad. Sci. USA 110, 8525–8530 (2013).

Article ADS CAS PubMed PubMed Central Google Scholar

Wright, G. S. A. et al. Architecture of the complete oxygen-sensing FixL-FixJ two-component signal transduction system. Sci. Signal. https://doi.org/10.1126/scisignal.aaq0825 (2018).

Gao, R., Mack, T. R. & Stock, A. M. Bacterial response regulators: versatile regulatory strategies from common domains. Trends Biochem. Sci. 32, 225–234 (2007).

Article CAS PubMed PubMed Central Google Scholar

Galperin, M. Y. Diversity of structure and function of response regulator output domains. Curr. Opin. Microbiol. 13, 150–159 (2010).

Article CAS PubMed PubMed Central Google Scholar

Galperin, M. Y. Structural classification of bacterial response regulators: diversity of output domains and domain combinations. J. Bacteriol. 188, 4169–4182 (2006).

Article CAS PubMed PubMed Central Google Scholar

Aravind, L., Anantharaman, V., Balaji, S., Babu, M. M. & Iyer, L. M. The many faces of the helix-turn-helix domain: transcription regulation and beyond. FEMS Microbiol. Rev. 29, 231–262 (2005).

Article CAS PubMed Google Scholar

Altschul, S. F. et al. Gapped BLAST and PSI-BLAST: a new generation of protein database search programs. Nucleic Acids Res. 25, 3389–3402 (1997).

Article CAS PubMed PubMed Central Google Scholar

Kim, A. K., Looger, L. L. & Porter, L. L. A high-throughput predictive method for sequence-similar fold switchers. Biopolymers https://doi.org/10.1002/bip.23416 (2021).

Porter, L. L. et al. Many dissimilar NusG protein domains switch between alpha-helix and beta-sheet folds. Nat. Commun. 13, 3802 (2022).

Article ADS CAS PubMed PubMed Central Google Scholar

Wang, B., Gumerov, V. M., Andrianova, E. P., Zhulin, I. B. & Artsimovitch, I. Origins and molecular evolution of the NusG paralog RfaH. mBio https://doi.org/10.1128/mBio.02717-20 (2020).

Kerfeld, C. A. & Scott, K. M. Using BLAST to teach "E-value-tionary" concepts. PLoS Biol. 9, e1001014 (2011).

Article CAS PubMed PubMed Central Google Scholar

Gonzalez, M. W. & Pearson, W. R. Homologous over-extension: a challenge for iterative similarity searches. Nucleic Acids Res. 38, 2177–2189 (2010).

Article CAS PubMed PubMed Central Google Scholar

Belogurov, G. A. et al. Structural basis for converting a general transcription factor into an operon-specific virulence regulator. Mol. Cell 26, 117–129 (2007).

Article CAS PubMed PubMed Central Google Scholar

Eddy, S. R. A new generation of homology search tools based on probabilistic inference. Genome Inf. 23, 205–211 (2009).

Google Scholar

Sievers, F. et al. Fast, scalable generation of high-quality protein multiple sequence alignments using Clustal Omega. Mol. Syst. Biol. 7, 539 (2011).

Article PubMed PubMed Central Google Scholar

Edgar, R. C. MUSCLE: multiple sequence alignment with high accuracy and high throughput. Nucleic Acids Res. 32, 1792–1797 (2004).

Article CAS PubMed PubMed Central Google Scholar

Shimodaira, H. An approximately unbiased test of phylogenetic tree selection. Syst. Biol. 51, 492–508 (2002).

Article PubMed Google Scholar

Chakravarty, D. & Porter, L. L. AlphaFold2 fails to predict protein fold switching. Protein Sci. 31, e4353 (2022).

Article CAS PubMed Google Scholar

Rost, B. Twilight zone of protein sequence alignments. Protein Eng. 12, 85–94 (1999).

Article CAS PubMed Google Scholar

Bateman, A. et al. The Pfam protein families database. Nucleic Acids Res. 32, D138–D141 (2004).

Article CAS PubMed PubMed Central Google Scholar

Liberles, D. A. et al. The interface of protein structure, protein biophysics, and molecular evolution. Protein Sci. 21, 769–785 (2012).

Article CAS PubMed PubMed Central Google Scholar

Yadid, I., Kirshenbaum, N., Sharon, M., Dym, O. & Tawfik, D. S. Metamorphic proteins mediate evolutionary transitions of structure. Proc. Natl Acad. Sci. USA 107, 7287–7292 (2010).

Article ADS CAS PubMed PubMed Central Google Scholar

Alexander, P. A., He, Y., Chen, Y., Orban, J. & Bryan, P. N. The design and characterization of two proteins with 88% sequence identity but different structure and function. Proc. Natl Acad. Sci. USA 104, 11963–11968 (2007).

Article ADS CAS PubMed PubMed Central Google Scholar

Dishman, A. F. et al. Evolution of fold switching in a metamorphic protein. Science 371, 86–90 (2021).

Article ADS CAS PubMed PubMed Central Google Scholar

Alva, V., Soding, J. & Lupas, A. N. A vocabulary of ancient peptides at the origin of folded proteins. Elife 4, e09410 (2015).

Article PubMed PubMed Central Google Scholar

Kolodny, R., Nepomnyachiy, S., Tawfik, D. S. & Ben-Tal, N. Bridging themes: short protein segments found in different architectures. Mol. Biol. Evol. 38, 2191–2208 (2021).

Article CAS PubMed PubMed Central Google Scholar

Nepomnyachiy, S., Ben-Tal, N. & Kolodny, R. Complex evolutionary footprints revealed in an analysis of reused protein segments of diverse lengths. Proc. Natl Acad. Sci. USA 114, 11703–11708 (2017).

Article ADS CAS PubMed PubMed Central Google Scholar

Qiu, K., Ben-Tal, N. & Kolodny, R. Similar protein segments shared between domains of different evolutionary lineages. Protein Sci. 31, e4407 (2022).

Article CAS PubMed PubMed Central Google Scholar

Li, W., Kinch, L. N., Karplus, P. A. & Grishin, N. V. ChSeq: a database of chameleon sequences. Protein Sci. 24, 1075–1086 (2015).

Article CAS PubMed PubMed Central Google Scholar

Minor, D. L. Jr. & Kim, P. S. Context-dependent secondary structure formation of a designed protein sequence. Nature 380, 730–734 (1996).

Article ADS CAS PubMed Google Scholar

Alvarez-Carreno, C., Gupta, R. J., Petrov, A. S. & Williams, L. D. Creative destruction: New protein folds from old. Proc. Natl Acad. Sci. USA 119, e2207897119 (2022).

Article CAS PubMed PubMed Central Google Scholar

Liebau, J. et al. Unveiling the activation dynamics of a fold-switch bacterial glycosyltransferase by (19)F NMR. J. Biol. Chem. 295, 9868–9878 (2020).

Article CAS PubMed PubMed Central Google Scholar

Ugalde, J. A., Chang, B. S. & Matz, M. V. Evolution of coral pigments recreated. Science 305, 1433 (2004).

Article CAS PubMed Google Scholar

Harms, M. J. & Thornton, J. W. Historical contingency and its biophysical basis in glucocorticoid receptor evolution. Nature 512, 203–207 (2014).

Article ADS CAS PubMed PubMed Central Google Scholar

Tuinstra, R. L. et al. Interconversion between two unrelated protein folds in the lymphotactin native state. Proc. Natl Acad. Sci. USA 105, 5057–5062 (2008).

Article ADS CAS PubMed PubMed Central Google Scholar

Chakravarty, D., Schafer, J. W. & Porter, L. L. Distinguishing features of fold-switching proteins. Protein Sci. 32, e4596 (2023).

Article CAS PubMed Google Scholar

Cordes, M. H., Burton, R. E., Walsh, N. P., McKnight, C. J. & Sauer, R. T. An evolutionary bridge to a new protein fold. Nat. Struct. Biol. 7, 1129–1132 (2000).

Article CAS PubMed Google Scholar

Cordes, M. H., Walsh, N. P., McKnight, C. J. & Sauer, R. T. Evolution of a protein fold in vitro. Science 284, 325–328 (1999).

Article ADS CAS PubMed Google Scholar

Sikosek, T., Krobath, H. & Chan, H. S. Theoretical insights into the biophysics of protein bi-stability and evolutionary switches. PLoS Comput. Biol. 12, e1004960 (2016).

Article ADS PubMed PubMed Central Google Scholar

Tian, P. & Best, R. B. Exploring the sequence fitness landscape of a bridge between two protein folds. PLoS Comput. Biol. 16, e1008285 (2020).

Article ADS CAS PubMed PubMed Central Google Scholar

Sikosek, T. & Chan, H. S. Biophysics of protein evolution and evolutionary protein biophysics. J. R. Soc. Interface 11, 20140419 (2014).

Article PubMed PubMed Central Google Scholar

Sikosek, T., Chan, H. S. & Bornberg-Bauer, E. Escape from Adaptive Conflict follows from weak functional trade-offs and mutational robustness. Proc. Natl Acad. Sci. USA 109, 14888–14893 (2012).

Article ADS CAS PubMed PubMed Central Google Scholar

Morrison, A. J., Wonderlick, D. R. & Harms, M. J. Ensemble epistasis: thermodynamic origins of nonadditivity between mutations. Genetics 219, iyab105 (2021).

Article PubMed PubMed Central Google Scholar

Ovchinnikov, S. et al. Protein structure determination using metagenome sequence data. Science 355, 294–298 (2017).

Article ADS CAS PubMed PubMed Central Google Scholar

Mirdita, M. et al. ColabFold: making protein folding accessible to all. Nat. Methods 19, 679–682 (2022).

Article CAS PubMed PubMed Central Google Scholar

Rao, R., Meier, J., Sercu, T., Ovchinnikov, S. & Rives, A. Transformer protein language models are unsupervised structure learners. bioRxiv https://doi.org/10.1101/2020.12.15.422761 (2020).

Remmert, M., Biegert, A., Hauser, A. & Soding, J. HHblits: lightning-fast iterative protein sequence searching by HMM-HMM alignment. Nat. Methods 9, 173–175 (2011).

Article PubMed Google Scholar

Steinegger, M. & Soding, J. MMseqs2 enables sensitive protein sequence searching for the analysis of massive data sets. Nat. Biotechnol. 35, 1026–1028 (2017).

Article CAS PubMed Google Scholar

Nguyen, L. T., Schmidt, H. A., von Haeseler, A. & Minh, B. Q. IQ-TREE: a fast and effective stochastic algorithm for estimating maximum-likelihood phylogenies. Mol. Biol. Evol. 32, 268–274 (2015).

Article CAS PubMed Google Scholar

Ashkenazy, H. et al. ConSurf 2016: an improved methodology to estimate and visualize evolutionary conservation in macromolecules. Nucleic Acids Res. 44, W344–W350 (2016).

Article CAS PubMed PubMed Central Google Scholar

Kabsch, W. & Sander, C. Dictionary of protein secondary structure: pattern recognition of hydrogen-bonded and geometrical features. Biopolymers 22, 2577–2637 (1983).

Article CAS PubMed Google Scholar

Mistry, J. et al. Pfam: The protein families database in 2021. Nucleic Acids Res. 49, D412–D419 (2021).

Article CAS PubMed Google Scholar

Cheng, H. et al. ECOD: an evolutionary classification of protein domains. PLoS Comput. Biol. 10, e1003926 (2014).

Article PubMed PubMed Central Google Scholar

Wang, Y., Wu, H. & Cai, Y. A benchmark study of sequence alignment methods for protein clustering. BMC Bioinform. 19, 529 (2018).

Article CAS Google Scholar

Cock, P. J. et al. Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics 25, 1422–1423 (2009).

Article CAS PubMed PubMed Central Google Scholar

Pei, J. & Grishin, N. V. PROMALS: towards accurate multiple sequence alignments of distantly related proteins. Bioinformatics 23, 802–808 (2007).

Article CAS PubMed Google Scholar

Parente, D. J., Ray, J. C. J. & Swint-Kruse, L. Amino acid positions subject to multiple coevolutionary constraints can be robustly identified by their eigenvector network centrality scores. Proteins 83, 2293–2306 (2015).

Article CAS PubMed PubMed Central Google Scholar

Bolten, E., Schliep, A., Schneckener, S., Schomburg, D. & Schrader, R. Clustering protein sequences-structure prediction by transitive homology. Bioinformatics 17, 935–941 (2001).

Article CAS PubMed MATH Google Scholar

Gerstein, M. Measurement of the effectiveness of transitive sequence comparison, through a third ‘intermediate’ sequence. Bioinformatics 14, 707–714 (1998).

Article CAS PubMed Google Scholar

Fu, L., Niu, B., Zhu, Z., Wu, S. & Li, W. CD-HIT: accelerated for clustering the next-generation sequencing data. Bioinformatics 28, 3150–3152 (2012).

Article CAS PubMed PubMed Central Google Scholar

Mayrose, I., Graur, D., Ben-Tal, N. & Pupko, T. Comparison of site-specific rate-inference methods for protein sequences: empirical Bayesian methods are superior. Mol. Biol. Evol. 21, 1781–1791 (2004).

Article CAS PubMed Google Scholar

Price, M. N., Dehal, P. S. & Arkin, A. P. FastTree: computing large minimum evolution trees with profiles instead of a distance matrix. Mol. Biol. Evol. 26, 1641–1650 (2009).

Article CAS PubMed PubMed Central Google Scholar

Price, M. N., Dehal, P. S. & Arkin, A. P. FastTree 2-approximately maximum-likelihood trees for large alignments. PLoS ONE 5, e9490 (2010).

Article ADS PubMed PubMed Central Google Scholar

Jones, D. T., Taylor, W. R. & Thornton, J. M. The rapid generation of mutation data matrices from protein sequences. Comput. Appl. Biosci. 8, 275–282 (1992).

CAS PubMed Google Scholar

Stamatakis, A. In Proceedings 20th IEEE International Parallel & Distributed Processing Symposium. p. 8 (2006).

Hoang, D. T., Chernomor, O., von Haeseler, A., Minh, B. Q. & Vinh, L. S. UFBoot2: improving the ultrafast bootstrap approximation. Mol. Biol. Evol. 35, 518–522 (2018).

Article CAS PubMed Google Scholar

Kalyaanamoorthy, S., Minh, B. Q., Wong, T. K. F., von Haeseler, A. & Jermiin, L. S. ModelFinder: fast model selection for accurate phylogenetic estimates. Nat. Methods 14, 587–589 (2017).

Article CAS PubMed PubMed Central Google Scholar

Naser-Khdour, S., Quang Minh, B. & Lanfear, R. Assessing confidence in root placement on phylogenies: an empirical study using nonreversible models for mammals. Syst. Biol. 71, 959–972 (2022).

Article CAS PubMed Google Scholar

Kishino, H., Miyata, T. & Hasegawa, M. Maximum likelihood inference of protein phylogeny and the origin of chloroplasts. J. Mol. Evol. 31, 151–160 (1990).

Article ADS CAS Google Scholar

Kishino, H. & Hasegawa, M. Evaluation of the maximum likelihood estimate of the evolutionary tree topologies from DNA sequence data, and the branching order in hominoidea. J. Mol. Evol. 29, 170–179 (1989).

Article ADS CAS PubMed Google Scholar

Shimodaira, H. & Hasegawa, M. Multiple comparisons of log-likelihoods with applications to phylogenetic inference. Mol. Biol. Evol. 16, 1114 (1999).

Article CAS Google Scholar

Strimmer, K. & Rambaut, A. Inferring confidence sets of possibly misspecified gene trees. Proc. Biol. Sci. 269, 137–142 (2002).

Article PubMed PubMed Central Google Scholar

Yang, Z., Kumar, S. & Nei, M. A new method of inference of ancestral nucleotide and amino acid sequences. Genetics 141, 1641–1650 (1995).

Article CAS PubMed PubMed Central Google Scholar

Varadi, M. et al. AlphaFold Protein Structure Database: massively expanding the structural coverage of protein-sequence space with high-accuracy models. Nucleic Acids Res. 50, D439–D444 (2021).

Article PubMed Central Google Scholar

Swint-Kruse, L. & Brown, C. S. Resmap: automated representation of macromolecular interfaces as two-dimensional networks. Bioinformatics 21, 3327–3328 (2005).

Article CAS PubMed Google Scholar

Hunter, J. D. Matplotlib: a 2D graphics environment. Comput Sci. Eng. 9, 90–95 (2007).

Article Google Scholar

Waskom, M. L. seaborn: statistical data visualization. J. Open Source Softw. https://doi.org/10.21105/joss.03021 (2021).

Yu, G., Smith, D. K., Zhu, H., Guan, Y. & Lam, T. T. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. Methods Ecol. Evol. 8, 28–36 (2017).

Article Google Scholar

Download references

We thank Carolyn Ott for helpful discussions and Loren Looger for critically reading this manuscript. This work utilized the NIH HPS Biowulf cluster (http://hpc.nih.gov). It was supported in part by funding from the Intramural Research Program of the National Library of Medicine, National Institutes of Health (LM202011, L.L.P.), the National Institute of General Medical Sciences, National Institutes of Health (GM118589 to L.S.-K.) and the W. M. Keck Foundation (L.S.-K.).

National Center for Biotechnology Information, National Library of Medicine, National Institutes of Health, Bethesda, MD, 20894, USA

Devlina Chakravarty & Lauren L. Porter

Department of Biochemistry and Molecular Biology, The University of Kansas Medical Center, Kansas City, KS, 66160, USA

Shwetha Sreenivasan & Liskin Swint-Kruse

Biochemistry and Biophysics Center, National Heart, Lung, and Blood Institute, National Institutes of Health, Bethesda, MD, 20892, USA

Lauren L. Porter

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

Conceptualization: L.L.P. and L.S.K. Methodology: L.L.P., D.C., L.S.K., and S.S. Software: D.C., L.L.P., and S.S. Investigation: L.L.P., D.C., L.S.K., and S.S. Data Curation: S.S., D.C., and L.L.P. Visualization: L.L.P., D.C., and S.S. Writing – original draft: L.L.P., D.C., and S.S. Writing – review & editing: L.L.P., L.S.K., D.C., and S.S. Supervision: L.L.P. and L.S.K. Project administration: L.L.P. Funding acquisition: L.L.P. and L.S.K.

Correspondence to Lauren L. Porter.

The authors declare no competing interests.

Nature Communications thanks Nir Ben-Tal, Hue Sun Chan and the other, anonymous, reviewer(s) for their contribution to the peer review of this work, A peer review file is available.

Publisher's note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and Permissions

Chakravarty, D., Sreenivasan, S., Swint-Kruse, L. et al. Identification of a covert evolutionary pathway between two protein folds. Nat Commun 14, 3177 (2023). https://doi.org/10.1038/s41467-023-38519-0

Download citation

Received: 07 December 2022

Accepted: 03 May 2023

Published: 01 June 2023

DOI: https://doi.org/10.1038/s41467-023-38519-0

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.