Skip to main content
Nature Communications logoLink to Nature Communications
. 2022 Dec 27;13:7966. doi: 10.1038/s41467-022-35614-6

Prediction of designer-recombinases for DNA editing with generative deep learning

Lukas Theo Schmitt 1, Maciej Paszkowski-Rogacz 1, Florian Jug 2,3,4, Frank Buchholz 1,
PMCID: PMC9794738  PMID: 36575171

Abstract

Site-specific tyrosine-type recombinases are effective tools for genome engineering, with the first engineered variants having demonstrated therapeutic potential. So far, adaptation to new DNA target site selectivity of designer-recombinases has been achieved mostly through iterative cycles of directed molecular evolution. While effective, directed molecular evolution methods are laborious and time consuming. Here we present RecGen (Recombinase Generator), an algorithm for the intelligent generation of designer-recombinases. We gather the sequence information of over one million Cre-like recombinase sequences evolved for 89 different target sites with which we train Conditional Variational Autoencoders for recombinase generation. Experimental validation demonstrates that the algorithm can predict recombinase sequences with activity on novel target-sites, indicating that RecGen is useful to accelerate the development of future designer-recombinases.

Subject terms: Machine learning, Molecular evolution, Protein design


Design of recombinases with new target sites is usually achieved through cycles of directed molecular evolution. Here the authors report Recombinase Generator, RecGen, an algorithm for generation of designer-recombinases; they perform experimental validation to show that this can predict recombinase sequences.

Introduction

Tyrosine-type site-specific recombinases (Y-SSRs) are widely used genome engineering tools. They are capable of exchanging DNA strands between their target DNA sequences, which can facilitate controlled excision, inversion, insertion or exchange of DNA. Because this process is very precise and not reliant on DNA repair mechanisms, it offers seamless manipulation of genomic DNA without side effects (reviewed in Meinke et al.1). These features distinguish Y-SSRs from nuclease-based genome engineering methods, such as CRISPR-Cas systems. All nuclease-based genome editing tools rely on the DNA repair pathways of the host cell, which can ultimately lead to unintended editing results (reviewed in Anzalone et al.2). However, the advantage of the widely used CRISPR-Cas9 system is the speed and efficiency with which it can be programmed to specifically edit novel target sites. In this regard, Y-SSRs are lagging behind and currently require substantial time and effort to be generated with tailored specificity. This bottleneck represents a considerable hurdle to harness the full potential of designer-recombinases as a versatile genome editing tool.

Current approaches to adapt site-specific recombinases to novel target sequences use directed molecular evolution. One powerful approach to evolve designer Y-SSRs utilizes a plasmid-based bacterial application called substrate-linked directed evolution37 (SLiDE). SLiDE allows libraries of recombinases to be progressively evolved by screening random mutations in conjunction with a selection scheme for activity on new, stepwise altered target sequences. Several recombinases have already been developed this way4,69, demonstrating the applicability of SLiDE. Improvements of the approach have also been reported7, but the generation of a new designer Y-SSR still requires substantial time and resource investments. The evolution of some of these recombinases took over 150 cycles, an equivalent of 6–12 months of work. Therefore, while SLiDE is effective, it remains expensive in terms of time and labor.

These disadvantages are a direct consequence of the randomized way new generations of recombinases are created when using SLiDE. At the start of a new project, it is not known which sequence modifications will lead to a protein variant that shows recombination activity on the predefined target sequence. There has been some success to introduce improvements based on protein model analysis on designer-recombinases with activity on a defined target site10. However, due to the complex nature of the whole enzymatic reaction, which includes DNA binding, DNA bending and catalysis (reviewed in Meinke et al.1), it has so far not been possible to rationally design recombinases with activity at a new target sequence. Hence, a method that predicts amino acid changes that will cause recombination activity at a desired target site has the potential to accelerate the generation of novel designer-recombinases.

One way to predict necessary changes within Y-SSRs to achieve altered selectivity could be direct coupling analysis (DCA). DCA models employ probabilistic models to capture co-evolutionary relationships between residues in the protein. Prominent types of algorithms used for DCA are Potts models11 or Boltzmann machines12. They were originally developed for protein residue contact prediction, but they have also been adapted to generate protein sequences13 and to predict the fitness of a protein14. While DCA models are inferred with first- and second-order statistics, they are able to recapitulate third-order statistics13. However, there is no obvious way to adapt these models to generate protein sequences conditional for a DNA sequence. Additionally, DCA models can be computationally expensive12, which could be negatively affected by the added complexity of generating sequences for a DNA target site.

A more recent and more effective approach may be provided by generative deep learning models. These types of algorithms are capable of representing protein sequences as a multivariate distribution whose parameters are learned during training of a deep neural network (reviewed in Wu et al.15). Consequently, they can be used for predicting novel proteins by sampling from this distribution. The algorithms that are most commonly used for protein sequence generation are Generative Adversarial Networks (GANs)1618 and Variational Autoencoders (VAEs)1925. In addition to these two, there are also deep learning algorithms mostly employed for natural language processing (NLP) that have been adapted for protein sequence generation. In particular, LSTMs26 and Autoregressive models have been used extensively2732. More recently, transformers have been getting a lot of attention, since they have produced remarkable results in NLP33 and have also shown great promise in protein sequence generation3436. The multitude of publications on protein sequence generation in recent years clearly indicates the potential of the approach to become a standard for protein development.

Beyond mere generation of new protein sequences, the goal is often to generate variants with improved properties23,2730,37. These improvements usually involve quantifiable aspects, such as thermostability or luminescence. In contrast, the present task requires the generation of recombinase variants with altered properties with respect to a complex categorical condition, their activity on a new DNA target site. To achieve this previously untapped mode of protein sequence generation, we decided to use Conditional Variational Autoencoders (CVAE)38 to generate models capable of predicting recombinase sequences based on a specific target sequence.

Here we show that the resulting algorithm (RecGen), which we trained with 89 evolved recombinase libraries and their respective target sites, captures the affinities between the recombinase sequences and their respective DNA binding sequences. Through the learned affinities RecGen is capable of constructing recombinase sequences for defined target sites by providing the DNA sequence as a condition. To verify predictions of RecGen, we generated designer recombinases for novel DNA target sites with the algorithm and tested their activity experimentally.

Results

Evolved recombinase libraries are highly diverse

An essential part for machine learning is the collection of a large amount of data to train the models. We gathered the training data by sequencing the full gene fragments of evolved recombinase libraries with PacBio HiFi sequencing, a long read sequencing technology that provides highly accurate sequences39 (Fig. 1a, Supplementary Fig. 1). In total we sequenced 89 recombinase libraries, each evolved for a different target site (loxA-1 to loxX-6; Supplementary Data 1), covering all four bases on each position of the target sequence half-site at least twice (Fig. 1b). All of these libraries were derived from Cre-based recombinases. For each library, we extracted and translated ~1000 to ~34,000 of the 343 amino acid long recombinase coding sequences, which resulted in a total of over 1.1 million full length reads (Supplementary Fig. 1c).

Fig. 1. Data acquisition and overview of the recombinase sequence data for training the deep learning approach.

Fig. 1

