Abstract
Background
Gene regulatory networks with different topological and/or dynamical properties might exhibit similar behavior. System that is less perceptive for the perturbations of its internal and external factors should be preferred. Methods for sensitivity and robustness assessment have already been developed and can be roughly divided into local and global approaches. Local methods focus only on the local area around nominal parameter values. This can be problematic when parameters exhibits the desired behavior over a large range of parameter perturbations or when parameter values are unknown. Global methods, on the other hand, investigate the whole space of parameter values and mostly rely on different sampling techniques. This can be computationally inefficient. To address these shortcomings ’glocal’ approaches were developed that apply global and local approaches in an effective and rigorous manner.
Results
Herein, we present a computational approach for ’glocal’ analysis of viable parameter regions in biological models. The methodology is based on the exploration of highdimensional viable parameter spaces with global and local sampling, clustering and dimensionality reduction techniques. The proposed methodology allows us to efficiently investigate the viable parameter space regions, evaluate the regions which exhibit the largest robustness, and to gather new insights regarding the size and connectivity of the viable parameter regions. We evaluate the proposed methodology on three different synthetic gene regulatory network models, i.e. the repressilator model, the model of the ACDC circuit and the model of the edgetriggered masterslave D flipflop.
Conclusions
The proposed methodology provides a rigorous assessment of the shape and size of viable parameter regions based on (1) the mathematical description of the biological system of interest, (2) constraints that define feasible parameter regions and (3) cost function that defines the desired or observed behavior of the system. These insights can be used to assess the robustness of biological systems, even in the case when parameter values are unknown and more importantly, even when there are multiple poorly connected viable parameter regions in the solution space. Moreover, the methodology can be efficiently applied to the analysis of biological systems that exhibit multiple modes of the targeted behavior.
Similar content being viewed by others
Background
Biological oscillators govern various biological processes, such as cellular respiration, cardiac functions, and circadian rhythms [1–3]. In the terms of synthetic biology, the research of oscillatory systems is motivated by (1) a better understanding of known biological systems [2, 4–6], and (2) by the development of systems that could potentially be used in practical applications [7, 8]. An implementation of the first synthetic repressilator by Elowitz and Leibler [4] was, together with the synthetic toggle switch by Gardner et al. [9], an important breakthrough in synthetic biology. Since then the focus has shifted from simpler to more complex biological systems [10]. For this reason, the development of robust and fastresponse systems is of vital importance. For example, Fink et al. [7] designed an artificial fastresponse system in mammalian cells that can respond to chemical signals in minutes rather than hours. In the terms of optimization, this can be translated to multiobjective optimization [11]. OteroMuras and Banga [12] recently proposed a multiobjective optimization framework for synthetic biology based on the Pareto optimality. This framework is however limited to the library of synthetic parts, which can be a potential limitation. Moreover, when designing complex biological systems, the desired modes of behavior should not be the only criteria. One should also take into an account the system’s robustness, i.e. its stability in terms of correct behavior for a large range of different perturbations of extrinsic and intrinsic factors. If two systems exhibit the same required dynamics, then the more robust system should be preferred [13]. This allows for the development of more efficient and stable biological systems. In order to determine the robustness of the system, one must be able to efficiently explore and characterize its parameter space, for which mathematical modeling is usually applied [14]. To find the optimal parameters that exhibit the desired behavior, different heuristic approaches, such as genetic algorithms (GAs) can be used [14–16]. While GAs have numerous applications, they usually provide only a single nearoptimal solution. However, these approaches do not give us an insight into the shape of the solution space and the robustness of the acquired solution. Other approaches are focused on the efficient investigation of the whole parameter regions for which the system displays some predefined behavior. These regions define socalled viable parameter space. Identification of the viable parameter space allows for a more thorough analysis in the context of system’s robustness, sensitivity and possible modes of behavior [13, 17, 18]. Schillings et al. [18] used adaptive Smolyak interpolation that relies on sparse polynomial approximations to characterize the solution space of biochemical networks. The assumption here is that the function we want to interpolate is sufficiently smooth, which is not always the case. This problem can to some extent be addressed with the adaptive interpolation. Li et al. [19] introduced structural and correlative sensitivity analysis (SCSA) which belongs to the family of global sensitivity methods based on the decomposition of variance. Since the viable parameter spaces only represent a small fraction of all feasible solutions, we are more interested in viable regions, and not on the solution space as a whole. Hafner et al. [13] developed a ’glocal’ robustness analysis and model discrimination method that can be used for the analysis of circadian as well as other oscillators. This approach allows us to efficiently explore the model’s parameter space and assess its robustness. One of its major drawbacks is that it is not applicable to biological systems with high dimensional and poorly connected viable parameter regions. Two regions are poorly connected if one cannot traverse the solution space from one viable region to the other with the arbitrarily small steps, while constantly preserving the viability of the current solution. This is not problematic for the evolutionary developed systems, where the viable solution space is usually connected because natural systems have evolved through small, gradual changes of individual biochemical parameters. And while this may be true for the naturally occurring motifs, it is not necessarily the case for the synthetically developed gene regulatory networks (GRNs). When designing synthetic GRNs, one could choose different parts, e.g., transcription factors (TFs) with similar behavior and different kinetic properties, such as bindingsite affinities and degradation rates. This problem was also addressed by ZamoraSillero et al. in [17], where they proposed an efficient ellipsoid based sampling. The limitation of this approach is that the increasing dimensionality may exponentially increase the number of iterations needed to identify all viable parameter regions. This can occur if the viable solution space is loosely connected.
Herein, we present an improved ’glocal’ approach for the computational analysis of viable parameter spaces in highdimensional dynamical models of biological systems. The methodology is based on the robustness estimation and model analysis methodology described by Hafner et al. [13] and is due to exhaustive sampling with GAs and clustering not only limited to models with connected solution spaces. The methodology consists of multiple steps, i.e. (1) the estimation of viable parameter regions with GAs, (2) efficient exploration of viable regions with local sampling, and (3) robustness estimation for each of the viable regions. Our methodology differs from the one introduced by Hafner et al. [13] in two main aspects. Firstly, we employ GAs for the initial estimation of viable parameter regions, whereas Hafner et al. relies on the literature available data. The problem is that the number of already published viable parameter values can be quite limited for a particular system, and can guide the exploration in the wrong direction. The second important difference is that our approach can account for and discriminate between multiple poorly connected viable regions, whereas the ’glocal’ methodology by Hafner et al. is limited to a single viable region. Moreover, our methodology can be applied to the systems that exhibit multiple modes of behavior, such as alternative current (AC)direct current (DC) circuit [20]. We evaluate the proposed methodology on the repressilator model, on the model of the ACDC circuit that can switch between the oscillatory and bistable behavior as described in [20] and on the model of the biological edgetriggered D flipflop in a masterslave configuration proposed by Magdevska et al. [14]. We perform the analysis of viable regions of the repressilator model with different cost functions. We analyze four different versions of the D flipflop model, which differ in the functional forms describing the protein degradation (Michaelian versus linear functions) and transcription factor binding at promoter level (competitive versus independent). We validate the results obtained with deterministic simulations with the additional stochastic simulations. These are performed on the randomly selected samples from the viable regions of each model. The proposed methodology is efficient and thorough, and can be applied for the modeltomodel comparison in terms of their robustness. Finally, it is not limited only to systems that exhibit oscillatory dynamics, but can be applied to complex biological systems with arbitrary dynamics.
Methods
The proposed approach consists of multiple consecutive steps, namely (1) global estimation of viable parameter regions, (2) efficient local sampling, and (3) robustness analysis (see Fig. 1). We apply our approach on models of repressilator, ACDC circuit, and D flipflop in a masterslave configuration. Topologies of these models are displayed in Fig. 2.
Global estimation of viable parameter regions
Nominal parameter values can be extracted from the literature. We are more interested in the analysis of the whole solution space, rather than a single viable solution. Furthermore, in general, nominal values are often unknown or only partially known. The viable parameter space is composed of parameter regions in solution space for which the system exhibits a predefined behavior. More formally, the parameter space can be defined as a Cartesian product
where Θ^{p} represents the whole parameter space, p is the number of parameters and Θ_{i} represents a range of feasible parameter values for the ith parameter. Ranges of biochemical parameters used in our examples are shown in Table 1. Each point in the parameter space represents a candidate for a viable solution. A parameter point θ is viable iff the given condition is met
where E(θ) is a cost value of candidate point and E_{0} is a predefined threshold, that divides candidates based on their qualitative behavior, e.g., does a candidate exhibit oscillatory behavior or not. The cost function must be designed in a way to promote candidates that exhibit the desired behavior and in some cases to promote additional biological criteria such as biomass maximization. For edgetriggered D flipflop in a masterslave configuration, we defined a cost function in the frequency domain as a mean squared error (MSE) between an ideal and the observed signal of the biological system
where n is the maximal number of considered harmonics of observed response for candidate θ, and \( \hat {h}_{i}, h_{i} \) are ith harmonics of the observed and ideal response, respectively. We have chosen the frequency domain since it better describes the signal in the term of its harmonics and thus simplifies the analysis. An additional useful property of this cost function is its invariance to the phase of the oscillating signal. Nonetheless, this cost function is appropriate only when we are able to define the exact dynamics we would like to achieve for the response of a model. If we are interested in the system behavior in a more qualitative way, e.g., does a system exhibits stable oscillations or not, then the cost function should be defined to cover all possible configurations that dictate the correct behavior. For this reason, we defined the second cost function in the frequency domain, which optimizes the difference between the neighboring peaks and a peak prominence of a response signal in a frequency domain
where γ_{i} is the ith peak, P is the number of peaks, and σ_{i} is standard deviation for the ith peak in the neighboring window of size 3. Ideal sine signals have only one prominent peak. To avoid rewarding the signals with many peaks, we consider only average standard deviation per peak. The minimal size 3 for the window was chosen in order to promote high and narrow peaks. This cost function is defined more loosely in order to not overlook the large range of possible rigid oscillating signals regardless of their amplitude and period, while still favoring undamped oscillations with high amplitudes and a stable periods. We applied both cost functions to the repressilator model to analyze the size and shape of its viable parameter regions.
In the first step of the proposed methodology, the viable regions are estimated by the GA. GAs are inspired by natural evolution and are often used to solve hard optimization problems [15]. Subjects within the population gradually evolve by the means of genetic operators, i.e. mutation, reproduction, and selection. Our initial population consisted of 5000 randomly generated candidates. Each candidate θ was represented as a vector of biochemical parameters mutated with predefined probability. In the literature mutation probabilities most often range on the order of 0.01 per position. While this is much higher than in biology, mutation rates should be chosen on the properties and the difficulty of the problem we are aiming to solve [21]. In our case, every biochemical parameter was multiplied with a random value between 0.8 and 1.2 with the probability 0.75 (high mutation probability was set in order to promote greater exploration of solution space). Every parameter can, therefore, increase or decrease in each iteration of GA. Reproduction was implemented using the twopoint crossover. Unlike mutation, which serves as a finetuning mechanism, the crossover introduces a certain amount of variability in the population, which makes the problem less susceptible to local extrema. At the end of every iteration of genetic algorithm, subjects are evaluated with the appropriate cost function, and only the fraction of the individuals are chosen for the next generation by tournament selection. We used the tournament size of a tenth of the entire population. In contrary to the traditional use of GAs, we sampled all viable subjects, from which the initial viable set ν^{(0)} is composed. The exploration of solution space stops when the maximal number of generations is reached. To obtain only the approximate estimation of viable regions, the total number of generations should not be too high. We terminated our GA after 10 generations.
Efficient local sampling
Since the viable parameter space exploration with GAs is biased towards the evolvability of the problem defined with the selection of a cost function, GAs are not appropriate for the final estimation of the solution space. To obtain a more accurate estimate of the viable regions, the solution space is efficiently and thoroughly explored in an iterative manner as described by Hafner et al. [13]. We apply the Gaussian sampling in the direction of the principal components of the explored solution space
where S^{(i)} is a set composed of candidates for viable solutions in ith iteration of size N (in our case N=10^{5}), E[ν^{(i−1)}] is a mean of the viable candidate solutions in the set ν^{(i−1)} obtained from the previous iteration of the sampling process, ξ_{j} is the jth Gaussian sample along the principal components of viable set ν^{(i−1)}, and λ^{(i−1)} is the variance scaling factor. Note that the scaled variance should always be greater than the initial variance of principal components in order to cover the whole viable solution space. We set the initial value of λ^{(0)} to 4 and decreased it linearly to 2 in the last, in our case tenth iteration. In this way we focus only on the potential solution areas and avoid unnecessary sampling. At the end of every iteration new viable set ν^{(i)} is obtained by evaluating candidates in set S^{(i)}. For more details please refer to [13].
To distinguish between poorly connected regions we used the Kmeans clustering algorithm. This allows for more efficient and accurate characterization of loosely connected viable regions. Since the Kmeans algorithm expects the number of means, i.e. clusters, one must estimate the correct number of clusters the data is divided into. We tackled this problem with the gap statistic [22]. Let us define W_{k} as the withincluster sum of squares around the cluster means. Gap statistic is a cluster analysis algorithm that compares log(W_{k}) with its expectation under the appropriate reference null distribution of the data E^{∗}[log(W_{k})]
For example consider clustering n uniformly distributed points in p dimensions. Expected value of log(W_{k}) is then
where k is a number of clusters and A is a constant. If in reality our data consists of K well separated clusters, then the log(W_{k}) will decrease faster than its expected rate E^{∗}[log(W_{k})] for k≤K and slower for k>K. Hence, when k=K the gap will be the largest. Similarly, we set the number of clusters in our data according to the largest gap obtained by gap statistic. In [22], the authors proposed two different choices for the reference distribution, namely (1) generate each reference feature uniformly over the range of the observed values, and (2) generate the reference features from a uniform distribution over a bounding hyperbox B aligned with the principal components of the data. We have chosen the second approach since it is invariant to the rotation of the data. Note that the same technique was used by Hafner et al. [13] for the purposes of Monte Carlo integration. For more information about gap statistic see [22].
When a viable area is recognized as a separate region, it is extensively explored regardless of any other regions by an iterative procedure described in Eq. (5). This, however, poses a threat that explored viable regions overlap, which makes it harder for modeltomodel comparison. Alternatively, we can compare only the most robusts regions of both models or combine all regions into a single set.
Due to its computational complexity, clustering is applied only when one of the three criteria is met, namely (1) maximal number of iterations is reached, (2) the number of viable points in next iteration is ntimes smaller than number of points in the previous iteration (in our case n=10), or (3) the convergence of a region C exceeds a predefined threshold C_{0}. Our motivation behind point (2) is that if samples are truly well separated, then the number of viable samples obtained by local sampling will be significantly smaller if we sample points as a single region as opposed to separate sampling for every viable region. Regarding the third point, we defined convergence for region j as the Frobenius norm of the difference between current iteration principal components PC(ν_{j})^{(i)} and the previous iteration principal components PC(ν_{j})^{(i−1)}. The reason for the selection of this norm is that the main principal components directly influence the direction of sampling in consecutive iterations. We thus defined convergence as
This allows us to avoid unnecessary clustering at the beginning of the sampling process when the number of viable candidates does not suffice for representative clustering results. This iterative process stops when all regions are sufficiently explored, i.e. principal components do not change over next iterations or the maximal number of iterations is reached.
Robustness analysis
A model of the robust system can cope with a large range of changes of internal or external factors, e.g., temperature, that can directly influence its kinetic parameters. The more robust model will in general have a greater volume of viable parameter regions and will be able to cope with perturbations of its parameters. To assess the model robustness, we estimate the volume of each viable region V with Monte Carlo integration [13, 23, 24]
where Vol(B) is the volume of a bounding hyperbox B aligned with principal components of the data, S is the number of uniformly generated samples within B and ν is the number of viable samples within S. Because principal components are perpendicular, the volume of B can be calculated as a product across lengths of hyperbox edges. Sampling within B therefore drastically reduces the number of samples required to estimate the viable volume in the same precision as opposed to uniform sampling of the whole parameter space. Note that instead of bounding box one could also calculate the convex hull and calculate its volume. This is computationally more expensive compared to the bounding box approach, especially when considering that we already calculated the principal components in the previous step of our methodology. To make modeltomodel comparison we cannot disregard that models can have a different number of dimensions. For this reason, we normalized the viable volume to obtain a relative volume, which we calculated as a ratio between the viable volume and the volume of the total solution space
One question remains. What is the required number of samples in Monte Carlo simulations to assess the viable volume within the error δ for a confidence β? Every uniformly generated sample θ within the bounding box B can be viewed as a Bernoulli random variable
The mean of U is then \(\mu = \frac {\textit {Vol}(V)}{\textit {Vol}(B)}\). The standard deviation σ is not known. Since U is a Bernoulli random variable, the maximal variance σ^{2} is 1/4. The central limit theorem can then be applied
where Z is a normally distributed random variable with zero mean and unit variance. To get \(2P\left (Z \leq \frac {2\delta * \sqrt {S}}{\textit {Vol}(B)} \right)  1 \geq \beta \), the number of samples S must be at least
where Φ^{−1} is inverse cumulative distribution function of Z. For a confidence level of 0.95, we get \(S \geq \left  \frac {0.98 * \textit {Vol}(B)}{\delta } \right ^{2}\). In other words, if we want to assess the viable volume within one percent of the total bounding box volume with the confidence level of 0.95, S should contain at least 10^{4} samples.
Results
Repressilator
Repressilator is a simple GRN composed of an odd number of repressors connected in a negative feedback loop. The simplest repressilator is a Goodwin oscillator, which consists of a single repressor [25]. We are interested in the repressilator with three repressors, first described by Elowitz and Leibler [4]. The GRN topology of the repressilator is displayed in Fig. 2 (a). The dynamics of repressilator can be described by the following ordinary differential equations (ODEs)
where mX, mY and mZ are mRNA concentrations of repressors X, Y and Z, respectively. Parameter δ_{m} is mRNA degradation rate, δ_{p} protein degradation rate, α transcription rate, α_{0} leakage rate, β translation rate, and Kd dissociation constant. Hill coefficient n describes the strength of cooperative binding between transcription factors. The deterministic simulation of repressilator is shown in Fig. 3.
To analyze the effect of selecting different cost function on the size and shape of viable parameter regions, we studied two different scenarios. In the first scenario we applied cost function from the Eq. (3) to obtain a signal with amplitude of 300 nM and a period of 12 h. We considered a parameter point viable if the harmonics of its response did not deviate, on average, for more than 10 nM from the harmonics of the ideal signal. The first, second and last iteration of exploration of viable regions for scenario 1 are displayed in Fig. 4 (a). Parameter space exploration is projected to the first two principal components. We can observe that the viable space is well defined and consists of a single region, which is also confirmed by a gap statistic that predicted one optimal cluster. Our results are consistent with the findings of other researches [13, 17]. For the second scenario, we used Eq. (4) as a cost function and considered parameter point viable if the amplitude of its response was roughly between 200 nM and 400 nM, and its cost value below −200. We estimated the amplitude of the signal with the size of its leading harmonic. The exploration of viable regions for the second scenario is displayed in Fig. 4 (b). Here, similarly to the first scenario, the solution space is well defined and connected. The obtained solution spaces can be directly compared on the basis of their volume. The viable volume for scenario 2 is by our observations approximately 20fold larger than for scenario 1. Since the second scenario has a more loosely defined cost function, this coincides with our expectations. We can compare the volumes in Fig. 5, in which we projected two viable regions to their main principal components. Figure 6 represents the boxplots of parameter values for both cases. We can observe that the range of values the parameters span, is in the same range for both regions, except for the parameter δ_{p}. In the second scenario, δ_{p} has significantly greater span compared to the first one, which is also the main reason behind the difference in the viable volumes.
Deterministic simulation approaches are only able to describe average response of the system and do not directly account for the noise influences. We additionally validated the obtained results with the execution of stochastic simulations using stochastic simulation algorithm (SSA) [26, 27] and its quasi steadystate approximation (QSSA) [28]. Latter allowed us to directly project the deterministic reaction system to its stochastic equivalent. We randomly selected nine points from the viable solution space and three points outside the viable solution space to compare the results of stochastic and deterministic simulations (see Fig. 7). We repeated each stochastic simulation for a hundred times and measured the average amplitudes and periods, which are visualized in Fig. 8. Points sampled from the feasible parameter regions pertained the oscillatory behavior also in the stochastic simulations. Moreover, periods were within the same ranges as in the deterministic simulations. Larger amplitudes were observed in stochastic simulation results, presumably due to intrinsic noise, which is not regarded in deterministic simulations. Points which reflected stationary behavior in deterministic simulations pertained this dynamics in stochastic simulations as well.
ACDC circuit exhibits bistability and oscillations
The ACDC circuit described by PanovskaGriffiths et al. [20] presents the combination of the toggle switch and the repressilator circuit. This GRN pattern has a natural role in the determination of the spatial organization of cell type generation and aids in the tissue development of the ventral regions of the vertebrate neural tube [20]. The topology of this circuit allows switchlike as well as oscillatory behavior by changing the concentration of the signaling molecule S. Moreover, PerezCarrasco et al. [29] showed that the coexistence of oscillatory and stable gene expression can in the dependence of the intrinsic noise give rise to the coherence of oscillations. We are interested in the multimodal behavior of the ACDC circuit. For the sake of simplicity, we excluded the signaling molecule from the model and focused on two modes of behavior, i.e. bistable and oscillatory behavior. The schematic of the ACDC circuit is displayed in Fig. 2 (b). The dynamics of the ACDC circuit can be described by the following equations
where mX, mY and mZ are mRNA concentrations of proteins X, Y and Z, respectively. Parameter δ_{m} is mRNA degradation rate, δ_{p} protein degradation rate, α transcription rate, β translation rate, and n is a Hill coefficient. Kd_{a},Kd_{b},Kd_{c},Kd_{d} are dissociation constants. Notice the similarity to the repressilator model, whereas the third and the second term in the denominator of Eqs. (20, 21) correspond to the toggle switch dynamics. The results of deterministic simulations for both modes of behavior are displayed in Fig. 9. The same model can exhibit different modes of behavior with the same initial conditions and different kinetic parameter values.
We regarded a parameter point viable if its response exhibited oscillations or bistability. We tested the bistability with two scenarios. First, the initial concentration of protein X was low and Y was high and vice versa in the second scenario. Throughout the simulation, the protein with the initial high concentration should stabilize at 400 nM and the protein with initial low concentration should stabilize at 0 nM. To optimize the bistable behavior we resorted to the cost function (Eq. 3), where we directly compared the response in the time domain instead of in the frequency domain. If the observed response did not deviate, on average, from the ideal signal for more than 4 nM, we considered a parameter point viable.
Equivalently, we considered a parameter point viable if it exhibited oscillations. We applied the cost function from Eq. (3). We considered only the first ten harmonics and treated a point in parameter space viable if the difference between the harmonics of its response and the ideal response did not exceed 15 nM per harmonic on average. We set the amplitude of the ideal signal to 200 nM and the period to 12 h. We thus defined two cost functions, one for each scenario and ran GA twice. In the local sampling step, we concatenated all viable solutions together and treated every sample from the parameter space equally, regardless of its behavior, i.e. oscillations or bistability. Because the number of viable samples in the first iteration of local sampling was to low (10times smaller), clustering was performed and two distinct regions were obtained. After that, each region was explored separately for 10 iterations and the exploration was terminated regardless of the gap statistic predictions. Figure 10 displays the course of the exploration of viable regions. Our approach correctly identified both viable regions and explored them independently.
We also assessed the robustness to the perturbation of parameters for both regions. A viable region with the oscillatory behavior has an approximately 500fold greater volume that the viable regions with bistable dynamics. This can be confirmed with the boxplots of the parameters spans in both viable regions (see Fig. 11). Transcription (α), translation (β), mRNA degradation (δ_{m}) and dissociation constant (Kd_{d}) have significantly smaller span for the bistable region than for the region with the oscillatory behavior. Our results indicate that the ACDC model tends to the oscillations more than to the bistability.
We validated the obtained results with the execution of stochastic simulations in a similar way as in the repressilator model. We randomly selected six random points which reflected oscillatory behavior and six random points which reflected bistable behavior in the deterministic simulations. All of the selected samples reflected the predefined dynamics in stochastic simulations as well (see Fig. 12). We repeated each stochastic simulation for a hundred times and measured the average amplitudes and periods for the samples that reflected oscillatory behavior, and average distance between the stable states for the samples that reflected bistability. The obtained results are visualized in Fig. 13. As in the case of the repressilator model, larger amplitudes were observed in stochastic simulation results, while the periods were approximately the same.
Edgetriggered d flipflop in a masterslave configuration
In electronics, D (delay) flipflop is a memory circuit that exhibits two stable states and can thus store 1 bit of information. D flipflop delays the input bit for one clock cycle and is triggered by high or low clock levels. The clock signal (CLK) is a synchronization signal frequently used in electronics. The sensitivity on high or low levels of CLK can be problematic when the input signal is not exactly synchronized with CLK, which can result in unpredictable behavior. The masterslave configuration solves this problem by connecting two flipflops successively. The master flipflop is triggered on the low CLK levels and the slave flipflop on the high CLK levels. The D flipflop in a masterslave configuration is therefore triggered solely on the positive edge of the CLK signal. In biological terms, the CLK represents a synchronization signal that governs periodic cellular processes. A deterministic model of biological edgetriggered D flipflop based on ODEs was already established and studied by Magdevska et al. [14]. Recently, Andrews et al. [30] demonstrated the implementation of sequential logic in cells with genetic Negated OR (NOR) gates. Among others, they implemented and successfully verified the correct behavior of a gated D flipflop in Escherichia coli (E. coli). Their flipflop correctly switched and maintained states for more than 2 days, and accurately responded to a synchronization signal. Nonetheless, there are two distinctions between their implementation and one proposed by Magdevska et al. Flipflop by Andrews et al. is constructed with NOR gates, and responds only on the high levels of the synchronization signal, whereas Magdevska et al. proposed the edgetriggered flipflop, which is composed of two bistable switches regulated with delay, i.e. d, and synchronization, i.e. CLK signals. In the latter, when d=q_{c}, flipflop oscillates between a high and low state with twice the period of CLK signal. In this way, flipflop acts as a 1bit counter. We used this property to obtain the desired dynamics with GAs. We applied our methodology on the flipflop topology described in [14], which can be presented with the following ODEbased model
where
Parameters α_{1},α_{2},α_{3} and α_{4} are the expression rates of proteins a, a_{c}, q and q_{c}, Kd and K_{M} are dissociation and Michaelis constants, n is Hill coefficient, δ_{1},δ_{2} are degradation rates of the observed proteins, δ_{dil} is dilution rate and E is the total protease concentration. We introduce parameters Ω_{1} and Ω_{2} to study the effects of different functional forms describing the binding of transcription factors to the promoters and the effects of different models of protein degradation. Namely, when Ω_{1} equals 0 we presume competitive binding of transcription factors to the promoters regulating the expression of a and a_{c}. When Ω_{1} equals 1 independent binding is presumed. Parameter Ω_{2} defines the degradation model for which we use either linear or Michaelian form (see Eq. 30). The Michaelian model of degradation was derived in the same manner as described in [31] and [32]. The schematic of a general biological D flipflop is shown in Fig. 2 (c). Results of a deterministic simulation for the flipflop model with independent binding of transcription factors (Ω_{1}=1) and linear degradation term (Ω_{2}=1) are shown in Fig. 14.
Parameters Ω_{1} and Ω_{2} define different functional forms of the same flipflop model. We were interested in the comparison of the solution spaces for each of the functional forms. We evaluated the viable solution space and its volume for each of the four combinations, i.e competitive versus independent binding and Michaelian versus linear protein degradation. To obtain the viable set of parameters, we adopted the cost function from Eq. (3) and deemed the parameter point nonviable if the difference between the first ten harmonics of its response and the ideal signal exceeded, on average, 10 nMs per harmonic. The amplitude of the ideal signal was set to 50 nM and the period was set to 48 h. Figure 15 presents the exploration of viable regions for each of the four functional form combinations. Our approach identified single wellconnected solution space in each case.
To assess the robustness of different functional form combinations we evaluated the relative volumes of their solution spaces, which are presented in Table 2. The results indicate that Michaelian protein degradation form increases the solutions space and thus the robustness of the proposed topology, but not as much as noncompetitive transcription factor binding at promoter level. We wanted to confirm this hypothesis with the investigation of parameter spans in each of the solution spaces. These are presented in Fig. 16. The spans of protein degradation rates (δ_{1} and δ_{2}) are larger when the Michaelian protein degradation model is presumed. When comparing the models with Michaelian protein degradation form, noncompetitive binding increases or pertains the span of feasible parameter ranges. The same holds for the linear protein degradation form, except in the case of dissociation constant, where larger span is observed for competitive scenario.
We additionally validated the obtained results with the execution of stochastic simulations. We randomly selected three feasible random points for each functional form combination. Majority of the solutions pertained the response observed in deterministic simulations, however, the noise affected these solutions to a greater degree than in the repressilator or ACDC circuit models (see Fig. 17). On the other hand, when execution large number of stochastic simulations, approximately the same response is observed as in deterministic simulations in all but one tested sample (see Fig. 18).
Discussion
We developed the computational pipeline that can be used for modeltomodel comparison in terms of the robustness to the perturbation of their kinetic parameters. Our work is based on the already established ’glocal’ method introduced by Hafner et al. [13]. In the first step, our approach roughly estimates global viable solution space through the optimization with the proposed genetic algorithm. Next, the viable solution space is more thoroughly explored with efficient local sampling. Because the viable solution space can be hyzz‘pothetically unconnected, we took a step further and proposed clustering to perform finegrained exploration. The size and shape of viable regions can then be utilized for the assessment of model robustness. We successfully applied and validated our methodology on three distinct models that exhibit oscillatory and/or bistable behavior. Our approach utilizes exhaustive search of solution space, first by GAs and then with a prudent selection of samples, which is performed with local sampling in the direction of main principal components. We demonstrated the applicability of the proposed approach on three different deterministic ODEbased models.
One must also be aware of the potential drawbacks of the proposed approach. The first limitation is that the gap statistic and clustering are not perfect. There is not a strict consensus of what constitutes a separate cluster and different approaches will cluster the same population of samples differently. The drawback of gap statistic is that in order to test the null hypothesis, one must assume the distribution of the data points. We have shown, that if samples are uniformly distributed gap statistic always predicts the optimal number of clusters, however, this is not always the case for nonuniformly distributed data. To address this problem one could take methods for determining the number of clusters into account only partially as a guide and select the number of clusters based on observations. By our experience gap statistic consistently overestimated the number of clusters in the model of the ACDC circuit and D flipflop model. We approached this conservatively by setting the maximum number of clusters in the clustering step to 2 and by faster termination of the algorithm. The first viable region obtained by GAs can be clustered only once. All consecutive regions are then disregarded regardless of the gap statistic prediction.
The second possible drawback is that GAs and the probability based sampling introduces nondeterminism into the sampling process, i.e. repetitive runs with the same configuration can return different results. We mitigated this with high population size and with a high probability of mutation and crossover in GA optimization. Similarly, we set the variance scaling factor λ relatively high at the beginning of our sampling process, when we were not as confident in the explored solution space, and gradually decreased it towards the end.
We have shown that the size and shape of a viable solution space are directly dependent on the definition of cost function and the threshold selection, which can be defined subjectively. We demonstrated the consequences of different interpretations of viable solution with the investigation of viable parameter regions on the same repressilator model for two different cost functions. The first cost function was defined in a strict manner, whereas the second one was defined more loosely. The viable parameter region of the repressilator model was greater when we employed the exploration of viable regions based on a loosely defined cost function. This coincides with our expectations and to some degree validates the correctness of our approach. In both cases, the parameter spans were roughly the same except for the degradation rate δ_{p} (see Fig. 6), which in the end contributed to the difference in the viable volume. Both cases have the same Hill coefficient ranges, 2≤n≤5. Higher values of Hill coefficient correspond to the positive cooperativity of transcription factors and a nonlinear response. The first implementation of a repressilator by Elowitz and Leibler [4] achieved nonlinearity with the selection of transcription factors that function as oligomers, i.e. the TetR repressor protein is a dimer [33], and the LacI repressor is a tetramer [34].
To illustrate the exploration of viable regions with multiple well defined and unconnected clusters we analyzed the ACDC model for two different modes of behavior. Our method proved to be effective in this scenario as well. Based on our observation, the ACDC circuit tends more towards the oscillatory behavior than to bistability. We can assume this because the viable parameter volume is significantly larger for the parameter solutions that yield oscillatory dynamics in comparison to the bistable solutions. However, for the sake of simplicity, we excluded the signaling molecule S from the model and thus disregarded the switch like dynamics. It has already been shown that by adjusting the strength and/or the concentration of the signaling molecule the ACDC circuit can exhibit both modes of behavior for the same sets of parameters [29]. Our simulations clearly indicate that in order to achieve either bistability or oscillations, the system should reflect nonlinear transcription response. This can be described with larger values of the Hill coefficient [35]. Other researchers have already addressed this problem. For example, Lebar et al. [36] designed a bistable genetic switch based on designable DNAbinding domains of transcriptionactivatorlike effectors (TALEs) [37]. Since TALEs bind noncooperatively as monomers, a simple mutual repressorbased toggle switch does not support bistability. In order to introduce nonlinearity and achieve bistability, Lebar et al. designed a bistable switch with an additional positive feedback loop of TALE repressors.
We investigated the robustness of the proposed D flipflop model in dependence of different functional forms describing the protein degradation (Michaelian versus linear functions) and the transcription factorpromoter binding process (competitive versus independent binding). The flipflop model proposed in [14] was extended into four different models upon which the proposed methodology was executed. We used the obtained results to assess the relative volumes of feasible solutions spaces in each of the models. These were used to perform the modeltomodel comparison and to assess their robustness. We showed that Michaelian degradation form increases the chances of obtaining oscillations as already described in [38], but not as much as noncompetitive binding sites at promoter level [39]. When performing stochastic simulations we observed larger noise sensitivity as in the repressilator or ACDC ciruit models. Solutions more resilient to intrinsic noise could potentially be obtained with the selection of different cost function defining feasibility of the solution, i.e. with larger oscillation amplitudes. The required amplitudes used in the D flipflop model were set to 50 nM while amplitudes between 200 and 400 nM were regarded as feasible in the repressilator and ACDC circuit models. Our results still indicate that the D flipflop is robust to perturbations of its kinetic parameters and that the possibility of its implementation in the biological host is promising. Andrews et al. [30] demonstrated the feasibility of D flipflop in E. coli. Still, their flipflop is triggered on high signal levels and not on an edge of the synchronization signal. This makes the circuit hard to control, since the high level of the synchronization signal needs to be long enough to trigger the transition from one state to another and at the same time short enough to prevent multiple switches.
Our results indicate that the viable solution space of biological oscillators is generally well defined and connected, which has been already confirmed by other researchers [13, 17]. This is expected for the naturally occurring motifs that exhibit oscillations since they possibly evolved with random mutations that contributed to the small gradual changes of kinetic parameters [40]. However, it is interesting to observe similar properties in the synthetic circuits. This can be partially explained with the fact that the design is to some degree inspired by the systems we can observe in nature. Except for the ACDC circuit, our models displayed single connected viable regions. The existence of multiple unconnected viable regions for the ACDC circuit can be contributed to its capability of multimodal behavior. The values parameters span are generally different for both modes of behavior.
For a biological system to be robust, it must be able to withstand the fluctuations of biochemical parameters due to external factors, intrinsic noise, and singlecell variability. Our methodology can give one the insight into the shape and size of the viable parameter regions, and into the overall robustness of a system. Our approach has, therefore, two main applications. Firstly, by knowing the effect of parameters on system behavior, one could finetune the problematic parameters and use synthetic constructs, such as degradation tags to speedup protein degradation [41], or design parts with higher binding affinities. For example, Fink et al. [7] designed coiled coils to increase the affinity between split proteases and thus increased the response of a system. However, approaches to experimentally tune the value of a given parameter are quite limited, especially in a predictive way. Secondly, one could use the proposed methodology to compare different systems with similar behavior and different topologies. For example, simple bistable switch could be compared with the bistable switch with positive feedback loops proposed by Lebar et al. [36]. The results of these comparisons could guide the researcher in the selection of more robust topologies and finally in the process of the implementation of reliable biological circuits.
We validated our methodology on biological GRN models that primarily exhibit oscillatory or bistable behavior. However, it is not hard to see how one could adapt this approach to cover other modes of behavior as well. By modifying the genetic algorithm and adjusting the cost function, one can adapt our approach to a variety of dynamical models and not only models of GRNs. We demonstrated the application of the proposed methodology solely on the results obtained with deterministic simulations. These models describe the average response of the system without the noise influences [42]. The noise influences can be to some degree indirectly analyzed with the analysis of parameter variability effects on the deterministic dynamics of the system [43]. In many cases it is more suitable to use stochastic modeling approaches, such as SSA [26]. These approaches directly describe the inherent stochasticity of biochemical reactions. In our case studies we only used the stochastic simulations to validate the correctness of the results obtained with deterministic approaches. However, these approaches could as well be used to generate the data upon which the proposed methodology would be applied. Moreover, the methodology could be used in a combination with any other either experimental or computational approach that is able to generate the response of the system at the sampled parameter values. However, there are some potential drawbacks in the straightforward application of these approaches. Deterministic models will always yield the same response for a given set of initial conditions and parameter values. Contrary, stochastic or experimental procedures will always differ to some degree even with the same conditions [27]. This means that multiple repetitions of the same experiment will be needed to achieve statistical significance, which in turn increases the time complexity of our methodology. Most of the approaches that present an alternative to deterministic models inherently increase the time complexity to generate the results even for a single simulation run. In order to at least partially circumvent this problem, one of the many parallelized adaptations of SSA with lower computational complexity could be applied [44].
Conclusion
In this paper we proposed a novel approach that can be used to assess the viable parameter regions for an arbitrary GRN model, and which can be applied in the design of synthetic biological systems. Identified parameter regions allow us to compare different models in terms of their robustness and also to identify the critical segments of the selected system. This can be exploited for the design of more reliable and robust systems. For example, if the degradation rates of observed proteins are constrained to a small interval, one can then specifically focus on this segment by exploring the effects of different degradation tags [41] and thus finetune the problematic parameters. Moreover, our approach can be used as a foundation for other analyzes. For example, bifurcation or sensitivity analysis can be done more efficiently and with higher precision if one is confident in the size and shape of the viable solution space.
Availability of data and materials
All source code with accompanying results is available for download at: https://github.com/zigapusnik/AnalysisOfViableParameterRegions.
Change history
11 November 2019
The original version of this article [1] unfortunately included a typographical error to author Žiga Pušnik’s name.
Abbreviations
 ACDC:

Alternative currentdirect current
 CLK:

Clock
 GA:

Genetic algorithm
 GRN:

Gene regulatory network
 MSE:

Mean squared error
 QSSA:

Quasi steadystate approximation
 SCSA:

Structural and correlative sensitivity analysis
 SSA:

Stochastic simulation algorithm
 TF:

Transcription factor
References
Leloup JC, Gonze D, Goldbeter A. Limit cycle models for circadian rhythms based on transcriptional regulation in Drosophila and Neurospora. J Biol Rhythms. 1999; 14(6):433–48.
Chabot JR, Pedraza JM, Luitel P, Van Oudenaarden A. Stochastic gene expression outofsteadystate in the cyanobacterial circadian clock. Nature. 2007; 450(7173):1249–52.
Danino T, MondragónPalomino O, Tsimring L, Hasty J. A synchronized quorum of genetic clocks. Nature. 2010; 463(7279):326–30.
Elowitz MB, Leibler S. A synthetic oscillatory network of transcriptional regulators. Nature. 2000; 403(6767):335–38.
Reppert SM, Weaver DR. Coordination of circadian timing in mammals. Nature. 2002; 418(6901):935–41.
Taylor AF, Tinsley MR, Wang F, Huang Z, Showalter K. Dynamical quorum sensing and synchronization in large populations of chemical oscillators. Science. 2009; 323(5914):614–7.
Fink T, Lonzarić J, Praznik A, Plaper T, Merljak E, Leben K, Jerala N, Lebar T, Strmšek Ž, Lapenta F, et al. Design of fast proteolysisbased signaling and logic circuits in mammalian cells. Nat Chem Biol. 2019; 15(2):115–22.
Tigges M, MarquezLago TT, Stelling J, Fussenegger M. A tunable synthetic mammalian oscillator. Nature. 2009; 457(7227):309–12.
Gardner TS, Cantor CR, Collins JJ. Construction of a genetic toggle switch in Escherichia coli. Nature. 2000; 403(6767):339–42.
Cameron DE, Bashor CJ, Collins JJ. A brief history of synthetic biology. Nat Rev Microbiol. 2014; 12(5):381–90.
Kalyanmoy D, Pratap A, Agarwal S, Meyarivan T. A fast and elitist multiobjective genetic algorithm: NSGAII. IEEE Trans Evol Comput. 2002; 6(2):182–97.
OteroMuras I, Banga JR. Automated design framework for synthetic biology exploiting Pareto optimality. ACS Synthetic Biol. 2017; 6(7):1180–93.
Hafner M, Koeppl H, Hasler M, Wagner A. ’Glocal’robustness analysis and model discrimination for circadian oscillators. PLoS Comput Biol. 2009; 5(10):e1000534.
Magdevska L, Pušnik Ž, Mraz M, Zimic N, Moškon M. Computational design of synchronous sequential structures in biological systems. J Comput Sci. 2017; 18:24–31.
Koza JR. Genetic Programming: on the Programming of Computers by Means of Natural Selection. Cambridge, Massachusetts and London, England: MIT press; 1992.
Stražar M, Mraz M, Zimic N, Moškon M. An adaptive genetic algorithm for parameter estimation of biological oscillator models to achieve target quantitative system response. Natural Comput. 2014; 13(1):119–27.
ZamoraSillero E, Hafner M, Ibig A, Stelling J, Wagner A. Efficient characterization of highdimensional parameter spaces for systems biology. BMC Syst Biol. 2011; 5(1):142.
Schillings C, Sunnåker M, Stelling J, Schwab C. Efficient characterization of parametric uncertainty of complex (bio) chemical networks. PLoS Comput Biol. 2015; 11(8):e1004457.
Li G, Rabitz H, Yelvington PE, Oluwole OO, Bacon F, Kolb CE, Schoendorf J. Global sensitivity analysis for systems with independent and/or correlated inputs. J Phys Chem A. 2010; 114(19):6022–32.
PanovskaGriffiths J, Page KM, Briscoe J. A gene regulatory motif that generates oscillatory or multiway switch outputs. J Royal Soc Int. 2013; 10(79):20120826.
Floreano D, Mattiussi C. Bioinspired Artificial Intelligence: Theories, Methods, and Technologies. Cambridge, Massachusetts and London, England: MIT press; 2008.
Tibshirani R, Walther G, Hastie T. Estimating the number of clusters in a data set via the gap statistic. J Royal Stat Soc: Ser B (Stat Methodol). 2001; 63(2):411–23.
Robert C, Casella G. Monte Carlo Statistical Methods. New York: Springer Science & Business Media; 2010.
Neal D. Determining sample sizes for Monte Carlo integration. Col Math J. 1993; 24(3):254–9.
Goodwin BC. Oscillatory behavior in enzymatic control processes. Adv Enzyme Regulation. 1965; 3:425–37.
Gillespie DT. Exact stochastic simulation of coupled chemical reactions. J Phys Chem. 1977; 81(25):2340–61.
El Samad H, Khammash M, Petzold L, Gillespie D. Stochastic modelling of gene regulatory networks. Int J Robust Nonlinear Control. 2005; 15(15):691–711.
Kim JK, Josić K, Bennett MR. The validity of quasisteadystate approximations in discrete stochastic simulations. Biophys J. 2014; 107(3):783–93.
PerezCarrasco R, Barnes CP, Schaerli Y, Isalan M, Briscoe J, Page KM. Combining a toggle switch and a repressilator within the ACDC circuit generates distinct dynamical behaviors. Cell Syst. 2018; 6(4):521–530.
Andrews LB, Nielsen AA, Voigt CA. Cellular checkpoint control using programmable sequential logic. Science. 2018; 361(6408):eaap8987.
Cookson NA, Mather WH, Danino T, MondragónPalomino O, Williams RJ, Tsimring LS, Hasty J. Queueing up for enzymatic processing: correlated signaling through coupled degradation. Mole Syst Biol. 2011; 7(1):1–9.
Tomazou M, Barahona M, Polizzi KM, Stan GB. Computational redesign of synthetic genetic oscillators for independent amplitude and frequency modulation. Cell Syst. 2018; 6(4):508–20.
Ramos JL, MartínezBueno M, MolinaHenares AJ, Terán W, Watanabe K, Zhang X, Gallegos MT, Brennan R, Tobes R. The TetR family of transcriptional repressors. Microbiol Mole Biol Rev. 2005; 69(2):326–56.
Lewis M. The lac repressor. Comptes Rendus Biologies. 2005; 328(6):521–48.
Purcell O, Savery NJ, Grierson CS, di Bernardo M. A comparative analysis of synthetic genetic oscillators. J Royal Soc Int. 2010; 7(52):1503–24.
Lebar T, Bezeljak U, Golob A, Jerala M, Kadunc L, Pirš B, Stražar M, Vučko D, Zupančič U, Benčina M, et al. A bistable genetic switch based on designable DNAbinding domains. Nature Commun. 2014; 5:5007.
Garg A, Lohmueller JJ, Silver PA, Armel TZ. Engineering synthetic TAL effectors with orthogonal target sites. Nucleic Acids Res. 2012; 40(15):7584–95.
Wong WW, Tsai TY, Liao JC. Singlecell zerothorder protein degradation enhances the robustness of synthetic oscillator. Mole Syst Biol. 2007; 3(1):1–8.
Munteanu A, Constante M, Isalan M, Solé RV. Avoiding transcription factor competition at promoter level increases the chances of obtaining oscillation. BMC Syst Biol. 2010; 4(1):66.
Alon U. An Introduction to Systems Biology: Design Principles of Biological Circuits. London: Chapman and Hall/CR; 2006.
McGinness KE, Baker TA, Sauer RT. Engineering controllable protein degradation. Mole Cell. 2006; 22(5):701–7.
Kaern M, Blake WJ, Collins JJ. The engineering of gene regulatory networks. Ann Rev Biomed Eng. 2003; 5(1):179–206.
Singh A, Soltani M. Quantifying intrinsic and extrinsic variability in stochastic gene expression models. PLoS One. 2014; 8(12):e84301.
Petroni M, Zimic N, Mraz M, Moškon M. Stochastic simulation algorithm for gene regulatory networks with multiple binding sites. J Comput Biol. 2015; 22(3):218–26.
BioNumbers Database., Gonze D.Free University of Brussels, Belgium. 2019. http://homepages.ulb.ac.be/~dgonze/BIONUMBERS/bionumbers.html. Accessed 8 Aug 2019.
Milo R., Jorgensen P., Moran U., Weber G., Springer M.BioNumbers–the database of key numbers in molecular and cell biology. Nucleic Acids Res. 2010; 38(Database issue):D750–3. https://bionumbers.hms.harvard.edu/. Accessed 8 Aug 2019.
Acknowledgements
Results presented here are in the scope of the Ph.D. thesis that is being prepared by Žiga Pušnik.
Funding
The research was partially supported by the scientificresearch programme Pervasive Computing (P20359) financed by the Slovenian Research Agency in the years from 2017 to 2023, by the basic research project CholesteROR in metabolic liver diseases (J19176) financed by the Slovenian Research Agency in the years from 2018 to 2021, and by the infrastructure grant ELIXIR supported by MRIC UL (grant number I00022).
Author information
Authors and Affiliations
Contributions
ŽP designed the method, performed the experiments, and analyzed the results. ŽP and MMo devised the study and wrote the manuscript. MMo supervised the study. MMo, MMr and NZ provided critical feedback and helped shape the research, analysis and manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Ethics approval and consent to participate
Not applicable.
Consent for publication
Not applicable.
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
About this article
Cite this article
Pušnik, Ž., Mraz, M., Zimic, N. et al. Computational analysis of viable parameter regions in models of synthetic biological systems. J Biol Eng 13, 75 (2019). https://doi.org/10.1186/s1303601902050
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s1303601902050