Abstract
The incorporation of unnatural amino acids (Uaas) has provided an avenue for novel chemistries to be explored in biological systems. However, the successful application of Uaas is often hampered by site-specific impacts on protein yield and solubility. Although previous efforts to identify features which accurately capture these site-specific effects have been unsuccessful, we have developed a set of novel Rosetta Custom Score Functions and alternative Empirical Score Functions that accurately predict the effects of acridon-2-yl-alanine (Acd) incorporation on protein yield and solubility. Acd-containing mutants were simulated in PyRosetta, and machine learning (ML) was performed using either the decomposed values of the Rosetta energy function, or changes in residue contacts and bioinformatics. Using these feature sets, which represent Rosetta score function specific and bioinformatics-derived terms, ML models were trained to predict highly abstract experimental parameters such as mutant protein yield and solubility and displayed robust performance on well-balanced holdouts. Model feature importance analyses demonstrated that terms corresponding to hydrophobic interactions, desolvation, and amino acid angle preferences played a pivotal role in predicting tolerance of mutation to Acd. Overall, this work provides evidence that the application of ML to features extracted from simulated structural models allow for the accurate prediction of diverse and abstract biological phenomena, beyond the predictivity of traditional modeling and simulation approaches.
Similar content being viewed by others
Introduction
Expansion of the genetic code by incorporation of unnatural amino acids (Uaas) has helped to facilitate the study of biochemical phenomena which would otherwise be elusive1,2,3,4. Although Uaa incorporation is often used for the direct expression and purification of proteins with specific post-translational modifications, where the site would be dictated by biological relevance, Uaas are also used for photo-crosslinking, spectroscopic labeling, and biorthogonal conjugation, where there are many options for the location of the Uaa5,6,7,8,9. Various studies, including our own, have demonstrated that the specific incorporation site of a Uaa has dramatic impacts on both the solubility and yield of the resultant mutant protein10,11,12. However, identification of positions which will tolerate the newly incorporated Uaa is nontrivial.
A predictive method which can rapidly and accurately identify sites for Uaa incorporation that maximize mutant protein solubility and yield could dramatically increase the use of Uaas in both academia and industry. Several computational efforts have focused on accurately predicting structural aspects of Uaa mutant proteins, such as amino acid rotameric or backbone orientations13,14,15,16. Others have concentrated on predicting interaction phenomena such as protein–protein binding affinities17,18 or energies of hydration19, but none have successfully predicted more complex phenomena such as Uaa protein yield and soluble fraction. We believe the lack of attention dedicated to these predictions stems from both the absence of a robust dataset that contains uniform information regarding a protein’s native structure, solubility, and yield and a lack of evidence supporting the predictability of such phenomena10. Ultimately, in lieu of an effective predictor, Uaa incorporation has often been restricted to sites where native residues possess similar chemical characteristics to the Uaa of interest20 or to mutationally tolerant sites identified prior to Uaa incorporation21. Alternative approaches employ empirical screening of sites, often through the use of a green fluorescent protein (GFP) fusion reporter system to assess Uaa incorporation efficiency22,23. The former approaches are very limiting in the number of positions for Uaa incorporation, and the latter approach can require effort comparable to or greater than the effort needed for the eventual experiment with the Uaa-labeled protein. Thus, there is a great need for a facile approach which can identify sites in proteins that will tolerate mutation to Uaas. A demonstration of a simple predictive method may also encourage community wide data collection and result in a sufficiently large and varied dataset which would serve as a major step for improve Uaas predictability.
Previously, we collected the largest uniform dataset that captures the soluble yield, total yield, and soluble fraction for a singular unnatural amino acid (acridon-2-ylalanine, Acd) in a pair of protein targets10. During that investigation, we attempted to develop a simple heuristic descriptor which could predict the effects of Uaa incorporation on these measurables, but were unsuccessful. Acd, a blue wavelength fluorophore, was selected for this study because of its ability to be used as an intrinsically fluorescent Uaa, its ability to be assayed quickly and cleanly using gel-electrophoresis, and its many uses in in vitro assays such as fluorescence polarization and FRET experiments as well as recent applications in live cell imaging24,25,26,27,28,29. Acd has been shown to fulfill these functions at a variety of positions in proteins and exemplifies the problem of choosing an insertion site that is tolerated by the target protein. Our previous effort focused on investigating the ability of structure-independent bioinformatics-based features (BLOSUM62 matrix, evolutionary conservation, measures of local hydrophobicity, etc.) to act as heuristic predictors of the soluble fraction for various Acd-containing mutants of the bacterial proteins LexA and RecA10. However, we demonstrated that none of the tested structure-independent bioinformatics features individually acted as reliable predictors of tolerability, as none displayed a Pearson or Point-Biserial correlation coefficient (R, calculated with SciPy) above 0.25 with the Acd mutant soluble fraction data for LexA or RecA independently, or for the combined set. Interestingly, the most useful features identified were categorical variables corresponding to the domain and secondary structure in which Acd was incorporated. Although these heuristics seemed to be relatively descriptive for LexA, which is composed of two isolated domains with different secondary structures (an α-helical N-terminal domain and a β-sheet C-terminal domain connected by a flexible linker), the trend did not hold for RecA, which comprises multiple mixed α/β domains. Lastly, we investigated the utility of using the scores of structures resulting from Backrub simulations of the Acd mutant proteins in Rosetta, which were again unable to act as effective predictors of tolerability to Acd10. Overall, this suggested that additional attention was required to identify predictive features for this dataset that could support generalization, prior to developing higher throughput methods for expanding the dataset.
Herein, we focus on establishing an accurate method for predicting Acd mutant protein soluble fraction (soluble yield divided by total yield). This metric helps to report on whether mutation of a residue to Acd will be tolerated and represents a class of experiments that has evaded predictive methods in the past. Previously, we demonstrated that the predictivity of Rosetta methods can be dramatically improved through the use of RCSFs30,31. RCSFs, or Rosetta Custom Score Functions, rely on generation of structural models in PyRosetta, which are subsequently scored with the Rosetta full atom score function (beta_nov_16)32, a linear combination of energetic score terms (Lennard–Jones potential, electrostatics, implicit solvation etc.) that serves an analogous role to forcefields in molecular dynamics (MD) simulations. Isolated score terms are then subsequently re-combined through machine learning (ML) to generate an RCSF (Fig. 1A). Given the adaptability of RCSFs, we sought to investigate their utility in this problem that has previously proved difficult. First, we focused on determining if the constitutive energies of the Rosetta score function are more correlative than the structure independent bioinformatics terms we previously tested. We also wished to test the descriptive capacity of combining these terms through multiple linear regression (MLR). Subsequently, we sought to determine if the correlative nature of these features was unique to the energetic terms in Rosetta, by investigating a set of Empirical Score Terms (ESTs) which are based on contacts and structure independent bioinformatics. After identifying both Rosetta and EST features that demonstrated significantly improved correlation, we then used ML to train RCSFs and Empirical Score Functions (ESFs) and compare their ability to predict Acd mutant protein solubility and yield. Lastly, we performed feature importance analysis of the most predictive models from both the RCSF and ESF methods to see which features imbue predictivity in order to better understand our system. Overall, this effort demonstrates that such ML approaches are able to predict complex phenomena related to Uaa incorporation.
Methods
In order to simulate the Acd mutant LexA and RecA proteins, we first preprocessed and energy minimized the LexA and RecA protein structures (from PDB IDs 1JHH33 and 3CMW34, respectively) as detailed in the Starting Structures section of the Supplementary Information35. The energy minimized parent structures of LexA and RecA were then mutated to incorporate Acd at previously experimentally-tested positions using PyRosetta. The Rosetta amino acid params and side chain rotamer library files used to make Acd mutant proteins were those used in our previous work10. Following mutation to Acd, the structures were subjected to five independent cartesian FastRelax simulations (protocol to achieve low-energy protein backbone and side-chain conformations similar to the starting conformation through iterative stages of packing and minimization, with increasing repulsive weight in the scoring function over the course of the simulation), where only residues with a an alpha carbon to alpha carbon (C⍺-C⍺) distance within 8 Å of Acd were allowed to be refined31. These “local relaxes” allow for the surrounding residues of the mutation site to accommodate the newly incorporated Acd residue and have previously been shown to be a good sampling scheme for protein design36. Every position in LexA and RecA which was mutated to Acd was also locally relaxed about the wildtype (WT) residue in order to generate the control scores.
The locally relaxed structures were scored with the beta_nov16 score function, selected for its previously demonstrated efficacy, and the energy terms from the score function were averaged over the five simulations on a per residue basis31,32,36. Score differences (deltas) were computed for the total score function and for each term between the average weighted scores for the Acd mutant and the corresponding WT values. Features for RCSF training were then passed as the score deltas at the mutation site as well as the average of the score deltas of the surrounding locally relaxed residues (Fig. 1A).
In addition to computing Rosetta energy features from our structural models, we sought to construct a second, more generally applicable, feature set for ML comprised of contact-based terms10. Relevant contacts (pairwise atom distances < 4 Å) were computed from our structural models on an intra- and inter-residue basis using the biopython library37. The score deltas corresponding to the change in contacts upon mutation were used as features for training ESFs. The contact-based features were supplemented with structure independent bioinformatics features which provide information of evolutionary conservation and various measures of physiochemical properties (BLOSUM matrices, conservation terms, measure of hydrophobicity etc.). Supplementary Table 3 describes each of the contact-based terms as well as the structure independent bioinformatics features in our ESF feature matrix.
The experimental dataset was prepared for ML by first assigning a response class to each sample based on the distribution of the dependent variable. In Fig. 1B, we present the spatial distribution of the Acd mutants and the effect they have on LexA and RecA solubility. Response class assignment was performed by identifying cutoffs which naturally balance the distribution of actives and inactives of the set. For soluble yield, total yield and soluble fraction the response classes were balanced at 520 nM, 1600 nM, and 39%, respectively. Next, to ensure that our ML models were not overfit or the product of specifically engineered hyperparameters, we created a large, well-balanced holdout dataset for validating our models. The complete dataset spans 51 datapoints where 32 points are mutations in LexA and the remaining 19 are from RecA10. The holdout dataset (not seen by the ML algorithms during hyperparameter tuning) was constructed to represent 20% of the total dataset, comprising equal amounts of data from both proteins with a representative distribution of soluble fraction values. Members of the holdout datasets can be found in Supplementary Table 1 and on our GitHub (https://github.com/ejp-lab/EJPLab_Computational_Projects/tree/master/RML_ACD/Dataset).
Given the large number of computed features to be used in ML, dimensionality was reduced by selecting important features with univariate statistical analysis with the SelectKBest module in scikit-learn38. The following ML algorithms were employed using the respective default parameters within scikit-learn to coarsely assess the effect of prediction accuracy as a function of the number of features: Logistic Regression (LOG), Kernel Ridge Regression (KRR), Linear Discriminant Analysis (LDA), Quadratic Discriminant Analysis (QDA), Support Vector Machines (SVC), K Nearest Neighbors (KNN), Bernoulli Naïve Bayes (BNB), Gaussian Naïve Bayes (GNB), and Gaussian Process Classification (GPC)38. The optimal number of features were selected as the combination of features which showed the highest accuracy following stratified fivefold cross-validation, or CV5. The holdout datasets were validated by the aforementioned algorithms that were tuned using stratified CV5 in an exhaustive grid search. Finally, tuning parameters can be found in Supplementary Tables 10 and 11.
The metrics we have used to validate the performance of our models are accuracy, precision, recall, and the F1 score. Accuracy scores represent the ratio of correctly predicted observations (true positives and true negatives) to the total number of observations. Precision is defined as the ratio of the number of correctly predicted positives to the total number of positive observations predicted. Recall is used to assess how many of the positive observations were identified and is given by the ratio of correctly predicted positives to total positives. Finally, the F1 score is the weighted average of precision and recall.
Results
In our previous study, analysis of the backrub simulated structures demonstrated that neither structural deviations nor total energetic differences were correlative with any of the experimental parameters of interest10. To confirm that this was not an artifact of the sampling approach previously utilized, the experimental data from our previous study were simulated in PyRosetta as described in “Methods” section10 In this study, alpha carbon root mean squared deviation (C⍺RMSD) analysis was performed for locally relaxed structures and demonstrated that across the sets of independent simulations, each Uaa position converged to a singular structure in both the Acd mutant and WT simulations. The largest observed C⍺RMSD within a simulation set was 1.37 Å. Larger deviations of up to 4.07 Å were observed between the lowest energy member of a set of Acd mutant and WT simulations for a given position. Linear regression of C⍺RMSD values demonstrated no correlation with any of the dependent variables (all R < 0.3, Supplementary Figures 1–3). A similar analysis was performed using the difference in Rosetta total score in Rosetta energy units (REU) between the Acd mutant and WT simulations and again no correlation between REU and the dependent variables was observed (all R < 0.3, Supplementary Figures 4–6). This confirmed that traditional analyses such as RMSD and changes in total energy are insufficient in predicting these phenomena, as previously observed30,31.
Energetic components support descriptive modeling
Next, we analyzed the correlations between Rosetta score deltas and the values from the experimental dataset and attempted to describe the system through linear regression. We observed that many of the score delta features were individually more correlative than any of the structure-independent bioinformatics terms analyzed in our previous efforts (Supplementary Tables 6 and 7)10. Table 1 displays the ten features from the Rosetta score function that are most correlative with Acd mutant protein soluble fraction. We identified that the most correlative terms were energetic changes at the Acd incorporation site, demonstrating the importance of our structural modeling. Given the correlations of the independent Rosetta score terms, we constructed a set of multiple linear regressions (MLRs) in which we performed backwards selection to arrive at a small number of features which strongly describe the dependent variables. Table 2 details the elements of the MLRs including the feature set, dependent variable, number of model features, R, and ƒ statistics for the models. The MLR analyses convey the ability for small numbers of Rosetta derived features to describe each protein subset for all three dependent variables above an R of 0.725. Additionally, we observed that unlike our prior study where the most predictive terms (protein domain and secondary structure) were not capable of being generally applied to both protein datasets, these MLRs are capable of effectively describing Acd mutant protein soluble yield, total yield, and soluble fraction in the combined dataset (Table 2).
Detailed structural analysis provides basis for correlation
Following our investigation of Rosetta features, we performed the same analyses for a set of ESTs, to determine if more generalizable terms could be used in a similar approach. Although the structure-independent terms were unable to achieve a Pearson correlation above 0.25, the new contact-based ESTs were able to achieve correlations up to R values of 0.503. Table 3 displays the ten ESTs that are most correlative with Acd mutant protein soluble fraction. Interestingly, we observed that the most correlative terms directly report on changes in contacts due to Acd incorporation. These results closely match the most correlative Rosetta terms as they also reported largely on the Acd mutation site. Moreover, we observed that EST MLRs (Table 4) were able to describe the soluble yield and soluble fraction datasets similarly to the Rosetta terms MLRs (Table 2), but were significantly less correlative with the total yield dataset. Overall, we were highly encouraged that this approach might be generalizable beyond the use of Rosetta-specific score terms based on the correlations of the contact and bioinformatics-based terms computed from the PyRosetta generated mutant structures.
RCSF and ESF features produce accurate classifiers
Since our Rosetta and EST sets were significantly more correlated with soluble fraction over the previously explored structure-independent bioinformatics terms, we next focused on assessing the maximal utility of these terms by attempting to classify positional tolerance of Acd mutation based on prediction of soluble fraction. Since the number of potential features is larger than the dataset, we reduced dimensionality through feature selection with the SelectKBest module in scikit-learn. An upper threshold of 10 features was set to avoid overfitting. Furthermore, we were interested in understanding which ML methods provide the most predictive power for each experimental value with these features, so we tested a wide variety of algorithms. Feature selection coupled with untuned model prediction showed varying results for the optimal number of features and those that were selected for each classification task can be found in Supplementary Tables 8 and 9.
Following feature selection, each feature selected ML model was tuned using exhaustive grid searching (stratified CV5) to identify the optimal hyperparameters for the soluble yield, total yield, and soluble fraction models for both feature sets. First, we focused on generating RCSFs from Rosetta score terms and analyzed confusion matrices (Fig. 2) for RCSF cross validation and holdout prediction across every dependent variable. Additionally, a dummy classifier is presented for a baseline comparison (Fig. 2A), which performed as expected given the stratified criterion with a prediction training accuracy of ~ 53% and training precision of ~ 50%. The soluble yield RCSF (Fig. 2B) demonstrated a training accuracy of ~ 81% with a precision of ~ 88%. Very similarly, the total yield RCSF (Fig. 2C) was predicted at ~ 81% accuracy, but with a slightly lower precision of ~ 78%. Lastly, our soluble fraction RCSF (Fig. 2D), predicted with a training accuracy 85.4% and precision of ~ 81%.
The ability of the RCSFs to serve as practical tools for prediction of Acd mutant protein yield and solubility requires accurate prediction of never-before-seen data. Again, for comparison to random classification, a dummy classifier (Fig. 2E) is shown which predicted the holdout with an accuracy of 30% with 20% precision. Figure 2E–H show the confusion matrices for the prediction of the holdout datasets for every dependent variable. Here, both the soluble and total yield RCSFs (Fig. 2F,G) demonstrated 90% holdout accuracy and perfect precision. The soluble fraction RCSF (Fig. 2H), predicted the holdout at 90% accuracy with ~ 83% precision.
To confirm the generalizability of generating predictive machine learned score functions from sets of correlative terms, we created an identical set of ESFs from the ESTs. Similarly to the RCSF analysis, Fig. 3A–D displays confusion matrices for the ESF cross validation and holdout prediction across every dependent variable, along with dummy classifier metrics. The soluble yield ESF (Fig. 3B) demonstrated a training accuracy of ~ 71% with a precision of 75%. The total yield ESF (Fig. 3C) predicts at ~ 66% accuracy, but with a low precision of 60%. Additionally, our soluble fraction ESF (Fig. 3D), demonstrated a training accuracy ~ 66% and precision of ~ 78%. Moreover, analysis of the confusion matrices for the prediction of the holdout datasets of the dummy classifier (Fig. 3E) and ESFs (Fig. 3F–H) demonstrated that the ESFs performed similarly, albeit slightly less effectively than the RCSFs. The soluble yield ESFs (Fig. 3F) demonstrated 80% holdout accuracy and perfect precision, while the total yield ESF (Fig. 3G) and the soluble fraction ESF (Fig. 3H), both predicted the holdout at 70% accuracy, with 85.7% and 100% precision respectively. Table 5 displays a unified table of classification statistics for RCSFs and ESFs across all the dependent variables.
Structural accommodation and desolvation of Acd convey predictivity
Finally, after demonstrating that RCSFs and ESFs can be used to accurately classify Acd mutant protein soluble fraction, we focused on identifying which features were responsible for generating this predictive accuracy. Since extraction of model feature importance for nonlinear algorithms other than decision tree-based methods is not readily available in scikit-learn, we performed model feature importance analyses on LOG models (Fig. 4, Supplementary Tables 12–15). Analysis of the feature importance in the soluble fraction RCSF LOG model demonstrated that the most important Rosetta score terms were fa_atr_Site, omega_Site, fa_dun_rot_Site, fa_intra_atr_xover_8A, lk_ball_bridge_uncpl_Site, and fa_intra_elec_Site (Fig. 4A). These terms represent the energies associated with pairwise van der Waals attraction, the Acd residue specific backbone omega dihedral angle and Acd rotameric preferences, the intra-residue van der Waals attraction of the contacting sphere, the uncoupled bridging contribution of the Lazaridis-Karplus solvation of Acd, and the intra-residue electrostatic energy of Acd respectively. The remaining selected terms corresponding to fa_dun_rot_8A, lk_ball_8A, and fa_intra_sol_Site were used to a significantly lesser extent than the most import feature (< 10% of fa_atr) and correspond to the internal energy of the sidechain from Dunbrack’s statistics of residues in the contact sphere, the anisotropic contribution of the Lazaridis-Karplus solution of the contact sphere and intra-residue solvation for the Acd site.
Analysis of the feature importance in the soluble fraction ESF LOG model demonstrated that all the selected features were similarly important, except for np_sc_sc_inter which had an increased importance. The remaining features were blosum62_his, total_contacts, RSA, np_total, np_bb_sc_inter, and delta_t_d_m (all terms detailed in Supplementary Table 3). The majority of these terms (np_sc_sc_inter, total_contacts, np_total, and np_bb_sc_inter) are nonpolar contacts computed between the Acd and the surrounding residues derived from our PyRosetta modeling. RSA is the relative accessible surface area of the residue which is to be mutated to Acd and are also a function of the residue’s contacts39. The blosum62_his and delta_t_d_m are the BLOSUM values associated with the mutation site residue when mutated to histidine, and a measure of the change in peptide meting temperature vs glycine40,41. As was observed during feature correlation analysis, the selected RCSF and ESF features are similar and represent properties associated with the ability of a protein to accommodate the large aromatic sidechain of Acd.
Discussion
Our identification of Rosetta score terms and ESTs as correlative features with Acd incorporation tolerability based on soluble fraction and the combination of these terms through machine learning to generate RCSFs and ESFs has several key advantages over the methods previously employed. Previously, we hypothesized that positions which had low soluble fractions (Fig. 1B, amino acids colored in red) would show greater structural deviations between the different local relax simulations in the Acd mutant simulations. Additionally, we expected that the Rosetta total score would reflect structural perturbation induced by Acd incorporation. Although we did not observe correlations between Acd mutant protein soluble fraction and either the global structural deviations or the total energy computed, we did see striking correlations for local physical interactions and energies associated with perturbations at and around the mutation site. These observations are consistent with our previous analyses predicting the change in energy of mutations at protein–protein interfaces and positions in peptides that imbue proteolytic resistance upon backbone thioamidation30,31. Moreover, this phenomenon was reflected in the ESTs as they too demonstrated that decomposed features were more correlative than their total feature counterparts (i.e. number of sidechain-sidechain nonpolar contacts rather than total number of contacts). Additionally, we observed that ESTs computed from our structural models were more correlative than the structure independent bioinformatics terms, supporting the fact that predictivity is rooted in the local structural changes more generally, and is not just attributable to Rosetta energies. The generalizability of this approach overall can also be supported by others who have used energy-based machine learning methods that are not RCSFs42,43,44. For example, Adeshina et al. minimized protein ligand complexes with Rosetta and used a subset of energies along side other features in an effort to reduce the false positive rate in ligand virtual screening42. Outside of the Rosetta energy function, Rauer et al. simulated molecules in various solvents using MD in order to predict hydration energies43. Taken together, these studies along with our investigations demonstrate the strong predictivity of energy-based and empirical ML models and support the idea that many different computational platforms can likely be used to generate predictions about Uaa incorporation if ML is applied to perturbation of local structural features.
Beyond delivering significantly improved predictive capacity, the structure-based features from this investigation were able to describe the important properties of each site as related to Acd tolerance. This is intriguing as it begins to uncover the mechanisms behind the clear differences in total yield, soluble yield, and soluble fraction observed, even when attempting to make conservative mutations (i.e. Phe-to-Acd) or in mutating the same residue at different sites (i.e. LexA Phe 12 vs. LexA Phe 111). Consulting chemical intuition, we would hypothesize that positions which tolerate mutation to Acd would need to accommodate backbone and sidechain rotameric states capable of desolvating the bulky, aromatic Acd side chain. If they are incapable of doing so, the Acd side chain will be undesirably exposed to solvent or forced to clash with other residues. Indeed, this chemical intuition informed our previous attempts to determine correlations to individual properties10, and although these were not able to predict tolerability, they are nonetheless related to the top RCSF and ESF features. Many of the top ESF features correspond to hydrophobic contacts, solvent accessible surface area, and measures of hydrophobicity. At the same time, the top RCSF features correspond to van der Waals energies, peptide backbone angle preferences, and solvation energies. If we consider an example of mutation of Phe to Acd at position 12 (tolerated) versus at 111 (not tolerated), we can observe these features in action. At position 12, Acd is buried and adopts a clash free conformation. At position 111, while Acd is fully desolvated, it is too large and highly clashed with surrounding residues. A different example. where simply considering the identities of the native residues would have led to incorrect predictions of tolerance but our models allow accurate classification are Ser60 and Tyr98. Naively, one would expect a Tyr to Acd mutation to be better tolerated than a Ser to Acd mutation since Tyr is a bulky aromatic (hydrophobic) residue like Acd, and Ser is much smaller and considered to be polar. In this specific example however, the Ser mutation is tolerated, while the Tyr mutation is not. Fortunately, our models could accurately differentiate these two positions and inspection of the modeled structures allows chemical intuition to match the ESF and RCSF predictions. While position is 60 is solvent exposed, the Acd side chain is able to form many hydrophobic interactions and fill a small cleft. Position 98 is found at the dimer interface, and the Acd sidechain induces steric clashes due to its greater size than Tyr. These examples are rewarding, as they match our chemical intuition, demonstrating that this method provides models with a rationalizable basis for prediction as previously observed in our investigation of modified peptides30.
Comparison of the utilities of the RCSFs and ESFs specifically can be made based on training and holdout performance. Rewardingly, for all of our models, we observed only minor differences in the quality of the holdout prediction as compared to the training albeit with different predictive powers. Across the board, our RCSFs displayed training accuracies, precisions, and recalls routinely above 80% and translatability of those predictive capacities to the holdout. These data indicate good generalizability to new LexA and RecA data and show a strong ability to select for positives, which would tremendously enrich small scale screens for tolerated sites over the unbiased experimental methods described above. Our ESF models were demonstrably weaker predictors (training and holdout accuracies, precisions, recalls of 60–70%) than the RCSFs, but do show enrichment versus the dummy classifiers and translatability to the holdout, supporting the utility of their features.
With regards to model effectiveness in new protein systems, since we are using score deltas that are intrinsically normalized to the native structure, and the observed accurate testing on a diverse holdout set (sites with various protein primary, secondary, and tertiary structures) support the use of our models in predicting Acd tolerability in other systems. For other unique proteins, if the energy features computed from PyRosetta simulations fall within the distributions of our feature vectors laid out in Supplementary Table 4, these models may also demonstrate utility. Nonetheless, the facile method described herein along with our previous two studies using RCSFs, provide strong evidence that the construction of custom scoring functions for prediction of a specific phenomenon is a superior strategy compared to the development of a singular generalized scoring function (forcefield) for a Uaa such as Acd. Ultimately, this investigation demonstrates that we have uncovered a method for predicting current datasets, suggesting that construction of a dataset that includes both different Uaas and multiple proteins may yield a generally predictive system of interest to the field.
Conclusion
Prior efforts to predict the parameters which reveal the tolerability of mutations to Uaas have been limited and thus far unsuccessful, leading researchers to use empirical methods. Herein, we focused on demonstrating that features, rooted in local structure computed from PyRosetta simulations, can serve as a basis for the development of predictive ML models. Uaa protein mutants of interest were simulated using PyRosetta yielding structural models which can be used to train RCSFs and ESFs that, for the first time, accurately predict Acd mutant protein soluble and total yield as well as soluble fraction with high accuracy. Given our recent development of Acd as a probe for imaging in living mammalian cells, we are excited about using the approach described here to train models for predicting well-tolerated labeling sites for imaging applications. The success of these models also has broad implications for the Uaa community and more generally for those interested in predicting biological phenomena via computation methods. The observed high cross validation scores, as well as generalizability, exemplified by accurate prediction of a diverse well-balanced holdout dataset, demonstrate that this modeling approach can identify key features for highly abstract experimental parameters in even small subsets of data. In the long term, we will continue to investigate the ability for RCSFs and ESFs to be used in conjunction with each other and additional features. Lastly, we have made our models for prediction of novel Acd mutant protein data available on our GitHub.
Limitations and outlook
Although this methodology demonstrates that RCSFs and ESFs can accurately predict biological phenomena which elude more traditional approaches, the current study was performed on a small dataset (51 datapoints). We used a standard holdout percentage of 20%, corresponding to a low overall number of datapoints (10) for validation on never-before-seen data. It is likely that the models trained here are not generalizable beyond Acd and the LexA and RecA proteins, as this dataset is not expected to capture the diversity of protein structures across the proteome and other Uaas would have physical properties that are distinct from those of Acd so the relevant features for those Uaas were not selected here. Moreover, we encourage others adopting the RCSF method to consider the applicability of the Rosetta score function used for running simulations. For example, the betaNov16 score function used here has been updated for improved ligand docking as RosettaGenFF/beta_genpot. While this change would not be expected to affect our results since no ligands were present, those attempting to perform similar studies in the presence of ligands should evaluate the currently available Rosetta score functions and select the appropriate score function depending on the task. Despite these limitations, the results herein and in prior reports demonstrate that RCSFs and ESFs are highly useful for producing interpretable ML models for predicting complex biological phenomena30,31.
Data availability
The datasets and analyses generated in the current study are included in this article as well as the Supplementary Information and are available from the corresponding authors on reasonable request. Codes have been made available on our lab GitHub at https://github.com/ejp-lab/EJPLab_Computational_Projects/tree/master/RML_ACD.
References
Liu, C. C. & Schultz, P. G. In Annual Review of Biochemistry, Vol. 79 (eds Kornberg, R. D. et al.) 413–444 (Annual Reviews, 2010).
Young, T. S. & Schultz, P. G. Beyond the canonical 20 amino acids: Expanding the genetic lexicon. J. Biol. Chem. 285, 11039–11044. https://doi.org/10.1074/jbc.R109.091306 (2010).
Neumann-Staubitz, P. & Neumann, H. The use of unnatural amino acids to study and engineer protein function. Curr. Opin. Struct. Biol. 38, 119–128. https://doi.org/10.1016/j.sbi.2016.06.006 (2016).
Xiao, H. & Schultz, P. G. At the interface of chemical and biological synthesis: An expanded genetic code. Cold Spring Harb. Perspect. Biol. 8, 18. https://doi.org/10.1101/cshperspect.a023945 (2016).
Chen, H., Venkat, S., McGuire, P., Gan, Q. L. & Fan, C. G. Recent development of genetic code expansion for posttranslational modification studies. Molecules 23, 19. https://doi.org/10.3390/molecules23071662 (2018).
Wu, N., Deiters, A., Cropp, T. A., King, D. & Schultz, P. G. A genetically encoded photocaged amino acid. J. Am. Chem. Soc. 126, 14306–14307. https://doi.org/10.1021/ja040175z (2004).
Venkat, S. et al. Genetically incorporating two distinct post-translational modifications into one protein simultaneously. ACS Synth. Biol. 7, 689–695. https://doi.org/10.1021/acssynbio.7b00408 (2018).
Fleissner, M. R. et al. Site-directed spin labeling of a genetically encoded unnatural amino acid. Proc. Natl. Acad. Sci. USA. 106, 21637–21642. https://doi.org/10.1073/pnas.0912009106 (2009).
Saleh, A. M., Wilding, K. M., Calve, S., Bundy, B. C. & Kinzer-Ursem, T. L. Non-canonical amino acid labeling in proteomics and biotechnology. J. Biol. Eng. 13, 14. https://doi.org/10.1186/s13036-019-0166-3 (2019).
Hostetler, Z. M. et al. Systematic evaluation of soluble protein expression using a fluorescent unnatural amino acid reveals no reliable predictors of tolerability. ACS Chem. Biol. 13, 2855–2861. https://doi.org/10.1021/acschembio.8b00696 (2018).
Zhang, B. et al. Development of next generation of therapeutic IFN-alpha 2b via genetic code expansion. Acta Biomater. 19, 100–111. https://doi.org/10.1016/j.actbio.2015.03.002 (2015).
Zheng, Y. X. et al. Broadening the versatility of lentiviral vectors as a tool in nucleic acid research via genetic code expansion. Nucleic Acids Res. 43, E73. https://doi.org/10.1093/nar/gkv202 (2015).
Olubiyi, O. O. & Strodel, B. Topology and parameter data of thirteen non-natural amino acids for molecular simulations with CHARMM22. Data Brief 9, 642–647. https://doi.org/10.1016/j.dib.2016.09.051 (2016).
Singh, S. et al. PEPstrMOD: Structure prediction of peptides containing natural, non-natural and modified residues. Biol. Direct 10, 19. https://doi.org/10.1186/s13062-015-0103-4 (2015).
Nagata, K., Randall, A. & Baldi, P. Incorporating post-translational modifications and unnatural amino acids into high-throughput modeling of protein structures. Bioinformatics 30, 1681–1689. https://doi.org/10.1093/bioinformatics/btu106 (2014).
Khoury, G. A. et al. Forcefield_NCAA: Ab initio charge parameters to aid in the discovery and design of therapeutic proteins and peptides with unnatural amino acids and their application to complement inhibitors of the compstatin family. ACS Synth. Biol. 3, 855–869. https://doi.org/10.1021/sb400168u (2014).
Ren, W., Truong, T. M. & Ai, H. W. Study of the binding energies between unnatural amino acids and engineered orthogonal tyrosyl-tRNA synthetases. Sci. Rep. 5, 10. https://doi.org/10.1038/srep12632 (2015).
Garton, M., Sayadi, M. & Kim, P. M. A computational approach for designing D-proteins with non-canonical amino acid optimised binding affinity. PLoS ONE 12, 16. https://doi.org/10.1371/journal.pone.0187524 (2017).
Amaro, M. et al. Site-specific analysis of protein hydration based on unnatural amino acid fluorescence. J. Am. Chem. Soc. 137, 4988–4992. https://doi.org/10.1021/jacs.5b01681 (2015).
Hammill, J. T., Miyake-Stoner, S., Hazen, J. L., Jackson, J. C. & Mehl, R. A. Preparation of site-specifically labeled fluorinated proteins for F-19-NMR structural characterization. Nat. Protoc. 2, 2601–2607. https://doi.org/10.1038/nprot.2007.379 (2007).
Hino, N., Hayashi, A., Sakamoto, K. & Yokoyama, S. Site-specific incorporation of non-natural amino acids into proteins in mammalian cells with an expanded genetic code. Nat. Protoc. 1, 2957–2962. https://doi.org/10.1038/nprot.2006.424 (2006).
Reddington, S. C. et al. Directed evolution of GFP with non-natural amino acids identifies residues for augmenting and photoswitching fluorescence. Chem. Sci. 6, 1159–1166. https://doi.org/10.1039/c4sc02827a (2015).
Arpino, J. A. J., Baldwin, A. J., McGarrity, A. R., Tippmann, E. M. & Jones, D. D. In-frame amber stop codon replacement mutagenesis for the directed evolution of proteins containing non-canonical amino acids: Identification of residues open to bio-orthogonal modification. PLoS ONE 10, 18. https://doi.org/10.1371/journal.pone.0127504 (2015).
Ferrie, J. J. et al. Multicolor protein FRET with tryptophan, selective coumarin-cysteine labeling, and genetic acridonylalanine encoding. Chem. Commun. 53, 11072–11075. https://doi.org/10.1039/C7CC05492K (2017).
Padmanarayana, M. et al. Characterization of the lipid binding properties of otoferlin reveals specific interactions between PI(4,5)P2 and the C2C and C2F domains. Biochemistry 53, 5023–5033. https://doi.org/10.1021/bi5004469 (2014).
Speight, L. C. et al. Efficient synthesis and in vivo incorporation of acridon-2-ylalanine, a fluorescent amino acid for lifetime and Förster resonance energy transfer/luminescence resonance energy transfer studies. J. Am. Chem. Soc. 135, 18806–18814. https://doi.org/10.1021/ja403247j (2013).
Sungwienwong, I. et al. Improving target amino acid selectivity in a permissive aminoacyl tRNA synthetase through counter-selection. Organ. Biomol. Chem. 15, 3603–3610. https://doi.org/10.1039/C7OB00582B (2017).
Jones, C. M. et al. Genetic encoding of a highly photostable, long lifetime fluorescent amino acid for imaging in mammalian cells. Chem. Sci. https://doi.org/10.1039/D1SC01914G (2021).
Hostetler, Z. M., Cory, M. B., Jones, C. M., Petersson, E. J. & Kohli, R. M. The kinetic and molecular basis for the interaction of LexA and activated RecA revealed by a fluorescent amino acid probe. ACS Chem. Biol. 15, 1127–1133. https://doi.org/10.1021/acschembio.9b00886 (2020).
Giannakoulias, S. et al. Rosetta machine learning models accurately classify positional effects of thioamides on proteolysis. J. Phys. Chem. B https://doi.org/10.1021/acs.jpcb.0c05981 (2020).
Shringari, S. R., Giannakoulias, S., Ferrie, J. J. & Petersson, E. J. Rosetta custom score functions accurately predict Delta Delta Gof mutations at protein-protein interfaces using machine learning. Chem. Commun. 56, 6774–6777. https://doi.org/10.1039/d0cc01959c (2020).
Park, H., Zhou, G. F., Baek, M., Baker, D. & DiMaio, F. Force field optimization guided by small molecule crystal lattice data enables consistent sub-angstrom protein-ligand docking. J. Chem. Theory Comput. 17, 2000–2010. https://doi.org/10.1021/acs.jctc.0c01184 (2021).
Luo, Y. et al. Crystal structure of LexA: A conformational switch for regulation of self-cleavage. Cell 106, 585–594. https://doi.org/10.1016/s0092-8674(01)00479-2 (2001).
Chen, Z. C., Yang, H. J. & Pavletich, N. P. Mechanism of homologous recombination from the RecA-ssDNA/dsDNA structures. Nature 453, 489-U483. https://doi.org/10.1038/nature06971 (2008).
Chaudhury, S., Lyskov, S. & Gray, J. J. PyRosetta: A script-based interface for implementing molecular modeling algorithms using Rosetta. Bioinformatics 26, 689–691. https://doi.org/10.1093/bioinformatics/btq007 (2010).
Alford, R. F. et al. The Rosetta all-atom energy function for macromolecular modeling and design. J. Chem. Theory Comput. 13, 3031–3048. https://doi.org/10.1021/acs.jctc.7b00125 (2017).
Cock, P. J. A. et al. Biopython: Freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics 25, 1422–1423. https://doi.org/10.1093/bioinformatics/btp163 (2009).
Pedregosa, F. et al. Scikit-learn: Machine learning in python. J. Mach. Learn. Res. 12, 2825–2830 (2011).
Colloch, N., Etchebest, C., Thoreau, E., Henrissat, B. & Mornon, J. P. Comparison of 3 algorithms for the assignment of secondary structure in proteins—The advantages of a consensus assignment. Protein Eng. 6, 377–382. https://doi.org/10.1093/protein/6.4.377 (1993).
Henikoff, S. & Henikoff, J. G. Performance evaluation of amino-acid substitution matrices. Proteins 17, 49–61. https://doi.org/10.1002/prot.340170108 (1993).
Wolfenden, R. Experimental measures of amino acid hydrophobicity and the topology of transmembrane and globular proteins. J. Gen. Physiol. 129, 357–362. https://doi.org/10.1085/jgp.200709743 (2007).
Adeshina, Y. O., Deeds, E. J. & Karanicolas, J. Machine learning classification can reduce false positives in structure-based virtual screening. Proc. Natl. Acad. Sci. USA. 117, 18477–18488. https://doi.org/10.1073/pnas.2000585117 (2020).
Rauer, C. & Bereau, T. Hydration free energies from kernel-based machine learning: Compound-database bias. J. Chem. Phys. 153, 9. https://doi.org/10.1063/5.0012230 (2020).
Louros, N., Orlando, G., De Vleeschouwer, M., Rousseau, F. & Schymkowitz, J. Structure-based machine-guided mapping of amyloid sequence space reveals uncharted sequence clusters with higher solubilities. Nat. Commun. 11, 13. https://doi.org/10.1038/s41467-020-17207-3 (2020).
Acknowledgements
This work was supported by the University of Pennsylvania and the National Science Foundation (NSF CHE-1708759 to E.J.P.). J.J.F. and S.G thank the NSF for funding through the NSF Graduate Research Fellowship Program (DGE-1321851 and DGE-1845298, respectively). S.G drew or produced all figures.
Author information
Authors and Affiliations
Contributions
S.G. and S.R.S. both performed PyRosetta simulations as well as machine learning. J.J.F. and E.J.P. gave technical advice for the conducted simulations and machine learning. S.G. drafted the first version of the manuscript and all authors have reviewed, edited and approved this manuscript for submission.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
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 licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence 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 licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Giannakoulias, S., Shringari, S.R., Ferrie, J.J. et al. Biomolecular simulation based machine learning models accurately predict sites of tolerability to the unnatural amino acid acridonylalanine. Sci Rep 11, 18406 (2021). https://doi.org/10.1038/s41598-021-97965-2
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-021-97965-2