a Illustration describing the data collection. Evolved recombinase libraries were collected and sequenced with the PacBio HiFi method for high accuracy full length reads of the recombinase genes. Gene sequences were translated to protein and stored with the respective target sequences. b Illustration of Cre recombinase dimer binding the loxP DNA target sequence (top). All half-site bases covered by the sequenced recombinase libraries are shown on the bottom. The values in the coverage table indicate the number of target-sites with the respective base (rows) on the respective half-site position (columns). c Frequency of residues selected for in all sequenced libraries when compared to Cre. Positions mutated in >50 percent of the sequences or with >7 different residues observed are indicated with their number. The number of different amino acids selected for at a particular position is color-coded (Residues observed). Numbers in red had not been highlighted previously. d t-SNE dimensionality reduction of 100 random recombinase sequences from all sequenced libraries. Color indicates the amino acid hamming distance (dH(Cre)) of the sequences to Cre. Zoom in on selected libraries on the right. Target site correspondence of zoom ins are indicated. Source data are provided as a Source Data file.

We first wanted to get an understanding of the data obtained from sequencing the different libraries and assess the quality of the data. We used Pacbio HiFi sequencing to sequence the evolved recombinases, which yielded full length reads with >99.997% accuracy and high reproducibility (Supplementary Fig. 1d, e). Interestingly, the sequenced recombinases showed very high diversity within the libraries, with multiple occurrences of identical clones being rare (Supplementary Figs. 2a, 4b). In all sequenced libraries, mutations found in recombinases were distributed across 206 residue positions (frequency threshold of 10% per library), indicating that 60% of the 343 amino acids were subject to positive selection in at least one evolutionary campaign. Hot spot mutations in the positions 7-15, 30-44, 77, 86-93, 108, 175, 244-249, 258-268, 317-320 had been described previously for individual evolutions of designer-recombinases, providing additional evidence that these regions are important to change target-site selectivity (Fig. 1c; Supplementary Data 2)1,4,79,40,41. The large amount of sequencing data allowed us to nominate additional mutations that contribute to survival of the selection pressure and potentially to target site selectivity. For instance, we identified positions 5, 23, 57, and 166 as frequently mutated to different residues (Fig. 1c, marked in red), indicating that these residues play important roles in adapting designer-recombinases to a new target site. Hence, specifically targeting these residues in future evolution campaigns could be helpful to generate novel designer-recombinases. Notably, to adapt to activity on a new target site some recombinases acquired up to 75 amino acid substitutions (~22% of the protein sequence) compared to Cre (Fig. 1d, Supplementary Fig. 3), highlighting the adaptability of the protein during evolution. Importantly, we identified residues under positive selection throughout the recombinase coding sequence (Fig. 1c), confirming that virtually the complete sequence contributed to adaptations to new target sites. These results highlight the complex nature of changing target site recognition for this class of enzymes, indicating that simple correlative analyses might not be sufficient to predict new designer-recombinases with custom target site specificity.

Next, we were interested in the composition of the libraries. To get an overview of the distribution of the libraries, we used the dimensionality reduction method t-SNE to visualize the recombinase sequence relationships (Fig. 1d, Supplementary Fig. 2b). We found that many of the evolved libraries form independent clusters, indicating that common changes in the protein led to the ability of the recombinases to recombine the presented target site. However, in some cases multiple clusters were observed for one library, hinting that diverging sets of mutations evolved in the library with activity on the required target site (Fig. 1d, Supplementary Fig. 2c). The complex relationships of the amino acid mutations in regard to the different libraries and therefore the target site selectivity suggested that advanced machine learning might be a way forward to solve the task of recombinase prediction.

CVAE model architecture for recombinase prediction

The complexity of the data in combination with the requirement of predicting for a target sequence made us disregard the option of using a DCA model. Instead, we turned to deep learning approaches to try and predict recombinases selective for new target sites. There were three requirements we wanted our algorithm to cover. (I) The algorithm needed to be generative, i.e. it should have the ability to predict multiple sequences, so that it can be used in future applications for library generation and so that it would give us a higher chance of finding functional recombinases. (II) For a deep learning application, the data we have is limited, therefore we were looking for an approach that can be stably trained with the data at hand. (III) Trained models should be capable of receiving the target sequences as input and predict full recombinase sequences as output. Since Generative Adversarial Networks are known to be unstable and difficult to train42, we decided that requirements (I) and (II) are better fulfilled by Variational Autoencoders (VAEs). More specifically, we found Conditional Variational Autoencoders (CVAE)38 to be the most suitable method to also fulfill criterion (III), as they are capable of predicting outputs conditioned on a set target sequence.

The CVAE architecture consists of two parts, the encoder and the decoder (Fig. 2a). Our encoder receives the recombinase sequences together with the target sequences in one-hot encoding and learns to represent the given input into a compressed latent space. The latent space is designed to resemble a multivariate normal distribution. Therefore, for each latent space dimension mean (μ) and standard deviation (σ) are learned for normal distribution sampling (Fig. 2a). In combination with the conditional input of the one-hot encoded target sequence the sampled latent space is delivered to the decoder, which aims to reconstruct the recombinase sequences. During training, the difference between reconstructed and true recombinase sequences are computed via the binary cross entropy loss function. This loss is then backpropagated using the so-called “reparameterization trick”24. Additionally, the loss function contains a term that forces all encodings to resemble a multivariate normal distribution (KLD loss, Fig. 2a). Finally, sampling from the controlled latent space in combination with the desired target sequence enables the generation of recombinase sequences through the decoder (Fig. 2b).

Fig. 2. Training and computational validation of RecGen.

Fig. 2

a A Conditional Variational Autoencoder (CVAE) is trained with one-hot encoded half-site target sequences and recombinase protein sequences as input. The encoder captures the sequence diversity in a latent space, from which, in combination with the target sequence, the decoder reconstructs the protein sequence. The full model is trained using a reconstruction loss in combination with the Kullback–Leibler divergence (KLD) that ensures the before mentioned diversity of predicted sequences. b Trained CVAE decoder generates recombinase protein sequences with the input of a recombinase target sequence and normally distributed random numbers, which diversifies the outcome. The resulting protein sequences for known target sites are computationally validated (explained in part c) and the most commonly predicted sequences for defined targets are validated experimentally. c Leave-one-out cross-validation (LOOCV) of CVAE model. (1) CVAE is trained with all available sequenced recombinase libraries excluding the target recombinase library (TRL). (2) TRL is predicted using CVAE decoder with TRL target sequence and random number (as illustrated in b). (3) Predicted recombinase Libraries (PRL) and recombinase libraries with target site closest to TRL (CRL) are compared to TRL. d, e Boxplots of the smallest hamming distances of each LOOCV predicted sequence to all TRL sequences. Additionally, the CRL smallest hamming distance to TRL is included for comparison. d Contains all the CRL and PRL distances joined in one entry each. n = 89,000 per condition. e Shows the distances of a subset of the libraries. TRL which were used for further experiments are highlighted with boxes. n = 1000 per condition. All boxplots are according to standard definition: median for the center line, upper and lower quartiles for the box limits, 1.5x interquartile range for the whiskers, and the points show outliers. f Difference of median smallest hamming distances of CRL and PRL. Color codes indicate if the PRL is closer to the TRL than the CRL to the TRL (orange), further away (blue) or the same distance (gray). Source data are provided as a Source Data file.

