Skip to main content
eLife logoLink to eLife
. 2023 Dec 22;12:e84756. doi: 10.7554/eLife.84756

A computational method for predicting the most likely evolutionary trajectories in the stepwise accumulation of resistance mutations

Ruth Charlotte Eccleston 1,, Emilia Manko 1, Susana Campino 1, Taane G Clark 1,2, Nicholas Furnham 1
Editors: Christian R Landry3, Christian R Landry4
PMCID: PMC10807863  PMID: 38132182

Abstract

Pathogen evolution of drug resistance often occurs in a stepwise manner via the accumulation of multiple mutations that in combination have a non-additive impact on fitness, a phenomenon known as epistasis. The evolution of resistance via the accumulation of point mutations in the DHFR genes of Plasmodium falciparum (Pf) and Plasmodium vivax (Pv) has been studied extensively and multiple studies have shown epistatic interactions between these mutations determine the accessible evolutionary trajectories to highly resistant multiple mutations. Here, we simulated these evolutionary trajectories using a model of molecular evolution, parameterised using Rosetta Flex ddG predictions, where selection acts to reduce the target-drug binding affinity. We observe strong agreement with pathways determined using experimentally measured IC50 values of pyrimethamine binding, which suggests binding affinity is strongly predictive of resistance and epistasis in binding affinity strongly influences the order of fixation of resistance mutations. We also infer pathways directly from the frequency of mutations found in isolate data, and observe remarkable agreement with the most likely pathways predicted by our mechanistic model, as well as those determined experimentally. This suggests mutation frequency data can be used to intuitively infer evolutionary pathways, provided sufficient sampling of the population.

Research organism: P. falciparum

Introduction

The development of new antimicrobial therapeutics and the design of successful drug deployment strategies to reduce the prevalence of resistance require an understanding of the underlying molecular evolution. Antimicrobial resistance (AMR) poses a huge global health threat through a wide range of mechanisms (Sun et al., 2019; Davies and Davies, 2010; Levy and Marshall, 2004; Rodrigues et al., 2016). One of the major routes to resistance, and focus of this work, is genomic variation within protein coding regions. Of particular significance are single-nucleotide polymorphisms (SNPs) in the antimicrobial target gene that alter the protein structure and prevent efficient binding of the antimicrobial drug. Provided these SNPs do not prevent the target from carrying out its function, the resistant strains will proliferate within the population (Blair et al., 2015).

The evolution of resistance is affected by the interplay between selection for resistance, selection for protein function, drug concentration, and mutational bias, and it is also influenced by a phenomenon known as epistasis (Weinreich et al., 2006; Lozovsky et al., 2009; Jiang et al., 2013).

Epistasis between mutations within the same protein arises due to energetic interactions between the amino acids, where the impact of a mutation depends upon the protein sequence (Starr and Thornton, 2016). When epistasis occurs between two or more mutations, their combined impact on protein fitness or a physical trait, such as stability or binding affinity, does not equal the sum of their independent impacts.

Epistasis can arise either as a result of direct or indirect interactions between residues resulting in non-additivity in a physical property, such as stability and affinity (non-trivial epistasis), or as a result of a nonlinear mapping from sequence to protein function or fitness (trivial epistasis). Trivial epistasis, also known as nonspecific epistasis, effects a much larger number of mutations than non-trivial epistasis, because all mutations that impact a physical property that maps nonlinearly to function or fitness will interact epistaically with one another. Trivial epistasis has been widely studied and observed for mutations that are additive with respect to physical properties including stability, ligand binding affinity, function, and folding (Gong et al., 2013; Bloom et al., 2010; McKeown et al., 2014; Lunzer et al., 2005).

Non-trivial (or specific) epistasis impacts a smaller number of mutations as it requires direct or indirect interactions between amino acid side chains (Dickinson et al., 2013; Pantoliano et al., 1989; Olson et al., 2014) or ligands (Adams et al., 2019; Anderson et al., 2015) or a dependence of one mutation on a structural change caused by another (Ortlund et al., 2007; Dellus-Gur et al., 2015). Non-trivial epistasis is therefore associated with stronger evolutionary constraints, historical contingency, and lower reversibility of substitutions in evolutionary trajectories. Here, we are explicitly considering mutations interacting via non-trivial epistasis, where their interactions result in non-additivity in drug binding affinity. However, our fitness function maps binding affinity to fitness nonlinearly, and so epistasis may also arise at the fitness level in our simulations of evolutionary trajectories, but we do not investigate this further.

Epistasis determines the order of fixation of mutations and the accessibility of evolutionary trajectories to resistance phenotypes (Weinreich et al., 2006; Weinreich et al., 2005) and has been observed in the evolution of many pathogens (Khan et al., 2011; Gong et al., 2013; Sanjuán et al., 2005), including the evolution of resistance in Plasmodium falciparum (Lozovsky et al., 2009; Sirawaraporn et al., 1997) and Plasmodium vivax (Jiang et al., 2013). It may also have important consequences for the success of AMR management strategies that aim to reduce resistance via the cessation of use of a particular drug, which theoretically should result in reversion of resistance mutations, due to the fitness cost incurred in the absence of the drug (Melnyk et al., 2015; Vogwill and MacLean, 2015). However, the success of this strategy has been mixed, and in some cases bacterial populations remained resistant (Costelloe et al., 2010; Enne, 2010; Sundqvist et al., 2010), likely due to compensatory mutations (a type of epistasis), which mitigate the deleterious impact of resistance mutations, allowing them to remain in a population and thus retain resistance even in the absence of drug selection pressures (Andersson and Hughes, 2011).

Fragment-based drug discovery and AMR surveillance strategies require methods to predict evolutionary trajectories to resistance. For example, by identifying mutations involved in resistance trajectories that reduce the effectiveness of an antimicrobial drug, specific regions of a target molecule can be exploited or avoided, thus creating ‘evolution proof’ drugs. Therefore, understanding how epistasis arises and predicting which mutations will interact is important for anticipating future mutations, designing new drugs and developing strategies to minimise resistance. Indeed, Zhang et al., 2021, applied an integrated computational and experimental approach and identified a novel compound that inhibits both wild-type and trimethoprin-resistant Escherichia coli DHFR. This is a promising strategy to prevent or delay the evolution of resistance using knowledge of resistant variants and developing drugs to target them and the wild-type simultaneously.

Evolution towards drug-resistant phenotypes in malaria species P. falciparum and P. vivax has been shown to occur in a stepwise manner, due to epistatic interactions between mutations, and the most likely trajectories to resistance phenotypes have been predicted using experimental measures of resistance (Lozovsky et al., 2009; Jiang et al., 2013; Sirawaraporn et al., 1997).

P. falciparum and P. vivax parasites cause the majority of malaria infections and have evolved strong resistance to many antimalarial drugs, including pyrimethamine (Sirawaraporn et al., 1997) and sulfadoxine (Wang et al., 1997). There were an estimated 241 million new cases of malaria worldwide in 2020, resulting in approximately 627,000 deaths predominately among children under 5 years of age (WHO, 2021). P. falciparum malaria has been treated with the combination drug sulfadoxine-pyrimethamine (SP) since 1970s, which targets the folate metabolic pathway. Numerous resistance mutations have arisen within its genome as a result of SNPs in P. falciparum dihydrofolate reductase (PfDHFR) and dihydropteroate synthase (PfDHPS) genes, which are the targets of pyrimethamine and sulfadoxine, respectively (Wang et al., 1997; Brooks et al., 1994). Although SP is not usually used to treat P. vivax, co-infections with P. falciparum have meant SP resistance mutations have also arisen in the P. vivax genome (Snounou and White, 2004). The enzymes of the folate pathway are largely conserved across Plasmodium species, and so polymorphisms in equivalent positions have been observed in P. vivax DHFR (PvDHFR) and DHPS (PvDHPS) and are thought to confer resistance to SP (Korsinczky et al., 2004; Hastings et al., 2004).

The DHFR gene encodes an enzyme that uses NADPH to synthesize tetrahydrofolate, a co-factor in the synthesis of amino acids (Kompis et al., 2005) and pyrimethamine acts to disrupt this process, thereby blocking DNA synthesis and slowing down growth. Stepwise acquisition of multiple mutations leading to resistance to pyrimethamine has been observed in both PfDHFR (Lozovsky et al., 2009; Sirawaraporn et al., 1997) and PvDHFR (Jiang et al., 2013).

(Note on notation: lists of single mutations are written X, Y, Z, multiple mutations are written X,Y,Z (i.e. no space between the commas and the mutations) and pathways are written X/Y/Z to denote the order of fixation).

Resistance in PfDHFR has been studied extensively and a combination of four mutations – Asn-51 to Ile (N51I), Cys-59 to Arg (C59R), Ser-108 to Asn (S108N), and Ile-164 to Leu (I164L) – has been reported to result in resistance to pyrimethamine (Ferlan et al., 2001) by altering the binding pocket and reducing the affinity for the drug (Yuthavong et al., 1999). Epistasis in both pyrimethamine binding free energy and the concentration required to inhibit cell growth by 50% (IC50) has been observed experimentally for combinations of these four mutations (Lozovsky et al., 2009; Sirawaraporn et al., 1997). This means that mutations which on their own are not associated with a resistance phenotype, can be when in combination with other mutations. Epistasis between these mutations has been shown to determine the evolutionary trajectories to the quadruple mutation N51I,C59R,S108N,I164L, which is strongly associated with pyrimethamine resistance (Lozovsky et al., 2009).

A similar investigation was conducted into the homologous set of PvDHFR mutations – Asn-50 to Ile (N50I), Ser-59 to Arg (S58R), Ser-117 to Asn (S117N), and Ile-173 to Leu (I173L) – and the accessible evolutionary trajectories to the quadruple mutation (Jiang et al., 2013), some combinations of which have been observed to result in pyrimethamine resistance both in vivo and in vitro (Hastings et al., 2004; Hawkins et al., 2007). Evolutionary simulations accounting for growth rates, IC50 measurements for increasing concentrations of pyrimethamine and nucleotide bias predicted the most likely pathways to the quadruple mutation for different drug concentrations. The observed trajectories at each concentration were influenced by epistasis between the mutations and the adaptive conflict between endogenous function and acquisition of drug resistance. These studies, along with other investigations (Weinreich et al., 2006; Tamer et al., 2019), have highlighted the prevalence of epistasis among resistance mutations and the importance of considering epistatic interactions between mutations when predicting evolutionary trajectories to drug resistance.

The epistasis between the four PfDHFR mutations and the four PvDHFR mutations may prevent reverse evolution from resistant to susceptible phenotypes, with S108N and S117N acting as pivot point mutations creating an epistatic ratchet against reverse evolution towards the wild-type and suggesting that the removal of pyrimethamine from use will not result in a reduction of resistance (Ogbunugafor et al., 2016; Ogbunugafor and Hartl, 2016; Ogbunugafor, 2022).

The predictability of evolution is a central topic in biology of interest to experimentalists and theorists alike (Achaz et al., 2014; Lobkovsky and Koonin, 2012; Szendro et al., 2013) (for a review of the topic, see de Visser and Krug, 2014). By using experimentally measured values to characterise the empirical fitness landscapes and simulate evolutionary trajectories, the work in Lozovsky et al., 2009, and Jiang et al., 2013, is determining the predictability of evolution in these landscapes by assessing which trajectories are accessible and the level of determinism associated with the evolution. Whilst such experimental methods have been successful in capturing epistasis, characterising evolutionary landscapes, and predicting evolutionary trajectories, they are expensive and time consuming.

The development of computational methods to predict resistance trajectories would enable fast and efficient predictions and would be more widely accessible than lab-based methods. Computational tools could help narrow down the pool of mutations to be studied experimentally and would also be applicable to targets that are difficult to study. Some target-specific computational tools to predict individual resistance mutations have been developed (Karmakar et al., 2020; Portelli et al., 2020). However, such tools are target specific and so not generalisable. Furthermore, they only consider independent mutations on a single structure and so ignore epistasis between resistance mutations. Therefore, they are not suitable for predicting evolutionary trajectories to resistance.

To determine a generalisable computational method to predict evolutionary trajectories to resistance, we need to consider the main determinants of resistance. Previous studies have had success predicting the evolutionary escape of norovirus escaping a neutralising antibody using a biophysical fitness model based on capsid folding stability and antibody binding affinity (Rotem et al., 2018). Rodrigues et al., 2016, investigated three mutations in E. coli DHFR associated with trimethoprim resistance and considered activity, binding affinity, fold stability, and protein abundance. They found that whilst resistance is a balance between these factors, when changes in protein abundance are small, binding affinity is the single most predictive trait of resistance, especially at later points in evolution. Therefore, we decided to investigate if predictions of binding affinity change can be used to predict the order of fixation of resistance mutations involved in evolutionary trajectories to resistance.

Rosetta Flex ddG (Barlow et al., 2018) is the current state-of-the art method for predicting changes in protein-protein and protein-ligand binding free energy. Rosetta is a software suite for macromolecular modelling and design that uses all-atom mixed physics- and knowledge-based potentials, and provides a diverse set of protocols to perform specific tasks, such as structure prediction, molecular docking, and homology modelling (Alford et al., 2017). The Flex ddG protocol has been found to perform better than machine learning methods and comparably to molecular dynamics methods when tested on a large dataset of ligand binding free energy changes upon protein mutation (Aldeghi et al., 2018; Aldeghi et al., 2019). However, its ability to capture epistasis has not yet been tested. Therefore, we investigated how well Flex ddG can capture epistasis between resistance mutations in PfDHFR and observed a good agreement with experimental data.

Next, we used the Flex ddG predictions to parameterise a fitness function applied in an existing model of molecular evolution. We used this method to predict evolutionary trajectories to known resistant quadruple mutants in both PfDHFR and PvDHFR, where the evolutionary trajectories have been studied experimentally (Lozovsky et al., 2009; Jiang et al., 2013). Good agreement was observed between the most likely trajectories to the quadruple mutations predicted by our model and those predicted experimentally. This suggests that whilst resistance is a trade-off between many biophysical parameters, a simple model considering only binding affinity changes may be effective at predicting resistance trajectories.

The main advantage of this approach is that it does not require access to an experimental ‘wet’ lab and can be carried out by anyone with access to a high-performance computer. It is generalisable to any antimicrobial drug that acts by binding to its target and can be easily applied to any drug-target complex for which there is an available structure. Therefore, it can be used to study complexes and systems that might be problematic experimentally. It enables accurate assessment of the predictability of the evolutionary landscape and can predict whether we would expect to see constrained evolutionary trajectories on a fitness landscape as a result of epistatic interactions in drug binding free energy.

In addition, we analysed if evolutionary pathways can be inferred from the frequency of mutations found in isolate data. We determined the frequency of mutations in PfDHFR and PvDHFR, and inferred the most likely evolutionary pathways under the assumption that the most likely mutation at each step corresponds to the most frequent mutation. We carried out this analysis first upon a combined set of global isolates and then upon isolates from individual regions. The most likely pathways inferred from the global isolate data agreed remarkably well with both the experimentally determined pathways and the pathways predicted by our computational method. This suggests evolutionary trajectories can be inferred from the frequency of mutations observed in isolate data, provided adequate sampling of the population. When considering geographical regions separately, the inferred pathways from several regions agreed well with the experimental pathways and our predicted pathways, however the most likely pathways inferred in some regions differed from the main pathways, highlighting the importance of considering the evolution in different regions separately.

Results

Rosetta Flex ddG captures general trends in binding free energy changes and epistasis

We investigated if Flex ddG predictions agree with experimentally measured binding free energy and if these predictions can be used to calculate the non-additivity in binding free energy (interaction energy), which for a double mutant defines the epistasis between the two mutations and, for a triple mutant or higher, captures the level of epistatic interactions but does not quantify it. We calculated the interaction energy by finding the difference between the predicted change in binding free energy of a multiple mutation and the sum of the predictions of their independent binding free energy changes. A positive value of the interaction energy indicates the sum of the independent impacts is more destabilising than the impact of the multiple mutation and a negative value indicates the sum is less destabilising than the combined impact.

The change in binding free energy was predicted using Flex ddG for the combinatorically complete set of the four PfDHFR pyrimethamine resistance mutations N51I, C59R, S108N, and I164L.

We compared the predictions to the data from Sirawaraporn et al., 1997, in which they determined binding free energy changes for a subset of the possible combinations of mutations, the sum of the independent mutations (calculated for multiple mutants to compare to the experimentally determined binding free energy changes of multiple mutants), and the interaction energy of the multiple mutants (Table 1). A positive ΔΔG value indicates a destabilising mutation and a negative ΔΔG value indicates a stabilising mutation. (Note: Rosetta Flex ddG calculates the change in binding free energy as ΔΔG=ΔGmutΔGWT, whereas Sirawaraporn et al., 1997, calculated the change as the reverse, ΔΔG=ΔGWTΔGmut, where WT indicates the wild-type free energy and mut indicates the mutant free energy. Therefore, in Sirawaraporn et al., 1997, a mutation that destabilised the binding corresponded to a negative ΔΔG, whilst here we have reversed the signs of their data to enable comparison with our predictions.)

Table 1. Correlation between Flex ddG predictions for 250 runs and experimental data (see table 4 of Sirawaraporn et al., 1997) for P. falciparum dihydrofolate reductase (PfDHFR) pyrimethamine resistance mutations.

Mutation ΔΔGexp*(kcal/mol) Exp. sum Exp I.E. ΔΔGFlexddG §(kcal/mol) Sum I.E.§**
N51I –0.783 –0.124
C59R –0.184 –0.033
S108N 1.297 0.312
I164L –0.351 –0.323
N51I,S108N 1.89 0.514 1.376 –0.166 0.188 –0.354
C59R,S108N 2.29 1.113 1.177 0.399 0.279 0.119
N51I,C59R,S108N 2.595 0.33 2.265 0.162 0.155 0.007
C59R,S108N,I164L 3.283 0.762 2.521 0.018 –0.043 0.061
N51I,C59R,S108N,I164L 3.761 –0.021 3.782 0.301 –0.168 0.469
Pearson correlation 0.611 0.660 0.756
Correctly classified 8/9 4/5 4/5
*

Experimentally measured PfDHFR pyrimethamine binding free energy change data from Sirawaraporn et al., 1997.

Sum of experimental values of binding free energy change for independent mutations.

Interaction energy calculated as the difference between experimentally measured values of binding free energy change of multiple mutant compared to the sum of the independent mutations involved.

§

Change in PfDHFR pyrimethamine binding free energy predicted by Flex ddG calculated as the average of the distribution of runs. Free energy predictions from Rosetta are in Rosetta Energy Units, however the authors of Flex ddG applied a generalised additive model to reweight the predictions and make the output more comparable to units of kcal/mol (Barlow et al., 2018).

Sum of Flex ddG predictions for independent mutations.

**

Interaction energy calculated as the difference between Flex ddG predicted binding free energy change of multiple mutant compared to the sum of the independent mutations.

The authors of the Flex ddG protocol suggest conducting a minimum of 35 runs and taking the average of the distribution as the prediction for that mutation (Barlow et al., 2018). We found the average of the distributions converges and the rank order of the mutations is constant at around 250 runs (Appendix 1—figure 3 and Appendix 1—figure 4). We compared the predictions for 250 runs and the data from Sirawaraporn et al., 1997 (Table 1) and observed a correlation of 0.611 for the binding free energy data (with a p-value of 0.04 for a one-sided t-test), 0.660 for the sum of the independent predictions for multiple mutants, and 0.756 for the interaction energy. We found 8/9 binding free energy predictions were correctly classified, 4/5 of the sum of the independent predictions were correctly classified, and 4/5 of the interaction energies were correctly classified. We used a confusion matrix to determine how accurate Flex ddG is at classifying mutations as stabilising or destabilising, which gave an accuracy of 0.89, a sensitivity of 0.83, and a specificity of 1.0, suggesting Flex ddG performs well overall. The p-value associated with the confusion matrix was 0.14, despite the high accuracy. This is likely due to the small sample size making it difficult to determine significance.

