Abstract
Metabolic fluxes are a cornerstone of cellular physiology that emerge from a complex interplay of enzymes, carriers, and nutrients. The experimental assessment of in vivo intracellular fluxes using stable isotopic tracers is essential if we are to understand metabolic function and regulation. Flux estimation based on 13C or 2H labeling relies on complex simulation and iterative fitting; processes that necessitate a level of expertise that ordinarily preclude the non-expert user. To overcome this, we have developed SUMOFLUX, a methodology that is broadly applicable to the targeted analysis of 13C-metabolic fluxes. By combining surrogate modeling and machine learning, we trained a predictor to specialize in estimating flux ratios from measurable 13C-data. SUMOFLUX targets specific flux features individually, which makes it fast, user-friendly, applicable to experimental design and robust in terms of experimental noise and exchange flux magnitude. Collectively, we predict that SUMOFLUX's properties realistically pave the way to high-throughput flux analyses.
Author Summary
Living cells adapt to ever-changing environments by regulating metabolic fluxes, the rates of nutrient flow through the metabolic network, to produce metabolites that are currently in demand. 13C-labeling techniques coupled with metabolic flux analyses are widely used to estimate metabolic fluxes and provide insights into cellular physiology and adaptation relevant in biological, biomedical and biotechnological applications. However, the existing methods are either computationally costly, or applicable to a limited amount of biological systems. Here, we combined surrogate modeling with machine learning to present SUMOFLUX, a generalized method for 13C flux ratio analysis. We validated our method by resolving canonical flux ratios in eight Escherichia coli mutants with known metabolic phenotypes and estimated a novel flux ratio for this dataset. We demonstrated scalability of SUMOFLUX and its application for experimental design by applying it to a cohort of 121 Bacillus subtilis mutants. SUMOFLUX, alone or in combination with global flux analysis methods, can be applied to resolve flux ratios in virtually any biological setup, and paves the way to high-throughput flux profiling.
This is a PLOS Computational Biology Methods paper.
Introduction
Metabolic fluxes describe the in vivo flow of organic matter through the biochemical reaction network, as defined by enzymes and transporters. An improved knowledge of metabolic fluxes is crucial if we are to understand how cells utilize nutrients, and how they regulate metabolism in the face of dynamic environmental conditions, or in stressed pathologic states [1–4]. Metabolic fluxes, as an emergent property of cellular systems, are prohibitively hard to predict using proteomics or metabolomics data, and are not, per-se, measurable. Hence, the task of assessing metabolic fluxes indirectly represents something of an analytic and mathematic tour-de-force.
The most informative approach to estimate metabolic fluxes involves stable isotope labeling. Cells grown in the presence of 13C-enriched substrates incorporate heavy isotopes throughout their metabolic networks according to carbon fluxes and produce characteristic 13C patterns in metabolites and products. Some of these can be measured by mass spectrometry or nuclear magnetic resonance and can ultimately be used to deduce fluxes using two basic approaches. The first is global isotopomer balancing, which seeks to estimate all metabolic fluxes by iterative fitting [5–10]. The power of this approach is that it integrates all available data simultaneously in order to estimate metabolic fluxes across the entire system. The downside is that this approach is ill suited for high-throughput analyses as it necessitates quantification of all uptake and production rates, and analyzes each sample individually. In addition, the fitting procedure is mathematically cumbersome, and for complex or poorly calculable problems, can require extensive computation time. Finally, troubleshooting heavily relies on expert knowledge [8].
The alternative approach is to use flux ratio analysis, which focuses on the resolution of local fluxes, centered on metabolic nodes of particular interest [11–16]. For this purpose, flux ratio analysis adopts a targeted strategy in which relative (fractional) information on contributions from alternative pathways are calculated from a small subset of 13C-data using predefined analytic formulas. The advantage of this approach is that it is mathematically simple, rapid, well suited for large scale analyses [16], and easily used by the non-expert user. However, this process suffers from the time-consuming procedure of deriving analytic formulas for each flux ratio of interest. These formulas, manually derived for each metabolic network, tracer, and environment, generally incorporate a mix of human intuition together with tacit assumptions regarding flux. Over the past 20 years, only a dozen have been derived to describe the central metabolism of microbes growing on single carbon sources. In practice, most experimental conditions cannot be addressed due to the lack of validated flux ratio predictors. In response to these limitations, automated tools have been developed to estimate flux ratios [17,18], although, thus far, these have been limited to linear cases and consequently have failed to find any broader application.
Here we present SUMOFLUX, a conceptually novel method to analyze, in a targeted fashion, flux ratios based on 13C-data. Our workflow circumvents concerns over the relevance and limitations of flux analyses by exploiting machine learning. A machine learning predictor is trained using in silico 13C-data, generated by surrogate modeling. The combination of surrogate modeling and machine learning permits the rapid estimation of flux ratios for virtually any metabolic network, label configuration, or available measurement. We now illustrate the proposed workflow for both canonical and novel flux ratios for central carbon metabolism. The speed and generality provided by machine learning makes SUMOFLUX particularly useful for optimizing experimental design, selecting metabolites to be measured, and merging data from several experiments. Moreover, we believe that the SUMOFLUX workflow provides a real prospect of high-throughput flux analyses.
Results
Surrogate modeling and the workflow of 13C-flux ratio analysis
In 13C-metabolic flux ratio analysis, the goal is to estimate a flux ratio of interest. Typically, this is a number that indicates the relative fraction of a specific metabolite flowing through a chosen reaction or pathway. Flux ratios are estimated based on a stoichiometric model, knowledge of the 13C-configuration of all of the relevant substrates, and the labeling patterns of metabolites as measured by mass spectrometry (or nuclear magnetic resonance). We formulated the derivation of flux ratio estimates from 13C data as a nonlinear regression task to be solved using machine learning. By definition, the flux ratio of interest is the dependent variable that we aim to predict; measured 13C isotope labeling patterns of intracellular metabolites are the independent variables, or the input features for the algorithm. A random forest predictor [19] is then trained to build a functional relationship between the 13C data and flux ratios using a training dataset. To build a generalized predictor, the training dataset should comprise hundreds, if not thousands of representative examples for which a flux ratio and 13C data are available. Unfortunately, such a dataset is not accessible experimentally. First, because flux estimates are not amenable to direct measurement. Second, in the majority of cases it is impossible to select, or to construct, a cohort of cells with a phenotypic diversity that adequately represents the wide variety of fluxes and flux ratios that might exist. To overcome this fundamental problem, we have used surrogate modeling (hence the term SUMOFLUX). We built, in silico, a synthetic cohort of representative data points. Each data point is defined by a complete set of fluxes that fulfill the stoichiometric constraints of the metabolic network. This allows us to calculate a ratio (or any other derivative value) for the fluxes of interest, and to simulate the 13C-labeling patterns of each metabolite, which is made possible because each flux distribution leads to a unique intracellular labeling pattern [20]. It is therefore possible to construct an in silico dataset comprising thousands of data points, with flux ratios spanning the feasible range, and corresponding metabolite 13C-labeling patterns. The synthetic in silico dataset is used to train, cross-validate, and then test the flux ratio predictor.
The full SUMOFLUX workflow for flux ratio estimation consists of five steps (Fig 1). First, a reference dataset of several thousand flux-maps is sampled from that space of flux-maps that fulfills certain stoichiometric constraints (mass balances) of the metabolic network. Extracellular flux constrains can be further refined by the availability of substrates and a working knowledge of the major secreted products. Second, the 13C-labeling patterns of the metabolites included in the network are simulated independently for each reference data point. Label propagation is simulated using the existing algorithms [9], given the 13C-label of the substrate(s), and the map of the atom transition within the network. At this point, the simulated 13C data, does not, as yet, reflect actual measurements. Third, to capture measurement data, we select only those 13C features that are analytically accessible, and then superimpose noise values corresponding to those measured. Fourth, flux ratios of interest are calculated for all of the data points within the reference dataset, as the dependent variable in regression analyses. Fifth, we divide the reference dataset into independent training and test subsets, using the former to train a random forest with which to predict the calculated flux ratios from simulated 13C data. We then assess the predictor’s performance on the test dataset by calculating the mean absolute error of the predictions made. If the performance is insufficient (e.g. mean absolute error MAE > 0.05), we iteratively optimize our experimental strategy by changing the substrate label, or available measurements, then repeat the training. If the performance is judged to be satisfactory, we finally use the predictor to estimate flux ratios using real experimental data. To provide prediction intervals, we use quantile regression forests, which give a non-parametric and accurate estimates of conditional quantiles based on the full conditional distribution of the dependent variable [21].
The most time consuming aspect of the workflow is the simulation of 13C data in the reference dataset, which scales according to the number of samples and carbon atoms in the metabolites. For the model of central carbon metabolism, with 39 reactions and 21 measured metabolites and fragments (S1 Fig, S1 and S2 Tables), 0.2 seconds are needed to simulate the labeling patterns for a single data point. Using a parallelization technique, this process can be accelerated to simulate the several thousand data points necessary for training and testing within a few minutes. Without parallelization, the simulation procedure for 20,000 data points takes ~1.5 hours, whereas the flux sampling and random forest training steps require less than a minute.
Overall, the SUMOFLUX workflow requires information on the stoichiometry of the metabolic network, and the carbon atom arrangement for all of the metabolites within the network. The choice of 13C-tracer depends on the flux ratio of interest [8,22], but in practice is primarily constrained by commercial availability and costs. Hence, it is quite common to test flux calculability using multiple configurations of tracers [23–25], which can be easily accomplished using the SUMOFLUX workflow due to its rapid computational time. In the following sections, we demonstrate the performance, generality, and scalability of SUMOFLUX, as well as its versatility in terms of feature selection and experimental design.
Analyses of flux ratios for central carbon metabolism
We chose to demonstrate SUMOFLUX by deriving estimates of the flux ratios for central carbon metabolism using the model organism, Escherichia coli. Its metabolic network includes the highly conserved pathways of glycolysis, the tricarboxylic acid (TCA) cycle, and the pentose phosphate pathway (PPP). Furthermore, it includes alternative pathways such as the Entner-Doudoroff pathway and the glyoxylate shunt that conveys additional metabolic elements that might complicate flux estimates. As a reference, we considered the study of glucose metabolism in E. coli as described by flux ratio analyses using manually derived analytic equations [15]. We used our method to estimate five key flux ratios based on the labeling patterns measured by gas chromatography mass spectrometry (GC/MS) of proteinogenic amino acids upon silylation. We then sampled a reference dataset of 60,000 flux distributions using the E. coli central carbon metabolism network (S1 Fig, S1 Table), and simulated the labeling patterns of 21 intracellular metabolites and their fragments (S2 Table), assuming growth on either 100% [1-13C] glucose, or a mix of 20% [U-13C] glucose and 80% naturally labeled glucose.
Several parameters had to be defined prior to predictor training. The performance of the random forest depends on the number of decision trees in the forest (ntree), and the number of input features used at each tree node (mtry). To choose these parameters we used five-fold cross-validation on the training dataset. We tested 16 combinations of ntree and mtry values for the five E. coli flux ratios. The combination of 100 prediction trees (ntree) with 20 mtry features delivered a good balance between predictor accuracy and computation time (S2a Fig). These two parameters were then applied throughout the study. The number of simulated points used for training also influences predictor accuracy and computation time. Our tests demonstrated that ~10,000 simulated points were generally adequate in terms of generating a sufficiently accurate estimate of the key flux ratios in the E. coli dataset; thereafter, any further increase in the number of data points provided no tangible improvement in accuracy (S2b Fig). We took these results into account when extracting the training sets for the predictors (see Materials and Methods for details).
We trained predictors for the five E. coli flux ratios on the simulated training dataset and then assessed their performance on an independent simulated test dataset. In all cases, the mean absolute error was < 0.1 (Fig 2, second column). For comparison, we also applied the analytic formulas manually derived for the E. coli study [15] (S3 Table) to the same simulated test dataset. For all tested flux ratios, SUMOFLUX outperformed the analytic formulas in terms of mean absolute error on the test dataset (Fig 2, fourth column). This possibly reflects the fact that the flux estimates for the test dataset were obtained through sampling of the entire solution space, and do not comply with some of the implicit simplifications and assumptions for the network, fluxes, and reaction reversibility, that are generally used to derive the analytic formulas [15]. For example, in calculating the fraction of oxaloacetate from phosphoenolpyruvate, the flux through the glyoxylate shunt was assumed to be zero, whereas in the test set it possessed a wide range of values (Fig 2e). Furthermore, the analytic formula for estimating the malic enzyme flux ratio provides only a lower bound value (Fig 2d). We also compared flux estimates generated by the two approaches using the real experimental 13C data from this study (Fig 2, third column, and S4 Table); both produced concordant estimates (Pearson correlation coefficient, PCC > 0.89 for all ratios).
To further demonstrate the scalability and generality of SUMOFLUX, we applied the same approach and parameters to estimate four flux ratios using the GC-MS data for amino acids collected for 121 Bacillus subtilis transcription factor mutants grown on a mix of 80% [1-13C] glucose and 20% [U-13C] glucose [16]. Again, the random forest predictor outperformed the analytic formulas for the in silico test dataset (S3 Fig). For three flux ratios, the two approaches provided consistent estimates for the experimental data (PCC > 0.65). However, the malic enzyme ratio could not be resolved with sufficient precision using either method. Presumably, the mix of tracers chosen was poorly suited to this task.
In order to highlight the scope of SUMOFLUX applicability in context of global 13C flux analysis methods, we compared it with the classical 13C-metabolic flux analysis by global isotopomer balancing (13C-MFA) approach, which seeks for a global flux solution that provides the best fit to the experimental data—measured metabolite labeling patterns and physiological parameters. We applied 13C-MFA to the data for the same eight E. coli strains and added glucose uptake rates [15] as an additional input. With INCA [9], we calculated the best flux fit and flux confidence intervals using parameter continuation procedure (S5 Table). SUMOFLUX and 13C-MFA differ in the demand of input information and produce different outcomes (net fluxes vs. flux ratios). To compare, we calculated flux ratios from the net fluxes estimated by 13C-MFA and directly compared to SUMOFLUX results. Confidence intervals on flux ratios for 13C-MFA were obtained by repeating the optimization procedure 1000 times for each strain. Because it employs less input data, SUMOFLUX is expected to be worse than 13C-MFA. In general, however, the flux ratio estimates obtained with the two methods were in good agreement (PCC>0.83 for all ratios calculated for the best fit to either [1-13C] data, [U-13C] data, or combined dataset, S4 Fig). Surprisingly, in several cases the confidence intervals of 13C-MFA flux ratio estimates were much larger than the prediction quantiles of SUMOFLUX and the accuracy of flux ratio estimates depended on the experimental dataset used for the fitting, perhaps pointing to the presence of inconsistent or overly noisy data that decrease the precision of 13C-MFA estimates. This example illustrates the complementarity of the two approaches. 13C-MFA provides global flux solutions, but in some cases the targeted approach performs better in resolving local fluxes.
Collectively, the E. coli and B. subtilis results demonstrate that SUMOFLUX is broadly applicable to real experimental data with an accuracy that is comparable, if not better, than that of manually derived formulas. Even though there is no guarantee that a specific flux ratio can be accurately estimated for a given metabolic network, tracer, or experimental data, SUMOFLUX does allow for rapid verification and ad-hoc experimental design. Beyond the speed and ease with which predictors can be generated for calculating metabolic flux ratios from 13C data, SUMOFLUX offers the additional benefits of robust prediction, the option to vary and optimize experimental design, and the estimation of novel ratios that we explore in the next sections.
SUMOFLUX is robust in terms of experimental noise and reversible reactions
Excessive measurement noise and underestimates of exchange flux of bidirectional reactions are two frequent causes of inaccurate flux estimates. We set out to assess their influence on SUMOFLUX by performing an in silico experiment using E. coli, varying the values of the superimposed measurement noise by up to 0.10, i.e. 10-fold higher than that routinely obtained with careful peak integration. We also used exchange flux values of up to 100-fold that of the net flux value, i.e. a model approximation of full equilibration of the reactants. To exclude potential prediction accuracy differences arising from different training and test datasets, we used one set of flux vectors, divided into training and test subsets. Addition of four different noise levels and variation of four exchange flux magnitude values resulted in 16 datasets, which differ only in these two parameters. We again trained the predictors for each of the datasets using the training subset and calculated the mean absolute error (MAE) on an independent test subset. As a rule of thumb, we consider a ratio to be accurately predictable if the MAE < 0.05. This criterion was met by the Entner-Doudoroff, glycolysis/PPP, and anaplerosis ratio predictors, within the normal ranges for noise (~ 0.01) and exchange flux (~10 times the net flux value) (Fig 3a). The other two tested predictors were less precise, and are better suited to the analysis of substantial flux changes. Alternatively, different tracers and measurement techniques could be tested, as outlined below, to achieve more accurate analyses. We also performed robustness analyses of the analytic equations, and found that only the formula for the Entner-Doudoroff pathway was sufficiently robust in terms of noise and flux exchange that were within the normal ranges (S5 Fig). The remaining four formulas were either extremely sensitive to noise (gluconeogenesis ratio), or were poorly suited to the entire range of flux maps.
Another important aspect that can be assessed with this type of analysis is to what extent erroneous assumptions in the training dataset affect the accuracy of the flux estimates in the test dataset. We used the simulated data described above to test the effects of noise and exchange flux magnitude values separately. First, we fixed the exchange flux magnitude to 1, and calculated the accuracy of the flux ratio predictors trained and tested on 16 combinations of train and test subsets with the four independently added noise levels. Notably, we observed that for all ratios underestimating the level of noise in the data was detrimental for the flux ratio prediction accuracies. On the contrary, overestimating the noise in the training data resulted in better flux estimates in the less noisy test datasets compared to the test data with the same levels of noise as in training (Fig 3b). In practice, it is always desirable to only superimpose a realistic level of noise to in silico data, as the addition of noise inevitably decreases the prediction accuracy. However, it is advisable to adopt a conservative over-estimate noise to avoid overfitting.
Adequate magnitude of exchange fluxes appears to be even more important for predictor accuracy. We observed that both under- and over-estimated exchange flux magnitude values resulted in lower accuracy compared to the accuracy on the test dataset corresponding to the training (Fig 3c, diagonal values). Remarkably, in these simulated datasets we set one exchange value as upper bound for all reversible fluxes in the model, which presumably has a greater effect on prediction accuracy than an exchange flux magnitude of a single reaction. In biological systems, we expect large differences in the reversible flux magnitudes of different enzymes, and it is beneficial to include this information in the model, when available.
One way to control whether the simulated data used for training and testing adequately represents the experimental data, is to compare the distributions of inter-quantile ranges of the flux ratio estimates for the experimental data to the ones of the test data. In our examples, the distributions of the inter-quantile ranges of the flux estimates for under-estimated noise or inappropriately estimated exchange flux estimates were significantly different (p<0.01, Wilcoxon-Mann-Whitney test, S6 Fig). In practice, it is advisable to compare the inter-quantile range distributions of the flux ratio predictions for in silico and experimental data, although statistical tests should be used with caution due to very different sample sizes.
In summary, SUMOFLUX provides flux ratio predictors that are generally robust to noise and exchange fluxes, both of which are major confounding factors in labeling experiments. This robustness is dependent on flux ratio, labeling strategy, and the available measurements used for prediction, and can easily be assessed, if required, in each particular case.
Estimation of a novel flux ratio for the glyoxylate shunt
The glyoxylate shunt plays an essential role in bacterial adaptation to alternative carbon sources, such as acetate and fatty acids, as it replenishes the TCA cycle with C2 carbon fragments. Hence, this pathway has an important anaplerotic function besides phosphoenolpyruvate carboxylase. No analytic formulas were developed to resolve the relative contribution of the glyoxylate shunt due to the complexity of carbon rearrangement at this branch point, the additional complication introduced by multiple cycling in the TCA cycle, and the similarity of the labeling patterns of the relevant metabolites. Here, we opted to tentatively resolve this pathway using SUMOFLUX, and the 13C-data available from GC-MS analyses of protein-bound amino acids in E. coli [15]. Using the same simulated dataset described above, we trained two more predictors to estimate flux contributions to the formation of oxaloacetate, one derived from the glyoxylate shunt, and the other, from the TCA cycle (Fig 4a). The accuracy of the predictors achieved for the in silico test dataset was acceptable (MAE < 0.07) (Fig 4b and 4c). Collectively, these two novel ratio predictors, and the one previously trained to estimate the anaplerotic reaction from phosphoenolpyruvate to oxaloacetate (Fig 2e), allowed us to comprehensively assess the metabolic source of oxaloacetate. The prediction intervals of the estimates for the experimental data were in the range of 10% due to the difficulty of precisely resolving the glyoxylate shunt based on the available data. Nevertheless, the estimated values reflect those expected from the literature. Specifically, the differences between strains were consistent with their genotype (Fig 4d, S7 Fig, S6 Table). The estimated glyoxylate shunt contribution for wild type bacteria was 16 ± 10%, with the highest glyoxylate shunt ratio (32 ± 15%) estimated for the Δpgi mutant, which is consistent with other studies [26,27]. In contrast, both the double Δmdh Δsdh mutant and the ΔfumA mutant, in which the pathway from succinate to malate is disrupted, had an almost zero glyoxylate shunt and TCA cycle activity, with the major contribution to the oxaloacetate pool being the flux derived from phosphoenolpyruvate. The Δzwf mutant, with a compromised oxidative pentose phosphate pathway, exhibited the highest fraction for the TCA cycle flux (49 ± 18%), which reflects a compensatory response to ensure NADPH equilibrium via isocitrate dehydrogenase [26]. The glyoxylate shunt example shows how novel quantitative flux predictors can be rapidly generated using our approach.
Experimental design
In the context of metabolic analyses, a priori experimental design aims at identifying the best settings from simulated data with which to accurately estimate the fluxes of interest. In global isotopomer balancing and fitting, numerical simulations have been frequently used to optimize tracer selection for one specific flux state, e.g. that of an unperturbed wild-type strain [23–25]. In targeted flux ratio analysis with manually derived analytic equations, simulation-assisted experimental design is not possible, as each equation is formulated for a specific experimental condition chosen by the researcher, and no simulation procedure is employed to assess its accuracy. In contrast, the speed and simplicity of SUMOFLUX facilitates the rapid testing of altered metabolic models, tracer choices, or data sets for the derivation of a flux ratio of interest. This enables us to systematically, yet rapidly, identify the optimal experimental strategy from those available.
We demonstrated this feature of SUMOFLUX by testing different settings for the B. subtilis labeling experiment. Using the same reference flux dataset as above, we simulated the 13C metabolite labeling patterns for eight different glucose-labeling strategies. For each label, we simulated the measurements that could be obtained using four different measurement techniques: GC-MS analyses of amino acids, liquid chromatography LC–MS of intact intracellular metabolites, LC-MS/MS analyses of intact metabolites and their fragments [28] (S7 Table), and all individual MS/MS traces used in multiple reaction monitoring of metabolites (S8 Table). For each of the 32 experimental setups, we rapidly trained random forest predictors for the malic enzyme, gluconeogenesis, and glycolysis/PPP flux ratios, and assessed their performance in silico on the test dataset. To compensate for the different number of features, and avoid over-fitting, we introduced a feature selection procedure using cross-validation on the training dataset prior to training (see Materials and Methods for details). As expected, flux calculability depends on the flux ratio of interest, the tracer, and the measurement platform (Fig 5). For the malic enzyme and glycolysis ratios, LC-based methods are preferable to GC-MS. Tracers such as [6-13C], [5,6-13C], or [4,5,6-13C] glucose offer the best overall accuracy (MAE < 0.05). Any of these tracers could be selected to quantify the three flux ratios in a single experiment. For specific flux ratios, the average error was reduced to about MAE 0.02–0.03 by selecting specific tracers. However, when taking into account the cost of tracers, a labeling experiment using 50% [U-13C] and 50% naturally labeled glucose might be seen as a compromise between prediction accuracy and cost. This analysis underlines the ease with which an experimental design, targeted to address specific biological questions, can be implemented using the SUMOFLUX workflow.
Discussion
We have developed a generalized method for targeted analysis of 13C metabolic flux ratios, that builds on surrogate modeling (SUMOFLUX), i.e. uses a synthetic dataset to train a machine learning predictor to estimate a given flux ratio directly from 13C-data. Synthetic datasets are constructed in silico on the sole basis of four easily accessible inputs: a stoichiometric model of metabolism, a list of possible metabolic substrates and their byproducts, a configuration of the 13C-substrate, and a list of measurable metabolites with measurement error. These inputs are sufficient to generate a representative synthetic dataset covering a broad range of fluxes and flux ratios. A random forest predictor is then trained on this dataset to capture the relationship between simulated 13C-data and the flux ratio of interest, that holds true for all of the simulated data points. Therefore, the same predictor can be used to estimate flux ratios for normal cells, as well as for knock-out mutants without the need for additional information on physiological parameters or their uptake/consumption rates. Due to the fact that the SUMOFLUX predictor targets only a single flux ratio at a time, it is very efficient in assessing calculability and eventually estimating flux values from real data. This feature is particularly relevant when tackling complex fluxes [29,30], as dozens of different experimental designs can be trialed within a few hours. If necessary, measurement data from parallel experiments using different 13C tracers can be combined and passed as input features into the SUMOFLUX workflow. This approach has been proven to improve flux estimates in certain cases [31,32]. The surrogate modeling of cells grown in rich media with multiple substrates is made possible because carbon labeling experiments can be simulated for large or even genome-wide networks [33], inclusive of all the key metabolic pathways. Overall, SUMOFLUX is generally applicable to virtually any combination of metabolic model (organism), medium composition, isotopic tracer, or measurement technique.
The crucial step in SUMOFLUX is the construction of the synthetic data used for predictor training. To obtain representative data, it is extremely important that the surrogate model be based on realistic assumptions of the metabolic network and experimental measurement accuracy. Prior knowledge can be integrated into the sampling procedure to limit the space of flux distributions and potentially improve the predictor’s performance. Network simplification and constraining bear some risks. The metabolic model should encode all possible metabolic reactions such that 13C-patterns can be correctly assigned to the underlying flux states. If a reaction is omitted from the surrogate model, the predictor will provide biased estimates. Although the omission of reactions from a model leads to better accuracy in silico, that step would only be justified if the reaction was proven to be inactive under all conditions tested, e.g. by biochemical assay or enzyme quantification. Unless such information is available, it is recommended that all reactions be included in the model in order to achieve robust predictor training. For similar reasons, it is equally important to provide a real-life or conservative error model of the measurement data. According to in silico testing, overestimating noise in the simulated dataset does not lead to overestimating predictor’s accuracy, on the contrary to underestimating noise. In our experience, a valid sanity check is to verify that the simulated data distribution covers the measured mass isotopomer fractions by comparing the distributions of simulated and experimental data. Another indicator of potential discrepancies between the simulated and experimental data is the difference between the distributions of inter-quantile ranges of the flux ratio predictions, which can be tested with a nonparametric test, such as Wilcoxon-Mann-Whitney. With these simple procedures, errors in the metabolic model, substrate composition, or experimental measurement can be detected.
Targeted flux ratio analysis using SUMOFLUX is best suited to the assessment of flux ratio to a high accuracy, on selected metabolic nodes, or when mid to large throughput is necessary. High-throughput is made possible by the speed of the approach and by the fact that only 13C-data are required. Once trained, the predictor can be applied to estimate flux ratios for all tested samples simultaneously. A further optimization of experimental measurement time can be explored by including feature selection during training to identify the most informative as well as negligible 13C-features. SUMOFLUX complements the alternative global isotopomer balancing and iterative fitting method (13C-MFA), which requires measurements of uptake/consumption rates, and more detailed analyses of each dataset, but provides net flux estimates for all reactions in the model. Our short comparison with the data of 8 E. coli strains demonstrated that the two approach deliver consistent flux ratio estimates. In some instances, the confidence of SUMOFLUX estimates was better. Hence, it could be used before 13C-MFA to increase its performance. In this case, multiple flux ratios could be estimated independently to obtain experimental information on different degrees of freedom prior to applying global 13C flux analysis methods [34].
In principle, the concept of SUMOFLUX can be extended to isotopically non-stationary data. The simulation of dynamic 13C-data can be completed with the inclusion of metabolite concentrations in the sampling procedure with simulation of 13C dynamics at predefined time points to be matched in the experiment. The training of flux predictors from isotopically non-stationary data can use the same procedure outlined for stationary data, even though it is substantially more demanding because of the requirement to sample an increased number of degrees of freedom and measurable labeling features. However, it must be stressed that non-stationary labeling experiments are much more labor-intensive and data demanding, and can be performed only at low throughput [35]. For practical reasons, the traditional approach of flux estimation by both global [35,36] or local [37] iterative fitting is better suited to the analysis of small-scale non-stationary labeling experiments.
Overall, the concepts underlying the proposed SUMOFLUX workflow are easily transferrable and can be applied alone, or in combination with other methods, to address different flux analyses questions. We believe that SUMOFLUX has the potential to become a core tool in the analysis of metabolic fluxes, and opens new possibilities for high-throughput flux profiling of a wide variety of metabolic systems.
Materials and methods
Network construction
Metabolic network with carbon atom transitions and the lists of input and output metabolites are defined by the user and are represented in the mat-file format required by the INCA software [9]. In order to reduce the dependency on the biomass vector coefficients, a separate output flux is defined for each of the biomass precursors, therefore biomass precursors are also added to the list of outputs. The substrates are defined as unbalanced compounds and do not participate in the stoichiometric equation system.
Flux sampling and ratio calculation
In the flux sampling procedure, the definitions of net, exchange, forward and backward fluxes are used [38]. By default, the lower and upper bounds for reversible reactions are set to [-100 100], for irreversible reactions to [0 100], and the major uptake flux is set to 10. First, the initial net flux solution is found by minimizing the sum of squared fluxes with stoichiometric constraints, inequality constraints on the output fluxes, and flux bounds using the MATLAB solver fmincon. Second, a cohort of net flux vectors is generated with Monte Carlo sampling by adding linear combinations of null vectors of the stoichiometric matrix with random coefficients to the initial flux solution. Third, for each net flux, an exchange flux value is randomly generated in the order of magnitude relative to the net flux defined by the user (by default 1), and forward and backward flux values are calculated accordingly. Optionally, to achieve uniform coverage of values for a particular flux ratio or set of ratios, the ratio range is split into segments (for example, [0 0.1], [0.1 0.2]… [0.9 1]), and the flux sampling procedure is repeated for each segment with the end points set as flux ratio constraints in the first step. The flux ratio of interest is calculated for each of the flux vectors with a formula defined by the user.
13C labeling patterns simulation and measured data simulation
Given the label of the substrate(s) and the list of metabolites and fragments, metabolite labeling patterns are simulated for each flux solution using the INCA software [9]. The INCA ‘simulate’ procedure is integrated into the SUMOFLUX workflow and is called internally for each of the sampled flux vectors. In case parallel computing is available, this procedure is parallelized.
The measurement data is simulated by extracting the measured compounds from the simulated data matrix and adding uniform noise to the measurements (0.01 by default). After adding noise, the mass distribution vectors for each metabolite are normalized.
Prediction procedures
Preparing the training and test samples and building the predictor
For each prediction task, a subset of data points is extracted from the entire simulated dataset to ensure that the dependent variable (flux ratio of interest) is uniformly distributed on the feasible range. The flux ratio values of the whole dataset are binned into segments (for example, [0 0.1], [0.1 0.2] … [0.9 1]), and from each bin an equal amount of samples is drawn without replacement. This simulated subset is randomly divided in proportion 2:1 to form the training and test subsets. The MATLAB randomforest package (https://code.google.com/archive/p/randomforest-matlab/) modified to perform quantile regression [21] is used to build the predictor. The regRF_train function is called with ntree trees and mtry variables for the node split (by default, ntree = 100 and mtry = 20) to train the predictor on the training dataset. The predictor’s estimates on the test dataset are obtained with the function regRF_predict, and the performance is assessed by calculating the mean absolute error between the estimates and the known simulated flux ratio values.
Cross-validation procedure
The five-fold cross-validation procedure is performed in the following way: the training dataset is randomly divided into five parts of equal size. One of the parts is the validation subset and is used to assess the predictor performance, whereas the other four are used to train the predictor with a certain set of parameters. The procedure is repeated until all subsets were used as validation subsets once, and the error is averaged across all the subsets.
Prediction quantile calculation
The prediction quantile calculation is based on the quantile regression forest algorithm [21]. To calculate prediction quantiles for a new data point, regRF_predict function is called with extra_options parameters (extra_options.predict_all = true, extra_options.nodes = 1). For each tree in the forest, the terminal node where the new data point propagated is recorded. The same procedure is repeated for all data points in the training dataset. For each data point in the training dataset, a weight is calculated based on how many times this data point and the new data point propagated to the same terminal node. The data points in the training dataset are sorted by the value of the dependent variable (flux ratio of interest), and the weights cumulative function is calculated. This function is used to estimate the prediction median (50%-quantile) and to report the [10% 90%] prediction interval.
Feature selection
If the number of features (measured labeling patterns) is large, the predictor’s performance on the test dataset might decrease due to overfitting to the training dataset. To reduce the chance of overfitting, feature selection is performed using the cross-validation procedure. First, the predictor is trained based on all available features, and its performance is assessed with cross-validation. Second, the features are ranked according to the feature importance value calculated during training by regRF_train function. Third, the predictor is trained based on [50%, 25%, 10%, 5%] of the most important features. The mean absolute error is calculated with cross-validation. The percentage of features with the smallest MAE is selected for the further training.
Noise and exchange flux magnitude sensitivity analysis
To assess the sensitivity of the flux ratio predictors to noise and exchange flux magnitude, a set of 60’000 net fluxes was sampled, and the exchange flux values were randomly generated using each of the tested parameters as the upper bound: [0.1 1 10 100]. Isotope labeling was simulated for each of the four flux datasets as described previously. For each dataset, random noise was added using each of the tested parameters as the upper bound: [0 0.01 0.05 0.1]. The same separation into training and test subsets was used for all 16 simulated datasets. The training and testing was performed on the subsets with matching parameters. To assess the effect of the mismatched training and testing parameters, datasets with fixed noise level (0.01) and four different exchange flux magnitude values, or datasets with fixed exchange flux magnitude (1) and four different noise levels were used. The inter-quantile range distributions of the testing datasets were compared using right-tailed Wilcoxon-Mann-Whitney rank sum test (ranksum function in MATLAB).
13C Metabolic flux analysis (MFA)
13C-MFA was performed with INCA software [9] in MATLAB 2013a (MathWorks Inc). The measured labeling data and glucose uptake rates [15] were used as inputs to the model. Three sets of data were used to constrain the model: the data from [1-13C] experiment only, the data from [U-13C] experiment only, and the combined dataset from both experiments. Each experimental strain was analyzed separately. Best fit flux solution and 95% flux confidence intervals were calculated with the parameter continuation procedure (‘continuate’). The [10% 90%] quantiles of the flux ratio distributions were estimated from the 1000 solutions found with the optimization procedure (‘estimate’) for each experimental strain.
Experimental data
Experimental data for E. coli and B. subtilis central carbon metabolism studies were downloaded from the supplementary materials available for the corresponding papers [15,16].
Code availability
MATLAB code for SUMOFLUX and example scripts are available at http://www.imsb.ethz.ch/research/zamboni/resources.html All scripts are compatible with MATLAB 2013a (MathWorks Inc).
Supporting Information
Data Availability
MATLAB code for SUMOFLUX and example scripts are available at http://www.imsb.ethz.ch/research/zamboni/resources.html
Funding Statement
This work was funded by the Swiss National Science Foundation (Sinergia Grant CRSII3-147637) and by the ETH Zurich. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1.Fendt SM, Bell EL, Keibler MA, Olenchock BA, Mayers JR, et al. (2013) Reductive glutamine metabolism is a function of the α-ketoglutarate to citrate ratio in cells. Nature Communications 4: 2236–2236. 10.1038/ncomms3236 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Guzmán S, Marin S, Miranda A, Selivanov VA, Centelles JJ, et al. (2014) 13 C metabolic flux analysis shows that resistin impairs the metabolic response to insulin in L6E9 myotubes. BMC Systems biology 8: 1–12. 10.1186/s12918-014-0109-z [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Yang C, Ko B, Hensley Christopher T, Jiang L, Wasti Ajla T, et al. (2014) Glutamine oxidation maintains the TCA cycle and cell survival during impaired mitochondrial pyruvate transport. Molecular Cell 56: 414–424. 10.1016/j.molcel.2014.09.025 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Colijn C, Brandes A, Zucker J, Lun DS, Weiner B, et al. (2009) Interpreting expression data with metabolic flux models: predicting Mycobacterium tuberculosis mycolic acid production. PLoS Computational Biology 5: e1000489–e1000489. 10.1371/journal.pcbi.1000489 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Wiechert W, Möllney M, Petersen S, de Graaf AA (2001) A universal framework for 13C metabolic flux analysis. Metabolic Engineering 3: 265–283. 10.1006/mben.2001.0188 [DOI] [PubMed] [Google Scholar]
- 6.Antoniewicz MR, Kelleher JK, Stephanopoulos G (2007) Elementary metabolite units (EMU): a novel framework for modeling isotopic distributions. Metabolic Engineering 9: 68–86. 10.1016/j.ymben.2006.09.001 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Quek LE, Wittmann C, Nielsen LK, Krömer JO (2009) OpenFLUX: efficient modelling software for 13C-based metabolic flux analysis. Microbial cell factories 8: 25–25. 10.1186/1475-2859-8-25 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Zamboni N, Fendt SM, Rühl M, Sauer U (2009) 13C-based metabolic flux analysis. Nature Protocols 4: 878–892. 10.1038/nprot.2009.58 [DOI] [PubMed] [Google Scholar]
- 9.Young JD (2014) INCA: a computational platform for isotopically non-stationary metabolic flux analysis. Bioinformatics 30: 1333–1335. 10.1093/bioinformatics/btu015 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Weitzel M, Nöh K, Dalman T, Niedenführ S, Stute B, et al. (2013) 13CFLUX2—high-performance software suite for 13C-metabolic flux analysis. Bioinformatics 29: 143–145. 10.1093/bioinformatics/bts646 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Mancuso A, Sharfstein ST, Tucker SN, Clark DS, Blanch HW (1994) Examination of primary metabolic pathways in a murine hybridoma with carbon-13 nuclear magnetic resonance spectroscopy. Biotechnology and Bioengineering 44: 563–585. 10.1002/bit.260440504 [DOI] [PubMed] [Google Scholar]
- 12.Sauer U, Lasko DR, Fiaux J, Hochuli M, Glaser R, et al. (1999) Metabolic flux ratio analysis of genetic and environmental modulations of Escherichia coli central carbon metabolism. Journal of Bacteriology 181: 6679–6688. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Szyperski T, Glaser RW, Hochuli M, Fiaux J, Sauer U, et al. (1999) Bioreaction network topology and metabolic flux ratio analysis by biosynthetic fractional 13C labeling and two-dimensional NMR spectroscopy. Metabolic Engineering 1: 189–197. 10.1006/mben.1999.0116 [DOI] [PubMed] [Google Scholar]
- 14.Emmerling M, Dauner M, Ponti A, Hochuli M, Szyperski T, et al. (2002) Metabolic flux responses to pyruvate kinase knockout in Escherichia coli. Journal of Bacteriology 184: 152–164. 10.1128/JB.184.1.152-164.2002 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Fischer E, Sauer U (2003) Metabolic flux profiling of Escherichia coli mutants in central carbon metabolism using GC-MS. European Journal of Biochemistry 270: 880–891. 10.1046/j.1432-1033.2003.03448.x [DOI] [PubMed] [Google Scholar]
- 16.Fischer E, Sauer U (2005) Large-scale in vivo flux analysis shows rigidity and suboptimal performance of Bacillus subtilis metabolism. Nature Genetics 37: 636–640. 10.1038/ng1555 [DOI] [PubMed] [Google Scholar]
- 17.Zamboni N, Fischer E, Sauer U (2005) FiatFlux—a software for metabolic flux analysis from 13C-glucose experiments. BMC Bioinformatics 6: 209–209. 10.1186/1471-2105-6-209 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Rantanen A, Rousu J, Jouhten P, Zamboni N, Maaheimo H, et al. (2008) An analytic and systematic framework for estimating metabolic flux ratios from 13C tracer experiments. BMC Bioinformatics 9: 266–266. 10.1186/1471-2105-9-266 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Breiman L (2001) Random forests. Machine Learning 45: 5–32. 10.1023/A:1010933404324 [DOI] [Google Scholar]
- 20.Wiechert W, Möllney M, Isermann N, Wurzel M, de Graaf AA (1999) Bidirectional reaction steps in metabolic networks: III. Explicit solution and analysis of isotopomer labeling systems. Biotechnology and Bioengineering 66: 69–85. [DOI] [PubMed] [Google Scholar]
- 21.Meinshausen N (2006) Quantile Regression Forests. Journal of Machine Learning Research 7: 983–999. [Google Scholar]
- 22.Buescher JM, Antoniewicz MR, Boros LG, Burgess SC, Brunengraber H, et al. (2015) A roadmap for interpreting 13C metabolite labeling patterns from cells. Current opinion in biotechnology 34: 189–201. 10.1016/j.copbio.2015.02.003 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Möllney M, Wiechert W, Kownatzki D, de Graaf AA (1999) Bidirectional reaction steps in metabolic networks: IV. Optimal design of isotopomer labeling experiments. Biotechnology and Bioengineering 66: 86–103. [DOI] [PubMed] [Google Scholar]
- 24.Crown SB, Ahn WS, Antoniewicz MR (2012) Rational design of 13C-labeling experiments for metabolic flux analysis in mammalian cells. BMC Systems biology 6: 43–43. 10.1186/1752-0509-6-43 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Millard P, Sokol S, Letisse F, Portais JC (2014) IsoDesign: A software for optimizing the design of 13C-metabolic flux analysis experiments. Biotechnology and Bioengineering 111: 202–208. 10.1002/bit.24997 [DOI] [PubMed] [Google Scholar]
- 26.Hua Q, Yang C, Baba T, Mori H, Shimizu K (2003) Responses of the central metabolism in Escherichia coli to phosphoglucose isomerase and glucose-6-phosphate dehydrogenase knockouts. Journal of Bacteriology 185: 7053–7067. 10.1128/JB.185.24.7053-7067.2003 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Toya Y, Ishii N, Nakahigashi K, Hirasawa T, Soga T, et al. (2010) 13C-metabolic flux analysis for batch culture of Escherichia coli and its Pyk and Pgi gene knockout mutants based on mass isotopomer distribution of intracellular metabolites. Biotechnology progress 26: 975–992. 10.1002/btpr.420 [DOI] [PubMed] [Google Scholar]
- 28.Rühl M, Rupp B, Nöh K, Wiechert W, Sauer U, et al. (2012) Collisional fragmentation of central carbon metabolites in LC-MS/MS increases precision of 13C metabolic flux analysis. Biotechnology and Bioengineering 109: 763–771. 10.1002/bit.24344 [DOI] [PubMed] [Google Scholar]
- 29.Zamboni N, Sauer U (2009) Novel biological insights through metabolomics and 13C-flux analysis. Current opinion in microbiology 12: 553–558. 10.1016/j.mib.2009.08.003 [DOI] [PubMed] [Google Scholar]
- 30.Zamboni N (2011) 13C metabolic flux analysis in complex systems. Current opinion in biotechnology 22: 103–108. 10.1016/j.copbio.2010.08.009 [DOI] [PubMed] [Google Scholar]
- 31.Leighty RW, Antoniewicz MR (2013) COMPLETE-MFA: Complementary parallel labeling experiments technique for metabolic flux analysis. Metabolic Engineering 20: 49–55. 10.1016/j.ymben.2013.08.006 [DOI] [PubMed] [Google Scholar]
- 32.Woo Suk A, Antoniewicz MR (2013) Parallel labeling experiments with [1,2-13C]glucose and [U-13C]glutamine provide new insights into CHO cell metabolism. Metabolic Engineering 15: 34–47. 10.1016/j.ymben.2012.10.001 [DOI] [PubMed] [Google Scholar]
- 33.Gopalakrishnan S, Maranas CD (2015) 13C Metabolic flux analysis at a genome-scale. Metabolic Engineering 32:12–22. 10.1016/j.ymben.2015.08.006 [DOI] [PubMed] [Google Scholar]
- 34.García Martín H, Kumar VS, Weaver D, Ghosh A, Chubukov V, et al. (2015) A method to constrain genome-scale models with 13C labeling data. PLoS Computational Biology 11(9): e1004363 10.1371/journal.pcbi.1004363 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Nöh K, Wahl A, Wiechert W (2006) Computational tools for isotopically instationary 13C labeling experiments under metabolic steady state conditions. Metabolic Engineering 8: 554–577. 10.1016/j.ymben.2006.05.006 [DOI] [PubMed] [Google Scholar]
- 36.Young JD, Walther JL, Antoniewicz MR, Yoo H (2008) An elementary metabolite unit (EMU) based method of isotopically nonstationary flux analysis. Biotechnology 99: 686–699. 10.1002/bit.21632 [DOI] [PubMed] [Google Scholar]
- 37.Hörl M, Schnidder J, Sauer U, Zamboni N (2013) Non-stationary 13C-metabolic flux ratio analysis. Biotechnology and Bioengineering 110: 3164–3176. 10.1002/bit.25004 [DOI] [PubMed] [Google Scholar]
- 38.Wiechert W, de Graaf AA (1997) Bidirectional reaction steps in metabolic networks: I. Modeling and simulation of carbon isotope labeling experiments. Biotechnology and Bioengineering 55: 101–117. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
MATLAB code for SUMOFLUX and example scripts are available at http://www.imsb.ethz.ch/research/zamboni/resources.html