Predictions result in high similarity to known targets

To confirm that the chosen CVAE architecture is capable of predicting functional recombinases, we first compared the model output with existing sequencing data. To this end, we decided to use leave-one-out cross-validation (LOOCV), i.e. excluding one target recombinase library (TRL) from the training set and using the resulting model to generate predictions for that one TRL target sequence (Fig. 2c). This procedure was then repeated for each recombinase library.

Assuming that all the sequences in the TRL are capable of recombining the TRL target site, we argued that any predicted recombinase that has a high similarity to any TRL shall be counted as a success. Therefore, to assess the prediction quality, we chose to calculate the hamming distance (i.e. the number of amino acids two sequences differ by) between the predicted recombinase library (PRL) sequences and their closest match in the TRL. In other words, this metric assesses the likelihood that the predicted sequences contain the necessary mutations to enable recombination on the given TRL target site.

Ideally, the model infers the PRL sequences from the mutations it observed from the recombinase libraries in the training dataset with similar target sites. However, there is a chance that it lacks the depth of information to infer a viable sequence, which could lead to ‘memorized’ sequences from the training data. For this reason, we decided to also measure the distance of the closest recombinase libraries (CRL) in terms of target site distance to the TRL. Hence, if the measured PRL distance is lower than the CRL distance, it indicates that the model was capable of predicting a combination of amino acids with an increased likelihood of working for the desired target site than the amino acid combinations observed in the CRL (i.e. the best otherwise available evolution starting point).

The results obtained confirmed the validity of our proposed approach. More specifically, we calculated the LOOCV PRL hamming distances for all recombinase libraries and found the predicted sequences to be closer to the TRL by a median of four amino acids compared to the CRL (Fig. 2d). In 74 cases the PRL led to median improvements in the distance to the TRL, with only three cases where the median distance of the PRL was worse than in the CRL (Fig. 2e, f; Supplementary Fig. 4a). The highest median improvement was a hamming distance of 20 while in the worst case the distance of the PRL was only four further away from the TRL than the CRL (Fig. 2f). This difference in the distance to the TRL, a known solution to the recombination of the required target site, poses a substantial improvement of the predicted recombinases in comparison to the CRL. This suggests that PRLs are more likely to function at the desired target site compared to CRLs and that PRL sequences need to acquire fewer mutations in directed evolution to recombine efficiently at the desired target site.

LOOCV predictions generate highly active recombinases

The LOOCV testing indicated that the model was capable of predicting approximations of the TRL sequences, but most of the predictions were still several amino acids different to the actual TRL sequences. We wanted to test some of the LOOCV predicted recombinases to investigate if they are genuinely recombining the respective target sites. In order to assess recombination activity, we used a previously published reporter plasmid4,7 that can be used in two different assays: a plasmid-based recombination assay (Fig. 3a, b) and a PCR-based recombination assay (Fig. 3c). The plasmid-based assay provides results that can be used to quantify the recombination rate of the recombinases, while the PCR-based assay allows for detection of rare recombination events.

Fig. 3. Experimental validation of RecGen leave-one-out cross-validation predictions.

Fig. 3

a Illustration of recombinase gene expression leading to excision of DNA with two target sites. The target sites are represented as triangles, two triangles indicate non-recombined DNA, while one triangle indicates recombined DNA. The gray circle with one triangle represents the excised DNA that will be degraded by the cell. b Plasmid-based assay for recombination. Reporter plasmids cultured in bacteria cells that express recombinases which excise the DNA between target-sites. The modification leads to a difference of ~700 bp in plasmid size, which can be detected via agarose gel electrophoresis. Recombined plasmid fragments are marked with a line and one triangle, non-recombined plasmid fragments are marked with a line and two triangles. “M” indicates the DNA Marker and “mix” is a representation of a mixture of recombined and non-recombined plasmid. Percentages below indicate the amount of recombined plasmid. c PCR-based assay for recombination. Restriction digest with the respective enzymes (RE-sites) leads to linearization of the non-recombined plasmids, while the recombined plasmids stay circular. A PCR with Primers indicated as red arrows results in a PCR product of 1.7 kb from the circular plasmids, while the linearized plasmids produce no products. dg Validation of LOOCV predictions with recombination assays described in b and c. All samples were tested in the pEVO reporter plasmid with the target site of the respective TRL and cultured at 10 µg/ml L-arabinose. Recombination percentages (below plasmid assay) were calculated from gel band quantifications. The DNA maker is indicated with “M”. dg bottom: Alignment of the respective TRL and CRL half-site target sequences. Conserved bases are replaced with a “.”. PRL predicted recombinase library, TRL target recombinase library, CRL closest (to TRL) recombinase library. Source data are provided as a Source Data file.

We used the assays to test if the similarity of the predicted sequences to the TRL is an indication of a successful prediction. The predicted sequences for loxA-1 and loxD-1 were very similar to the sequences found in their TRLs (Fig. 2e). This similarity made it likely that these libraries would be functional. Additionally, we investigated how the predicted sequences compared to the TRLs and the CRLs. We tested the most prominent sequence of both predicted recombinase libraries (PRL single clone; Supplementary Data 3) and found them to have similar recombination efficiencies to the TRLs and the CRLs (Fig. 3d, e). Next, we decided to validate the predictions for loxE-3 and loxI-1, these were more distant to the TRL than the predictions for loxA-1 and loxD-1. However, the dH(PRL) was still much lower than the dH(CRL) (Fig. 2d), suggesting that the predictions might perform better than the CRL if any activity could be observed at all. We found the activity of the most commonly observed prediction (PRL single clone; Supplementary Data 3) for loxE-3 to be higher than the TRL and both CRLs (34% versus 13%, 2% and 7%, respectively, Fig. 3f). On the loxI-1 target site the TRL had an activity of 30%. While both, the PRL and CRL, did not reveal recombination activity in the plasmid assay, recombination could be confirmed with the PCR assay for the PRL, but not the CRL. In summary, for every LOOCV prediction tested, we were able to detect recombination in all predicted recombinases and the recombination efficiency was often comparable or better compared to the CRL, indicating that RecGen is capable of predicting functional and effective recombinases for known target sites.

Predicted recombinases excise novel target sites

Ultimately, we wanted to be able to predict recombinase sequences with activity on novel target sites, for which no functional recombinase sequences are known. To test whether RecGen can achieve this goal, we decided to generate predictions for 14 artificially constructed target sites for evaluation in a bacterial assay (Supplementary Data 3). We selected target sites from four of our evolved libraries (loxC-7, loxD-7, loxF-1, loxG-1) and changed 3 bp in the half-sites, resulting in loss of activity of most libraries on the modified target sites (Fig. 4). For the changes we focused on the half-site positions 7-12 because these strongly affect the activity of recombinases when they are changed43. We also included one novel target site containing modifications in position 3, 5 and 6, because these positions were underrepresented in our training dataset. This way, we constructed 14 target sites for which we generated recombinases with models trained on all recombinase libraries available, thereby setting up controlled test cases to study the performance of RecGen.

Fig. 4. Experimental validation of predicted recombinases for novel target sites.

Fig. 4