Comparing the predictions for 35 runs (Appendix 1—figure 1, Appendix 1—table 1) and 250 (Appendix 1—figure 2, Table 1) runs, 250 runs provides the best trade-off between accuracy and efficiency (see Appendix 1 for detailed discussion). Therefore, we will be discussing the predictions for n=250 going forward.

Mutation S108N was the only single mutation to destabilise pyrimethamine binding in both the experimental data and the Flex ddG predictions. However, in the experimental data the double mutation N51I,S108N is more destabilising to binding than single mutation S108N, but the Flex ddG prediction was stabilising. The triple mutation C59R,S108N,I164L was found experimentally to be the most destabilising of the triple mutations, however Flex ddG predicted it to be only mildly destabilising and the least destabilising of the triple mutations. Furthermore, the quadruple mutation was found experimentally to have the most destabilising impact out of all combinations of single and multiple mutations, however, Flex ddG predicted it to be less destabilising than the double mutation C59R,S108N and single mutation S108N.

Considering the interaction energy, the incorrectly classified mutation was again N51I,S108N which was predicted to be positive, but found experimentally to be negative, because the sum of the individual predictions was destabilising but the double mutation itself was predicted to be stabilising. Both the experimental data and our predictions found that the quadruple mutation had the largest magnitude interaction energy reflecting the greatest difference between the stabilising impact of the sum of the individual mutations and the destabilising impact of the quadruple mutation itself.

We also observed large negative interaction energy between S108N and C59R, where C59R is stabilising in the wild-type background but destabilising in the background of S108N, an example of sign epistasis and in agreement with the observations of both Sirawaraporn et al., 1997, and Lozovsky et al., 2009. However, whilst the interaction energy of the triple mutation N51I,C59R,S108N was positive for both the experimental data and predictions, in our predictions its magnitude was much smaller compared to the data. Both single mutations N51I and C59R were predicted to be only marginally stabilising – almost neutral – to pyrimethamine binding, whilst in the experimental data both mutations have a large stabilising impact. Furthermore, the triple mutation was predicted to be only marginally more destabilising than single mutation S108N, resulting in the small negative interaction energy.

We conclude that although there are some disagreements between the predictions and the data, Flex ddG is able to capture the general trend of the data. However, if we use the average of the distributions as a summary metric of the predictions for the combinatorically complete set of the four mutations and try to infer a pathway through to the quadruple mutation, under the criteria that each subsequent mutation must destabilise pyrimethamine binding more than the last, then we are unable to find a pathway through (see Appendix 2—figure 1 for fitness hypercube). However, since the predictions capture the general trend observed in the data, and the summary metric does not fully characterise the entire distribution of predictions, we used the distributions to parameterise an evolutionary model to determine if we can predict a pathway through to the quadruple mutation and if the predicted evolutionary trajectories agree with experimentally determined evolutionary trajectories.

A thermodynamic evolutionary model predicts the most likely evolutionary trajectories to quadruple mutations in both PfDHFR and PvDHFR

Whilst the fitness landscape of DHFR is a function of many factors including stability, abundance, and activity (Bershtein et al., 2015; Rodrigues et al., 2016), we sought to construct a simple biophysical model that could be parameterised using existing computational tools. Therefore, we used a simple model that considered only predicted changes in binding free energy, that would be easy to implement, undertaken purely computationally with good accuracy and without the need for extensive wet lab experiments. We sought to determine if simulated trajectories using this simple fitness model could capture observed evolutionary trajectories, despite not considering all factors that contribute to DHFR fitness. We simulated the evolutionary trajectories to the quadruple mutants described above for the genes PfDHFR and PvDHFR using an evolutionary model, adapted from previous studies (Eccleston et al., 2021; Pollock et al., 2017; Pollock et al., 2012). In this model, selection acts to reduce the binding affinity between target protein and the antimalarial drug with which the mutations have been associated with resistance. Briefly, starting from the wild-type protein, we randomly sample a value from the Flex ddG distributions for each of the four single mutations and calculate the fitness of the mutated protein (Equation 1) and the fixation probability (Equation 2). A mutation is then chosen with a probability proportional to the fixation probability and this is repeated until the quadruple mutation is reached. If the set of sampled mutations at a step all have a fixation probability of zero, the algorithm terminates at that point in the pathway and begins the next run at the single mutation step. Therefore, it is not guaranteed that a run will reach the quadruple mutation. We carried out 50,000 runs and determined (i) the number of runs that reached a single, double, triple, or the quadruple mutation before the run ended (files ending ‘_endpoint_numbers.csv’ on Zenodo), (ii) the frequency of the observed trajectories up to the quadruple mutation, including trajectories that terminated before the quadruple mutation (files ending ‘_pathway_endpoints.csv’), (iii) the frequency at which a mutational step was chosen in all runs (files ending ‘_total_pathway_probabilities.csv’), and (iv) the most likely trajectories to the quadruple mutation predicted by our simulations (files ending ‘_quadruple_pathways.csv’).

To determine how well our simulations reflect the evolutionary process to the PfDHFR quadruple mutation N51I,C59R,S108N,I164L, we compared our results to experimentally determined evolutionary trajectories as presented by Lozovsky et al., 2009. In our simulations, the quadruple mutation was reached in approximately 8% of runs (see supplementary file ‘PfDHFR_endpoint_numbers.csv’ on Zenodo). The majority of the runs (66%) terminated at a double mutation, with S108N/C59R the most likely trajectory over all. The algorithm was often unable to proceed passed S108N/C59R because the Flex ddG distribution for C59R,S108N is concentrated around large destabilising values (Appendix 1—figure 2f) whilst the distributions of the two possible next steps, N51I,C59R,S108N and C59R,S108N,I164L, are concentrated around lower destabilising values (Appendix 1—figure 2g, h). Therefore, in many instances, the change in binding free energy caused by the next step in the pathway was predicted to be stabilising, and thus were not be chosen by the algorithm. This demonstrates the dependence of the method upon the accuracy of the Flex ddG. In contrast, the majority of runs in the simulations based on IC50 measurements presented in Lozovsky et al., 2009, reached the quadruple mutation (see Figure 2 in Lozovsky et al., 2009).

However, since we are interested in how epistasis influences the order of fixation of mutations in an evolutionary trajectory to a high-resistance quadruple mutation, we compared the most likely trajectories to the quadruple mutation predicted by our simulations to the most likely trajectories to the quadruple mutation predicted in Lozovsky et al., 2009, and observed good agreement. To summarise the overall performance of the computational method, we calculated the overall intersect between the top pathways predicted by our model and those predicted by Lozovsky et al., 2009, and the average overlap, which calculates the average of the intersect for all depths, thus weighting the top ranks higher. The intersect between the top 10 pathways and those presented in Lozovsky et al., 2009, is 0.6 and the average overlap is 0.687. The top two most likely trajectories predicted by our model to the PfDHFR quadruple mutation were S108N/C59R/N51I/I164L and S108N/C59R/I164L/N51I, respectively (Figure 1a) which correspond to the top two most likely pathways to the quadruple mutation determined in Lozovsky et al., 2009. The third most likely trajectory to the quadruple mutation in Lozovsky et al., 2009, was predicted to be S108N/N51I/C59R/I164L, however this pathway was predicted to be unlikely in our simulations, due to the fact that the distribution of Flex ddG predictions for double mutation N51I,S108N was mostly stabilising to pyrimethamine binding (Appendix 1—figure 2e), whereas all of the S108N distribution was destabilising to pyrimethamine binding, so this step was unlikely to be chosen by the evolutionary algorithm.

Figure 1. The probability of simulated evolutionary pathways to quadruple mutations (a) N51I,C59R,S108N,I164L in P. falciparum dihydrofolate reductase (PfDHFR) and (b) N50I,S58R,S117N,I173L in P. vivax DHFR (PvDHFR).

Figure 1.

Line thickness indicates the total probability of a mutation when considering all pathways it can occur in, determined from the frequency of that step in all realised mutational pathways from all runs. Dotted lines indicate zero probability of a mutation at that step. The most likely pathway in total is denoted by a red star. The most likely pathway to the quadruple mutation is highlighted in dark red and the second most likely pathway to the quadruple mutation is highlighted in lighter red. The probabilities corresponding to these plots can be found in supplementary files ‘PfDHFR_total_pathway_probabilities.csv’ and ‘PvDHFR_total_pathway_probabilities.csv’ on Zenodo for (a) and (b), respectively.

Considering the frequency at which the single mutations were chosen as the first step in all simulated pathways (’PfDHFR_total_pathway_probabilities.csv’ on Zenodo), S108N was the most likely single mutation and C59R was the second most likely single mutation, in agreement with the two most likely first steps in the pathways predicted in Lozovsky et al., 2009. The most likely pathway to a double mutation realised in all trajectories in both our simulations and the simulations in Lozovsky et al., 2009, is S108N/C59R. Similarly, the most likely pathway to a triple mutation realised in all our simulations and in Lozovsky et al., 2009, was S108N/C59R/N51I.

To simulate the evolutionary pathways for PvDHFR, we also carried out predictions of binding free energy changes for the homologous set of four mutations in PvDHFR (N50I, S58R, S117N, and I173L). Unfortunately, binding affinity data is not available for the mutations in PvDHFR to compare to the Flex ddG predictions. However, Jiang et al., 2013, predicted pathways to the PvDHFR quadruple mutation for four pyrimethamine concentrations using simulations informed by both drug resistance and catalytic activity, to which we can compare our simulations. In their simulations, the quadruple mutation fixed in 99.8% of runs for the highest pyrimethamine concentration, but it did not fix for the three lower concentrations. In our simulations, the quadruple mutation was reached in 39% of runs (‘PvDHFR_endpoint_numbers.csv’ on Zenodo), whilst 51% of runs terminated at a double mutation. The most likely endpoint overall in our simulations was S58R/I173L, which occurred in 32% of runs, however this path was not a frequent trajectory observed in the simulations in Jiang et al., 2013. All Flex ddG runs of double mutation S58R,I173L were predicted to be destabilising and many predicted to have a medium to large impact. However, the triple mutation S58R,S117N,I173L was predicted to have a smaller destabilising impact than S58R,S117N, making pathway S58R/I173L/N50I unlikely, whilst N50I,S58R,I173L was predicted to be stabilising to pyrimethamine in all Flex ddG runs and therefore pathway S58R/I173L/N50I had a zero probability of occurring in the simulations. This resulted in many runs terminating at step S58R/I173L.

Considering the order of fixation up to the quadruple mutation, we compared the most likely evolutionary trajectories to the quadruple mutation predicted by our simulations to the most likely evolutionary trajectories to the quadruple mutation presented in Jiang et al., 2013, and observed good agreement for the largest of the four pyrimethamine concentrations they considered. Overall, the intersect between the top four pathways predicted by our model and the top four pathways present in Jiang et al., 2013, for the highest concentration of pyrimethamine is 0.75 and the average overlap is 0.604. The most likely pathway to the quadruple mutation predicted by our simulations was S58R/S117N/I173L/N50I (Figure 1b), which corresponds to the second most likely pathway to the quadruple mutation predicted in Jiang et al., 2013, for the highest pyrimethamine concentration. Our second most likely pathway to the quadruple mutation (S58R/S117N/N50I/I173L) corresponds to the first most likely pathway predicted in Jiang et al., 2013, for the highest pyrimethamine concentration. There were two other possible pathways to the quadruple at the highest concentration, S117N/N50I/S58R/I173L and N50I/S117N/S58R/I173L, which correspond to the fourth and twelfth most likely pathways to the quadruple in our simulations.

The first step in the evolutionary trajectories determined in Jiang et al., 2013, for the highest concentration was S58R whereas for the three lower concentrations it was S117N. The most likely first step in all pathways predicted by our simulations was S58R (Figure 1b), whilst S117N was the second most likely first step (‘PvDHFR_total_pathway_probabilities.csv’ on Zenodo).

To quantify the predictability of an evolutionary landscape, previous studies have calculated the Gibbs-Shannon entropy distribution of the path weights (Szendro et al., 2013; de Visser and Krug, 2014), namely S=PilnPi, where Pi is the probability of the ith pathway and the value of S ranges from 0 to lnn for n equally likely pathways. The lower the value of S the higher the predictability of the evolution, i.e., most of the probability is concentrated around a small number of pathways, suggesting epistasis is influential in constraining the accessible trajectories. The value of S when considering the probability distribution of all realised evolutionary trajectories in the simulations was 1.19 for PfDHFR and 2.82 for PvDHFR (both simulations have an equal number of possible pathways because they have an equal number of mutations, so the values of S are comparable and the maximum value of S for both simulations is 4.16). This means the evolutionary trajectories were more constrained in the PfDHFR simulations than in the PvDHFR simulations and suggests that epistasis between the mutations plays a greater role in constraining the trajectories in the evolution of PfDHFR resistance. Unfortunately, the probabilities of all possible pathways determined in Lozovsky et al., 2009, and Jiang et al., 2013, are not made available (the data is represented in pathway diagrams, the probabilities of a step are indicated by line thickness and only the probabilities of the most likely pathways annotated), therefore we cannot calculate the corresponding values of S for these distributions for comparison.

The frequency of mutations in isolate data can be used to infer evolutionary trajectories to multiple resistance mutations

It was noted in Lozovsky et al., 2009, that their most likely pathways to the PfDHFR quadruple mutation were consistent with combinations of these four mutations observed in high frequencies in worldwide surveys of P. falciparum polymorphisms. To expand on this idea, we analysed the frequency of the combinations of mutations in PfDHFR and PvDHFR found in our isolate data to identify if there is agreement between these frequencies, the experimentally determined trajectories, and our predicted trajectories and if, therefore, isolate frequency data may be used to infer evolutionary trajectories. We inferred evolutionary trajectories from the frequency data by assuming if a specific mutation was found in high frequency (and is part of the combinatorically complete set of four mutations found in the four genes) then it is likely to be part of the evolutionary trajectory towards the quadruple mutation. To infer the first step in the most likely trajectory, we considered the frequency of single mutations of the set of four mutations considered for each gene and selected the most frequent mutation. To infer subsequent steps in the trajectory, we considered the frequency of only those mutations that contain the previous mutation and another of the set of four mutations in some combination and chose the most frequent mutation at each step. We also inferred alternative pathways which from the frequency data are less likely than the main pathway, but still a possibility due to the occurrence of intermediate mutations in the isolate data. To do this, we considered each step in the most likely trajectory and identified any other high-frequency mutations that would enable alternative pathways from the double mutation onwards. If there were no alternative pathways, we began the process again but chose the second most frequent single mutation (if applicable) and built the pathway from there. In the event of multiple alternative pathways, we are unable to quantify their relative likelihoods, only that they are less likely than the most likely pathway. It is sometimes not clear which pathway is most likely. For example, for the set of mutation frequencies A:9, D:10, AB:20, CD:2, ABC:50, BCD:1, ABCD:75, the most likely pathway from the method stated above would be D/C/B/A and the alternative pathway would be A/B/C/D, purely because mutation D is more abundant than mutation A. However, the frequencies of the intermediate mutations in the most likely pathway are low compared to the alternative pathway. Therefore, in these situations where it is unclear which pathway is most likely, we will not refer to any one pathway as the most likely pathway and will refer to all pathways as possible trajectories.

Considering the total frequency of each mutation in the set of four PfDHFR mutations (N51I, C59R, S108N, and I164L) in the isolate data (Figure 2a), S108N was the most frequent single mutation (72/6762 isolates), C59R,S108N the most frequent double mutation (496/6762 isolates), and N51I,C59R,S108N the most frequent triple mutation (3714/6762 isolates). The quadruple mutation N51I,C59R,S108N,I164L was found in 1439/6762 isolates. This suggests the pathway proceeds in the order S108N/C59R/N51I/I164L, in agreement with the most likely pathway to the quadruple mutation from both our evolutionary simulations and those using experimental data (Lozovsky et al., 2009).

Figure 2. The total frequency of the combinations of mutations found in our isolate data for sets of four mutations (a) N51I, C59R, S108N, and I164L in P. falciparum dihydrofolate reductase (PfDHFR), and (b) N50I, S58R, S117N, and I173L in P. vivax DHFR (PvDHFR).

Figure 2.

All frequencies have been multiplied by a factor of 10 to enable clear identification of those mutations occurring in one isolate only. The frequencies are also given as the percentage of the total number of isolates, which for PfDHFR is 6762 and PvDHFR is 847.

Triple mutation C59R,S108N,I164L was found in 101/6762 isolates, suggesting that the second most likely pathway to the quadruple from our simulations and experimental data, S108N/C59R/I164L/N51I, is a possible alternative trajectory to the quadruple mutation. Double mutation N51I,S108N was the second most frequent double mutation in the isolate data (198/6762 isolates), allowing for another alternative pathway S108N/N51I/C59R/I164L. This agrees with the third most likely pathway presented by Lozovsky et al., 2009, however this pathway was unlikely in our simulations.

Single mutations C59R and N51I were the second and third most prevalent single mutations in our isolate data, found in 5/6762 and 1/6762 of isolates, respectively. They were also the second and third most likely first step in our pathway predictions (‘PfDHFR_total_pathway_probabilities.csv’ on Zenodo). Single mutation I164L was absent from the isolate data and had zero probability of being selected as the first step of our evolutionary trajectories.

A Chi-squared analysis revealed the worldwide distribution of mutations is significantly different than would be expected if there was no preferred evolutionary pathway, and the mutations which were overrepresented were those involved in the most likely pathway inferred above S108N/C59R/N51I/I164L (see Appendix 3 and Appendix 3—figure 1). This provides further support that the epistatic interactions between the mutations determine the order of fixation resulting in preferred pathways to the quadruple mutation.

Considering the set of four PvDHFR mutations (N50I, S58R, S117N, and I173L), in our isolate data, the mutations S58R and S117N are fixed at these locations and the wild-type alleles are now considered to have an arginine at codon 58 and asparagine at codon 117. However in Jiang et al., 2013, they consider the wild-type allele to have a serine at codons 58 and 117 and therefore we have changed our definition of the wild-type allele to agree with Jiang et al., 2013, for ease of comparison with their evolutionary pathways and our own.

The most frequent single mutation was S117N (70/847 isolates), the most frequent double mutation was S58R,S117N (237/847), and the only observed triple mutation was S58R,S117N,I173L (2/847) (Figure 2b). The quadruple mutation was not observed in our isolate data, and has not been reported in the literature either. By considering the frequency of the possible combinations of mutations, we inferred the evolution towards triple mutation S58R,S117N,I173L most likely occurs via pathway S117N/S58R/I173L. This corresponds to the fifth most likely pathway to a triple mutation when considering all pathways observed in our simulations, however this pathway is not observed in any of the most frequent pathways at any of the four concentrations studied in Jiang et al., 2013.

Single mutation S58R was the second most frequent single mutation in our isolate data (20/847). This supports the predicted first evolutionary steps in Jiang et al., 2013, which were predicted to be S58R for the highest pyrimethamine concentration and S117N for three lower concentrations of pyrimethamine, which suggests both single mutations are possible, but S117N is more likely for a lower pyrimethamine concentrations. An alternative pathway to the triple mutation could therefore be S58R/S117N/I173L, which may be more likely under higher pyrimethamine concentrations. This corresponds to the most likely pathway to a triple mutation in our simulations and is part of the second most likely pathway to the quadruple mutation at the highest pyrimethamine concentration considered in Jiang et al., 2013.

A Chi-squared test on the frequency distributions of the single and double PvDHFR mutations (the triple mutations were too infrequent to include in the analysis, see Appendix 3 and Appendix 3—figure 1 for more details) revealed the worldwide distribution of PvDHFR mutations is significantly different than would be expected if there were no preferred order of fixation of this set of mutations, with S117N and S58R,S117N being overrepresented in the single and double distributions, respectively. This supports our inference that pathway S117N/S58R/I173L is the most likely pathway in the worldwide data.

Analysis of geographical distribution of mutations found in our isolate data reveals alternative pathways to resistance

We next considered the evolutionary trajectories by geographical location to determine if there are any differences in the inferred trajectories compared to the global trajectories, and which areas agree with the trajectories predicted by our simulations. The P. falciparum isolates were grouped into seven geographical regions (Figure 3), as defined by the United Nations Statistics Division: South America (Brazil, Colombia, and Peru), West Africa (Benin, Burkina Faso, Cameroon, Cape Verde, Cote d’Ivoire, Gabon, Gambia, Ghana, Guinea, Mali, Mauritania, Nigeria, and Senegal), Middle Africa (Congo [DRC]), Eastern Africa (Eritrea, Ethiopia, Kenya, Madagascar, Malawi, Tanzania, Uganda), Southern Asia (Bangladesh), Southeastern Asia (Cambodia, Indonesia, Laos, Myanmar, Thailand, and Vietnam), and Melanesia (Papua New Guinea). The P. vivax isolates were grouped into seven broad geographical regions (Figure 4), as defined by the United Nations Statistics Division: Central America (Mexico), South America (Brazil, Colombia, Guyana, Panama, Peru), Eastern Africa (Ethiopia, Eritrea, Madagascar, Sudan, Uganda), Southern Asia (Afghanistan, Bangladesh, India, Pakistan, Sri Lanka), Southeastern Asia (Cambodia, Indonesia, Laos, Malaysia, Myanmar, Philippines, Thailand, and Vietnam), Eastern Asia (China), and Melanesia (Papua New Guinea). The mutation frequency data discussed in this section for each country can be found in Supplementary data folders ‘PfDHFR/IsolateMutationFrequency’ and ‘PvDHFR/IsolateMutationFrequency’.

Figure 3. The P. falciparum dihydrofolate reductase (PfDHFR) isolate data was grouped into seven geographical areas: South America, West Africa, Middle Africa, Eastern Africa, Southern Asia, Southeastern Asia, and Melanesia.

Figure 3.

The bar charts display the frequency (log scale) of the combinations of the four mutations N51I, C59R, S108N, and I164L. The frequency data has been multiplied by a factor of 10 to enable clear identification of those mutations occurring in one isolate only. The most likely evolutionary trajectory inferred from the frequency of combinations are included above the corresponding frequency chart from which the pathways were inferred indicated by mutations separated by dark red arrows. Alternative pathways are indicated by mutations separated by light red arrows. Where only single mutations are present a pathway is not inferred. (See Supplementary data folder ‘PfDHFR/IsolateMutationFrequency’ for the frequency of all mutations found in the isolate data from these regions.)

Figure 4. The P. vivax dihydrofolate reductase (PvDHFR) isolate data was grouped into seven geographical areas: Central America, South America, Eastern Africa, Southern Asia, Eastern Asia, Southeastern Asia, and Melanesia.

Figure 4.

The bar charts display the frequency (log scale) of the combinations of the four mutations N50I, S58R, S117N, and I173L. The frequency data has been multiplied by a factor of 10 to enable clear identification of those mutations occurring in one isolate only. The most likely evolutionary trajectory inferred from the frequency of combinations are included above the corresponding frequency chart from which the pathways were inferred indicated by mutations separated by dark red arrows. Alternative pathways are indicated by mutations separated by light red arrows. Where only single mutations are present a pathway is not inferred.

As in the previous section, we inferred the most likely pathway by assuming the most frequent mutation at each step corresponds to the most likely evolutionary trajectory. When inferring pathways at a regional level, it is possible we may encounter instances where genotypes with multiple mutations are observed in a specific region, but the precursor mutations in the pathway are absent. This could happen either due to insufficient sampling of the region or due to ‘migration’ of the variant from a neighbouring region. To infer pathways in the former case more samples would be required, whereas in the latter case we can look to the data from neighbouring regions where the variant is present and use the frequency data of the precursor mutations.

The inferred most likely pathway to the quadruple mutation agreed with the main pathway, S108N/C59R/N51I/I164L, predicted by our evolutionary model and the data presented in Lozovsky et al., 2009, as well as the most likely pathway inferred by considering the frequency of the worldwide PfDHFR isolate data in Western Africa (S108N: 31/2594; C59R,S108N: 211/2594; N51I,C59R,S108N: 1739/2594; N51I,C59R,S108N,I164L: 1/2594), Southern Asia (S108N: 2/86; C59R,S108N: 39/86; N51I,C59R,S108N: 15/86; N51I,C59R,S108N,I164L: 17/86), and Southeastern Asia (S108N: 3/2650; C59R,S108N: 186/2650; N51I,C59R,S108N: 920/2650; N51I,C59R,S108N,I164L: 1419/2650). Additionally, the alternative worldwide pathway S108N/C59R/I164L/N51I was inferred to be an alternative in Southern Asia (C59R,S108N,I164L: 11/86) and Southeastern Asia (C59R,S108N,I164L: 90/2650), corresponding to the second most likely pathway to the quadruple predicted by our simulations, the data in Lozovsky et al., 2009, and worldwide frequency data.

This main pathway to the quadruple mutation was also inferred to be a possible alternative pathway in Eastern Africa (S108N: 3/904; C59R,S108N: 31/904; N51I,C59R,S108N: 782/904, N51I,C59R,S108N,I164L: 2/904). However, in Eastern Africa S108N/N51I/C59R/I164L was the most likely pathway to the quadruple mutation (S108N,N51I: 67/904), which corresponds to the third most likely pathway presented in Lozovsky et al., 2009, and inferred from the total frequency data, but which was unlikely in our simulations. This was also an alternative pathway in Western Africa (S108N,N51I: 32/2594).

Furthermore, the quadruple mutation was not observed in the isolate data from Middle Africa, South America, and Melanesia. In Middle Africa, evolution up to the triple mutation N51I,C59R,S108N was observed and the most likely inferred pathway to this mutation was S108N/N51I/C59R (S108N: 6/359; N51I,S108N: 86/359; N51I,C59R,S108N: 258/359), with an alternative less likely pathway of S108N/C59R/N51I (C59R,S108N: 6/359), corresponding to the thirteenth and first most likely trajectories to a triple mutation in our simulations, respectively. In South America, evolution up to the triple mutation N51I,S108N,I164L was observed in the isolate data and was inferred to follow the pathway S108N/N51I/I164L (S108N: 26/50, N51I,S108N: 12/50; N51I,S108N,I164L: 4/50), however this pathway does not occur in our simulations. In Melanesia, evolution up to the double mutation C59R,S108N was observed in the isolate data and was inferred using the frequency data to have followed the pathway S108N/C59R (S108N: 1/119; C59R,S108N: 23/119), which corresponds to the most likely pathway of all our evolutionary runs.

We performed an analysis of the significance of the regional frequency distributions (see Appendix 4 and Appendix 4—figure 2). All regions had mutations which were significantly over- or underrepresented compared to what would be expected from the worldwide distribution. The overrepresented mutations were always part of the inferred most likely evolutionary pathway for each region. This suggests any differences in the inferred pathways between the regions and the worldwide data are significant. For example, in South America (Appendix 4—figure 2d), the three mutations involved in the most likely inferred pathway (single mutation S108N, double mutation N51I,S108N, and triple mutation N51I,S108N,I164L) are all overrepresented. These mutations are involved in the most likely inferred pathway in that region (S108N/N51I/I164L), suggesting this region is indeed following a different evolutionary trajectory to what we would expect from the worldwide data.

Next, we considered the frequency of combinations of the four PvDHFR mutations in different geographical regions and used these frequencies to infer evolutionary trajectories (Figure 4). As mentioned previously, the quadruple mutation is not observed in the isolate data and so we will infer trajectories up to triple mutant combinations of the four mutations where possible, and compare to the most likely pathways to triple mutations in our simulations and in the experimental data. Triple mutation S58R,S117N,I173L was the only triple mutant combination observed in the isolate data and was only found in South America. Analysing the frequency of the constituent mutations (S117N: 34/257; S58R,S117N: 74/257; S58R,S117N,I173L: 2/257), the most likely inferred pathway to this mutation is S117N/S58R/I173L. This was the fifth most likely triple mutation pathway in our simulations, however it was not an observed pathway in Jiang et al., 2013. There are two other possible pathways inferred from the frequency data to this triple mutation: S117N/I173L/S58R (S117N,I173L: 1/257) and S58R/S117N/I173L (S58R: 9/257). Pathway S117N/I173L/S58R was the third most likely pathway to a triple mutation in our simulations but was not observed in the simulations in Jiang et al., 2013, and S58R/S117N/I173L the most likely pathway to a triple mutation in our simulations and was observed as part of the second most likely pathway to the quadruple mutation at the highest pyrimethamine concentration considered in Jiang et al., 2013.

Evolution only up to double mutation S58R,S117N was found in Southeastern Asia, Eastern Africa, and Melanesia and S117N/S58R was the most likely fixation order in Eastern Africa, whilst S58R/S117N was the most likely fixation order in Southeastern Asia and Melanesia. Pathways S58R/S117N and S117N/S58R were the second and fourth most likely double mutation pathways in our simulations. In Southern Asia, evolution up to double mutations S58R,S117N and N50I,S117N was observed, following pathways S117N/S58R and S117N/N50I, respectively (S58R: 3/37, S117N: 6/37, N50I,S117N: 6/37, S58R,S117N:22/37), with the pathway S117N/S58R appearing to be more prevalent. In Eastern Asia, evolution only up to single mutation S58R was observed and in Central America no steps in the evolutionary pathway including combinations of these four mutations were found.

We performed an analysis of the significance of the regional distributions, similar to described above for PfDHFR, however the frequencies of the four PvDHFR in many of the regions was too small to definitively draw conclusions (see Appendix 4 and Appendix 4—figure 2 for more details). However, from this analysis it does appear that the distribution of mutations in South America is very similar to the worldwide distribution (Appendix 4—figure 2d) and this region is following the same inferred evolutionary pathway as the pathway inferred from the worldwide data (S117N/S58R/I173L). The distribution of mutations in Eastern Africa is similar to the worldwide distribution (Appendix 4—figure 2a), however this region is enriched for single mutation S117N and appears to have not evolved to the double mutant step in the most likely worldwide pathway (S58R,S117N) as frequently as would be expected, suggesting it is at an earlier stage of evolution compared to the worldwide distribution. Finally, double mutation N50I,S117N is overrepresented in Southern Asia (Appendix 4—figure 2e), suggesting an alternative evolutionary pathway may be occurring in this region.

Discussion

We have presented a method for predicting the most likely evolutionary trajectories to multiple mutants by parameterising thermodynamic evolutionary model using Flex ddG predictions. The most likely pathways predicted by our model to the pyrimethamine-resistant quadruple PfDHFR mutant correspond well to those predicted in Lozovsky et al., 2009, generated using experimentally determined IC50 values of PfDHFR pyrimethamine binding. The two most likely pathways based on experimental IC50 values were found in the top two most likely pathways to the quadruple mutation based on our simulations using predictions of binding free energy. Whilst our simulations disagreed with the simulations in Lozovsky et al., 2009, in terms of which were the most frequently realised pathways out of the total number of runs, where a realised pathway does not necessarily have to reach the quadruple mutation, our model is able to capture the most likely order of fixation of mutations leading to a particular multiple mutant in general agreement with the simulations in Lozovsky et al., 2009.

We also simulated the most likely evolutionary trajectories to the PvDHFR quadruple mutation N50I,S58R,S117N,I173L and compared our results to those predicted in Jiang et al., 2013. They considered the relative growth rates of the different alleles at different drug concentrations when simulating evolutionary trajectories, which incorporate both change in pyrimethamine binding affinity (Ki) and catalytic activity (kcat). Our top two most likely pathways to the quadruple correspond to their top two most likely pathways for the highest pyrimethamine concentration they consider, albeit in reverse order. At high pyrimethamine concentrations, it is likely mutations that significantly reduce binding affinity will be selectively favoured even if there is a slight reduction in catalytic activity. Indeed, Rodrigues et al., 2016, observed a clear trade-off between catalytic activity and binding affinity for increased drug resistance. This may be why our predictions agree well their predictions for high pyrimethamine concentration, but not for low-to-middle pyrimethamine concentrations, because even though ligand concentration is included in our equation for protein fitness (Equation 1), our model cannot account for adaptive conflict between Ki and kcat. This highlights a limitation of our method as it only accounts for changes in binding affinity and does not account for changes in protein function.

Similarly, Ogbunugafor et al., 2016, demonstrated the importance of environmental variables on the evolution of drug resistance in PfDHFR by simulating evolution considering empirical growth measures and IC50 values across drug concentrations. They found that the rank order of allele fitness is a function of drug concentration and the preferred pathways to the fittest allele depend upon the environment. Therefore, whilst the model presented here captures the most likely pathways to resistance for high drug concentration, it is unable to predict important evolutionary dynamics that arise as a function of the environment. Therefore, the pathways predicted here should be considered the most likely pathways under sustained use of high concentrations of pyrimethamine.

Several investigations have also studied reverse evolution in PfDHFR (Ogbunugafor, 2022) and PvDHFR (Ogbunugafor and Hartl, 2016) by simulating evolution from the resistant to susceptible phenotype for different pyrimethamine concentrations, including the drugless environment. These studies also used measurements of growth rates and IC50 at the different drug concentrations in their simulations. They found S108N in PfDHFR and S117N in PvDHFR act as pivot point mutations and prevent reverse evolution to the susceptible phenotype. This has important consequences for AMR management strategies that aim to reduce resistance by the cessation of drug use. Unfortunately, our model cannot be used to study reverse evolution because the fitness function is unable to quantify fitness in a drug-free environment.

As previously mentioned, DHFR catalyses the reduction of substrate DHF via oxidation of co-factor NADPH. Therefore, in the case of the DHFR enzyme, a future iteration of the model could include the impact resistance mutations have on binding of these two ligands, as a proxy for changes to enzyme function. However, this would require a much more complex model of protein fitness and would be much more computationally expensive.

A further limitation of the evolutionary model is that it operates in the weak mutation regime, in which the mutation rate is so low that mutations appear and fix in isolation. However, this assumption breaks down when considering large microbial populations where clonal interference means that mutations can arise simultaneously and compete for fixation (Gerrish and Lenski, 1998). This can lead to a process known as ‘greedy adaptation’, whereby the mutation of largest beneficial effect out of all available mutations is fixed with certainty during an adaptive walk (de Visser and Krug, 2014). Interestingly, Ogbunugafor and Eppstein, 2016, simulated the competition between successive alleles along adaptive trajectories in the evolution of pyrimethamine resistance in both PfDHFR and PvDHFR, and found that greedy trajectories are not always the most likely to be followed, with less greedy trajectories sometimes able to reach higher fitness more quickly.

Clonal interference has been shown to emerge rapidly in laboratory cultivated P. falciparum, where the parasite cycles through only asexual stages, suggesting it may influence the dynamics of the emergence of resistance (Jett et al., 2020). The evolutionary model used here may therefore overestimate the fixation probability of mutations with milder beneficial effects and underestimate the fixation probability of mutations with larger beneficial effects (de Visser and Krug, 2014). Future iterations of this work could be improved by using a fixation probability that models clonal interference such as the work of Gerrish and Lenski, 1998, and Campos et al., 2004. However, such models are more difficult to implement as they can require species-specific derivations for certain functions.

Mutations occurring at a drug-binding site may also reduce the protein’s thermodynamic stability (Wang et al., 2002) and therefore may not be selected for, even if they improve the resistance phenotype. However, our model does not take thermodynamic stability into account, and so may predict certain mutations to be beneficial to fitness even if they are actually deleterious because they decrease the protein’s stability. This may lead to incorrect prediction of pathways. Our model may be improved by including selection for mutations that do not reduce thermodynamic stability relative to the wild-type enzyme, similar to the work by Rotem et al., 2018. However, it must also be noted that most proteins are marginally stable (Vogl et al., 1997; Ruvinov et al., 1997), a property which may have evolved either as an evolutionary spandrel (Taverna and Goldstein, 2002; Goldstein, 2011) (a characteristic that arises as a result of non-adaptive processes which is then used for adaptive purposes; Gould and Lewontin, 1979) or due to selection for increased flexibility to improve certain functionalities (Závodszky et al., 1998; Tsou, 1998). Therefore, the model would also need to account for the fact that a resistance mutation that increases protein stability relative to the wild-type stability may also result in a reduction in fitness.

In summary, the real fitness landscape of DHFR is much more complex than can capture with our model, which only accounts for changes in binding affinity. Therefore, our model may predict evolutionary pathways to be likely when they are in fact inaccessible if a step in the pathway is deleterious to other aspects of the fitness landscape.

Furthermore, our method uses Flex ddG to predict changes in drug binding free energy, which are then used to parameterise the fitness function of the evolutionary model. Therefore, the success of the method relies upon the accuracy of these predictions. As we established with the PfDHFR mutations, Flex ddG performs well for the single mutations but is less accurate for the higher order mutations, meaning pathways may be predicted to be inaccessible by our model but which in reality are accessible. However, in general Flex ddG performed well and was able to capture the general trend of the data for the mutations considered here, and so the model showed good agreement with experimentally determined pathways. Our model could also be parameterised using molecular dynamics, which may provide more accurate predictions of drug binding affinity, though with a much higher computational cost.

The main advantage of our model is its simplicity, requiring only predictions of change in drug binding affinity, to capture evolutionary pathways under the assumption of sustained high drug concentration.

Despite the limitations of our computational method to predict evolutionary trajectories by only considering the impact on drug binding, it is able to accurately predict the most likely order of fixation of mutations in a trajectory in general agreement with trajectories determined using experimental values such as IC50 or more complex fitness landscapes informed by multiple parameters including drug concentration and growth rates. This suggests evolution in such landscapes is more predictable than might be expected, since trajectories can be predicted considering only the impact on binding affinity.

We also inferred evolutionary pathways from the total frequency in worldwide clinical isolate data as well as from different geographical regions. This analysis suggests evolutionary pathways may be inferred from the frequency of mutations found in isolate data, however it requires a large number of isolates to properly sample the mutations in the population. Furthermore, this method can only be used to predict trajectories once resistance has emerged in a population, whereas the computational method presented here can predict evolutionary trajectories before introduction of a new drug.

This analysis also suggested that different regions often follow different evolutionary trajectories and that the most likely evolutionary trajectories predicted by our model, and experimental trajectories, are not always the most prevalent. Geographical differences in the distribution of resistant alleles may be the result of drug regimens and gene flow in parasite populations. Combination drug SP was first used in 1967 to treat P. falciparum in Southeastern Asia, and resistance was first noted that same year on the Thai-Cambodia and Thai-Myanmar borders (Björkman and Phillips-Howard, 1990). In Africa, SP was first used in the 1980s, with resistance occurring later that decade. However, analysis of PfDHFR genotypes and microsatellite haplotypes surrounding the DHFR gene in Southeastern Asia and Africa suggest a single resistant lineage that appeared in Southeastern Asia accumulated multiple mutations, including the triple N51I,C59R,S108N (Roper et al., 2004; Mita et al., 2007), migrated to Africa and spread throughout the continent (Maïga et al., 2007; McCollum et al., 2008; McCollum et al., 2007). Variation in the frequency of PfDHFR mutants across Africa occurs because of differences in the timing of chloroquine withdrawal and introduction of SP, as well as continued use of SP for intermittent preventive treatment (IPTp) in pregnant women residing in areas of moderate-to-high malaria transmission intensity (Turkiewicz et al., 2020; Ravenhall et al., 2016).

Pyrimethamine resistance increased in West Papua in the early 1960s following the introduction of mass drug administration (Verdrager, 1986). Microsatellite haplotype analysis suggests C59R,S108N in Melanesia has two lineages, one of which originated in Southeastern Asia whilst the other evolved indigenously (Roper et al., 2004).