a Alignment of half-sites from novel target sites with their respective CRL half-sites. Conserved bases are shown with a “.”. b PCR-based recombination assay of predicted recombinase clones (PRL single clone) and their respective CRL. Check marks indicate that the PCR products contained the edited sequence, while crosses indicate that recombination could not be confirmed by sequencing. Dashes were placed where no sequence verification was performed. PRL: predicted recombinase library, CRL closest recombinase library to novel target site in terms of target site similarity. Source data are provided as a Source Data file.

For each target site we predicted 10,000 recombinase protein sequences, from which we selected the most prevalent sequence for each target site. Using the recombination assays described earlier we tested the predictions and the CRLs on the respective novel target sites. We investigated putative recombination with the PCR assay and found that most of the CRLs had no activity on the selected novel target sites, indicating that additional sub-sites would be required to start SLiDE for these target sites. In contrast, we detected recombination activity at several target sites of the predicted recombinases. From the 14 novel target sites we found that eight predictions resulted in genuine recombination products which could be confirmed by sequencing (Fig. 4, Supplementary Fig. 5a). In four of the functional predictions no activity could be observed with the CRL, indicating an advantage in using RecGen over the classical method. In addition to testing the predictions on the specified target sites, we also tested their activity on the target site of their CRL. Several of the functional predictions had no activity on their CRL target site (novelC-2, novelD-2, novelF-4; Supplementary Fig. 5b). This is remarkable, because RecGen was developed to predict recombinase activity on a target site, but was not trained to restrict recombination to this site. We concluded that RecGen is capable of predicting recombinases active on defined target sites, making it the first algorithm that can predict functional recombinases for an entirely new target site.

Discussion

So far, the development of designer-recombinases for novel target sites has been accomplished by applying directed molecular evolution47,9,40,41,4448, an effective but laborious and time consuming process. A more direct and faster approach could be the intelligent design of Y-SSRs for predefined target sequences. However, Y-SSRs are complex and the understanding of the necessary modifications for a change in target site specificity has been elusive thus far. To tackle this challenge, we gathered over one million recombinase sequences from libraries evolved for 89 different target sites. Consistent with a complex recombination reaction that is hard-wired into the protein sequence, we found that many residues were mutated and positively selected for in the different libraries. Evolutionary enriched residues are not necessarily important for their target site selectivity. However, the fact that these changes have been found in several independent evolutionary experiments, performed in different laboratories, is strong evidence that they are important for this trait (Supplementary Data 2)1,4,6,8,9,40,41.

With the extensive sequencing of recombinase libraries we nominate several additional mutational hotspots that seem to influence target site selectivity. Interestingly, a number of mutations selected for were found in the N-terminus, a region which is dispensable for recombination in Cre49,50. The fact that residues in the N-terminus were clearly under positive selection indicates that the N-terminus fulfills an important role in evolved recombinases51.

On the library level, we found that some libraries consisted of multiple distinct clusters of sequences, while most others form one uniform cluster. This finding indicates that directed molecular evolution sometimes led to diverging sets of mutations that were capable of recombining the required target site, while other libraries evolved to contain very similar mutations. This trait has been found in other directed molecular evolutions where multiple sets of mutations were dominant until one set took over the whole population52. It is therefore possible that for libraries with two clusters additional rounds of SLiDE would be necessary to eventually lead to a single cluster. Overall, sequencing of the evolved recombinases provided us with valuable information that further cemented the complexity of the recombinase target site selectivity.

We decided to approach the non-trivial task of adapting the activity of designer-recombinases to new target sites using a generative deep learning algorithm. With the described neural network we managed to predict sequences with high similarity to known recombinases specific for the predicted target sites. Through comparing the predictions to the closest recombinase libraries, we could show that these predictions are not merely “memorizations” of sequences with similar target sites. Overall, we found the predicted sequences to be closer to recombinases that are known to work by four amino acids, confirming the validity of our approach.

We did see variance in how closely the predicted sequences resemble recombinases that work and in how much the predictions were improved over the closest recombinase library. We know that the amount of information available for the target site compositions varied and therefore contributed to a difference in the ability of the model to predict the TRL. This could be observed when predictions were performed by leaving out more information related to the TRL (Supplementary Fig. 4c). Additionally, the residues contained in the most closely related libraries could be different even though they fulfill the same purpose. Diverging solutions for the same problem are known to happen in evolution and have also been described in directed evolution53. Even though the performance of the models varied in regard to the target site, in over 80% of the tested target sites the predicted recombinases showed an improvement over the libraries evolved for the most similar target site. This result suggests that the predicted recombinases are generally the better starting point for further directed evolution.

We assumed that the LOOCV predictions closer to the TRL sequences are more likely to be active on the TRL target site. To test this, we validated three LOOCV predictions experimentally. Two predictions that were very similar to TRL sequences were indeed active. However, we found that the two more distant predictions we picked for testing were also able to recombine their target sites. In one of these cases, it turned out that the prediction was even more effective than the library that was evolved for this task. We suspect that part of the sequence difference between the PRL and TRL is made up from rare mutations that the model omitted. Many of these rare mutations have a neglectable effect on protein function and are therefore neither enriched nor removed. Because these mutations are so rare their influence on the training loss is very low, which is why RecGen was not optimized to learn these mutations. This led to the predictions being less variable (Supplementary Fig. 4b), but the important residues were most likely maintained. All in all, the tested LOOCV predictions of novel target sites were all functional, an indication that the predictions from this model are useful.

Ultimately, we wanted to know if the model is capable of fulfilling its intended purpose, the prediction of recombinases for novel target sites. We could confirm that 8 out of 14 predictions were active on the respective target sites. Importantly, most CRLs, which were the libraries we would usually start an evolution from, showed no activity. This means that if we wanted to get a library with activity on the defined target site, it would be necessary to first evolve a library that works on a subsite, so that we could then move on to the target site of interest. Using our approach, we can now start an evolution directly on the intended target site. In recent work6, evolving recombinases to adapt to a target site with one or two bases changed took 12 and more cycles. Because each cycle is a full working day, each target site switch takes >2 weeks of actual working time. Therefore, our predicted recombinases that have three bases changed in the target site would save at least 2 weeks of work.

The predicted recombinases were also tested for activity on the CRL target site, to probe for their specificity. Since the CRL is the library with the most similar target site in the training dataset, it is reasonable to assume that the model would implement protein sequence features from the CRL. This could result in the prediction being active on the CRL. Indeed, we found that some of the PRL are active on their CRL target site, while several successfully predicted recombinases did not recombine the CRL target site. The current version of RecGen only addresses activity on a specified target site. Hence, further directed evolution, or rational design on these recombinases would have to be performed to make these recombinases highly active and specific46,8,10,54.

One has to note that we only tested a single sequence of the PRLs, while we tested a full library for the CRL. The probability of finding a functional recombinase is much higher in a library of >100,000 variants than when testing only a single clone. Therefore, testing multiple predicted recombinases would probably yield an even higher success rate than just testing one sequence. Overall, the results we obtained here are encouraging and indicate that RecGen will be beneficial in cutting down the time and effort spent for the development of new designer-recombinases.