Pyrimethamine resistance in South America looks surprisingly different from the distributions in Africa and Southeastern Asia. SP was introduced in South America and low-level resistance was first noted in Colombia in 1981 (Espinal et al., 1985). Microsatellite haplotype analysis suggests pyrimethamine resistance evolved indigenously in South America, with at least two distinct lineages detected. A triple mutant lineage (C50I,N51I,S108N) was identified in Venezuela that possibly evolved from double mutant N51I,S108N (McCollum et al., 2007). A second triple mutant lineage (N51I,S108N,I164L) was identified in Peru and Bolivia which also possibly evolved from a distinct double mutant (N51I,S108N) lineage (Zhou et al., 2008).

In general, the PvDHFR gene is much more polymorphic than PfDHFR gene, with over 20 alleles observed in a limited geographical sampling (Hawkins et al., 2007), whereas fewer PfDHFR alleles have been observed despite much more extensive surveillance with non-synonymous changes and insertions/deletions occurring rarely (Gregson and Plowe, 2005). It also appears that the origin of PvDHFR pyrimethamine resistance mutation is much more diverse than PfDHFR. Hawkins et al., 2008, investigated isolates from Colombia, India, Indonesia, Papua New Guinea, Sri Lanka, Thailand, and Vanuatu and found multiple origins of the double PvDHFR mutant 58R,117N in Thailand, Indonesia, and Papua New Guinea/Vanuatu. Shaukat et al., 2021 assessed the resistance mutations in Punjab, Pakistan, and found multiple origins of single mutation S117N and a common origin of double mutant 58R,S117N and triple mutant 58R,117N,I173L. This is in contrast to the evolutionary origin of pyrimethamine resistance in PfDHFR, where mutations in Africa shared a common origin with a resistance lineage from Asia.

This highlights the need to distinguish between geographical regions and account for existing resistance alleles within that region and trace their lineages when attempting to predict the next step in evolutionary trajectories to highly resistant multiple mutants. Given the current dominant resistance allele from a specific region, our method could be used to predict the most likely next steps from a subset of likely mutations.

We have presented a computational method for predicting the most likely evolutionary trajectories that has demonstrated good agreement with trajectories predicted experimentally and has the advantage of being much quicker and more cost-effective than laboratory-based methods. This method can be applied to any system in which a drug binds to a target molecule, provided a structure of the complex exists or can be produced via structural modelling. Given the threat AMR poses, methods to accurately and efficiently predict future trajectories are vital and can inform treatment strategies and aid drug development.

Materials and methods

Homology modelling

Homology modelling was carried out in Modeller (Webb and Sali, 2016) to produce complete structures of the target proteins bound to their drug molecules. Several crystal structures of PfDHFR exist in the Protein Data Bank (PDB). The entry 3QGT provides the crystal structure of wild-type PfDHFR complexed with NADPH, dUMP, and pyrimethamine, however residues in the ranges 86–95 and 232–282 are missing from the structural model. Homology modelling was used to complete the structure using a second wild-type PfDHFR structure PDB entry 1J3I along with a wild-type PvDHFR structure PDB entry 2BLB.

To produce a complete structural model of PvDHFR, PDB entry 2BLB was used as a template, which provides the X-ray crystal structure of wild-type P. vivax DHFR in complex with pyrimethamine. This structure was only missing a loop section between residues 87–105 and so Modeller was used to build this missing loop.

Flex ddG binding free energy predictions

The Rosetta Flex ddG protocol was used to estimate the change in binding free energy upon mutation, ΔΔG=ΔGmutΔGWT, for each step in all possible mutational trajectories for a set of stepwise resistance mutations (see Supplementary data Flex_ddG folder for examples of a Rosetta script, resfile, and command line. The protein-ligand structure files and ligand parameter files can be found in the folders named for the specific targets). To predict the change in binding free energy for a single or multiple mutation, we used the structure of the target protein with the drug molecule bound as input to Flex ddG and ran the protocol for 250 times per mutation to produce a distribution of predictions of the change in the free energy of binding. We then found the mean of the distribution to produce a single estimate of the change in the binding free energy for the mutation, denoted ΔΔGX for mutation X.

To predict the stepwise evolutionary trajectories, we must consider the interactions between the mutations in the pathway. The interaction energy (or epistasis) in the binding free energy between two mutations X and Y can be written ϵX,Y=ΔΔGX,Y(ΔΔGX+ΔΔGY). This quantifies by how much the change in binding free energy of the double mutant X,Y deviates from additivity of the single mutants, where each are calculated with respect to the wild-type. Therefore, the change in binding free energy when mutation Y occurs in the background of mutation X can be written ΔΔGX/Y=ΔΔGX,YΔΔGX, where ΔΔGX/Y=ΔΔGY+ϵX,Y.

For a third mutation, Z, occurring in the background of double mutation X,Y, the interaction energy between Z and X,Y is ϵXY,Z=ΔΔGX,Y,Z(ΔΔGX,Y+ΔΔGZ). The quantity ϵXY,Z is not the same as the third-order epistasis between mutations X, Y, and Z, or the interaction energy ϵXYZ=ΔΔGX,Y,Z(ΔΔGX+ΔΔGY+ΔΔGZ) as it does not account for the interaction between X and Y, rather it only quantifies the interaction between Z and the two mutations X and Y. Therefore, the change in binding free energy when mutation Z occurs in the background of double mutant X,Y can be calculated as ΔΔGX,Y/Z=ΔΔGX,Y,ZΔΔGX,Y, where ΔΔGX,Y/Z=ΔΔGZ+ϵXY,Z.

To estimate the change in binding free energy when mutation Y occurs in the background of mutation X, ΔΔGX/Y for stepwise pathway X/Y, we subtracted the predictions ΔΔGXi for the first mutation X, from the predictions for the double mutation X,Y, ΔΔGX,Yi, to create a set of 250 ‘predictions’ for the change in binding free energy when Y occurs in the background of X, ΔΔGX/Yi, i.e., ΔΔGX/Yi=ΔΔGX,YiΔΔGXi for i={1,...,150}. To estimate the change in binding free energy when mutation Z occurs in the background of mutations X and Y, we calculated ΔΔGX,Y/Zi=ΔΔGX,Y,ZiΔΔGX,Yi. We applied a similar method for the quadruple mutations, so that we had a set of ‘predictions’ for each step in the possible evolutionary trajectories.

Simulating evolutionary trajectories

The Rosetta energy function is a mix of a combination of physic-based and statistics-based potentials and so raw predictions using this function don’t match up with physical energy units (e.g. kcal/mol or kJ/mol). However, the authors of Flex ddG applied a generalised additive model-like approach to the Rosetta energy function to reweight its terms and to fit experimentally known values (in kcal/mol). The resulting nonlinear reweighting model reduced the absolute error between the predictions and experimental values and so improved the agreement with experimentally determined interface ΔΔG values. They found that by doing this the Flex ddG predictions of binding free energy changes were in a similar range as experimental binding free energy changes and observed improved correlation and classification of mutations as stabilising or destabilising (Barlow et al., 2018). Therefore, we assume Flex ddG can provide approximate predictions of binding free energy changes comparable to experimental changes in kcal/mol and can therefore be used to parameterise a thermodynamic model.

To predict the most likely evolutionary trajectories to reach a quadruple mutant, we used a model based in thermodynamics and statistical mechanics where the fitness of a protein is determined by the probability it would not be bound to a ligand, Punbound. We consider a two-state system in which the protein can either be bound or unbound and do not explicitly account for if the protein is folded or unfolded in either the bound or unbound state. For ligand concentration [L] it can be shown that the probability a protein is unbound is

Punbound=1[L]Kd+1 (1)

where Kd is the protein-ligand dissociation constant and can be calculated as c0eΔG/kT, where c0 is a reference ligand concentration (set here arbitrarily to 1 M), ΔG is the protein-ligand binding free energy, k is the Boltzmann constant, and T is the temperature in Kelvin. This equation is derived under the assumption that the concentration of unbound ligand LfreeL0, where L0 is the total concentration. This captures the ideal scenario in which the concentration of the antimalarial drug is very high. Whilst resistance is trade-off between many biophysical factors, our aim is to predict evolutionary trajectories without the need for experimental measurements and ligand binding prediction tools are readily available and easy to use, whereas it is more difficult to predict IC50 or growth rates. We therefore chose to use a simplified model of the system to approximate its behaviour, capture its general properties, and make the model more tractable.

Starting from the wild-type protein, with binding free energy ΔGWT and fitness PunboundWT, we extract one sample i from the 250 values of the predicted binding affinity changes for the single mutations to determine the binding free energy after mutation X, ΔGXi=ΔGWT+ΔΔGXi, and calculate the fitness of each single mutant protein PunboundX(i). We can calculate the probability the mutation will fix in the population using the Kimura fixation probability for a haploid organism

pfix=1e2s1e2sNe (2)

where Ne is the effective population size (set to 106 as previous models in Eccleston et al., 2021; Pollock et al., 2012) and s is the selection coefficient s=(PunboundX,iPunboundWT)/PunboundWT. We also took into account the mutational bias of P. falciparum using the nucleotide mutation matrix calculated in Lozovsky et al., 2009. The probabilities of fixation for each mutation were normalised by the sum of the probabilities of fixation for all possible mutations at that step in the trajectory. A mutation is then chosen with a probability proportional to this normalised probability of fixation.

Once a single mutation is chosen, the binding free energy is set to ΔGXi of the chosen mutation, and a value is sampled from the distribution of each of the possible next steps, X/Y in the trajectory, i.e., ΔΔGX/Yi. This continues until the end of the trajectory is reached. If the fixation probabilities of all mutations sampled at a step are effectively zero, no mutation is chosen at that step and the algorithm begins again by choosing a single mutation. Therefore, not all of the runs produce a complete trajectory and some will terminate before reaching the quadruple mutation. The algorithm was written in R.

We calculate the probabilities, Pi, of each realised pathway (even those which don’t reach the quadruple mutation) by dividing the total number of times that specific pathway occurs by the number of runs. We calculate the probability of a particular step by dividing the number of times that step occurs in all realised pathways by the total number of runs.

SNP data

P. falciparum and P. vivax data was obtained from publicly available raw sequence data from European Nucleotide Archive. These data include Illumina raw sequences from the MalariaGEN Community Project for P. falciparum (Ahouidi et al., 2021) and P. vivax (Adam et al., 2022). P. vivax data additionally includes the Public Health England Malaria Reference Laboratory isolates from returning travelers to UK from regions where malaria is endemic (study accession number ERP128476) (Benavente et al., 2021). Data was filtered and processed to SNP data with the methodology described in the recent publications Turkiewicz et al., 2020, and Benavente et al., 2021, respectively. In this study, we analysed genotype data for 6762 high-quality isolates from 32 countries across regions of Africa, South Eastern Asia, Oceania, and South America to identify the genetic diversity in the PfDHFR gene. A similar analysis was carried out on 847 P. vivax isolates spanning 25 countries across Eastern Africa, Southern Asia, Southeastern Asia, Eastern Asia, and South America to identify genetic diversity in PvDHFR gene. SNPs occurring in non-unique, low-quality, or low coverage regions were discarded, and those with a missense effect in the candidate genes were analysed. Functional annotation was done with SnpEff (version 5.0) (Cingolani et al., 2012) with the following options: -no-downstream -no-upstream.

Acknowledgements

RCE and NF are funded by the Medical Research Council UK (Grant no. MR/T000171/1). TGC is funded by the Medical Research Council UK (Grant no. MR/M01360X/1, MR/N010469/1, MR/R025576/1, MR/R020973/1, and MR/T000171/1) and BBSRC (Grant no. BB/R013063/1). SC is funded by Medical Research Council UK grants (MR/M01360X/1, MR/R025576/1, and MR/R020973/1) and Bloomsbury SET. EM is funded by a Newton Institutional Links Grant British Council, no. 261868591. The funders had no role in study design, data collection, and analysis, decision to publish, or preparation of the manuscript. RCE would like to thank Tanushree Tunstall (London School of Hygiene and Tropical Medicine) for the helpful discussions. RCE would also like to thank Professor Richard Goldstein (University College London) for introducing her to the evolutionary algorithm used in this paper.

Appendix 1

Comparison of Flex ddG predictions for 35–250 runs

For the set of four PfDHFR mutations (N51I, C59R, S108N, and I164L) and combinations thereof studied in Lozovsky et al., 2009, we ran 35 runs per mutation (as suggested by the Flex ddG authors; Barlow et al., 2018) and found the average for each distribution and used these predictions to calculate the sum and the interaction energies for the multiple mutants. We compared the predictions of the binding free energy change, the sum of the independent changes for multiple mutants, and the interaction energy to the experimental data from Lozovsky et al., 2009, and observed Pearson correlations of 0.536, 0.580, and 0.900, respectively (Appendix 1—table 1). We also determined the number of correctly classified predictions. For the binding free energy predictions, 5/9 predictions were correctly classified as stabilising or destabilising, 4/5 of the sum of the independent impacts were correctly classified as stabilising or destabilising, and 2/5 interaction energy predictions were correctly classified as either positive or negative. Therefore, whilst the predictions for 35 runs achieved a good correlation with the data, the predictions of the interaction energy (and so the epistasis) using this data were correctly classified for less than half of the dataset.

Examining the distributions of the predicted change in binding free energy for 35 runs for each of the mutations considered in Lozovsky et al., 2009 (Appendix 1—figure 1), we can see that the distributions are not well characterised. We therefore decided to carry out a larger number of runs per prediction and determine the number of runs required for the rank order of the mutations to converge. We found the rank order of the average of the distributions sufficiently converged by 250 runs (Appendix 1—figure 3), as demonstrated in Appendix 1—figure 4 where the gradient of the average for each mutation is close to zero. Whilst more runs may have achieved better convergence, because of the time it takes to run Flex ddG it is important to achieve a balance between efficiency and accuracy. Whilst these new distributions are still not Gaussian, the distributions are better explored (Appendix 1—figure 2). We compared the predictions for 250 runs and the data from Lozovsky et al., 2009 (Table 1) and observed a correlation of 0.611 for the binding free energy data, 0.660 for the sum of the independent predictions for multiple mutants, and 0.756 for the interaction energy. We found 8/9 binding free energy predictions were correctly classified, 4/5 of the sum of the independent predictions were correctly classified, and 4/5 of the interaction energies were correctly classified. We therefore conclude that the predictions for n=250 runs present a better agreement with the data presented in Lozovsky et al., 2009, in terms of compromising between correlation and correct classification, both of which are important here.

Appendix 1—table 1. Correlation between Flex ddG predictions for 35 runs and experimental data (see Table 4 of Sirawaraporn et al., 1997) for P. falciparum dihydrofolate reductase (PfDHFR) pyrimethamine resistance mutations.

Mutation ΔΔGexp*(kcal/mol) Exp. sum Exp I.E. ΔΔGFlexddG §(kcal/mol) Sum I.E.§**
N51I –0.783 –0.156
C59R –0.184 0.059
S108N 1.297 0.521
I164L –0.351 –0.661
N51I,S108N 1.89 0.514 1.376 –0.132 0.365 –0.497
C59R,S108N 2.29 1.113 1.177 0.399 0.580 –0.183
N51I,C59R,S108N 2.595 0.33 2.265 0.196 0.425 –0.228
C59R,S108N,I164L 3.283 0.762 2.521 –0.004 –0.081 0.077
N51I,C59R,S108N,I164L 3.761 –0.021 3.782 0.306 –0.237 0.542
Pearson correlation 0.536 0.580 0.900
Correctly classified 5/9 4/5 2/5
*

Experimentally measured PfDHFR pyrimethamine binding free energy change data from Sirawaraporn et al., 1997.

Sum of experimental values of binding free energy change for independent mutations.

Interaction energy calculated as the difference between experimentally measured values of binding free energy change of multiple mutant compared to the sum of the independent mutations involved.

§

Change in PfDHFR pyrimethamine binding free energy predicted by Flex ddG calculated as the average of the distribution of runs. Free energy predictions from Rosetta are in Rosetta Energy Units, however the authors of Flex ddG applied a generalised additive model to reweight the predictions and make the output more comparable to units of kcal/mol (Barlow et al., 2018).

Sum of Flex ddG predictions for independent mutations.

**

Interaction energy calculated as the difference between Flex ddG predicted binding free energy change of multiple mutant compared to the sum of the independent mutations.

Appendix 1—figure 1. The distribution of pyrimethamine-P. falciparum dihydrofolate reductase (PfDHFR) binding free energy changes predicted by Flex ddG for 35 runs for subset of mutations considered in Sirawaraporn et al., 1997, namely (a) N51I, (b) C59R, (c) S108N, (d) I164L, (e) N51I,S108N, (f) C59R,S108N, (g) N51I,C59R,S108N, (h) C59R,S108N,I164L, and (i) N51I,C59R,S108N,I164L.

Appendix 1—figure 1.

Appendix 1—figure 2. The distribution of pyrimethamine-P. falciparum dihydrofolate reductase (PfDHFR) binding free energy changes predicted by Flex ddG for 250 runs for subset of mutations considered in Sirawaraporn et al., 1997, namely (a) N51I, (b) C59R, (c) S108N, (d) I164L, (e) N51I,S108N, (f) C59R,S108N, (g) N51I,C59R,S108N, (h) C59R,S108N,I164L, and (i) N51I,C59R,S108N,I164L.

Appendix 1—figure 2.

Appendix 1—figure 3. The running average of the Flex ddG prediction distributions for n=30,…,250 runs in intervals of 10 for the P. falciparum dihydrofolate reductase (PfDHFR) mutation combinations.

Appendix 1—figure 3.

Appendix 1—figure 4. The gradient of the running average of the Flex ddG prediction distributions for n=30,…,250 runs in intervals of 10 for the P. falciparum dihydrofolate reductase (PfDHFR) mutation combinations.

Appendix 1—figure 4.

Appendix 2

PfDHFR fitness hypercube

Appendix 2—figure 1. Fitness hypercube for combinatorically complete set of 24 P. falciparum dihydrofolate reductase (PfDHFR) genotypes.

Appendix 2—figure 1.

Paths of increasing fitness are shown inn green. Grey lines depict increasing fitness between genotypes separated by a single mutation. The fitness of each genotype is predicted using the average of each Flex ddG distribution to parameterise Equation 1.

Appendix 3

Assessing the significance of the frequency distribution of mutations in the worldwide isolate data

We performed a Chi-squared test on the worldwide distribution of the four PfDHFR mutations considered here, to determine if the mutations involved in the most likely inferred pathway were overrepresented compared to what we would expect under a null hypothesis in which there is no preferred pathway. Under this null hypothesis, if there was no preferred pathway, the single mutations would be observed at the same frequency, the double mutations would be observed at the same frequency, and the triple mutations would be observed at the same frequency. Therefore, we carried out three separate Chi-squared tests on the distributions of the single, double, and triple mutations. (It would be difficult to carry out a Chi-squared test on the combined distribution of these mutations because we would not expect the single, double, and triple mutations to have the same frequency and it would be difficult to determine what their appropriate relative frequencies would be.) The Chi-squared tests determined all three distributions were significantly different from the null hypothesis (psingles<0.01, pdoubles=0, ptriples=0). Analysing the residuals of each distribution (Appendix 3—figure 1), S108N was found to be overrepresented in the distribution of single mutations, C59R,S108N was overrepresented in the distribution of double mutations, and N51I,C59R,S108N was overrepresented in the triple mutation distribution. These mutations are the single, double, and triple mutations involved in the most likely inferred pathway for the worldwide data, supporting our assertion that this is the most likely stepwise trajectory to the quadruple mutation.

We performed a Chi-squared test for the distribution of the PvDHFR mutations in a similar way to PfDHFR, however the frequency of triple mutants in the PvDHFR worldwide dataset was not large enough to accurately carry out the test on the distribution of triple mutations. Therefore, we only carried out the test for the distribution of single and double mutations (Appendix 3—figure 1), with the null hypothesis that if there were no preferred order of fixation, the frequency of the single mutations would be equal and the frequency of the double mutations would be equal. The Chi-squared test revealed the distribution of both the single and double mutants is significantly different from what we would expect from the null hypothesis (psingles<0.01 and pdoubles<0.01 for the single and double distributions, respectively). Analysing the residuals of each distribution, S117N was found to be overrepresented among the single mutations and S58R,S117N was found to be overrepresented among the double mutations. This provides support for the idea that epistasis determines the order of fixation and suggests that the most likely pathway to the only triple mutation observed (S58R,S117N,I173L) occurs via pathway S117N/S58R/I173L. This corresponds to the fifth most likely pathway to a triple mutation when considering all pathways observed in our simulations, however this pathway is not observed in any of the most frequent pathways at any of the four concentrations studied in Jiang et al., 2013.

Appendix 3—figure 1. The standardised residuals of the individual P. falciparum dihydrofolate reductase (PfDHFR) mutations from the Chi-squared tests applied to single, double, and triple mutants.

Appendix 3—figure 1.

Appendix 3—figure 2. The standardised residuals of the individual P. vivax dihydrofolate reductase (PvDHFR) mutations from the Chi-squared tests applied to single and double mutants.

Appendix 3—figure 2.

Appendix 4

Assessing the significance of the frequency distribution of mutations per region

The frequency of the mutations in the separate regions is often too small to reliably carry out a Chi-squared test to determine if the regional distributions are significantly different from the worldwide distribution. Therefore, for each region, a sample of size N (where N is the size of the dataset from that region) was drawn with replacement from the worldwide distribution, and this was repeated 50,000 per region to create a dataset of 50,000 bootstrap samples per region. Comparing the frequency of mutations in the samples to the regional data highlights those mutations whose frequency differs significantly from what would be expected from the worldwide distribution.

PfDHFR

The distribution of mutations in Western Africa is similar to the worldwide distribution with the exception of mutations N51I,C59R,S108N and N51I,C59R,S108N,I164L which are overrepresented and underrepresented in the region, respectively (Appendix 4—figure 1g). This suggests the region is following the same pathway as the worldwide distribution but that the evolution is at an earlier stage. Conversely, in Southeastern Asia (Appendix 4—figure 1f), N51I,C59R,S108N was underrepresented in the region, whilst N51I,C59R,S108N,I164L was overrepresented, suggesting the region is following the same pathway as the worldwide distribution but evolution to the quadruple mutation had occurred more often than expected. Analysis of the distribution of mutations in Southern Asia (Appendix 4—figure 1e) suggests double mutation C59R,S108N is overrepresented in this region and the evolution in this region is more concentrated around the double mutant step in the pathway than would be expected. Triple mutations N51I,C59R,S108N and C59R,S108N,I164L are under- and overrepresented in this region, respectively, suggesting the alternative pathway S108N/C59R/I164L/N51I is more prevalent in this region than expected.

The distribution of mutations in Eastern Africa (Appendix 4—figure 1b) is similar to the worldwide distribution with the exception of double mutations N51I,S108N and C59R,S108N which are slightly over- and underrepresented in the region, respectively. Furthermore, triple mutation N51I,C59R,S108N and the quadruple mutation are over- and underrepresented, respectively. This suggests a true preference for the double mutant step S108N/N51I over S108N/C59R in the pathway in this region compared to the worldwide distribution. Furthermore, similar to Western Africa, the overrepresentation of the triple mutant step in the most likely inferred pathway and the underrepresentation of the quadruple mutation suggests this region is at an earlier stage in evolution compared to what would be expected from the worldwide distribution.

Similar to Eastern Africa, the distribution of mutations in Middle Africa (Appendix 4—figure 1a) showed significant differences in the frequency of double mutations N51I,S108N and C59R,S108N which were over- and underrepresented, respectively. Triple mutation N51I,C59R,S108N was overrepresented in this region and the quadruple mutation was underrepresented. This suggests that like Eastern Africa, the evolutionary pathway in Middle Africa shows a significant preference for the double mutant step S108N/N51I over S108N/C59R and that the evolution is at an earlier stage in this region than would be expected from the worldwide distribution, i.e., evolution to the quadruple mutation has not occurred as frequently as would be expected.

The distribution of mutations in South America is markedly different from the worldwide distribution, with single mutation S108N, double mutation N51I,S108N, and triple mutation N51I,S108N,I164L all overrepresented, whilst triple mutation N51I,C59R,S108N and the quadruple mutation are underrepresented. This suggests this region has a significant preference for the mutations involved in the most likely inferred pathway in this region S108N/N51I/I164L and the evolution is following a significantly different trajectory than the worldwide distribution.

Finally, we analysed the distribution of mutations in Melanesia and found the double mutation C59R,S108N is significantly overrepresented, whilst N51I,C59R,S108N and the quadruple mutation, which were both absent from this region, were underrepresented. This suggests the evolution in this region is at a much earlier stage than would be expected from the worldwide data.

Appendix 4—figure 1. The frequency distributions of the P. falciparum dihydrofolate reductase (PfDHFR) mutations from the 50,000 samples taken from the worldwide distribution with replacement for sample sizes (N) equal to the regional datasets from (a) Middle Africa (N=359), (b) Eastern Africa (N=904), (c) Melanesia (N=119), (d) South America (N=50), (e) Southern Asia (N=86), (f) Southeastern Asia (N=2650), and (g) Western Africa (N=2594).

Appendix 4—figure 1.

The red dots show the frequency of each mutation from the regional datasets and the black distributions show the 69%, 80%, and 90% quantile intervals of frequency distributions from the samples.

PvDHFR

The distribution of the four PvDHFR mutations in South America is similar to the worldwide distribution (Appendix 4—figure 2d) with all of the observed mutations occurring at frequencies within or just outside the expected range. This supports our inference that the evolution in South America is following the same most likely pathway as the worldwide data.

In Eastern Africa, S117N was found to be overrepresented and S58R,S117N was found to be underrepresented compared to the worldwide distribution (Appendix 4—figure 2a). This suggests evolution to the double mutation has not occurred as frequently in this region as would be expected from the worldwide distribution.

In Southern Asia, the distribution of mutations was as expected from the worldwide distribution, with the exception of N50I,S117N, which was overrepresented in this region (Appendix 4—figure 2e). This suggests the alternative pathway S117N/N50I inferred from the frequency data from this region is more prevalent than would be expected.

The frequency of the four PvDHFR mutations in Eastern Asia, Southeastern Asia, and Melanesia is very low, therefore it is difficult to draw many conclusions about the frequency of mutations in these regions. From the distribution plots (Appendix 4—figure 2b, Appendix 4—figure 2f and Appendix 4—figure 2c for Eastern Asia, Southeastern Asia, and Melanesia, respectively), the mutations appear to be found at similar frequencies to what would be expected from the worldwide distribution, however due to the low frequencies it is difficult to conclude that definitively. More data is required from these areas to draw conclusions regarding the distribution of their mutations and the evolutionary pathways they appear to be following.

Appendix 4—figure 2. The frequency distributions of the P. vivax dihydrofolate reductase (PvDHFR) mutations from the 50,000 samples taken from the worldwide distribution with replacement for sample sizes (N) equal to the regional datasets from (a) Eastern Africa (N=84), (b) Eastern Asia (N=12), (c) Melanesia (N=26), (d) South America (N=257), (e) Southern Asia (N=37), and (f) Southeastern Asia (N=334).

Appendix 4—figure 2.

The distribution from Central America was not analysed because it did not contain any combinations of the four PvDHFR mutations being studied. The red dots show the frequency of each mutation from the regional datasets and the black distributions show the 69%, 80%, and 90% quantile intervals of frequency distributions from the samples.

Funding Statement

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Contributor Information

Ruth Charlotte Eccleston, Email: charlotte.eccleston@lshtm.ac.uk.

Christian R Landry, Université Laval, Canada.

Christian R Landry, Université Laval, Canada.

Funding Information

This paper was supported by the following grants:

  • Medical Research Council MR/T000171/1 to Ruth Charlotte Eccleston, Nicholas Furnham, Taane G Clark.

  • Medical Research Council MR/M01360X/1 to Taane G Clark, Susana Campino.

  • Medical Research Council MR/N010469/1 to Taane G Clark.

  • Medical Research Council MR/R025576/1 to Taane G Clark, Susana Campino.

  • Medical Research Council MR/R020973/1 to Taane G Clark, Susana Campino.

  • Biotechnology and Biological Sciences Research Council BB/R013063/1 to Taane G Clark.

  • British Council 261868591 to Emilia Manko.

Additional information

Competing interests

No competing interests declared.

Author contributions

Conceptualization, Formal analysis, Investigation, Methodology, Writing - original draft, Writing - review and editing.

Conceptualization, Data curation, Writing - review and editing.

Conceptualization, Data curation.

Conceptualization.

Conceptualization, Writing - review and editing.

Additional files

MDAR checklist

Data availability

Code, Rosetta Flex ddG predictions, structural models and isolate mutation frequency data deposited in Zenodo at https://doi.org/10.5281/zenodo.7082168.

The following dataset was generated:

Charlotte ER, Emilia M, Susana C, Taane GC, Nicholas F. 2023. A computational method for predicting the most likely evolutionary trajectories in the stepwise accumulation of resistance mutations. Zenodo.