RecGen as it stands is already a valuable resource to shorten the development time of new designer-recombinases, but future iterations will likely further it’s capabilities to reliably predict Y-SSRs. Changing the encoding to amino acid properties or a learned representation for protein sequences27,55,56 would give RecGen additional information that could help to predict more reliably. Another way to adapt the network would be to change the fully connected neural network layers to convolutional or recurrent network layers, which could further improve the performance22,23. Recent publications demonstrated impressive results with transformer models3436, indicating that this kind of model could also be useful for recombinase sequence data. Advances in protein structure prediction and generation could help filter the model predictions for proteins that are functionally viable. For example Ferruz et al.34, validated their predicted protein sequences with AlphaFold257 through structure probability scores and MD simulations. While improvements to the algorithm are important, the data used to train the model is likely to be even more critical.

The amount of data we gathered is considerable in terms of laboratory work performed, but the target sequence space where successful predictions can be done is still limited. So far, we could only confirm predictions for target sites that differ by three bases in the half-site to known target sites. This is why the collection of more data will be key in making RecGen more useful for future designer-recombinase development. This means that we need to collect sequences from recombinase libraries evolved for additional target sites. Ideally targeted evolutions specifically for the purpose of extending the available sequence space should be performed. In addition, quantitative data about individual recombinase sequences within the library should be helpful to improve RecGen. This information would be important for the model to understand which mutations are more relevant for recombination activity on the defined target site. Because directed evolution for new functionality could cause recombinases to become more “promiscuous”, i.e. less specific4,58, it would also be relevant to screen for their activity on off-targets. This would help the model to learn how “flexible” the proteins are in their target site selectivity. Generally, the more data available for the model, the better the possible outcome.

In conclusion, we show that RecGen is capable of predicting recombinases for defined target sites. To the best of our knowledge, the successful prediction of proteins selective for a defined DNA target site has not been accomplished before and is therefore an important achievement. Furthermore, we believe that RecGen will be a valuable tool to kick-start the evolution of future designer-recombinases, making the process faster and less laborious.

Methods

Deep Sequencing of evolved recombinase libraries

In order to deep sequence the recombinase libraries, 500 ng of pEVO plasmids (described in3,4,7) from the evolved recombinase libraries were digested with the restriction enzymes NdeI and AvrII (NEB catalog number R0111S and R0174S), which will only cut in non-recombined plasmids. The digested DNA was then desalted with a MF-Membrane and cultivated in E. coli XL-1 Blue (Agilent catalog number 200158). After growing the cells for 14–16 h in 100 ml LB in the presence of chloramphenicol (25 mg/ml), plasmid DNA was extracted using the GeneJet Plasmid Miniprep Kit (ThermoFisher catalog number K0502). The extracted DNA only contains recombined plasmids with functional recombinase genes. 5 ug of the extracted pEVO plasmid were then digested with the restriction enzymes BsrGI-HF and XbaI (NEB catalog number R3575S and R0145S) and the 1041 bp fragment harboring the recombinase gene was then enriched with custom SPRI-beads (described in dx.doi.org/10.17504/protocols.io.n7hdhj6), by binding the pEVO backbone to the beads two times followed by an Ampure XP (Beckman Coulter catalog number A63881) cleanup of the supernatant, a more detailed description can be found in the supplementary methods. The DNA was quantified with a Qubit dsDNA HS Assay Kit on a Qubit 2.0 Fluorometer (ThermoFisher catalog number Q33230) and sent to the DRESDEN-concept Genome Center, where it was sequenced with a Sequel System 6.0 using the Pacbio HiFi method.

Circular consensus sequence data was generated with PacBio’s ccs v3.4.1. Using ccs’s filtering criteria, only sequences of length 1034-1200 bp with a minimum predicted accuracy of 99.997% (Phred Score of ~25) were kept. After converting the data to FASTA format using SAMtools 1.11 the recombinase gene sequences were aligned and translated to amino acid using the protein2dna:bestfit alignment model of exonerate v2.3.0. Further filtering was done with GNU grep v3.7, GNU sed v4.8 and GNU awk v5.1.1 to ensure that the genes are 1032 bp long, start with a methionine, and do not contain any stop codons within the sequence.

Recombinase sequence data analysis

Recombinase protein and target site sequences were processed using R version 4.1.1 with tidyverse packages v1.3.159,60. t-SNE dimensionality reduction was calculated with the Rtsne package v0.1.5 from hamming distances of the sequences acquired with the stringdist package v0.9.861,62.

CVAE model training and prediction

Neural networks were trained using pytorch v1.10.1 on Python 3.9.663. Data pre- and post-processing was done with numpy v1.22.1 and pandas v1.4.064,65. To ensure equal distribution of the training data we used 1000 randomly chosen recombinase sequences per library (Supplementary Fig. 2a) plus the corresponding target half-site, which were one-hot encoded for training of the models.

One-hot encoding was generated by forming a binary matrix where the rows correspond to the recombinase sequences and the columns represent all possible combinations of amino acids and positions in the sequence. The sequence was then represented with ones in the places that correspond to the combinations found in the sequence and zeros for all other combinations. The target sequence and the recombinase sequence were concatenated and the possible letters allowed contained the naturally occuring 20 amino acids and one for the stop codon. The target sequence part was encoded in the same way, since the letters for the DNA are contained in the 20 amino acids.

The training dataset corresponded to 89 target sites from 23 evolution projects. CVAE architecture was constructed according to Sohn et al.38. The models were constructed with two fully connected layers in the encoder and decoder with 64 and 32 neurons (reversed in the decoder), while the latent space was defined with two neurons. Training was performed in 40 epochs with a batch size of 128, a dropout rate of 0.1, and a learning rate of 0.0001. The reconstruction loss was calculated with binary cross entropy and the KLD is multiplied with a factor of 0.1 to 2, linearly increasing with each epoch66.

Predictions with the trained models were done using the decoder part of the model by providing the one-hot encoded half-site target sequence with two random numbers generated from a normal distribution (Fig. 2b). The output of the model is then decoded from one-hot to amino acid. All predicted recombinase sequences can be found in Supplementary Data 3.

LOOCV testing

Leave-one-out cross-validation was performed as illustrated in Fig. 2c. First the training set is reduced by removing the Target Recombinase Library (TRL). Model training and prediction with the reduced training dataset were then done as described above. We found that training with the same parameters results in slightly different outcomes. To mitigate the output variance we decided to use multiple models for prediction, because of the computational cost we trained 10 models per TRL for prediction. A total of 1000 recombinase sequences were generated and their hamming distances to the TRL sequences was calculated with only the smallest distance recorded. Additionally, the same process is done with the CRL sequences in place of the PRL sequences. The recorded distances were then processed with the tidyverse R packages v1.3.1 and plotted with ggplot2 v3.3.3 67.

The smallest hamming distance is defined in Eq. (1).

dHxi=minΔxi,{y1,...,yj} 1

Where x is the PRL or CRL sequences and y is the TRL sequences. Δ indicates the hamming distance function.

Recombinase activity assays