References

  1. Achaz G, Rodriguez-Verdugo A, Gaut BS, Tenaillon O. The reproducibility of adaptation in the light of experimental evolution with whole genome sequencing. Advances in Experimental Medicine and Biology. 2014;781:211–231. doi: 10.1007/978-94-007-7347-9_11. [DOI] [PubMed] [Google Scholar]
  2. Adam I, Alam MS, Alemu S, Amaratunga C, Amato R, Andrianaranjaka V, Anstey NM, Aseffa A, Ashley E, Assefa A, Auburn S, Barber BE, Barry A, Batista Pereira D, Cao J, Chau NH, Chotivanich K, Chu C, Dondorp AM, Drury E, Echeverry DF, Erko B, Espino F, Fairhurst R, Faiz A, Fernanda Villegas M, Gao Q, Golassa L, Goncalves S, Grigg MJ, Hamedi Y, Hien TT, Htut Y, Johnson KJ, Karunaweera N, Khan W, Krudsood S, Kwiatkowski DP, Lacerda M, Ley B, Lim P, Liu Y, Llanos-Cuentas A, Lon C, Lopera-Mesa T, Marfurt J, Michon P, Miotto O, Mohammed R, Mueller I, Namaik-Larp C, Newton PN, Nguyen TN, Nosten F, Noviyanti R, Pava Z, Pearson RD, Petros B, Phyo AP, Price RN, Pukrittayakamee S, Rahim AG, Randrianarivelojosia M, Rayner JC, Rumaseb A, Siegel SV, Simpson VJ, Thriemer K, Tobon-Castano A, Trimarsanto H, Urbano Ferreira M, Vélez ID, Wangchuk S, Wellems TE, White NJ, William T, Yasnot MF, Yilma D, MalariaGEN An open dataset of Plasmodium vivax genome variation in 1,895 worldwide samples. Wellcome Open Research. 2022;7:136. doi: 10.12688/wellcomeopenres.17795.1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Adams RM, Kinney JB, Walczak AM, Mora T. Epistasis in a fitness landscape defined by antibody-antigen binding free energy. Cell Systems. 2019;8:86–93. doi: 10.1016/j.cels.2018.12.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Ahouidi A, Ali M, Almagro-Garcia J, Amambua-Ngwa A, Amaratunga C, Amato R, Amenga-Etego L, Andagalu B, Anderson TJC, Andrianaranjaka V, Apinjoh T, Ariani C, Ashley EA, Auburn S, Awandare GA, Ba H, Baraka V, Barry AE, Bejon P, Bertin GI, Boni MF, Borrmann S, Bousema T, Branch O, Bull PC, Busby GBJ, Chookajorn T, Chotivanich K, Claessens A, Conway D, Craig A, D’Alessandro U, Dama S, Day NP, Denis B, Diakite M, Djimdé A, Dolecek C, Dondorp AM, Drakeley C, Drury E, Duffy P, Echeverry DF, Egwang TG, Erko B, Fairhurst RM, Faiz A, Fanello CA, Fukuda MM, Gamboa D, Ghansah A, Golassa L, Goncalves S, Hamilton WL, Harrison GLA, Hart L, Henrichs C, Hien TT, Hill CA, Hodgson A, Hubbart C, Imwong M, Ishengoma DS, Jackson SA, Jacob CG, Jeffery B, Jeffreys AE, Johnson KJ, Jyothi D, Kamaliddin C, Kamau E, Kekre M, Kluczynski K, Kochakarn T, Konaté A, Kwiatkowski DP, Kyaw MP, Lim P, Lon C, Loua KM, Maïga-Ascofaré O, Malangone C, Manske M, Marfurt J, Marsh K, Mayxay M, Miles A, Miotto O, Mobegi V, Mokuolu OA, Montgomery J, Mueller I, Newton PN, Nguyen T, Nguyen TN, Noedl H, Nosten F, Noviyanti R, Nzila A, Ochola-Oyier LI, Ocholla H, Oduro A, Omedo I, Onyamboko MA, Ouedraogo JB, Oyebola K, Pearson RD, Peshu N, Phyo AP, Plowe CV, Price RN, Pukrittayakamee S, Randrianarivelojosia M, Rayner JC, Ringwald P, Rockett KA, Rowlands K, Ruiz L, Saunders D, Shayo A, Siba P, Simpson VJ, Stalker J, Su XZ, Sutherland C, Takala-Harrison S, Tavul L, Thathy V, Tshefu A, Verra F, Vinetz J, Wellems TE, Wendler J, White NJ, Wright I, Yavo W, Ye H, MalariaGEN An open dataset of Plasmodium falciparum genome variation in 7,000 worldwide samples. Wellcome Open Research. 2021;6:42. doi: 10.12688/wellcomeopenres.16168.2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Aldeghi M, Gapsys V, de Groot BL. Accurate estimation of ligand binding affinity changes upon protein mutation. ACS Central Science. 2018;4:1708–1718. doi: 10.1021/acscentsci.8b00717. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Aldeghi M, Gapsys V, de Groot BL. Predicting kinase inhibitor resistance: physics-based and data-driven approaches. ACS Central Science. 2019;5:1468–1474. doi: 10.1021/acscentsci.9b00590. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Alford RF, Leaver-Fay A, Jeliazkov JR, O’Meara MJ, DiMaio FP, Park H, Shapovalov MV, Renfrew PD, Mulligan VK, Kappel K, Labonte JW, Pacella MS, Bonneau R, Bradley P, Dunbrack RL, Das R, Baker D, Kuhlman B, Kortemme T, Gray JJ. The rosetta all-atom energy function for macromolecular modeling and design. Journal of Chemical Theory and Computation. 2017;13:3031–3048. doi: 10.1021/acs.jctc.7b00125. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Anderson DW, McKeown AN, Thornton JW. Intermolecular epistasis shaped the function and evolution of an ancient transcription factor and its DNA binding sites. eLife. 2015;4:e07864. doi: 10.7554/eLife.07864. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Andersson DI, Hughes D. Persistence of antibiotic resistance in bacterial populations. FEMS Microbiology Reviews. 2011;35:901–911. doi: 10.1111/j.1574-6976.2011.00289.x. [DOI] [PubMed] [Google Scholar]
  10. Barlow KA, Ó Conchúir S, Thompson S, Suresh P, Lucas JE, Heinonen M, Kortemme T. Flex ddG: rosetta ensemble-based estimation of changes in protein-protein binding affinity upon mutation. The Journal of Physical Chemistry. B. 2018;122:5389–5399. doi: 10.1021/acs.jpcb.7b11367. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Benavente ED, Manko E, Phelan J, Campos M, Nolder D, Fernandez D, Velez-Tobon G, Castaño AT, Dombrowski JG, Marinho CRF, Aguiar ACC, Pereira DB, Sriprawat K, Nosten F, Moon R, Sutherland CJ, Campino S, Clark TG. Distinctive genetic structure and selection patterns in Plasmodium vivax from South Asia and East Africa. Nature Communications. 2021;12:3160. doi: 10.1038/s41467-021-23422-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Bershtein S, Serohijos AWR, Bhattacharyya S, Manhart M, Choi JM, Mu W, Zhou J, Shakhnovich EI. Protein homeostasis imposes a barrier on functional integration of horizontally transferred genes in bacteria. PLOS Genetics. 2015;11:e1005612. doi: 10.1371/journal.pgen.1005612. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Björkman A, Phillips-Howard PA. The epidemiology of drug-resistant malaria. Transactions of the Royal Society of Tropical Medicine and Hygiene. 1990;84:177–180. doi: 10.1016/0035-9203(90)90246-b. [DOI] [PubMed] [Google Scholar]
  14. Blair JMA, Webber MA, Baylay AJ, Ogbolu DO, Piddock LJV. Molecular mechanisms of antibiotic resistance. Nature Reviews. Microbiology. 2015;13:42–51. doi: 10.1038/nrmicro3380. [DOI] [PubMed] [Google Scholar]
  15. Bloom JD, Gong LI, Baltimore D. Permissive secondary mutations enable the evolution of influenza oseltamivir resistance. Science. 2010;328:1272–1275. doi: 10.1126/science.1187816. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Brooks DR, Wang P, Read M, Watkins WM, Sims PFG, Hyde JE. Sequence variation of the hydroxymethyldihydropterin pyrophosphokinase: dihydropteroate synthase gene in lines of the human malaria parasite, Plasmodium falciparum, with differing resistance to sulfadoxine. European Journal of Biochemistry. 1994;224:397–405. doi: 10.1111/j.1432-1033.1994.00397.x. [DOI] [PubMed] [Google Scholar]
  17. Campos PRA, Adami C, Wilke CO. In: Modelling in Molecular Biology. Ciobanu G, Rozenberg G, editors. Berlin: Springer; 2004. Modelling stochastic clonal interference; pp. 21–38. [DOI] [Google Scholar]
  18. Cingolani P, Platts A, Wang LL, Coon M, Nguyen T, Wang L, Land SJ, Lu X, Ruden DM. A program for annotating and predicting the effects of single nucleotide polymorphisms, SnpEff. Fly. 2012;6:80–92. doi: 10.4161/fly.19695. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Costelloe C, Metcalfe C, Lovering A, Mant D, Hay AD. Effect of antibiotic prescribing in primary care on antimicrobial resistance in individual patients: systematic review and meta-analysis. BMJ. 2010;340:c2096. doi: 10.1136/bmj.c2096. [DOI] [PubMed] [Google Scholar]
  20. Davies J, Davies D. Origins and evolution of antibiotic resistance. Microbiology and Molecular Biology Reviews. 2010;74:417–433. doi: 10.1128/MMBR.00016-10. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Dellus-Gur E, Elias M, Caselli E, Prati F, Salverda MLM, de Visser J, Fraser JS, Tawfik DS. Negative epistasis and evolvability in TEM-1 β-lactamase--the thin line between an enzyme’s conformational freedom and disorder. Journal of Molecular Biology. 2015;427:2396–2409. doi: 10.1016/j.jmb.2015.05.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. de Visser J, Krug J. Empirical fitness landscapes and the predictability of evolution. Nature Reviews. Genetics. 2014;15:480–490. doi: 10.1038/nrg3744. [DOI] [PubMed] [Google Scholar]
  23. Dickinson BC, Leconte AM, Allen B, Esvelt KM, Liu DR. Experimental interrogation of the path dependence and stochasticity of protein evolution using phage-assisted continuous evolution. PNAS. 2013;110:9007–9012. doi: 10.1073/pnas.1220670110. [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Eccleston RC, Pollock DD, Goldstein RA. Selection for cooperativity causes epistasis predominately between native contacts and enables epistasis-based structure reconstruction. PNAS. 2021;118:16. doi: 10.1073/pnas.2010057118. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Enne VI. Reducing antimicrobial resistance in the community by restricting prescribing: can it be done? The Journal of Antimicrobial Chemotherapy. 2010;65:179–182. doi: 10.1093/jac/dkp443. [DOI] [PubMed] [Google Scholar]
  26. Espinal CA, Cortes GT, Guerra P, Arias AE. Sensitivity of Plasmodium falciparum to antimalarial drugs in Colombia. The American Journal of Tropical Medicine and Hygiene. 1985;34:675–680. doi: 10.4269/ajtmh.1985.34.675. [DOI] [PubMed] [Google Scholar]
  27. Ferlan JT, Mookherjee S, Okezie IN, Fulgence L, Sibley CH. Mutagenesis of dihydrofolate reductase from Plasmodium falciparum: analysis in Saccharomyces cerevisiae of triple mutant alleles resistant to pyrimethamine or WR99210. Molecular and Biochemical Parasitology. 2001;113:139–150. doi: 10.1016/S0166-6851(01)00207-9. [DOI] [PubMed] [Google Scholar]
  28. Gerrish PJ, Lenski RE. The fate of competing beneficial mutations in an asexual population. Genetica. 1998;102–103:127–144. [PubMed] [Google Scholar]
  29. Goldstein RA. The evolution and evolutionary consequences of marginal thermostability in proteins. Proteins. 2011;79:1396–1407. doi: 10.1002/prot.22964. [DOI] [PubMed] [Google Scholar]
  30. Gong LI, Suchard MA, Bloom JD. Stability-mediated epistasis constrains the evolution of an influenza protein. eLife. 2013;2:e00631. doi: 10.7554/eLife.00631. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Gould SJ, Lewontin RC. The spandrels of San Marco and the Panglossian paradigm: a critique of the adaptationist programme. Proceedings of the Royal Society of London. Series B, Biological Sciences. 1979;205:581–598. doi: 10.1098/rspb.1979.0086. [DOI] [PubMed] [Google Scholar]
  32. Gregson A, Plowe CV. Mechanisms of resistance of malaria parasites to antifolates. Pharmacological Reviews. 2005;57:117–145. doi: 10.1124/pr.57.1.4. [DOI] [PubMed] [Google Scholar]
  33. Hastings MD, Porter KM, Maguire JD, Susanti I, Kania W, Bangs MJ, Sibley CH, Baird JK. Dihydrofolate reductase mutations in Plasmodium vivax from Indonesia and therapeutic response to sulfadoxine plus pyrimethamine. The Journal of Infectious Diseases. 2004;189:744–750. doi: 10.1086/381397. [DOI] [PubMed] [Google Scholar]
  34. Hawkins VN, Joshi H, Rungsihirunrat K, Na-Bangchang K, Sibley CH. Antifolates can have a role in the treatment of Plasmodium vivax. Trends in Parasitology. 2007;23:213–222. doi: 10.1016/j.pt.2007.03.002. [DOI] [PubMed] [Google Scholar]
  35. Hawkins VN, Auliff A, Prajapati SK, Rungsihirunrat K, Hapuarachchi HC, Maestre A, O’Neil MT, Cheng Q, Joshi H, Na-Bangchang K, Sibley CH. Multiple origins of resistance-conferring mutations in Plasmodium vivax dihydrofolate reductase. Malaria Journal. 2008;7:72. doi: 10.1186/1475-2875-7-72. [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Jett C, Dia A, Cheeseman IH. Rapid Emergence of Clonal Interference during Malaria Parasite Cultivation. bioRxiv. 2020 doi: 10.1101/2020.03.04.977165. [DOI]
  37. Jiang PP, Corbett-Detig RB, Hartl DL, Lozovsky ER. Accessible mutational trajectories for the evolution of pyrimethamine resistance in the malaria parasite Plasmodium vivax. Journal of Molecular Evolution. 2013;77:81–91. doi: 10.1007/s00239-013-9582-z. [DOI] [PubMed] [Google Scholar]
  38. Karmakar M, Rodrigues CHM, Horan K, Denholm JT, Ascher DB. Structure guided prediction of Pyrazinamide resistance mutations in pncA. Scientific Reports. 2020;10:1875. doi: 10.1038/s41598-020-58635-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  39. Khan AI, Dinh DM, Schneider D, Lenski RE, Cooper TF. Negative epistasis between beneficial mutations in an evolving bacterial population. Science. 2011;332:1193–1196. doi: 10.1126/science.1203801. [DOI] [PubMed] [Google Scholar]
  40. Kompis IM, Islam K, Then RL. DNA and RNA synthesis: antifolates. Chemical Reviews. 2005;105:593–620. doi: 10.1021/cr0301144. [DOI] [PubMed] [Google Scholar]
  41. Korsinczky M, Fischer K, Chen N, Baker J, Rieckmann K, Cheng Q. Sulfadoxine resistance in plasmodium vivax is associated with a specific amino acid in dihydropteroate synthase at the putative sulfadoxine-binding site. Antimicrobial Agents and Chemotherapy. 2004;48:2214–2222. doi: 10.1128/AAC.48.6.2214-2222.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Levy SB, Marshall B. Antibacterial resistance worldwide: causes, challenges and responses. Nature Medicine. 2004;10:S122–S129. doi: 10.1038/nm1145. [DOI] [PubMed] [Google Scholar]
  43. Lobkovsky AE, Koonin EV. Replaying the tape of life: quantification of the predictability of evolution. Frontiers in Genetics. 2012;3:246. doi: 10.3389/fgene.2012.00246. [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Lozovsky ER, Chookajorn T, Brown KM, Imwong M, Shaw PJ, Kamchonwongpaisan S, Neafsey DE, Weinreich DM, Hartl DL. Stepwise acquisition of pyrimethamine resistance in the malaria parasite. PNAS. 2009;106:12025–12030. doi: 10.1073/pnas.0905922106. [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Lunzer M, Miller SP, Felsheim R, Dean AM. The biochemical architecture of an ancient adaptive landscape. Science. 2005;310:499–501. doi: 10.1126/science.1115649. [DOI] [PubMed] [Google Scholar]
  46. Maïga O, Djimdé AA, Hubert V, Renard E, Aubouy A, Kironde F, Nsimba B, Koram K, Doumbo OK, Le Bras J, Clain J. A shared Asian origin of the triple-mutant dhfr allele in Plasmodium falciparum from sites across Africa. The Journal of Infectious Diseases. 2007;196:165–172. doi: 10.1086/518512. [DOI] [PubMed] [Google Scholar]
  47. McCollum AM, Mueller K, Villegas L, Udhayakumar V, Escalante AA. Common origin and fixation of Plasmodium falciparum dhfr and dhps mutations associated with sulfadoxine-pyrimethamine resistance in a low-transmission area in South America. Antimicrobial Agents and Chemotherapy. 2007;51:2085–2091. doi: 10.1128/AAC.01228-06. [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. McCollum AM, Basco LK, Tahar R, Udhayakumar V, Escalante AA. Hitchhiking and Selective Sweeps of Plasmodium falciparum sulfadoxine and pyrimethamine resistance alleles in a population from Central Africa. Antimicrobial Agents and Chemotherapy. 2008;52:4089–4097. doi: 10.1128/AAC.00623-08. [DOI] [PMC free article] [PubMed] [Google Scholar]
  49. McKeown AN, Bridgham JT, Anderson DW, Murphy MN, Ortlund EA, Thorton JW. Evolution of DNA specificity in a transcription factor family produced a new gene regulatory module. Cell. 2014;159:58–68. doi: 10.1016/j.cell.2014.09.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  50. Melnyk AH, Wong A, Kassen R. The fitness costs of antibiotic resistance mutations. Evolutionary Applications. 2015;8:273–283. doi: 10.1111/eva.12196. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Mita T, Tanabe K, Takahashi N, Tsukahara T, Eto H, Dysoley L, Ohmae H, Kita K, Krudsood S, Looareesuwan S, Kaneko A, Björkman A, Kobayakawa T. Independent evolution of pyrimethamine resistance in Plasmodium falciparum isolates in Melanesia. Antimicrobial Agents and Chemotherapy. 2007;51:1071–1077. doi: 10.1128/AAC.01186-06. [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Ogbunugafor CB, Eppstein MJ. Competition along trajectories governs adaptation rates towards antimicrobial resistance. Nature Ecology & Evolution. 2016;1:7. doi: 10.1038/s41559-016-0007. [DOI] [PubMed] [Google Scholar]
  53. Ogbunugafor CB, Hartl DL. A pivot mutation impedes reverse evolution across an adaptive landscape for drug resistance in Plasmodium vivax. Malaria Journal. 2016;15:40. doi: 10.1186/s12936-016-1090-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  54. Ogbunugafor CB, Wylie CS, Diakite I, Weinreich DM, Hartl DL. Adaptive landscape by environment interactions dictate evolutionary dynamics in models of drug resistance. PLOS Computational Biology. 2016;12:e1004710. doi: 10.1371/journal.pcbi.1004710. [DOI] [PMC free article] [PubMed] [Google Scholar]
  55. Ogbunugafor CB. The mutation effect reaction norm (mu-rn) highlights environmentally dependent mutation effects and epistatic interactions. Evolution; International Journal of Organic Evolution. 2022;76:37–48. doi: 10.1111/evo.14428. [DOI] [PubMed] [Google Scholar]
  56. Olson CA, Wu NC, Sun R. A comprehensive biophysical description of pairwise epistasis throughout an entire protein domain. Current Biology. 2014;24:2643–2651. doi: 10.1016/j.cub.2014.09.072. [DOI] [PMC free article] [PubMed] [Google Scholar]
  57. Ortlund EA, Bridgham JT, Redinbo MR, Thornton JW. Crystal structure of an ancient protein: evolution by conformational epistasis. Science. 2007;317:1544–1548. doi: 10.1126/science.1142819. [DOI] [PMC free article] [PubMed] [Google Scholar]
  58. Pantoliano MW, Whitlow M, Wood JF, Dodd SW, Hardman KD, Rollence ML, Bryan PN. Large increases in general stability for subtilisin BPN’ through incremental changes in the free energy of unfolding. Biochemistry. 1989;28:7205–7213. doi: 10.1021/bi00444a012. [DOI] [PubMed] [Google Scholar]
  59. Pollock DD, Thiltgen G, Goldstein RA. Amino acid coevolution induces an evolutionary Stokes shift. PNAS. 2012;109:E1352–E1359. doi: 10.1073/pnas.1120084109. [DOI] [PMC free article] [PubMed] [Google Scholar]
  60. Pollock DD, Pollard ST, Shortt JA. In: Evolutionary Biology: Self/Nonself Evolution, Species and Complex Traits Evolution, Methods and Concepts. Pontarotti P, editor. Springer International Publishing; 2017. Mechanistic models of protein evolution; pp. 277–296. [DOI] [Google Scholar]
  61. Portelli S, Myung Y, Furnham N, Vedithi SC, Pires DEV, Ascher DB. Prediction of rifampicin resistance beyond the RRDR using structure-based machine learning approaches. Scientific Reports. 2020;10:18120. doi: 10.1038/s41598-020-74648-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  62. Ravenhall M, Benavente ED, Mipando M, Jensen ATR, Sutherland CJ, Roper C, Sepúlveda N, Kwiatkowski DP, Montgomery J, Phiri KS, Terlouw A, Craig A, Campino S, Ocholla H, Clark TG. Characterizing the impact of sustained sulfadoxine/pyrimethamine use upon the Plasmodium falciparum population in Malawi. Malaria Journal. 2016;15:575. doi: 10.1186/s12936-016-1634-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  63. Rodrigues JV, Bershtein S, Li A, Lozovsky ER, Hartl DL, Shakhnovich EI. Biophysical principles predict fitness landscapes of drug resistance. PNAS. 2016;113:E1470–E1478. doi: 10.1073/pnas.1601441113. [DOI] [PMC free article] [PubMed] [Google Scholar]
  64. Roper C, Pearce R, Nair S, Sharp B, Nosten F, Anderson T. Intercontinental spread of pyrimethamine-resistant malaria. Science. 2004;305:1124. doi: 10.1126/science.1098876. [DOI] [PubMed] [Google Scholar]
  65. Rotem A, Serohijos AWR, Chang CB, Wolfe JT, Fischer AE, Mehoke TS, Zhang H, Tao Y, Lloyd Ung W, Choi JM, Rodrigues JV, Kolawole AO, Koehler SA, Wu S, Thielen PM, Cui N, Demirev PA, Giacobbi NS, Julian TR, Schwab K, Lin JS, Smith TJ, Pipas JM, Wobus CE, Feldman AB, Weitz DA, Shakhnovich EI. Evolution on the biophysical fitness landscape of an RNA virus. Molecular Biology and Evolution. 2018;35:2390–2400. doi: 10.1093/molbev/msy131. [DOI] [PMC free article] [PubMed] [Google Scholar]
  66. Ruvinov S, Wang L, Ruan B, Almog O, Gilliland GL, Eisenstein E, Bryan PN. Engineering the independent folding of the subtilisin BPN’ prodomain: analysis of two-state folding versus protein stability. Biochemistry. 1997;36:10414–10421. doi: 10.1021/bi9703958. [DOI] [PubMed] [Google Scholar]
  67. Sanjuán R, Cuevas JM, Moya A, Elena SF. Epistasis and the adaptability of an RNA Virus. Genetics. 2005;170:1001–1008. doi: 10.1534/genetics.105.040741. [DOI] [PMC free article] [PubMed] [Google Scholar]
  68. Shaukat A, Ali Q, Raud L, Wahab A, Khan TA, Rashid I, Rashid M, Hussain M, Saleem MA, Sargison ND, Chaudhry U. Phylogenetic analysis suggests single and multiple origins of dihydrofolate reductase mutations in Plasmodium vivax. Acta Tropica. 2021;215:105821. doi: 10.1016/j.actatropica.2020.105821. [DOI] [PubMed] [Google Scholar]
  69. Sirawaraporn W, Sathitkul T, Sirawaraporn R, Yuthavong Y, Santi DV. Antifolate-resistant mutants of Plasmodium falciparum dihydrofolate reductase. PNAS. 1997;94:1124–1129. doi: 10.1073/pnas.94.4.1124. [DOI] [PMC free article] [PubMed] [Google Scholar]
  70. Snounou G, White NJ. The co-existence of Plasmodium: sidelights from falciparum and vivax malaria in Thailand. Trends in Parasitology. 2004;20:333–339. doi: 10.1016/j.pt.2004.05.004. [DOI] [PubMed] [Google Scholar]
  71. Starr TN, Thornton JW. Epistasis in protein evolution. Protein Science. 2016;25:1204–1218. doi: 10.1002/pro.2897. [DOI] [PMC free article] [PubMed] [Google Scholar]
  72. Sun D, Jeannot K, Xiao Y, Knapp CW. Editorial: horizontal gene transfer mediated bacterial antibiotic resistance. Frontiers in Microbiology. 2019;10:1933. doi: 10.3389/fmicb.2019.01933. [DOI] [PMC free article] [PubMed] [Google Scholar]
  73. Sundqvist M, Geli P, Andersson DI, Sjölund-Karlsson M, Runehagen A, Cars H, Abelson-Storby K, Cars O, Kahlmeter G. Little evidence for reversibility of trimethoprim resistance after a drastic reduction in trimethoprim use. The Journal of Antimicrobial Chemotherapy. 2010;65:350–360. doi: 10.1093/jac/dkp387. [DOI] [PubMed] [Google Scholar]
  74. Szendro IG, Franke J, de Visser J, Krug J. Predictability of evolution depends nonmonotonically on population size. PNAS. 2013;110:571–576. doi: 10.1073/pnas.1213613110. [DOI] [PMC free article] [PubMed] [Google Scholar]
  75. Tamer YT, Gaszek IK, Abdizadeh H, Batur TA, Reynolds KA, Atilgan AR, Atilgan C, Toprak E. High-order epistasis in catalytic power of dihydrofolate reductase gives rise to a rugged fitness landscape in the presence of trimethoprim selection. Molecular Biology and Evolution. 2019;36:1533–1550. doi: 10.1093/molbev/msz086. [DOI] [PMC free article] [PubMed] [Google Scholar]
  76. Taverna DM, Goldstein RA. Why are proteins marginally stable? Proteins. 2002;46:105–109. doi: 10.1002/prot.10016. [DOI] [PubMed] [Google Scholar]
  77. Tsou CL. Active site flexibility in enzyme catalysis. Annals of the New York Academy of Sciences. 1998;864:1–8. doi: 10.1111/j.1749-6632.1998.tb10282.x. [DOI] [PubMed] [Google Scholar]
  78. Turkiewicz A, Manko E, Sutherland CJ, Diez Benavente E, Campino S, Clark TG. Genetic diversity of the Plasmodium falciparum GTP-cyclohydrolase 1, dihydrofolate reductase and dihydropteroate synthetase genes reveals new insights into sulfadoxine-pyrimethamine antimalarial drug resistance. PLOS Genetics. 2020;16:e1009268. doi: 10.1371/journal.pgen.1009268. [DOI] [PMC free article] [PubMed] [Google Scholar]
  79. Verdrager J. Epidemiology of the emergence and spread of drug-resistant falciparum malaria in South-East Asia and Australasia. The Journal of Tropical Medicine and Hygiene. 1986;89:277–289. [PubMed] [Google Scholar]
  80. Vogl T, Jatzke C, Hinz HJ, Benz J, Huber R. Thermodynamic stability of annexin V E17G: equilibrium parameters from an irreversible unfolding reaction. Biochemistry. 1997;36:1657–1668. doi: 10.1021/bi962163z. [DOI] [PubMed] [Google Scholar]
  81. Vogwill T, MacLean RC. The genetic basis of the fitness costs of antimicrobial resistance: a meta-analysis approach. Evolutionary Applications. 2015;8:284–295. doi: 10.1111/eva.12202. [DOI] [PMC free article] [PubMed] [Google Scholar]
  82. Wang P, Read M, Sims PFG, Hyde JE. Sulfadoxine resistance in the human malaria parasite Plasmodium falciparum is determined by mutations in dihydropteroate synthetase and an additional factor associated with folate utilization. Molecular Microbiology. 1997;23:979–986. doi: 10.1046/j.1365-2958.1997.2821646.x. [DOI] [PubMed] [Google Scholar]
  83. Wang X, Minasov G, Shoichet BK. Evolution of an antibiotic resistance enzyme constrained by stability and activity trade-offs. Journal of Molecular Biology. 2002;320:85–95. doi: 10.1016/S0022-2836(02)00400-X. [DOI] [PubMed] [Google Scholar]
  84. Webb B, Sali A. Comparative protein structure modeling using MODELLER. Current Protocols in Bioinformatics. 2016;54:5. doi: 10.1002/cpbi.3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  85. Weinreich DM, Watson RA, Chao L. Perspective: sign epistasis and genetic constraint on evolutionary trajectories. Evolution; International Journal of Organic Evolution. 2005;59:1165–1174. [PubMed] [Google Scholar]
  86. Weinreich DM, Delaney NF, Depristo MA, Hartl DL. Darwinian evolution can follow only very few mutational paths to fitter proteins. Science. 2006;312:111–114. doi: 10.1126/science.1123539. [DOI] [PubMed] [Google Scholar]
  87. WHO . World Malaria Report: 2021. Geneva: World Health Organization; 2021. [Google Scholar]
  88. Yuthavong Y, Yuvaniyama J, Chitnumsub P, Vanichtanankul J, Chusacultanachai S, Tarnchompoo B, Vilaivan T, Kamchonwongpaisan S. Malarial (Plasmodium falciparum) dihydrofolate reductase-thymidylate synthase: structural basis for antifolate resistance and development of effective inhibitors. Parasitology. 1999;130:249–259. doi: 10.1017/S003118200400664X. [DOI] [PubMed] [Google Scholar]
  89. Závodszky P, Kardos J, Svingor Á, Petsko GA. Adjustment of conformational flexibility is a key event in the thermal adaptation of proteins. PNAS. 1998;95:7406–7411. doi: 10.1073/pnas.95.13.7406. [DOI] [PMC free article] [PubMed] [Google Scholar]
  90. Zhang Y, Chowdhury S, Rodrigues JV, Shakhnovich E. Development of antibacterial compounds that constrain evolutionary pathways to resistance. eLife. 2021;10:e64518. doi: 10.7554/eLife.64518. [DOI] [PMC free article] [PubMed] [Google Scholar]
  91. Zhou Z, Griffing SM, de Oliveira AM, McCollum AM, Quezada WM, Arrospide N, Escalante AA, Udhayakumar V. Decline in sulfadoxine-pyrimethamine-resistant alleles after change in drug policy in the Amazon region of Peru. Antimicrobial Agents and Chemotherapy. 2008;52:739–741. doi: 10.1128/AAC.00975-07. [DOI] [PMC free article] [PubMed] [Google Scholar]

Editor's evaluation

Christian R Landry 1

Predicting the evolutionary path towards resistance through successive mutations is an important problem. This valuable study reports on the evolution of resistance to antifolates using computational predictions of changes in drug binding affinity. The findings generally rely on solid analyses although some of the claims are only partially supported because the computational predictions on the effects of mutations are only partially validated by prior experimental data. This study will be of interest to microbiologists interested in the evolution of drug resistance.

Decision letter

Editor: Christian R Landry1
Reviewed by: Adrian Serohijos

Our editorial process produces two outputs: (i) public reviews designed to be posted alongside the preprint for the benefit of readers; (ii) feedback on the manuscript for the authors, including requests for revisions, shown below. We also include an acceptance summary that explains what the editors found interesting or important about the work.

Decision letter after peer review:

Thank you for submitting your article "A computational method for predicting the most likely evolutionary trajectories in the stepwise accumulation of resistance mutations" for consideration by eLife. Your article has been reviewed by 3 peer reviewers, and the evaluation has been overseen by a Reviewing Editor and Christian Landry as the Senior Editor. The following individual involved in the review of your submission has agreed to reveal their identity: Adrian Serohijos (Reviewer #1).

The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.

Essential revisions:

Reviewer 1: It would be important to demonstrate how robust the results are given that the number of mutations and pathways being considered are limited. Reviewer 3 also mentions the lack of quantification of the performance of the method.

Reviewers 1 and 2 bring several points regarding the statistical analyses (p-values missing, model not converging, distribution of ddG values considered), the calculation relating fitness to the fraction of protein unbound by the drug, and the performance of Rosetta to estimate ddG. These elements would need to be corrected and the performance of Rosetta quantified and demonstrated.

Reviewer 2 suggested better dissecting the cases of epistasis to differentiate trivial cases due to the non-linearities inherent to the system, from other epistasis.

Reviewer 1 remarked that some evolutionary trajectories may not be independent of each other due to the possibility of gene flow.

Many relevant papers by Ogbunugafor and colleagues on studying epistasis and evolutionary trajectories on the same enzymes and in plasmodium were not considered here. It would seem important to cite this body of work and see how your results relate to their approaches and results. For example:

Ogbunugafor CB, Wylie CS, Diakite I, Weinreich DM, Hartl DL. Adaptive landscape by environment interactions dictates evolutionary dynamics in models of drug resistance. PLoS computational biology. 2016 Jan 25;12(1):e1004710.

Ogbunugafor CB, Hartl D. A pivot mutation impedes reverse evolution across an adaptive landscape for drug resistance in Plasmodium vivax. Malaria journal. 2016 Dec;15(1):1-0.

Ogbunugafor CB. The mutation effect reaction norm (mu‐rn) highlights environmentally dependent mutation effects and epistatic interactions. Evolution. 2022 Feb;76(S1):37-48.

Ogbunugafor CB, Eppstein MJ. Competition along trajectories governs adaptation rates towards antimicrobial resistance. Nature ecology and evolution. 2016 Nov 21;1(1):1-8.

Reviewer #1 (Recommendations for the authors):

1. There are five instances of incorrectly referenced figures throughout the text, "… (Figure ??) … ".

2. Appendix-figure 4 caption: "… gradient of the average…" Please clarify if this was a running average and over what interval window.

Reviewer #2 (Recommendations for the authors):

In this work the authors use a simple biophysical model to predict evolutionary trajectories of resistance to pyrimethamine – inhibitor of PfDHFR from P. falciparum and PvDHFR from P. vivax – pathogens causing malaria which presents a worldwide health concern. The authors use a simple fitness model that posits that selection coefficient -relative change in fitness between WT and mutant strains is determined by the fraction of unbound (to antibiotic inhibitor) DHFR. The population genetics simulations use the Kimura formula which is applicable to low mutation high selection regime where populations are monoclonal. The authors use computational tool Rosetta Flex ddG to assess binding of the antibiotic ligand to WT and mutant protein and compare their predicted evolutionary trajectories with lab evolution and data on naturally evolved variants worldwide and find semi-quantitative agreement, albeit sith significamt variation in detail.

The paper is of potential interest as it presents one of the first (but not the first) attempts to compare evolutionary dynamics based on biophysics inspired fitness model with laboratory evolution and natural data for very important problem of emergence and fixation of antibiotic resistant alleles. As such it can be a useful starting point for more detailed and biophysically realistic models of evolution of resistance against anti-DHFR drugs.

There are a number of issues – mostly technical but important – which limit potential impact and predictive power of this work. Let me list them in order of importance:

1) The fitness model whereby fitness of a variant is proportional to the fraction of free DHFR (and hence selection coefficient in Kimura formula is defined as relative difference in this quantity) is very simplistic. In fact earlier studies by Kaczer and Burns, Dean and Hartl and Rodrigues et al. (2016) cited here show that selection coefficient with respect to variation of DHFR is a more complex non-linear function of DHFR abundance, activity and – importantly – other enzymes in the folate metabolism pathway. Recent paper PMID: 26484862 established a proper fitness model for DHFR variation.

2) Rosetta ddG Flex does a mediocre job, to say the least in predicting binding free energy.

Table 1 shows that predictions in many cases are off quite substantially.

3) Equation 1 to predict fraction of unbound protein is not entirely accurate. The correct set of equations to determine this quantity is:

Lfree+LfreePfreeKd=L0

Pfree+LfreePfreeKd=P0

Lfree=L0+(PfreeP0)

Pfree+(L0+(PfreeP0))PfreeKd=P0

Pfree2Kd+Pfree(1+L0P0Kd)P0=0

Pfree=Kd2(1L0P0Kd±(1+L0P0Kd)+4P0K2)

=Kd2(1L0P0Kd+1+2(L0+P0)Kd+(L0P0Kd))

Where Pfree and Lfree are concentration of free (monomeric, unbound) protein and antibiotic Where ligand in solution and P0 and L0 are their total concentrations. Under certain conditions this full result reduces to Equation 1 but it is important that the authors assess whether these conditions are indeed met in realistic cellular scenarios. In essence Equation 1 assumes that Lfree | L0 but it is not clear whether this is a realistic condition.

4) Given that there are so many caveats and limitations to the underlying analysis the authors should revisit their results and discuss why some of the predictions are robust to these limitations and where the predictions fail due to the limitations of the analysis.

5) The authors point out to many cases when epistasis is observed but it can be a “trivial” epistasis due to the fact that Kd that determines fraction of free proteins is related to 'G in a non-linear way, see e.g. PMID: 21610162. It might be interesting to outline cases where epistasis is “trivial” and where it is related to effective interactions between mutation sites.

In summary this is an interesting work with some potential implications for predicting evolution of antibiotic resistance but technical concerns need to be addressed to make the foundation of the study more solid.

Reviewer #3 (Recommendations for the authors):

Major points and suggestions:

1. The comparison between the computational results and previous studies is done in a case-by-case manner. This is certainly informative. But it is somewhat dissatisfactory that a single summary metric (or a small number of them) is not provided as an overall performance measure of the computational method.

2. The presentation will benefit hugely if a fitness graph (based on hypercube representations, see for e.g. de Visser and Krug 2014, Figure 1c) is provided based on the free-energy change estimates from the computational method.

[Editors’ note: further revisions were suggested prior to acceptance, as described below.]

Thank you for resubmitting your work entitled "A computational method for predicting the most likely evolutionary trajectories in the stepwise accumulation of resistance mutations" for further consideration by eLife. Your revised article has been evaluated by Christian Landry (Senior Editor) and a Reviewing Editor.

The manuscript has been improved, but some remaining issues must be addressed, as outlined below. Following the submission of their respective reviews, we discussed with the reviewers, and the consensus is that the two significant points that follow remain problematic. Overall, the reviewers are excited about the development of computational tools to predict resistance. Still, at the same time, there remain major concerns about the actual data and model used to make predictions.

1) As raised by one of the reviewers in the initial review process, the RosettaFoldDDG poorly matches experimentally measured parameters. You now include a measure of correlation that confirms this poor accuracy. It, therefore, remains challenging to understand how the methods would work if the predicted measures do not reflect actual physical parameters. The reviewers would minimally require that the predictions of binding affinities are validated using alternative methods (computational or experimental).

2) One of the papers that are cited (2016 PNAS) to support the work actually shows that resistance, at least in bacteria, is very poorly predicted from the same parameters used here when considering a full fitness model. It would therefore be necessary that the authors use a fitness model to show that binding affinities are indeed predictive of resistance or that the values that are predicted using RosettaFoldDDG are indeed predictive.

Reviewer #1 (Recommendations for the authors):

The authors satisfactorily addressed my comments and concerns.

Reviewer #2 (Recommendations for the authors):

The authors addressed many editorial concerns raised by all reviewers.

I am still of the opinion that the premise of the study – to use biophysical model to explore evolutionary dynamics of resistant variants – is worthwhile and timely.

Nevertheless, my two most important essential concerns have not been addressed adequately making me question the technical validity of the study.

1) The authors completely misrepresent the key conclusion of the study of Rodrigues ate al 2016 PNAS. They suggest that Rodrigues et al. claimed that inhibitor binding to DHFR is the most important and predictive biophysical trait that determines fitness and more specifically IC50. In fact, the direct opposite is true – Fig, S8 of Rodrigues et al. showed that binding affinity to antibiotic is THE LEAST predictive of IC50 biophysical property and that there is no statistically significant correlation between Ki alone and IC50 for many variants and conditions explored in the 2016 Rodrigues at al PNAS. Essentially these authors showed that ignoring the effect of mutations on catalytic activity and proteins stability/abundance completely eliminates the predictive power of the biophysical model. This is the key conclusion of the 2016 paper which is completely misinterpreted in the present work. The authors of course may disagree with the conclusions of the 2016 study but in this case, they MUST present evidence of the validity of their simplified, naive biophysical model.

2) Table 1 still shows that there is no relationship between ddG predictions and reality and the authors themselves admit that the correlation is not statistically significant. Their justification of using Rosetta that there is no other method that provides prediction of binding affinities is both incorrect and disingenuous. Using such inaccurate predictions of the only parameter in their fitness model makes the approach devoid of predictive power.

eLife. 2023 Dec 22;12:e84756. doi: 10.7554/eLife.84756.sa2

Author response


Essential revisions:

Reviewer 1: It would be important to demonstrate how robust the results are given that the number of mutations and pathways being considered are limited. Reviewer 3 also mentions the lack of quantification of the performance of the method.

Reviewers 1 and 2 bring several points regarding the statistical analyses (p-values missing, model not converging, distribution of ddG values considered), the calculation relating fitness to the fraction of protein unbound by the drug, and the performance of Rosetta to estimate ddG. These elements would need to be corrected and the performance of Rosetta quantified and demonstrated.

Reviewer 2 suggested better dissecting the cases of epistasis to differentiate trivial cases due to the non-linearities inherent to the system, from other epistasis.

Reviewer 1 remarked that some evolutionary trajectories may not be independent of each other due to the possibility of gene flow.

Many relevant papers by Ogbunugafor and colleagues on studying epistasis and evolutionary trajectories on the same enzymes and in plasmodium were not considered here. It would seem important to cite this body of work and see how your results relate to their approaches and results.

Thank you for bringing these papers to our attention, it is an interesting and important body of work.

For example:

Ogbunugafor CB, Wylie CS, Diakite I, Weinreich DM, Hartl DL. Adaptive landscape by environment interactions dictates evolutionary dynamics in models of drug resistance. PLoS computational biology. 2016 Jan 25;12(1):e1004710.

We have cited this paper and briefly discussed the main results and how they can inform the analysis of our results (lines 634-651):

“Similarly, Ogbunugafor et al. (2016) demonstrated the importance of environmental variables on the evolution of drug resistance in PfDHFR by simulating evolution considering empirical growth measures and IC50 values across drug concentrations. They found that the rank order of allele fitness is a function of drug concentration and the preferred pathways to the fittest allele depends upon the environment. Therefore, whilst the model presented here captures the most likely pathways to resistance for high drug concentration, it is unable to predict important evolutionary dynamics that arise as a function of the environment. Therefore, the pathways predicted here should be considered the most likely pathways under sustained use of high concentrations of pyrimethamine.

Several investigations have also studied reverse evolution in PfDHFR (Ogbunugafor, 2022) and PvDHFR (Ogbunugafor and Hartl, 2016) by simulating evolution from the resistant to susceptible phenotype for different pyrimethamine concentrations, including the drugless environment. These studies also used measurements of growth rates and IC50 at the different drug concentrations in their simulations. They found S108N in PfDHFR and S117N in PvDHFR act as pivot point mutations and prevent reverse evolution to the susceptible phenotype. This has important consequences for AMR management strategies that aim to reduce resistance by the cessation of drug use.

Unfortunately, our model cannot be used to study reverse evolution because the fitness function is unable to quantify fitness in a drug-free environment.”

Ogbunugafor CB, Hartl D. A pivot mutation impedes reverse evolution across an adaptive landscape for drug resistance in Plasmodium vivax. Malaria journal. 2016 Dec;15(1):1-0.

We have cited this paper and discussed the results as described above and between lines 138-142:

“The epistasis between the four PfDHFR mutations and the four PvDHFR mutations may prevent reverse evolution from resistant to susceptible phenotypes, with S108N and S117N acting as pivot point mutations creating an epistatic ratchet against reverse evolution towards the wild-type and suggesting that the removal of pyrimethamine from use will not result in a reduction of resistance (Ogbunugafor et al. 2016; Ogbunugafor and Hartl 2016; Ogbunugafor 2022).”

Ogbunugafor CB. The mutation effect reaction norm (mu‐rn) highlights environmentally dependent mutation effects and epistatic interactions. Evolution. 2022 Feb;76(S1):37-48.

See above response.

Ogbunugafor CB, Eppstein MJ. Competition along trajectories governs adaptation rates towards antimicrobial resistance. Nature ecology and evolution. 2016 Nov 21;1(1):1-8.

We have cited this paper and discussed the results as described above and between lines 663-666:

“Interestingly, Ogbunugafor and Eppstein (2017) simulated the competition between successive alleles along adaptive trajectories in the evolution of pyrimethamine resistance in both PfDHFR and PvDHFR, and found that greedy trajectories are not always the most likely to be followed, with less greedy trajectories sometimes able to reach higher fitness more quickly.”

Reviewer #1 (Recommendations for the authors):

1. There are five instances of incorrectly referenced figures throughout the text, "… (Figure ??) … ".

Thank you for highlighting this, all instances have been corrected.

2. Appendix-figure 4 caption: "… gradient of the average…" Please clarify if this was a running average and over what interval window.

We have clarified that this was a running average over intervals of 10 runs and has been stated in the caption.

Reviewer #2 (Recommendations for the authors):

In this work the authors use a simple biophysical model to predict evolutionary trajectories of resistance to pyrimethamine – inhibitor of PfDHFR from P. falciparum and PvDHFR from P. vivax – pathogens causing malaria which presents a worldwide health concern. The authors use a simple fitness model that posits that selection coefficient -relative change in fitness between WT and mutant strains is determined by the fraction of unbound (to antibiotic inhibitor) DHFR. The population genetics simulations use the Kimura formula which is applicable to low mutation high selection regime where populations are monoclonal. The authors use computational tool Rosetta Flex ddG to assess binding of the antibiotic ligand to WT and mutant protein and compare their predicted evolutionary trajectories with lab evolution and data on naturally evolved variants worldwide and find semi-quantitative agreement, albeit sith significamt variation in detail.

The paper is of potential interest as it presents one of the first (but not the first) attempts to compare evolutionary dynamics based on biophysics inspired fitness model with laboratory evolution and natural data for very important problem of emergence and fixation of antibiotic resistant alleles. As such it can be a useful starting point for more detailed and biophysically realistic models of evolution of resistance against anti-DHFR drugs.

There are a number of issues – mostly technical but important – which limit potential impact and predictive power of this work. Let me list them in order of importance:

1) The fitness model whereby fitness of a variant is proportional to the fraction of free DHFR (and hence selection coefficient in Kimura formula is defined as relative difference in this quantity) is very simplistic. In fact earlier studies by Kaczer and Burns, Dean and Hartl and Rodrigues et al. (2016) cited here show that selection coefficient with respect to variation of DHFR is a more complex non-linear function of DHFR abundance, activity and – importantly – other enzymes in the folate metabolism pathway. Recent paper PMID: 26484862 established a proper fitness model for DHFR variation.

We agree with the Reviewer that the real fitness landscape of DHFR is much more complex than our simple model, a fact we mention in the manuscript. However, one of the main aims of the project was to determine how well a simple model that could be easy to implement by many researchers, is able to capture real evolutionary trajectories. Rodrigues et al. 2016 show that binding affinity is the major determining factor in resistance, especially at later times in evolution, therefore the choice of only considering variations in binding affinity to see how well such a simple model can capture evolution is valid. Furthermore, the aim of the work was to determine a method to predict evolution that can be done purely using computational tools, without also including the use of wet lab experiments. There are many tools for the computational prediction of ligand binding affinity change upon mutation which only require a protein structure in complex with a ligand and can be used to quickly produce predictions of the impact of different mutations upon ligand binding. Of those methods, Rosetta Flex ddG is the state-of-the-art and has been shown to perform as well as molecular dynamics simulations at predicting binding affinity change (See Aldeghi et al., 2018 and 2019). Whilst characterising the entire fitness landscape would provide the most accurate model, it is not possible to computationally predict the other important factors, such as IC50 and catalytic activity, without the use of a wet-lab, which would defeat the purpose of the project. The remarkable agreement between the evolutionary trajectories predicted using our simple model, parameterised using only Rosetta Flex ddG predictions, suggests that this is an efficient and effective method that could be used by any researchers with access to a high-performance computing cluster and without the need for costly and time-consuming wet-lab experiments.

To avoid confusion, we have added further explanation of the motivations of our work in the Results section between lines 295-302:

“Whilst the fitness landscape of DHFR is a function of many factors including stability, abundance and activity (Rodrigues et al., 2016; Bershtein et al., 2015). Rodrigues et al., (2016) demonstrated that binding affinity is a major determinant of fitness, especially later in evolution. Therefore, we used a simple model that considered only predicted changes in binding free energy that would be easy to implement, undertaken purely computationally with good accuracy and without the need for extensive wet lab experiments. We sought to determine if simulated trajectories using this simple fitness model could capture observed evolutionary trajectories, despite not considering all factors that contribute to DHFR fitness.”

and in Methods section between lines 841-850.