pEVO vectors with the respective target sites and recombinase genes were cultivated in E. coli XL-1 Blue (Agilent catalog number 200158) for 14-16 h in 10 ml LB in the presence of chloramphenicol (25 mg/ml) and L-arabinose (10 µg/ml or 200 µg/ml). Plasmid DNA was extracted using the GeneJet Plasmid Miniprep Kit (ThermoFisher catalog number K0502). For the plasmid-based recombination assay 500 ng plasmid DNA was digested with XbaI and BsrgI-HF (NEB catalog number R3575S and R0145S) followed by agarose gel electrophoresis. The resulting bands indicate the fraction of recombined plasmid at ~4.2 kb and non-recombined plasmid at ~5 kb. The amount of recombined and non-recombined plasmid was measured from the band intensities using Fiji for image processing. The rate of recombination was calculated by dividing the amount of the recombined plasmid with the amount of both plasmids. A higher percentage of recombined plasmids indicates that the recombinase library or variant is more active on the defined target site. For the PCR-based recombination assay 500 ng of the plasmid DNA was digested with NdeI and AvrII (NEB catalog number R0111S and R0174S), which linearizes all non-recombined plasmids. The digested product is then subjected to PCR with the primers EVO-F and EVO-R (CGGCGTCACACTTTGCTATG, AAGGGAATAAGGGCGACACG), which will amplify if the product is circular, but will fail if the product is linearized. The expected product of ~1.7 kb is visualized with agarose gel electrophoresis.

Validation of LOOCV predictions

The pEVO evolution and reporter vector for loxA-1, loxD-1, loxE-3, as well as the respective TRL and CRL genes were obtained from Sarkar et al., Karpinski et al. and Lansing et al.79. (Supplementary Data 1). The pEVO vector for loxI-1 and the TRL genes were produced for unpublished work by Martin Schneider in the same manner as the above-mentioned vectors. The loxI-1 CRL genes (loxB-1) were obtained from Sarkar et al.9. The PRL clones were ordered codon optimized for E. coli from Twist Bioscience. All recombinase genes were excised by XbaI and BsrGI digest followed by gel excision (Isolate II PCR and Gel Kit from Bioline, catalog number BIO-52058) for cloning into the respective pEVO vector. The cloned vectors were tested for recombination activity with the assays described above using a concentration of 10 µg/ml L-arabinose.

Prediction for novel target sites and validation

As mentioned in the results section, novel target sites were generated by randomly mutating three bases of the half-site target sequence at positions 7–12 and selected for a distance to other known target sites of four or more. Additionally, we also produced one target site (novelF-5) with base changes in the positions 3,5, and 6, where the positions were changed to least frequently occurring bases in the training dataset (Fig. 1b). pEVOs with these 15 generated target sites were then constructed as described previously7. In short, primers containing the target site and an overlap with the pEVO plasmid were used to produce a PCR product from a pEVO plasmid. This fragment was then cloned into a BglII (NEB catalog number R0144S) digested pEVO plasmid using the Cold Fusion Cloning kit (System Biosciences catalog number MC010B-1). The CRL, which is also the library where the target sites were modified to make the novel target site, was tested for recombination activity (200 µg/ml L-arabinose, described above) on the novel target site pEVO. From the 15 target sites we found 10 to have no activity on their respective CRLs, which were then selected for testing predicted recombinase sequences. Additionally to those, a further four target sites were generated in the same manner, but without testing activity on their CRLs (novelC-2, novelD-2, novelF-4, novelF-5) and selected for prediction testing. For these 14 novel target sites recombinase sequences were predicted with 100 models trained on the full training data as described above. Each model was tasked to predict 100 recombinase sequences, which resulted in a total of 10,000 recombinase sequences per novel target site. The most prominent predicted recombinase sequences per target sites were then ordered and cloned as described above. Recombinase activity assays were also performed as described above with 200 µg/ml L-arabinose. Sequence verification was performed from gel excision products of the 1.7 kb fragments (Isolate II PCR and Gel Kit from Bioline, catalog number BIO-52058) with the Microsynth sanger sequencing services.

Statistics and reproducibility

Statistical analysis was performed using R version 4.1.1. All boxplots are according to standard definition: median for the center line, upper and lower quartiles for the box limits, 1.5x interquartile range for the whiskers, and the points show outliers. Relevant details of the statistical test are provided in the figure legends. Representative gel pictures showing recombination activity were not replicated for recombination plasmid assays or recombination PCR assays. No statistical method was used to predetermine sample sizes. No data were excluded from the analysis. The experiments were not randomized.

Reporting summary

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

Supplementary information

Reporting Summary (334KB, pdf)
41467_2022_35614_MOESM3_ESM.pdf (23.7KB, pdf)

Description of Additional Supplementary Files

Supplementary Dataset 1 (16.5KB, xls)
Supplementary Dataset 2 (37.5KB, xls)
Supplementary Dataset 3 (28.5KB, xls)
Peer Review File (3.3MB, pdf)

Acknowledgements

We would like to thank Janet Karpinski, Felix Lansing, Duran Sürün, Teresa Rojo Romanos and Martin Schneider for providing evolved designer-recombinase libraries. Further, we would also like to thank Felix Lansing and Duran Sürün for their suggestions regarding the first draft of the manuscript. Thanks also goes to Joshua Shrouder for proofreading. Furthermore, we thank the DRESDEN-concept Genome Center at the CMCB from TU Dresden for performing the sequencing of the recombinase libraries.This work was supported, in part, by the European Union (ERC 742133—F.B., H2020 UPGRADE 825825—F.B.) and the BMBF GO-Bio (031B0633—F.B.).

Source data

Source Data (28.4MB, zip)

Author contributions

L.T.S.: conceptualization, methodology, software, validation, formal analysis, investigation, data curation, writing—original draft preparation, writing—review and editing, visualization. M.P.-R.: conceptualization, writing—review and editing. F.J.: fonceptualization, writing—original draft preparation, writing—review and editing. F.B.: conceptualization, writing—review and editing, supervision, project administration, funding acquisition.

Peer review

Peer review information

Nature Communications thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Funding

Open Access funding enabled and organized by Projekt DEAL.

Data availability

The sequence data generated in this study have been deposited in the European Nucleotide Archive under accession code PRJEB57361Source data are provided with this paper.

Code availability

The code for RecGen can be found at https://github.com/ltschmitt/RecGen68.

Competing interests

The Authors F.B. and M.P.-R. are founding members and shareholders of RecTech GmbH that commercializes recombinase technologies. The remaining authors declare no competing interests.

Footnotes

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

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-022-35614-6.