“This equation is derived under the assumption that the concentration of unbound ligand LfreeL0, where L0 is the total concentration. This captures the ideal scenario in which the concentration of the antimalarial drug is very high. We also assume that drug binding affinity is the most important determinant of protein fitness and ignore other factors such as IC50 and growth rate. We make this assumption because drug binding affinity was found to be a major determinant of fitness by Rodrigues et al., (2016). Our aim is to predict evolutionary trajectories without the need for experimental measurements and ligand binding prediction tools are readily available and easy to use, whereas it is more difficult to predict IC50 or growth rates. We therefore chose to use a simplified model of the system to approximate its behaviour, capture its general properties and make the model more tractable.”

2) Rosetta ddG Flex does a mediocre job, to say the least in predicting binding free energy.

Table 1 shows that predictions in many cases are off quite substantially.

We agree with the Reviewer that the absolute predictions are not perfect, however no computational prediction tool is perfect and Flex ddG is the best available tool at this moment in time. However, and most importantly, Flex ddG is able to capture the general trend in the data. Furthermore, for the evolutionary simulations, we sample from the predicted Flex ddG distributions for each mutation, instead of just taking the average of the distributions,

3) Equation 1 to predict fraction of unbound protein is not entirely accurate. The correct set of equations to determine this quantity is:

Lfree+LfreePfreeKd=L0
Pfree+LfreePfreeKd=P0
Lfree=L0+(PfreeP0)
Pfree+(L0+(PfreeP0))PfreeKd=P0
Pfree2Kd+Pfree(1+L0P0Kd)P0=0
Pfree=Kd2(1L0P0Kd±(1+L0P0Kd)+4P0K2)
=Kd2(1L0P0Kd+1+2(L0+P0)Kd+(L0P0Kd))

Where Pfree and Lfree are concentration of free (monomeric, unbound) protein and antibiotic Where ligand in solution and P0 and L0 are their total concentrations. Under certain conditions this full result reduces to Equation 1 but it is important that the authors assess whether these conditions are indeed met in realistic cellular scenarios. In essence Equation 1 assumes that Lfree | L0 but it is not clear whether this is a realistic condition.

The Reviewer is correct regarding the assumption that LfreeL0 in the model. The model represents the ideal scenario in which there is a high concentration of drug in the cell which enables us to approximate the fitness of each variant by just considering binding affinity (of course under the simplifying assumption that binding affinity is the only determinant of fitness and ignoring ither factors such as IC50, as discussed above). Whilst we are aware this may not be the case in a real cell, idealised models are used throughout science to approximate the behaviour of a system, capture general properties and make modelling complex systems more tractable. Indeed, we do not claim this simple model is able to capture all aspects of the evolution of drug resistance, but the aim of the project was to determine how well such a simple model, parameterised using computational predictions, could capture observed evolutionary trajectories. We would like to thank the Reviewer for highlighting that we have not made this clear in the text and have added an explanation between lines 841-850:

“This equation is derived under the assumption that the concentration of unbound ligand LfreeL0, where L0 is the total concentration. This captures the ideal scenario in which the concentration of the antimalarial drug is very high. We also assume that drug binding affinity is the most important determinant of protein fitness and ignore other factors such as IC50 and growth rate. We make this assumption because drug binding affinity was found to be a major determinant of fitness by Rodrigues et al., (2016). Our aim is to predict evolutionary trajectories without the need for experimental measurements and ligand binding prediction tools are readily available and easy to use, whereas it is more difficult to predict IC50 or growth rates. We therefore chose to use a simplified model of the system to approximate its behaviour, capture its general properties and make the model more tractable.”

4) Given that there are so many caveats and limitations to the underlying analysis the authors should revisit their results and discuss why some of the predictions are robust to these limitations and where the predictions fail due to the limitations of the analysis.

We agree with the Reviewer that there are many caveats and limitations to this method. Though we did include a discussion of this in the original manuscript, we have now expanded our analysis and discussion of the limitations of the model.

a) Our model cannot account for environmental variables, which we discuss between lines 634-642 in the Discussion:

“Similarly, Ogbunugafor et al. (2016) demonstrated the importance of environmental variables on the evolution of drug resistance in PfDHFR by simulating evolution considering empirical growth measures and IC50 values across drug concentrations. They found that the rank order of allele fitnesses is a function of drug concentration and the preferred pathways to the fittest allele depends upon the environment. Therefore, whilst the model presented here captures the most likely pathways to resistance for high drug concentration, it is unable to predict important evolutionary dynamics that arise as a function of the environment. Therefore, the pathways predicted here should be considered the most likely pathways under sustained use of high concentrations of pyrimethamine.”

b) Our model cannot be used to simulate reverse evolution, which we mention in the Discussion between lines 643-651:

“Several investigations have also studied reverse evolution in PfDHFR (Ogbunugafor, 2022) and PvDHFR (Ogbunugafor and Hartl, 2016) by simulating evolution from the resistant phenotype to the susceptible phenotype for different pyrimethamine concentrations, including the drugless environment. These studies also used measurements of growth rates and IC50 at the different drug concentrations in their simulations. They found S108N in PfDHFR and S117N in PvDHFR act as pivot point mutations and prevent reverse evolution to the susceptible phenotype. This has important consequences for AMR management strategies that aim to reduce resistance by the cessation of drug use. Unfortunately, our model cannot be used to study reverse evolution because the fitness function is unable to quantify fitness in a drug-free environment.”

c) Our model does not account for other factors that determine DHFR fitness, such as IC50 and growth rate, which we mention in Results section between lines 295-302:

“Whilst the fitness landscape of DHFR is a function of many factors including stability, abundance and activity (Rodrigues et al., 2016; Bershtein et al., 2015). Rodrigues et al., (2016) demonstrated that binding affinity is a major determinant of fitness, especially later in evolution. Therefore, we used a simple model that considered only predicted changes in binding free energy that would be easy to implement, undertaken purely computationally with good accuracy and without the need for extensive wet lab experiments. We sought to determine if simulated trajectories using this simple fitness model could capture observed evolutionary trajectories, despite not considering all factors that contribute to DHFR fitness.”

d) We mention the fact that our model is only applicable in the weak mutation regime and discuss what this might mean for our results 660-678:

“A further limitation of the evolutionary model is that it operates in the weak mutation regime, in which the mutation rate is so low that mutations appear and fix in isolation. However, this assumption breaks down when considering large microbial populations where clonal interference means that mutations can arise simultaneously and compete for fixation (Gerrish and Lenski, 1998). This can lead to a process known as ‘greedy adaptation’, in which the mutation of larger beneficial effect is fixed with certainty (Jain et al., 2011). Interestingly, Ogbunugafor and Eppstein (2017) simulated the competition between successive alleles along adaptive trajectories in the evolution of pyrimethamine resistance in both PfDHFR and PvDHFR, and found that greedy trajectories are not always the most likely to be followed, with less greedy trajectories sometimes able to reach higher fitness more quickly.

Clonal interference has been shown to emerge rapidly in laboratory cultivated P. falciparum, where the parasite cycles through only asexual stages, suggesting it may influence the dynamics of the emergence of resistance (Jett et al., 2020). The evolutionary model used here may therefore overestimate the fixation probability of mutations with milder beneficial effects and underestimate the fixation probability of mutations with larger beneficial effects (de Visser and Krug 2014). Future iterations of this work could be improved by making using a fixation probability that models clonal interference such as the work of Gerrish and Lenski (1998) and Campos et al., (2004). However, such models are more difficult to implement as they can require species-specific derivations for certain functions.”

e) We discuss the fact that our model does not account for thermodynamic stability between lines 676-693:

“Mutations occurring at a drug-binding site may also reduce the protein’s thermodynamic stability (Wang et al., 2002) and therefore may not be selected for, even if they improve the resistance phenotype. However, our model does not take thermodynamic stability into account, and so may predict certain mutations to be beneficial to fitness even if they are actually deleterious because they decrease the protein's stability. This may lead to incorrect prediction of pathways. Our model may be improved by including selection for mutations that do not reduce thermodynamic stability relative to the wild-type enzyme, similar to the work by Rotem et al. (2018). However, it must also be noted that most proteins are marginally stable (Vogl et al., 1997; Ruvinov et al., 1997), a property which may have evolved either as an evolutionary spandrel (Taverna and Goldstein 2002; Goldstein, 2011) (a characteristic that arises as a result of non-adaptive processes which is then used for adaptive purposes (Gould et al., 1979) or due to selection for increased flexibility to improve certain functionalities (Zavodszky et al., 1998 and Tsou et al., 1998)). Therefore, the model would also need to account for the fact that a resistance mutation that increases protein stability relative to the wildtype stability may also result in a reduction in fitness.

In summary, the real fitness landscape of DHFR is much more complex than we can capture with our model, which only accounts for changes in binding affinity. Therefore, our model may predict evolutionary pathways to be likely when they are in fact inaccessible if a step in the pathway is deleterious to other aspects of the fitness landscape. The main advantage of our model is its simplicity, requiring only predictions of change in drug binding affinity to capture evolutionary pathways under the assumption of sustained high drug concentration.”

e) We also highlight the dependence of the model upon the accuracy of the Flex ddG predictions in the Discussion lines 694-703:

“Furthermore, our method uses Flex ddG to predict changes in drug binding free energy, which are then used to parameterise the fitness function of the evolutionary model. Therefore, the success of the method relies upon the accuracy of these predictions. As we established with the PfDHFR mutations, Flex ddG performs well for the single mutations but is less accurate for the higher order mutations, meaning pathways may be predicted to be inaccessible by our model but which in reality are accessible. However, in general Flex ddG performed well and was able to capture the general trend of the data for the mutations considered here, and so the model showed good agreement with experimentally determined pathways. Our model could also be parameterised using molecular dynamics, which may provide more accurate predictions of drug binding affinity, though with a much higher computational cost.”

5) The authors point out to many cases when epistasis is observed but it can be a “trivial” epistasis due to the fact that Kd that determines fraction of free proteins is related to 'G in a non-linear way, see e.g. PMID: 21610162. It might be interesting to outline cases where epistasis is “trivial” and where it is related to effective interactions between mutation sites.

Following the Reviewers advice, we have included a discussion on trivial vs non-trivial epistasis in the Introduction (lines 47-65):

“Epistasis can arise either as a result of direct or indirect interactions between residues resulting in non-additivity in a physical property, such as stability and affinity (non-trivial epistasis), or as a result of a non-linear mapping from sequence to protein function or fitness (trivial epistasis). Trivial epistasis, also known as nonspecific epistasis, effects a much larger number of mutations than nontrivial epistasis, because all mutations that impact a physical property that maps nonlinearly to function or fitness will interact epistaically with one another. Trivial epistasis has been widely studied and observed for mutations that are additive with respect to physical properties including stability, ligand binding affinity, function and folding (Gong et al.,2013; Bloom et al., 2010; McKeown et al., 2014; Lunzer et al., 2005).

Non-trivial (or specific) epistasis, impacts a smaller number of mutations as it requires direct or indirect interactions between amino acid side chains (Dickinson et al., 2013; Pantoliano et al., 1989; Olson et al., 2014) or ligand (Adams et al., 2019; Anderson et al. 2015) or a dependence of one mutation on a structural change caused by another (Ortlund et al., 2007; Dellus-Gur et al., 2015). Non-trivial epistasis is therefore associated with stronger evolutionary constraints, historical contingency and lower reversibility of substitutions in evolutionary trajectories. Here, we are explicitly considering mutations interacting via non-trivial epistasis, where their interactions result in non-additivity in drug binding affinity. However, our fitness function maps binding affinity to fitness nonlinearly, and so epistasis may also arise at the fitness level in our simulations of evolutionary trajectories, but we do not investigate this further.”

Reviewer #3 (Recommendations for the authors):

Major points and suggestions:

1. The comparison between the computational results and previous studies is done in a case-by-case manner. This is certainly informative. But it is somewhat dissatisfactory that a single summary metric (or a small number of them) is not provided as an overall performance measure of the computational method.

To summarise the overall performance of the computational method, we calculated the intersection between the top pathways predicted by our model and those predicted by Lozovosky et al., 2009, and the average overlap, calculated by taking the average of the intersect for all depths, thus weighting the top ranks higher.

The overall intersect between the top 10 PfDHFR pathways predicted by our model and the pathways predicted by Lozovosky et al., 2009 is 0.6 and the average overlap is 0.687.

The overall intersect between the top 4 PvDHFR pathways predicted by our model and the pathways predicted by Jiang et al. 2013 is 0.75 and the average overlap is 0.604.

These metrics of the overall performance of the model have been added to the Results section.

2. The presentation will benefit hugely if a fitness graph (based on hypercube representations, see for e.g. de Visser and Krug 2014, Figure 1c) is provided based on the free-energy change estimates from the computational method.

We thank the Reviewer for the suggestion, we have added a fitness hypercube figure to the Appendix.

[Editors’ note: what follows is the authors’ response to the second round of review.]

The manuscript has been improved, but some remaining issues must be addressed, as outlined below. Following the submission of their respective reviews, we discussed with the reviewers, and the consensus is that the two significant points that follow remain problematic. Overall, the reviewers are excited about the development of computational tools to predict resistance. Still, at the same time, there remain major concerns about the actual data and model used to make predictions.

1) As raised by one of the reviewers in the initial review process, the RosettaFoldDDG poorly matches experimentally measured parameters. You now include a measure of correlation that confirms this poor accuracy. It, therefore, remains challenging to understand how the methods would work if the predicted measures do not reflect actual physical parameters. The reviewers would minimally require that the predictions of binding affinities are validated using alternative methods (computational or experimental).

We do not agree that the predictions poorly match experimental parameters. We observed a correlation of 0.611 between the Rosetta Flex ddG and experimental data with a p-value of 0.04. That is very similar to the correlation reported by Aldeghi et al. 2018 and 2019 (the observed maximum correlation of 0.67 depending on the scoring function used) when testing Flex ddG against experimental data and is comparable to the performance of molecular dynamics and mCSM-lig, all accepted and frequently-used methods for computationally predicting ligand binding affinity. Of course, the predictions could be improved, however these are the tools that are currently the best available.

2) One of the papers that are cited (2016 PNAS) to support the work actually shows that resistance, at least in bacteria, is very poorly predicted from the same parameters used here when considering a full fitness model. It would therefore be necessary that the authors use a fitness model to show that binding affinities are indeed predictive of resistance or that the values that are predicted using RosettaFoldDDG are indeed predictive.

We apologise if it had appeared that we had misunderstood the paper. We had concentrated on the final Results section of that paper that states “changes in the ability to escape drug (Ki) are they key determinants of drug resistance, especially at later stages of evolution (double and triple mutants), because variations in protein abundance are comparably smaller.” Therefore, while the main message of the paper may be that the best predictions are achieved using a full fitness model, the suggestion is that when protein abundance variation is low, then binding affinity becomes the most important parameter. We have clarified this in our paper. Furthermore, we do not claim that binding affinities on their own are fully predictive of resistance and we mention several times in the paper that resistance is a result of a trade-off between many parameters, however despite this we are able to achieve good agreement with experimentally determined stepwise evolutionary pathways to resistance when only considering binding affinity. Whilst we agree that a full fitness model would provide better predictions than our model, the purpose of our work is to see how well we can predict evolution using existing computational tools to parameterise the fitness model (i.e. creating a fully computational predictive model without the need for any wet lab experiments). As far as we are aware, it is not yet possible to computationally predict the other parameters required for the full fitness model, whereas prediction tools are available for drug binding affinity. The agreement we observe despite the simplicity of our model suggests that, in some cases at least, determining changes in binding affinity may be sufficient to predict at least the most likely evolutionary pathways to resistance.

Reviewer #2 (Recommendations for the authors):

The authors addressed many editorial concerns raised by all reviewers.

I am still of the opinion that the premise of the study – to use biophysical model to explore evolutionary dynamics of resistant variants – is worthwhile and timely.

We would like to thank the reviewer for acknowledging that the premise of our work is worthwhile and timely.

Nevertheless, my two most important essential concerns have not been addressed adequately making me question the technical validity of the study.

1) The authors completely misrepresent the key conclusion of the study of Rodrigues ate al 2016 PNAS. They suggest that Rodrigues et al. claimed that inhibitor binding to DHFR is the most important and predictive biophysical trait that determines fitness and more specifically IC50. In fact, the direct opposite is true – Fig, S8 of Rodrigues et al. showed that binding affinity to antibiotic is THE LEAST predictive of IC50 biophysical property and that there is no statistically significant correlation between Ki alone and IC50 for many variants and conditions explored in the 2016 Rodrigues at al PNAS. Essentially these authors showed that ignoring the effect of mutations on catalytic activity and proteins stability/abundance completely eliminates the predictive power of the biophysical model. This is the key conclusion of the 2016 paper which is completely misinterpreted in the present work. The authors of course may disagree with the conclusions of the 2016 study but in this case, they MUST present evidence of the validity of their simplified, naive biophysical model.

We apologise if it appeared that we had misinterpreted the main conclusions of the 2016 Rodrigues PNAS paper, we were focussing on the last Results section of the paper in which it states Ki is the most important factor, especially at later stages of evolution when variations in protein abundance are small. We agree that accounting for all of the biophysical properties would produce a better model, and we state this in the manuscript. However, we chose to use a model that only considers changes in binding affinity because there are existing computational methods to predict these values, whereas as far as we are aware, there are not any purely computational methods to predict the other biophysical properties. Of course, if more computational tools become available, we would incorporate as many biophysical properties as possible into the model, but for the method to be purely computational, we can only use predictions of binding affinity at this time. The principal purpose of our work is to see how well we can predict stepwise evolutionary pathways to resistance by using computational methods only, and so create a predictive method that is efficient and accessible. We would argue that the fact that pathways to resistance predicted by our simple model that only uses predictions of binding affinity agrees well with experimentally determined evolutionary pathways is evidence of the validity of using our simplified biophysical model. We have expanded on this and have included further discussion in our paper of the limitations of our model as well as highlighting that there are situations in which it may not be applicable.

2) Table 1 still shows that there is no relationship between ddG predictions and reality and the authors themselves admit that the correlation is not statistically significant. Their justification of using Rosetta that there is no other method that provides prediction of binding affinities is both incorrect and disingenuous. Using such inaccurate predictions of the only parameter in their fitness model makes the approach devoid of predictive power.

We completely disagree with the reviewer’s comments and it is incorrect to say that we admit the correlation is not statistically significant. As we report in the Results, the correlation between ddG predictions and the experimental data is 0.611, which is comparable to correlations in the literature (Aldeghi et al. 2018 and 2019, Pires et al. 2016) and it is statistically significant with a p-value of 0.04, which is significant in the 95% confidence interval.

We are confused why the Reviewer says it is ‘incorrect and disingenuous’ to claim there are no other methods to predict binding affinity. To clarify, we mean computational predictions of binding affinity, and as far as we are aware the currently available methods for predicting ligand binding affinity changes upon mutation are the machine learning tool mCSM-lig, Rosetta Flex ddG and molecular dynamics, which we mention in the manuscript. Rosetta Flex ddG performs comparably to all the other computational methods. We would be interested to know of the other available tools the Reviewer is referring to as they would be useful to our work. We also disagree our approach is ‘devoid of predictive power’ since our predicted pathways agree well with experimentally determined evolutionary pathways to resistance.

Associated Data

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

    Data Citations

    1. Charlotte ER, Emilia M, Susana C, Taane GC, Nicholas F. 2023. A computational method for predicting the most likely evolutionary trajectories in the stepwise accumulation of resistance mutations. Zenodo. [DOI] [PMC free article] [PubMed]

    Supplementary Materials

    MDAR checklist

    Data Availability Statement

    Code, Rosetta Flex ddG predictions, structural models and isolate mutation frequency data deposited in Zenodo at https://doi.org/10.5281/zenodo.7082168.

    The following dataset was generated:

    Charlotte ER, Emilia M, Susana C, Taane GC, Nicholas F. 2023. A computational method for predicting the most likely evolutionary trajectories in the stepwise accumulation of resistance mutations. Zenodo.


    Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd

    RESOURCES