References

  • 1.Meinke G, Bohm A, Hauber J, Pisabarro MT, Buchholz F. Cre recombinase and other tyrosine recombinases. Chem. Rev. 2016;116:12785–12820. doi: 10.1021/acs.chemrev.6b00077. [DOI] [PubMed] [Google Scholar]
  • 2.Anzalone AV, Koblan LW, Liu DR. Genome editing with CRISPR–Cas nucleases, base editors, transposases and prime editors. Nat. Biotechnol. 2020;38:824–844. doi: 10.1038/s41587-020-0561-9. [DOI] [PubMed] [Google Scholar]
  • 3.Buchholz F, Hauber J. In vitro evolution and analysis of HIV-1 LTR-specific recombinases. Methods. 2011;53:102–109. doi: 10.1016/j.ymeth.2010.06.014. [DOI] [PubMed] [Google Scholar]
  • 4.Buchholz F, Stewart AF. Alteration of Cre recombinase site specificity by substrate-linked protein evolution. Nat. Biotechnol. 2001;19:1047–1052. doi: 10.1038/nbt1101-1047. [DOI] [PubMed] [Google Scholar]
  • 5.Hoersten, J. et al. Pairing of single mutations yields obligate Cre-type site-specific recombinases. Nucleic Acids Res. 10.1093/nar/gkab1240 (2021). [DOI] [PMC free article] [PubMed]
  • 6.Lansing, F. et al. Correction of a Factor VIII genomic inversion with designer-recombinases. Nat. Commun. 13, 422 (2022). [DOI] [PMC free article] [PubMed]
  • 7.Lansing F, et al. A heterodimer of evolved designer-recombinases precisely excises a human genomic DNA locus. Nucleic Acids Res. 2019;48:472–485. doi: 10.1093/nar/gkz1078. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Karpinski J, et al. Directed evolution of a recombinase that excises the provirus of most HIV-1 primary isolates with high specificity. Nat. Biotechnol. 2016;34:401–409. doi: 10.1038/nbt.3467. [DOI] [PubMed] [Google Scholar]
  • 9.Sarkar I, Hauber I, Hauber J, Buchholz F. HIV-1 proviral DNA excision using an evolved recombinase. Science. 2007;316:1912–1915. doi: 10.1126/science.1141453. [DOI] [PubMed] [Google Scholar]
  • 10.Abi-Ghanem J, et al. Engineering of a target site-specific recombinase by a combined evolution- and structure-guided approach. Nucleic Acids Res. 2012;41:2394–2403. doi: 10.1093/nar/gks1308. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Levy RM, Haldane A, Flynn WF. Potts Hamiltonian models of protein co-variation, free energy landscapes, and evolutionary fitness. Curr. Opin. Struct. Biol. 2017;43:55–62. doi: 10.1016/j.sbi.2016.11.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Figliuzzi M, Barrat-Charlaix P, Weigt M. How pairwise coevolutionary models capture the collective Residue Variability in Proteins? Mol. Biol. Evol. 2018;35:1018–1027. doi: 10.1093/molbev/msy007. [DOI] [PubMed] [Google Scholar]
  • 13.Russ WP, et al. An evolution-based model for designing chorismate mutase enzymes. Science. 2020;369:440–445. doi: 10.1126/science.aba3304. [DOI] [PubMed] [Google Scholar]
  • 14.Hopf TA, et al. Mutation effects predicted from sequence co-variation. Nat. Biotechnol. 2017;35:128–135. doi: 10.1038/nbt.3769. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Wu Z, Johnston KE, Arnold FH, Yang KK. Protein sequence design with deep generative models. Curr. Opin. Chem. Biol. 2021;65:18–27. doi: 10.1016/j.cbpa.2021.04.004. [DOI] [PubMed] [Google Scholar]
  • 16.Goodfellow, I. J. et al. Generative Adversarial Networks. arXiv10.48550/arXiv.1406.2661 (2014).
  • 17.Gupta, A. & Zou, J. Feedback GAN (FBGAN) for DNA: a novel feedback-loop architecture for optimizing protein functions. arXiv10.1038/s42256-019-0017-4 (2018).
  • 18.Repecka D, et al. Expanding functional protein sequence spaces using generative adversarial networks. Nat. Mach. Intell. 2021;3:324–333. doi: 10.1038/s42256-021-00310-5. [DOI] [Google Scholar]
  • 19.Costello, Z. & Martin, H. G. How to hallucinate functional proteins. arXiv10.48550/arXiv.1903.00458 (2019).
  • 20.Das, P. et al. Accelerated antimicrobial discovery via deep generative models and molecular dynamics simulations. Nat. Biomed. Eng. 10.1038/s41551-021-00689-x (2021). [DOI] [PubMed]
  • 21.Davidsen, K. et al. Deep generative models for T cell receptor protein sequences. Elife8, e46935 (2019). [DOI] [PMC free article] [PubMed]
  • 22.Giessel, A. et al. Therapeutic enzyme engineering using a generative neural network. Sci. Rep. 12, 1536 (2022). [DOI] [PMC free article] [PubMed]
  • 23.Hawkins-Hooker A, et al. Generating functional protein variants with variational autoencoders. PLoS Comput. Biol. 2021;17:1–23. doi: 10.1371/journal.pcbi.1008736. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Kingma, D. P. & Welling, M. Auto-encoding variational bayes. Arxiv10.48550/arXiv.1312.6114 (2013).
  • 25.Riesselman AJ, Ingraham JB, Marks DS. Deep generative models of genetic variation capture the effects of mutations. Nat. Methods. 2018;15:816–822. doi: 10.1038/s41592-018-0138-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Hochreiter S, Schmidhuber J. Long short-term memory. Neural Comput. 1997;9:1735–1780. doi: 10.1162/neco.1997.9.8.1735. [DOI] [PubMed] [Google Scholar]
  • 27.Alley EC, Khimulya G, Biswas S, AlQuraishi M, Church GM. Unified rational protein engineering with sequence-based deep representation learning. Nat. Methods. 2019;16:1315–1322. doi: 10.1038/s41592-019-0598-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Biswas S, Khimulya G, Alley EC, Esvelt KM, Church GM. Low-N protein engineering with data-efficient deep learning. Nat. Methods. 2021;18:389–396. doi: 10.1038/s41592-021-01100-y. [DOI] [PubMed] [Google Scholar]
  • 29.Saka K, et al. Antibody design using LSTM based deep generative model from phage display library for affinity maturation. Sci. Rep. 2021;11:5852. doi: 10.1038/s41598-021-85274-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Shin, J.-E. et al. Protein design and variant prediction using autoregressive generative models. Nat. Commun. 12, 2403 (2021). [DOI] [PMC free article] [PubMed]
  • 31.Trinquier, J., Uguzzoni, G., Pagnani, A., Zamponi, F. & Weigt, M. Efficient generative modeling of protein sequences using simple autoregressive models. Nat. Commun. 12, 5800 (2021). [DOI] [PMC free article] [PubMed]
  • 32.Wang, C., Garlick, S. & Zloh, M. Deep learning for novel antimicrobial peptide design. Biomolecules11, 471 (2021). [DOI] [PMC free article] [PubMed]
  • 33.Brown, T. B. et al. Language models are few-shot learners. in Proceedings of the 34th International Conference on Neural Information Processing Systems 1877–1901 (Curran Associates Inc., 2020).
  • 34.Ferruz N, Schmidt S, Höcker B. ProtGPT2 is a deep unsupervised language model for protein design. Nat. Commun. 2022;13:4348. doi: 10.1038/s41467-022-32007-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Madani, A. et al. Deep neural language modeling enables functional protein generation across families. Preprint at 10.1101/2021.07.18.452833 (2021).
  • 36.Nijkamp, E., Ruffolo, J., Weinstein, E. N., Naik, N. & Madani, A. ProGen2: Exploring the boundaries of protein language models. Preprint at 10.48550/arXiv.2206.13517 (2022). [DOI] [PubMed]
  • 37.Linder J, Bogard N, Rosenberg AB, Seelig G. A generative neural network for maximizing fitness and diversity of synthetic DNA and protein sequences. Cell Syst. 2020;11:49–62.e16. doi: 10.1016/j.cels.2020.05.007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Sohn, K., Lee, H. & Yan, X. Learning structured output representation using deep conditional generative models. Adv. Neural Inf. Process. Syst. 28, 3483–3491 (2015).
  • 39.Karst SM, et al. High-accuracy long-read amplicon sequences using unique molecular identifiers with Nanopore or PacBio sequencing. Nat. Methods. 2021;18:165–169. doi: 10.1038/s41592-020-01041-y. [DOI] [PubMed] [Google Scholar]
  • 40.Rufer A. Non-contact positions impose site selectivity on Cre recombinase. Nucleic Acids Res. 2002;30:2764–2771. doi: 10.1093/nar/gkf399. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Santoro SW, Schultz PG. Directed evolution of the site specificity of Cre recombinase. Proc. Natl Acad. Sci. USA. 2002;99:4185–4190. doi: 10.1073/pnas.022039799. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Salimans, T. et al. Improved techniques for training GANs. Proc. 30th Int. Conf. Neural Inf. Process. Syst. 10.5555/3157096.3157346 (2016).
  • 43.Bessen, J. L. et al. High-resolution specificity profiling and off-target prediction for site-specific DNA recombinases. Nat. Commun. 10, 1937 (2019). [DOI] [PMC free article] [PubMed]
  • 44.Bolusani S, et al. Evolution of variants of yeast site-specific recombinase Flp that utilize native genomic sequences as recombination target sites. Nucleic Acids Res. 2006;34:5259–5269. doi: 10.1093/nar/gkl548. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Buchholz F, Angrand P-O, Stewart A. Improved properties of FLP recombinase evolved by cycling mutagenesis. Nat Biotechnol 16(7):657-662, PubMed PMID: 9661200. Nat. Biotechnol. 1998;16:657–662. doi: 10.1038/nbt0798-657. [DOI] [PubMed] [Google Scholar]
  • 46.Voziyanov Y, Konieczka JH, Stewart AF, Jayaram M. Stepwise manipulation of DNA specificity in Flp recombinase: progressively adapting Flp to individual and combinatorial mutations in its target site. J. Mol. Biol. 2003;326:65–76. doi: 10.1016/S0022-2836(02)01364-5. [DOI] [PubMed] [Google Scholar]
  • 47.Voziyanov Y, Stewart AF, Jayaram M. A dual reporter screening system identifies the amino acid at position 82 in Flp site-specific recombinase as a determinant for target specificity. Nucleic Acids Res. 2002;30:1656–1663. doi: 10.1093/nar/30.7.1656. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Voziyanova E, Anderson RP, Shah R, Li F, Voziyanov Y. Efficient genome manipulation by variants of site-specific recombinases R and TD. J. Mol. Biol. 2016;428:990–1003. doi: 10.1016/j.jmb.2015.11.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Rongrong L, Lixia W, Zhongping L. Effect of deletion mutation on the recombination activity of Cre recombinase. Acta Biochim. Pol. 2005;52:541–544. doi: 10.18388/abp.2005_3470. [DOI] [PubMed] [Google Scholar]
  • 50.Warren D, Laxmikanthan G, Landy A. A chimeric Cre recombinase with regulated directionality. Proc. Natl Acad. Sci. USA. 2008;105:18278–18283. doi: 10.1073/pnas.0809949105. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Guillén-Pingarrón, C. et al. Conformational dynamics promotes disordered regions from function-dispensable to essential in evolved site-specific DNA recombinases. Comput. Struct. Biotechnol. J. 10.1016/j.csbj.2022.01.010 (2022). [DOI] [PMC free article] [PubMed]
  • 52.Shen MW, Zhao KT, Liu DR. Reconstruction of evolving gene variants and fitness from short sequencing reads. Nat. Chem. Biol. 2021;17:1188–1198. doi: 10.1038/s41589-021-00876-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Xie VC, Pu J, Metzger BP, Thornton JW, Dickinson BC. Contingency and chance erase necessity in the experimental evolution of ancestral proteins. eLife. 2021;10:e67336. doi: 10.7554/eLife.67336. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Soni A, Augsburg M, Buchholz F, Pisabarro MT. Nearest-neighbor amino acids of specificity-determining residues influence the activity of engineered Cre-type recombinases. Sci. Rep. 2020;10:13985. doi: 10.1038/s41598-020-70867-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Rao, R. et al. Evaluating protein transfer learning with TAPE. Adv. Neural Inf. Process. Syst. 10.48550/arXiv.1906.08230 (2019). [PMC free article] [PubMed]
  • 56.Wittmann BJ, Yue Y, Arnold FH. Informed training set design enables efficient machine learning-assisted directed protein evolution. Cell Syst. 2021;12:1026–1045.e7. doi: 10.1016/j.cels.2021.07.008. [DOI] [PubMed] [Google Scholar]
  • 57.Jumper J, et al. Highly accurate protein structure prediction with AlphaFold. Nature. 2021;596:583–589. doi: 10.1038/s41586-021-03819-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Matsumura I, Ellington AD. In vitro evolution of beta-glucuronidase into a beta-galactosidase proceeds through non-specific intermediates. J. Mol. Biol. 2001;305:331–339. doi: 10.1006/jmbi.2000.4259. [DOI] [PubMed] [Google Scholar]
  • 59.R Core Team. R: A Language and Environment for Statistical Computing.https://www.R-project.org/ (2021).
  • 60.Wickham H, et al. Welcome to the tidyverse. J. Open Source Softw. 2019;4:1686. doi: 10.21105/joss.01686. [DOI] [Google Scholar]
  • 61.Krijthe, J. H. Rtsne: T-distributed stochastic neighbor embedding using Barnes-hut implementation. Githubhttps://github.com/jkrijthe/Rtsne (2015).
  • 62.Van Der Loo MPJ. The stringdist package for approximate string matching. R. J. 2014;6:111–122. doi: 10.32614/RJ-2014-011. [DOI] [Google Scholar]
  • 63.Van Rossum, G. & Drake, F. L. Python 3 Reference Manual (CreateSpace, 2009).
  • 64.Harris CR, et al. Array programming with NumPy. Nature. 2020;585:357–362. doi: 10.1038/s41586-020-2649-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.McKinney, W. Data structures for statistical computing in python. Proc. 9th Python Sci. Conf. 10.25080/Majora-92bf1922-00a (2010).
  • 66.Sønderby, C. K., Raiko, T., Maaløe, L., Sønderby, S. K. & Winther, O. Ladder Variational Autoencoders.10.48550/arXiv.1602.02282 (2016).
  • 67.Wickham, H. ggplot2: Elegant Graphics for Data Analysis (Springer-Verlag New York, 2016).
  • 68.Lukas Theo Schmitt. Prediction of designer-recombinases for DNA editing with generative deep learning. Github10.5281/zenodo.7346945 (2022). [DOI] [PMC free article] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Reporting Summary (334KB, pdf)
41467_2022_35614_MOESM3_ESM.pdf (23.7KB, pdf)

Description of Additional Supplementary Files

Supplementary Dataset 1 (16.5KB, xls)
Supplementary Dataset 2 (37.5KB, xls)
Supplementary Dataset 3 (28.5KB, xls)
Peer Review File (3.3MB, pdf)

Data Availability Statement

The sequence data generated in this study have been deposited in the European Nucleotide Archive under accession code PRJEB57361Source data are provided with this paper.

The code for RecGen can be found at https://github.com/ltschmitt/RecGen68.


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES