Skip to main content
Nature Communications logoLink to Nature Communications
. 2022 Jul 25;13:4305. doi: 10.1038/s41467-022-31263-x

Frequency spectra and the color of cellular noise

Ankit Gupta 1, Mustafa Khammash 1,
PMCID: PMC9314361  PMID: 35879291

Abstract

The invention of the Fourier integral in the 19th century laid the foundation for modern spectral analysis methods. This integral decomposes a temporal signal into its frequency components, providing deep insights into its generating process. While this idea has precipitated several scientific and technological advances, its impact has been fairly limited in cell biology, largely due to the difficulties in connecting the underlying noisy intracellular networks to the frequency content of observed single-cell trajectories. Here we develop a spectral theory and computational methodologies tailored specifically to the computation and analysis of frequency spectra of noisy intracellular networks. Specifically, we develop a method to compute the frequency spectrum for general nonlinear networks, and for linear networks we present a decomposition that expresses the frequency spectrum in terms of its sources. Several examples are presented to illustrate how our results provide frequency-based methods for the design and analysis of noisy intracellular networks.

Subject terms: Biochemical reaction networks, Stochastic networks, Synthetic biology


The invention of the Fourier integral in the 19th century laid the foundation for modern spectral analysis methods. Here the authors develop frequency-based methods for analyzing the reaction mechanisms within living cells from distinctively noisy single-cell output trajectories and present forward engineering of synthetic oscillators and controllers.

Introduction

Modern microscopy and the advent of a wide array of fluorescent proteins1 have afforded scientists the unprecedented ability to monitor the dynamics of living biological cells2. The rapid pace of development in imaging technology coupled with advanced image processing techniques has made it viable to obtain high-resolution time-lapse live-cell data for a multitude of cell-types and biological processes. Recent innovations in microfluidics make it possible to quantitatively measure single-cell dynamics for long periods of time over multiple generations35. These trends underscore the need for developing theoretical and computational tools that are specifically geared towards quantitatively extracting information about intracellular networks from live single-cell imaging data. One of the main reasons why the development of such tools is mathematically challenging is that the dynamics of single-cells is inherently noisy due to randomness in molecular interactions that constitute intracellular processes, and hence single-cell dynamics must be described with stochastic models that are more difficult to analyse than their deterministic counterparts6. These stochastic models usually represent the reaction dynamics as a continuous-time Markov chain (CTMC) and the existing methods for analysing them have mostly focussed on solving the chemical master equation (CME) that governs the evolution of the probability distribution of the random state7. While these methods have been successfully applied in several significant biological studies8,9, they typically do not account for temporal correlations in time-traces of living cells, but rather they are designed to connect network models to flow-cytometry data10 where temporal correlations are anyway lost due to discarding of the measured cells. Temporal correlations are a feature of single-cell trajectories that contain valuable information about the underlying network, and in order to access this information we need computational methods that can efficiently deduce the temporal correlation profile from a given stochastic reaction network model.

As is well-known in engineering and physics communities among many others, frequency-domain analysis is a powerful way to analyse random signals and systematically study temporal correlations. In particular, a signal’s power spectral density (PSD) measures the power content at each frequency, and it is related to the signal’s temporal autocovariance function via the Fourier Transform (see Box 1). The PSD of a single-cell trajectory is intimately related to the underlying network’s architecture and parametrisation within the observed cell11. There exist many studies that have successfully unravelled this relationship and discovered mechanistic principles for specific examples of reaction networks. For example, in ref. 12 the role of feedback-induced delay in generating stochastic oscillations is explored and in ref. 13 a stochastic amplification mechanism for oscillations is found. Notably, the exact PSD for linear reaction networks was derived in ref. 14 and this was used to show how in gene expression networks post-translational modification reaction reduces the noise by serving as a low-pass filter.

Other works in this direction have relied on approximating the CTMC with a stochastic differential equation (SDE) such as the linear noise approximation (LNA)15 or the chemical Langevin equation (CLE)16. With these SDE-based approaches the protein PSD for gene-regulatory networks was investigated in refs. 1719, the relationship between input and output PSD for a single-input single-output system was computed in ref. 20, the single-cell PSD for a general biomolecular network in the vicinity of a deterministic Hopf bifurcation was determined in ref. 21 and corrections to the LNA-based PSD estimates were systematically derived in ref. 22. Even though SDE approximations make the problem of computing the PSD analytically tractable, their accuracy is severely compromised if any of the species are in low copy-numbers, as is the case for many synthetic networks where low copy-numbers are desired in order to reduce metabolic load on the host cell23. Moreover, even when the species copy-numbers are uniformly large, the accuracy of SDE approximations can only be guaranteed over finite time-intervals24, and hence the PSD, which is estimated at steady-state, could have an error (see the example presented in Fig. 4). It must be noted that for linear networks these approximations yield the exact PSD but if the network has nonlinear propensities then the error in the derived PSD expression can be significant25. In order to address these issues, we need PSD estimation methods that work reliably for CTMC models, especially in the low copy-number regime, without requiring any dynamical approximations. The aim of this paper is to develop such a method.

Fig. 4. Reducing single-cell oscillations due to the AIF controller.

Fig. 4

A Depiction of the biomolecular antithetic integral feedback (AIF) controller regulating the gene expression network. Here mRNA (X1) is the actuated species and the protein (X2) is the output species. This protein output is sensed by the controller species Z2 which annihilates the other controller species Z1 that is constitutively produced at rate μ. The species Z1 actuates the gene expression network by catalysing the production of mRNA X1. The red arrow indicates an extra negative feedback from the output species (protein) to the production of the actuated species (mRNA). In B, the single-cell oscillatory trajectories for the protein counts (without the extra feedback) are plotted and the corresponding PSD is estimated with Padé PSD and the DFT method. C Same plots as in panel (B) for Hill feedback with kfb=0.25min1. D Same plots as in panel (B) for proportional feedback with kfb=0.25min1. For other values of kfb, comparison plots between Padé PSD and DFT are provided in Fig. S5(A) in the Supplement. The plots for the single-cell trajectories in panels (BD) also indicate the total signal power which is equal to the stationary output variance (see Box 1). Notice the ≥ 50% reduction in this variance in the presence of feedback. E Comparison of the PSDs estimated with the Padé PSD method for the Hill and proportional feedback for three choices of feedback parameter kfb. In F, we simulate the deterministic model for this network (without the extra feedback) for four values of the actuation rate constant k. Notice that for lower values of k, the deterministic trajectories converge to a fixed point, but for higher values of k sustained oscillations emerge. This is quite different from the stochastic case, where oscillations persist even though their power continuously decreases as k decreases, as seen in panel (G) from the plots of PSDs obtained with the Padé PSD method. H Comparison of the PSDs estimated with Padé PSD and the DFT method for two values of k (for other values see Fig. S5(B) in the Supplement). All the PSDs were estimated with Q = 10 simulated trajectories.

In a recent paper26, the analytical relationship between the PSDs of the output species and its time-dependent production rate was derived for CTMC models of certain reaction networks including birth-death and simple gene expression. While this analysis enables investigation of the dynamics of the protein creation process from experimentally measured protein time-traces, it does not extend to nonlinear networks, such as gene expression networks with transcriptional feedback, for which some analytical results exist for simplified models27.

A recurring theme in the existing literature is that typically the autocovariance function is well-approximated by the sum of a few exponential functions18,20,26, and consequently the PSD is a rational function of a special form. This low dimensional feature can be theoretically explained by appealing to the compactness of the resolvent operator28 associated with the CTMC, which as we prove, is connected to the PSD. Exploiting this connection we develop the multipoint Padé approximation29 technique for estimating the PSD for a general nonlinear stochastic reaction network. This method, which we refer to as Padé PSD, computes the PSD expression based on certain stationary expectations. We design efficient Monte Carlo estimators to estimate the required expectations by generating a handful of simulations of an augmented CTMC, constructed by adding certain state-components and reactions to the original CTMC. We show how this augmented CTMC construction not only facilitates PSD estimation but also its empirical validation.

Our PSD estimation approach is semi-analytic, in the sense that analytical expressions for the PSD are found by first estimating certain quantities with simulation. Such approaches have become increasingly popular in recent years, as they provide viable solutions to nonlinear problems which are otherwise analytically intractable30. Analytical expressions for the PSD are known in the special case of linear reaction networks14, where all reaction propensity functions are affine functions of the state variables. We show how this expression can be alternatively derived via the resolvent connection and we also generalise this result to allow for arbitrary time-varying inputs. This generalisation yields a PSD decomposition result that is similar to what was found in previous SDE-based studies20 and it extends the recent results in ref. 26.

Given a stochastic reaction network model, commonly the single-cell PSD is estimated with nonparametric methods by first simulating a trajectory, and then sampling it at finitely-many timepoints to obtain a discrete time-series whose PSD can be straightforwardly computed with the Discrete Fourier Transform (DFT)31. Either one can apply the DFT directly to the time-series to estimate the PSD or one can first estimate the autocovariance function and then compute its DFT (see Box 1 for more details). While the latter approach is computationally very expensive due to the autocovariance function computation, the former approach yields an inconsistent estimator for the PSD, which implies that the estimator variance does not vanish, even as the time-series length tends to infinity. To mitigate this inconsistency issue, PSDs from several independent trajectories are averaged, at the cost of significant computational burden as trajectory simulations are time-consuming. More importantly, the averaged PSD may still not be accurate because it is based on discrete sampling of continuous signals that can cause the problem of aliasing which distorts the estimated PSD by introducing frequency components corresponding to the sampling operation (see Chapter 1 in ref. 32). As shown by the Nyquist’s Sampling Theorem33 we can mitigate this aliasing effect by choosing the time-step parameter that is smaller than half of the reciprocal of the maximum frequency represented in the signal. However, for stochastic dynamics this criterion is unusable as the range of frequencies in the signal is very wide and picking a very small time-step can lead to computational intractability. These issues motivated us to devise Padé PSD that is not based on discrete-sampling and provides a parametric approach for estimating the PSD that rather than relying on only the output signal, uses full information contained in the stochastic model of the dynamics.

We illustrate our results with applications of relevance to both systems and synthetic biology. Using our PSD decomposition result for linear networks, we demonstrate how PSDs enable differentiation between two fundamental types of adapting circuit topologies, viz. Incoherent Feedforward (IFF) and Negative Feedback (NFB)34, in the presence of dynamical intrinsic noise. We also present an example where the phenomenon of single-cell entrainment is examined in the stochastic setting using our PSD decomposition result. Employing Padé PSD we illustrate how the performance of certain synthetic circuits, with noisy dynamics, can be optimised. Specifically, we examine the problem of optimising the oscillation strength of a well-known synthetic oscillator (called the repressilator35) and the problem of reducing single-cell oscillations which can arise when an intracellular network is controlled with the antithetic integral feedback (AIF) controller36 that has the important property of ensuring robust perfect adaptation despite randomness in the dynamics and other environmental uncertainties. Lastly, we present examples to highlight how our Padé PSD method helps in the study of oscillations caused by cell-division cycles as well as facilitate parameter inference from experimentally measured single-cell trajectories, by providing clean and accurate estimations of the PSD. Interestingly, inferring a parameter with PSD does not require the explicit knowledge of the proportionality constant that relates the measured signal to the copy-number of the output species37.

Box 1 Frequency domain analysis of stochastic signals.

Inline graphicConsider a reaction network, comprising species X1, …, Xd whose copy-number dynamics is described by an ergodic continuous-time Markov chain (CTMC) (X(t))t ≥ 0 with stationary distribution π. Our goal is to estimate the PSD which measures the strengths of oscillatory components of various frequencies in the output signal (Xn(t))t0 tracking the copy-number trajectory for species Xn. We first subtract the stationary mean Eπ(Xn) and construct the mean zero signal as X~n(t)=Xn(t)Eπ(Xn) and then the time-averaged signal power P(Xn) is equal to the stationary variance Varπ(Xn), i.e.

P(Xn):=limTT10TX~n(t)2dt=Varπ(Xn).

The power spectral density (PSD) for the output signal is given by

SXn(ω)=limTT1FT(ω)2,whereFT(ω)=0TX~n(t)eiωtdt

is the one-sided Fourier Transform, ω is the frequency and i=1. This PSD is related to the autocovariance function

RXn(τ):=EX~n(t)X~n(t+τ)=limTT10TX~n(t)X~n(t+τ)dt

by the well-known Wiener-Khintchine Theorem85 that shows that the PSD can be expressed as the two-sided Fourier Transform of the autocovariance function

SXn(ω)=RXn(τ)eiωτdτ. 1

The interpretation of the PSD curve is given above. The location ωmax of its global maximum is considered to be the oscillatory frequency of the output signal.

Commonly the PSD is estimated by first sampling a discrete time-series from a simulated CTMC trajectory at steady-state, and then taking its discrete Fourier transform (DFT) to estimate FT(ω) which then yields the PSD. This nonparametric procedure for PSD estimation is often called the periodogram method and it has known drawbacks due to estimator bias and inconsistency that often manifests in a high variance of the PSD estimator. The reliability of the estimator can be improved by ensemble averaging, windowing or artificial smoothing32, but the underlying problems that compromise the accuracy of the PSD estimate still remain.

Results

The stochastic model

We first describe the CTMC model for a reaction network and define the resolvent operator associated with it. We then connect this operator to the PSD. This connection shall be exploited later to develop our analytical and computational results.

Consider a reaction network with d species, called X1, …, Xd, and K reactions. In the classical stochastic reaction network model, the dynamics is described as a continuous-time Markov chain (CTMC)7 whose states represent the copy numbers of the d network species. If the state is x = (x1, …, xd) and reaction k fires, then the state is displaced by the integer stoichiometric vector ζk. The rate of firing for reaction k at state x is governed by the propensity function λk(x). Under the mass-action hypothesis7

λk(x1,,xd)=θkj=1dxj(xj1)(xjνjk+1)νjk!, 2

where θk is the rate constant and νjk is the number of molecules of Xj consumed by the k-th reaction. Formally, the CTMC (X(t))t ≥ 0 representing the reaction kinetics can be defined by its generator A, which is an operator that specifies the rate of change of the probability distribution of the process (see Chapter 4 in ref. 38). It is defined by

Af(x)=k=1Kλk(x)f(x+ζk)f(x), 3

for any real-valued bounded function f on the state-space which consists of all accessible states in the d-dimensional non-negative integer lattice.

For each state x, let p(t, x) be the probability that the CTMC (X(t))t ≥ 0 is in state x at time t. Then these probabilities evolve according to a system of ordinary differential equations, called the chemical master equation (CME)7, which is typically unsolvable. Hence its solutions are often estimated with Monte Carlo simulations of the CTMC, using methods such as Gillespie’s stochastic simulation algorithm (SSA)39. If the CME has a unique, globally attracting fixed point π then the CTMC is called ergodic with π as the stationary distribution. If the convergence of p(t) to π is exponentially fast in t, then the CTMC is called exponentially ergodic. We shall work under the assumption of exponential ergodicity which is computationally verifiable using techniques in ref. 40 and in ref. 41, wherein, it is also demonstrated that this assumption is satisfied by networks typically encountered in systems and synthetic biology. It is important to note that for an ergodic network, all stochastic trajectories, despite being different, have the same PSD.

Even though we primarily work with the CTMC model with generator (3), the PSD estimation method that we develop in this paper can also be applied to a more general CTMC model whose generator is given by

Af(x)=k=1Kζλk(x)f(x+ζ)f(x)μk(x,ζ), 4

where μk(x, ⋅ ) is a state-dependent probability distribution that governs the displacement upon firing of reaction k, i.e. if the state is x and reaction k fires, the process would jump to (x + ζ), where ζ is randomly drawn from the probability distribution μk(x, ⋅ ). Notice that by setting μk(x, ⋅ ) to be the probability distribution that puts all the mass at the fixed vector ζk, irrespective of the state x, we recover the standard CTMC model with generator (3). The generality introduced by allowing the displacement to be random and state-dependent is useful in capturing cell-wide mechanisms, like cell-division, that impact the whole molecular population within a cell (see the example presented in Fig. 7).

Fig. 7. Cell-cycle induced oscillation in gene expression.

Fig. 7

We model the cell-cycle evolution as a N-stage Markov process with a constant rate α of transitioning from one stage in the cycle to the next. When the transition is from state N to state 1, the mother cell splits into two daughter cells, from which only one cell is tracked and measured. At the time of the split, the mother cell molecules are partitioned in one of two ways—symmetric binomial (i.e. each molecule has a 50% chance of ending up in the tracked cell) and strict binary (i.e. the tracked cell receives exactly half of the molecules of each network species). These two scenarios are depicted in panels (A) and (C). In panel B (resp. panel (D)), we suppose that the cell undergoing symmetric binomial (resp. strict binary) partitioning, contains the gene expression network shown in Fig. 2A. We plot the single-cell trajectories for the protein counts as well as the corresponding PSDs estimated with the Padé PSD and the DFT methods for four values of the cell-cycle length N, keeping the cell-cycle frequency constant. All the PSDs were estimated with Q = 10 simulated trajectories.

The resolvent operator and its connection to the PSD

Let (X(t))t ≥ 0 be a CTMC with generator A. For such a Markov process, we define the transition semigroup T(t) as the operator which maps any real-valued function g on the state space, to the function specified by the conditional expectation

T(t)g(x)=Eg(X(t))X(0)=x. 5

We now define the resolvent operator which plays a central role in the development of our method for PSD estimation. For any complex number s, the resolvent operator maps the function g to the Laplace transform of the map tT(t)g

R(s)g(x)=0estT(t)g(x)dt. 6

It can be shown that the map sR(s)g(x) is complex-analytic.

Assuming that the observed single-cell trajectory (Xn(t))t0 is the copy-number dynamics of the output species Xn, we now establish a relation between the PSD SXn(ω) (see Box 1) and the resolvent operator. Let Eπ(Xn) denote the stationary expectation of the copy-number of species Xn and let f be the function

f(x)=xnEπ(Xn). 7

Defining

G(s):=EπfR(s)f, 8

the PSD SXn(ω) is given by

SXn(ω)=2Real(G(iω)), 9

where i=1. This relation is proved in Section S2.2 of the Supplement. In this result we view the function xf(x)R(s)f(x) as a random variable on the probability space whose sample-space is the state-space of the CTMC and the probability distribution is given by the stationary distribution π. The expectation of this random variable is denoted by G(s) and in the PSD estimation method we develop, we first estimate G(s) and then obtain the PSD using (9).

The eigen-decomposition of the resolvent operator allows us to express G(s) as an infinite sum

G(s)=j=1αjsσj, 10

where σ1, σ2, … are the non-zero eigenvalues of A, assumed to be distinct and arranged in descending order of their real parts (which are negative due to ergodicity). Each coefficient αj captures the power in the signal corresponding to eigenmode σj, and their sum is equal to the total signal power which is also the stationary variance Varπ(Xn) of the output species copy-number

j=1αj=Varπ(Xn).

Relation (10) is equivalent to the following representation of the autocovariance function

RXn(τ)=j=1αjeσjτ. 11

In the case of linear networks, G(s) can be exactly computed and (9) yields an analytical expression for the PSD which is already known in the literature14. However, for such networks stimulated by external inputs it is not known how the output PSD is related to the PSDs of the input signals. We derive this relation by exploiting the resolvent connection and this yields a practically useful PSD decomposition result (see Theorem 2.1). For general nonlinear networks, we apply the theory of Padé approximations to find an accurate rational function representation of G(s) which is then used to estimate the PSD (9).

A PSD decomposition result for linear networks

In this section, we present a PSD decomposition result for linear networks with generator (3), that extends a similar result recently reported in ref. 26. A reaction network is called linear if all its propensity functions are affine functions of the state variables. Under mass-action kinetics, linear networks are necessarily unimolecular, i.e. all reactions have at most one reactant and are of the form or Xj ⟶ ⋆, where ⋆ represents any linear combination of species. Assuming d species and K reactions, for linear networks we can express the vector of propensity functions λ(x) = (λ1(x), …, λK(x)) as an affine map on the state-space

λ(x)=Λx+b~,

where Λ is some K × d matrix and b~ is a K × 1 vector. Letting S be the d × K matrix whose columns are the stoichiometric vectors ζ1, …, ζK for the reactions. We define

A=SΛandb=Sb~,

and under the assumption of ergodicity, the d × d matrix A is Hurwitz-stable, i.e. all its eigenvalues have strictly negative real parts. It can be easily shown (e.g. ref. 40) that the dynamics of the expected state x(t)=E(X(t)) is given by

dxdt=Ax(t)+b, 12

and as t → , x(t) converges to x¯ which is the state expectation under the stationary distribution π

x¯=Eπ(X)=A1b.

Moreover, the stationary covariance matrix Σ for the state can be computed by solving the following Lyapunov equation

AΣ+ΣAT+DDT=0,

where D is the positive semidefinite matrix satisfying DDT=Sdiag(Λx¯+b~)ST. In this setting, we can show that the resolvent operator maps the class of affine functions to itself, and this allows us to apply formula (9) to prove (see the Supplement, Section S2.3) that the PSD is given by

SXn(ω)=2enT(ω2I+A2)1AΣen, 13

where I is the d × d identity matrix and en denotes its n-th column. This expression is equivalent to the PSD formula for linear networks proved in ref. 14 using Gardiner’s regression theorem42 and it can also be derived using the LNA approximation.

Now consider the situation where such a linear network is being driven by external signals. These signals could be generated by different sources, e.g. upstream interconnected networks, environmental stimuli, or by engineered inputs introduced to probe the dynamics (see Fig. 1). A fundamentally important question is to understand how the internal noise and each of these inputs (deterministic or stochastic) conspire to make up the full power spectrum of an output of interest. Indeed it would be of considerable conceptual and practical significance to be able to decompose the output power spectrum in a way that allows the quantification of the specific contributions to the spectrum of the internal noise and of each of the external inputs. Although approximate decompositions of this sort have been reported in specific example networks modelled by CLEs19,20, to the best of our knowledge no spectral decomposition results exist for general biochemical networks modelled by CLE, nor for those modelled by discrete stochastic CTMC models.

Fig. 1. The setting of the PSD decomposition result.

Fig. 1

A stochastic reaction network with linear propensity functions embedded in the intracellular milieu and receiving stimulation from several upstream networks. Theorem 2.1 provides an analytical decomposition for the output PSD SXn(ω) in terms of the PSDs of all the stimulating signals.

We consider m independent time-varying signals (Y1(t))t0,,(Ym(t))t0. We assume that these signals stimulate through m zeroth-order reactions of the form

θkYk(t)j=1dcjkXj 14

for k = 1, …, m. Each reaction follows mass-action kinetics and for reaction k, θk is a positive constant and ck = (c1k, …, cdk) is the vector representing the number of molecules of each species X1, …, Xd created by this reaction. We shall assume that process (Y(t))t ≥ 0, which includes all the stimulating signals, is an exponentially ergodic Markov process with stationary expectation ȳ=(ȳ1,,ȳm). Let Σ¯ be the stationary variance-covariance matrix for the process (X(t))t ≥ 0 when each stimulating signal is deterministic and fixed to its stationary mean at all times, i.e. Y(t)=ȳ for all t ≥ 0. We now present our main result for linear networks which provides an analytic relationship between the PSD SXn(ω) of our output species Xn and the PSDs SYj(ω) for j = 1, …, m.

Theorem 2.1

(PSD Decomposition) Consider a linear reaction network comprising species X1, …, Xd, stimulated by independent time-varying signals (Y1(t))t0,,(Ym(t))t0, through zeroth-order reactions of the form (14). We assume that each Yj is an exponentially ergodic Markov process with PSD SYj(ω). The PSD of the output species Xn is given by

SXn(ω)=2enT(ω2I+A2)1AΣ¯enintrinsic+j=1mθj2enT(A+iωI)1cj2SYj(ω)extrinsic.

The proof of this result is provided in Section S2.3 in the Supplement and it shows that the output spectrum is the sum of the intrinsic contribution and the external contributions from all stimulating signals. The external contribution due to signal Yj is modulated by the frequency-dependent gain θj2enT(A+iωI)1cj2.

Padé PSD

In this section we develop our method, called Padé PSD, for estimating the PSD for a general nonlinear network with generator (4). For this, we apply Padé approximation theory which is known to be immensely useful in computing accurate rational function approximations for analytic functions. Recall representation (11) of the autocovariance function which is equivalent to representation (10) for the function G(s). Previous studies have established that usually the autocovariance function is well-approximated by only the first few terms in this infinite series. This fact can be justified by appealing to the compactness of the resolvent operator which ensures that it is close to a finite-rank operator (see Section S2.1 in the Supplement). If we only keep the first p terms in the infinite sum (10), then we obtain a rational function of the form

Gp(s):=κ0+κ1s++κp1sp1β0+β1s++βp1sp1+sp 15

where the degree of the numerator polynomial is (p − 1) while the degree of the denominator polynomial is p. Based on this rational Ansatz, we shall employ the method of multipoint Padé approximation for identifying the 2p coefficients (viz. κ0, …,κp−1, β0, …, βp−1) such that Gp(s) serves as an accurate approximant for the function G(s) given by (8), which then provides the PSD due to (9). The theory of multipoint Padé approximations29 (also called Newton-Padé approximations43) is quite rich and many works have analysed their accuracy and convergence properties (see Chapter 3 in ref. 44). In such an approximation, the rational Padé approximant is constructed by matching its power series expansions at several arbitrarily chosen points s1, …, sL, up to a certain number of terms ρ1, …, ρL, to the corresponding power series expansions of the function being approximated (i.e. G(s) in our case). In our application we allow each s to belong to the extended positive real line (0, ] (i.e. is included). The power series expansion of G(s) at s = s can be written as

G(s)=a0()+a1()(ss)+a2()(ss)2+ifs<a0()s+a1()s2+a2()s3+ifs=. 16

We show in Section S2.4.1 of the Supplement that each am() can be identified as the m-th Padé derivative at s = s defined by

Dm(s)=(1)mm!Eπf0tmetsT(t)fdtifs<EπfAmfifs=, 17

where f is the output function (7), T(t) denotes the transition semigroup operator (5) with generator A, and Am denotes the m-th iterate of A with A0=I (the identity operator).

Suppose for now that these Padé derivatives have been estimated. Then it can be shown (see Section S2.4.2 in the Supplement) that for the Padé approximant Gp(s) to have a power series expansion at s = s that agrees with the first ρ terms in (16), the 2p-dimensional vector of unknown coefficients x = (κ0, …,κp−1, β0, …, βp−1) must satisfy the linear system

A()x=b() 18

where A() is a ρ × 2p matrix and b() is a ρ-dimensional vector whose components in the case s <  are given by

Aji()=0fori=0,,j1ijsijfori=j,,p1k=0min{ip,j}ipksipkDjk(s)fori=p,,2p1andbj()=k=0jpkspkDjk(s). 19

In the case s =  these components become

Aji()=0fori=0,,p1andi(p1j)1fori=(p1j)0fori=p,,2pj1Dj+i2p(s)fori=2pj,,2p1andbj()=Dj(s). 20

Aggregating these linear systems (18) for all  = 1, …, L we arrive at the cumulative linear system

Ax=b 21

where A and b are obtained by vertically stacking A()-s and b()-s. Note that the dimensions of A and b are ρsum × 2p and ρsum × 1, respectively, with ρsum==1Lρ. Hence this linear system can be underdetermined if ρsum < 2p or overdetermined if ρsum > 2p. To handle both these possibilities in a unified way, we solve the linear system Ax = b in the sense of least-squares, by minimising the residual norm Axb22. This provides us with the vector of unknown coefficients x to construct the rational Padé approximant Gp(s).

Consider the scenario of Theorem 2.1 where the output trajectory comes from a downstream network that is driven by a stochastic external signal that emanates from an upstream network. The denominator B(s) of the function G(s) that characterises the PSD of the external signal can be viewed as the product of the significant eigenvalues of the generator of the upstream network (see (10)), and one can show that these are also eigenvalues for the generator of the full network that includes both the upstream and the downstream networks (see Remark S2.2 in the Supplement). Hence we can reasonably expect B(s) to appear as a factor in the denominator for the function G(s) that characterises the PSD of the output signal and this factor can be independently estimated from the upstream network. This suggests a more general rational Ansatz than (15), which is of the form

Gp(s)=κ0+κ1s++κp1sp1(β0+β1s++βpq1spq1+spq)B(s) 22

where B(s) = B0 + B1s + ⋯ + Bq−1sq−1 + sq is some known polynomial with degree q ≤ p. In this case, the linear system for the unknown coefficients x = (κ0, …, κp−1, β0, …, βpq−1) changes from (21) to

AIp00Cx=bA0B^ 23

where A and b are same as before, Ip is the p × p identity matrix, B^=(B0,,Bq1) is the q-dimensional vector of coefficients of B(s) and C is the p × (p − q) convolution matrix whose entries are given by

Cji=Bjiifi=jq,jq+1,,j0otherwise.

For our approach to work, the main challenge is to develop a method for reliable estimation of the Padé derivatives from a handful of trajectory simulations. We describe such a method in the next section and in the subsequent sections we discuss how the resulting Padé approximant can be validated and also provide more details on the computational implementation of our Padé PSD method.

Estimation of the Padé derivatives

We first consider the case s < . Appealing to the ergodicity of the CTMC we can express the Padé derivative Dm(s) as

Dm(s)=(1)msm+1Eπf0tmsm+1m!etsT(t)fdt=(1)msm+1limTEf(X(T))f(X(Tτs(m))) 24

where τs(m) is an independent random variable with Erlang distribution with shape parameter (m + 1) and rate parameter s. In other words, the probability density function of τs(m) is given by

Fτs(m)(t)=tmsm+1m!etsfort0,

and we can view τs(m) as the sum of (m + 1) independent and identically distributed exponential random variables with rate parameter s. Noting that Xn(T) and Xn(Tτs(m)) shall have the same mean and variance at stationarity we can rewrite (24) as

Dm(s)=(1)msm+1Varπ(Xn)δm(s)2, 25

where Varπ(Xn) is the stationary variance of the output species copy-number and δm(s) is the steady-state expectation of the squared change in the output state in a time-period of length τs(m), i.e.

δm(s)=limTEXn(Tτs(m))Xn(T)2

We now discuss how we can simultaneously estimate the steady-state expectation (25) for each m = 0, 1, …, (ρ − 1). For this, we augment the CTMC state with ρ additional state components, denoted by Y1(t),,Yρ(t), and an extra reaction, called Rs that fires at the constant rate of s. If this reaction fires at time t, then we reset these additional state components as

Y1(t)=Xn(t)andYj(t)=Yj1(t)forj=2,,ρ, 26

where Xn(t−) is the copy-number of the output species Xn, just before the reaction firing time. Similarly for j ≥ 2, Yj(t) assumes the value of the previous state component before the jump time, which is Yj−1(t − ). Letting τs(m) be the Erlang-distributed random variable mentioned above, for any T ≫ 1

Yj(T)=Xn(Tτs(m)),

and we can express δm(s) as

δm(s)=limTEYm+1(T)Xn(T)2.

Suppose we have Q simulated trajectories of the augmented CTMC denoted by (X(q)(t),Y(q)(t))t0 for q = 1, …, Q. Then we can simultaneously estimate each δm(s) with the Monte Carlo (MC) estimator

δ^m(s)=1Q(TfTc)q=1QTcTfYm+1(q)(t)Xn(q)(t)2dt,

where Tc ≪ Tf is the cut-off time at which stationarity is assumed to be reached and the initial part of each trajectory in the time-interval [0, Tc] is discarded. Observe that if Tf is large enough then even a single trajectory (i.e. Q = 1) is sufficient for this estimation due to Birkhoff’s Ergodic Theorem45. However, using multiple trajectories enhances the MC estimator’s statistical accuracy which can be measured by estimating its sample variance. Based on Q CTMC trajectories the output variance Varπ(Xn) can be estimated as

Var^π(Xn)=1Q(TfTc)q=1QTcTfXn(q)(t)2dt1Q(TfTc)q=1QTcTfXn(q)(t)dt2. 27

Plugging this estimate along with δ^m(s) in (25), we obtain estimates of the Padé derivatives Dm(s) for each m = 0, …, (ρ − 1).

We now come to the case s = . As before by simulating Q CTMC trajectories we can estimate Dm(), for each m = 0, 1, …, (ρ − 1), using the MC estimator

D^m()=1Q(TfTc)q=1QTcTff(X(q)(t))Amf(X(q)(t))dt. 28

However, we generally find that the estimator (28) has a very large variance unless the simulation time-period [0, Tf] is very large. To mitigate this issue we design suitable covariates that can be added to the integrands in (28) in order to aid convergence with respect to Tf (see Section S2.4.3 in the Supplement). The resulting integrand is given by

Ψm(c)(x)=12mr(Arf(x))2+k=1r1mkAkf(x)Amkf(x)ifm=2riseven+k=0r1m1kγk(m1k)(x)k=1rmkAkf(x)Amkf(x)+k=0r1m1kγk(m1k)(x)ifm=(2r+1)isodd+12m1kγrr(x). 29

Here the function γjl(x) is defined as

γjl(x)=k=1Kζλk(x)Aj(f(x+ζ)f(x))Al(f(x+ζ)f(x))μk(x,ζ). 30

It can be shown that Dm()=Eπ(Ψm(c)) and hence we can estimate it from Q CTMC trajectories as

Dm()=1Q(TfTc)q=1QTcTfΨm(c)(X(q)(t))dt. 31

In practice, we find that this covariate-based MC estimator (31) typically has much lower variance than the simpler MC estimator (28).

Validation of the Padé approximant

Once the required Padé derivatives have been estimated, we can compute the Padé approximant Gp(s) and then use this approximant to compute the PSD. For this PSD estimation procedure to work well, it is crucial that the Padé approximant Gp(s) is an accurate surrogate for the function G(s). This depends on many factors, such as the order of approximation p, the number of Padé derivatives that are estimated and their statistical precision. In order to test if a computed Padé approximant is accurate we can validate it using direct statistical estimates (i.e. without rational approximation) of the function G(s) at multiple values of s, prescribed by s¯1,,s¯R. These values are all real positive numbers and similar to the Padé derivatives, the direct estimates can be estimated by augmenting the CTMC state with R additional state components, denoted by Z1(t), …, ZR(t), to keep track of the copy number history of the output species Xn at random exponential times in the past. Assume that there are R additional reactions Rs¯1,,Rs¯R that fire independently at constant rates s¯1,,s¯R, respectively. If reaction Rs¯r fires at time t, then we set

Zr(t)=Xn(t) 32

where Xn(t−) is the copy-number of the output species Xn, just before the reaction firing time. As before we can conclude that for each r = 1, …, R the value G(s¯r) can be estimated with Q augmented CTMC trajectories, denoted by (X(q)(t),Z(q)(t))t0 for q = 1, …, Q

G^(s¯r)=1s¯rVar^π(Xn)12Q(TfTc)q=1QTcTfZr(q)(t)Xn(q)(t)2dt, 33

where Var^π(Xn) is the estimator (27) for the output variance.

If the estimated Padé approximant Gp(s) is accurate, each G^(s¯r) would be close to the value Gp(s¯r), even though both these estimates would have some inaccuracies due to finite sampling and the finiteness of the simulation time-period. Upon comparing the graphs {(s¯r,G^(s¯r)):r=1,,R} and {(s¯r,Gp(s¯r)):r=1,,R}, the Padé approximant can be validated.

We now present several biological examples to illustrate applications of Padé PSD method and also the PSD decomposition result for linear networks (Theorem 2.1). We start by considering some simple linear networks where analytical expressions for the exact PSDs are known and we show that Padé PSD is able to provide very accurate approximations to the PSD (see Fig. 2). Next we discuss how our PSD decomposition result allows us to identify a key criterion that enables differentiation between adapting circuit topologies34. We then provide two case studies to illustrate the usefulness of our PSD estimation method for synthetic biology applications. We first examine the problem of optimising the oscillation strength of the repressilator35 (see Fig. 3) and then we consider the problem of reducing single-cell oscillations that typically arise due to the recently proposed antithetic integral feedback (AIF) controller36 (see Fig. 4) that has the important property of ensuring robust perfect adaptation for arbitrary intracellular networks with stochastic dynamics. Next, we examine how the PSD decomposition result can help us in studying the phenomenon of single-cell entrainment in the stochastic setting (see Fig. 5) and then we present an example to show how Padé PSD facilitates parameter inference with experimental single-cell trajectories that measure the copy-numbers of the output species up to an unknown constant of proportionality (see Fig. 6). Lastly, we consider an example with cell-division cycle, and demonstrate that our Padé PSD method can be used for accurately estimating the PSDs and quantitatively examining oscillations induced by the cell-cycle (see Fig. 7).

Fig. 2. Frequency-domain analysis of linear propensity networks.

Fig. 2

A This is the standard gene expression model where mRNA (X1) is transcribed constitutively and it translates into protein (X2). B In this RNA splicing network a gene can randomly switch between inactive (X2) (low transcription) and active (X1) (high transcription) states. When transcription occurs, unspliced mRNA (X3) is created which is then converted into spliced mRNA (X4) by the splicing machinery. C In the Incoherent Feedforward (IFF) network an input I (constant level I0) directly produces the output O and it produces the controller species C, which represses the production of output O. D In the Negative Feedback (NFB) network the input I (constant level I0) produces the controller species C, that produces the output species O which in turn inhibits the production of C from I. For all the networks single-cell output trajectories in the stationary phase are plotted. We provide a comparison of the single-cell PSDs estimated with three approaches—(1) analytically (see Table 1), (2) the Padé PSD method (see Table 1) using Q = 10 simulated trajectories and (3) the averaged periodogram or the DFT method mentioned in Box 1 using discrete samples from Q = 10 simulated trajectories. For the DFT estimator, the black curve represents the mean of the PSDs and the shaded grey region represents the symmetric one standard deviation interval around the mean. For the NFB network one can see that detecting the presence of oscillations in the fluctuations is much easier in the frequency-domain than in the time-domain.

Fig. 3. Improving the repressilator’s oscillatory strength.

Fig. 3

A Depiction of the repressilator network with three gene expression systems whose output proteins cyclically repress each other. When present, the sponge plasmid can bind TetR proteins, thereby raising the derepression threshold of the cI gene. B Shows the effect of the sponge on the PSD. It can be seen that the sponge sharpens the PSD peak for promoter cooperativity H = 1.5 but this effect is lost for H = 2. C Plots the single-cell trajectories with and without the sponge for promoter cooperativity H = 1.5, and they show that the oscillations are more regular in the latter case. Comparison of the PSD estimated with our Padé PSD method with the PSDs estimated with DFT is provided. For these estimations, Q = 10 simulated trajectories were used. D Repeats the computational analysis in panel (C) for promoter cooperativity H = 2.

Fig. 5. Stochastic entrainment of gene expression by the repressilator.

Fig. 5

A Schematic diagram of the repressilator driving a gene expression network. The cI protein from the repressilator acts as an activating transcription factor for mRNA (X1) which translates into output protein (X2). The red arrow from X2 to X1 indicates negative transcriptional feedback from the protein molecules. When the repressilator is connected to the gene expression network, for linearised feedback the PSD can be estimated with the composite Padé PSD method which is based on Theorem 2.1. In B, these PSD estimates (after normalisation by the total area under the PSD curve) are plotted for six values of θ and compared for θ=0.4min1 to the PSD obtained with the DFT method. One can observe the stochastic entrainment phenomenon as θ increases. C The heat-map for the entrainment score (see (44)) as a function of θ and the feedback strength parameter kfb. Observe that the entrainment score is monotonically increasing in both variables kfb and θ, but it is more sensitive to kfb. D For nonlinear transcriptional feedback PSD estimates obtained with Padé PSD are plotted and compared with the DFT method for θ=1min1 and θ=5min1. All the PSDs were estimated with Q = 10 simulated trajectories.

Fig. 6. PSD-based inference of a self-regulatory gene expression model.

Fig. 6

A Depicts the self-regulatory gene expression system where the output represses the gene (shown in red) via a nonlinear Hill function (45) with cooperativity coefficient H. B Plots the normalised PSDs (area under the PSD curve is 1) obtained by Padé PSD for various values of H, and compares it with the normalised PSD obtained from experimental single-cell trajectories. The experimental PSD was computed by averaging the PSDs from Q = 100 single-cell trajectories, and the black curve represents the mean, while the shaded grey region represents the symmetric one standard deviation interval around the mean.

Detailed descriptions of the networks considered in the paper and their PSD analysis can be found in Section S4 of the Supplement. Unless otherwise stated, all reaction networks are assumed to follow CTMC dynamics with generator (3) and all propensity functions are assumed to be of the mass-action form (2).

Validation of Padé PSD with linear networks

We now provide analytical expressions for the PSD of certain simple networks, like the birth-death, the classical gene expression network46 and the recently proposed RNA splicing network47. We then show that Padé PSD is able to approximate the PSD quite accurately.

Gene transcription

Consider a simple model of constitutive gene transcription and mRNA degradation, given by a single-species birth-death network with rate of production k and the rate of degradation γ

kXγ.

The stationary distribution for this network is Poisson with parameter k/γ. Hence the stationary mean and variance and equal to k/γ and applying formula (13) we can compute the PSD as

SX(ω)=2kγ2+ω2. 34

This shows that the PSD (normalised by the total area under its curve) has the fat-tailed Cauchy distribution with infinite mean and variance, showing that even for such a simple network the stochastic output trajectory contains a very wide range of frequencies.

Gene expression network

We now analyse the gene expression model shown in Fig. 2A that consists of two species—the mRNA (X1) and the protein (X2). There are four reactions corresponding to mRNA transcription, protein translation and the first-order degradation of both the species. Observe that the mRNA dynamics is birth-death and hence we can compute its PSD using (34) with (k, γ) ↦ (kr, γr). Since mRNA stimulates the creation of protein via a reaction of the form (14) we can apply our PSD decomposition result (Theorem 2.1) to express the protein PSD as a sum of two components corresponding to translation and transcription, respectively:

SX2(ω)=2krkpγr(γp2+ω2)translation+kp2γp2+ω22krγr2+ω2transcription. 35

The translation term is computed by setting the mRNA level to its stationary mean x¯1:=kr/γr and then viewing the protein dynamics as a birth-death process with production rate kpx¯1 and degradation rate γp. The transcription term is simply the PSD of mRNA modulated by the frequency-dependent factor given by Theorem 2.1.

RNA splicing network

The recently proposed RNA Splicing network (see Fig. 2B) was used to model the concept of RNA velocity that can help in understanding cellular differentiation from single-cell RNA-sequencing data47. Here a single gene-transcript can randomly switch between active (X1) and inactive (X2) states with different rates of transcription of unspliced mRNA (X3). The splicing process converts these unspliced mRNAs into spliced mRNAs (X4). Both spliced and unspliced mRNAs undergo first-order degradation. Applying formula (13) we can write the PSD of the dynamics of active gene count as

SX1(ω)=2konkoff(kon+koff)((kon+koff)2+ω2). 36

Note that when the active gene count is X1 ∈ {0, 1} the transcription rate is αoff + (αon − αoff)X1. We can view transcription as a superposition of two reactions—a constitutive reaction with rate αoff and reaction of the form (14) where the stimulant is the active gene X1. Applying Theorem 2.1 we can decompose the PSD of the spliced mRNA count as

SX4(ω)=2β(αoffkoff+αonkon)(β+γu)(koff+kon)(γr2+ω2)splicing+β2(αonαoff)2((β+γu)2+ω2)(γr2+ω2)SX1(ω)transcription, 37

where SX1(ω) is given by (36).

Observe that for both gene expression and RNA splicing networks we can find an analytical expression for the PSD by directly applying formula (13) for the full network. However, using our PSD decomposition result we not only simplify the computation but also identify the contribution of the network mechanisms to the PSD.

For a specific parameterisation of these two networks, we compare the PSDs obtained analytically with those obtained by our Padé PSD method and the standard periodogram estimator for PSD that is based on discrete-sampling and DFT (see Box 1). The results are presented in Fig. 2A, B and they show good agreement, despite the noisy nature of the DFT estimate. The analytical expressions for the PSD along with the PSD estimates produced by Padé PSD are given in Table 1. One can see that the PSD estimated by our method is quite “close” to the analytical PSD for the gene expression network. The same holds for the RNA splicing network (see the PSD plots in Fig. 2B) even though it is not apparent from the expressions in Table 1.

Table 1.

Expressions for PSDs estimated analytically and with the Padé PSD method.

Network Analytical PSD Padé PSD
Gene expression 40ω2+120ω4+1.25ω2+0.25 39.9567ω2+118.3381ω4+1.2328ω2+0.2442
RNA splicing 1.2ω4+30ω2+219.84ω6+25.25ω4+150.25ω2+36 1.2010ω4+6.9450ω2+9.4755ω6+5.2220ω4+7.3450ω2+1.5276
IFF 94ω2+112ω4+1.25ω2+0.25 93.988ω2+114.53ω4+1.2752ω2+0.2527
NFB 66.6667ω2+200ω40.75ω2+2.25 66.6301ω2+201.8281ω40.7166ω2+2.2159

To estimate the Padé approximant we use s = (1, 1.5, 2, ∞) and ρ = (2, 2, 2, 3) for the RNA splicing network and for all other networks we use s = (∞) and ρ = (4).

The PSD enables discrimination between regulatory topologies

We consider simple three-node IFF and NFB topologies depicted in Fig. 2C, D with stochastic kinetics. We provide analytical expressions for the PSDs under the assumption of linearised propensity functions for the repression mechanisms. These expressions inform us about qualitative structural differences between the PSDs obtained from IFF and NFB topologies, regardless of the choice of reaction rate parameters. This shows that in the stochastic setting, the PSD of single-cell trajectories serves as a key “response signature” that can differentiate between adapting circuit topologies. We demonstrate this finding with our Padé PSD model for a specific parametrisation of these networks and we argue why this result holds for arbitrarily-sized IFF and NFB networks.

We begin by analysing the IFF topology, where the controller species C catalytically produces the output species O at rate Ff(xc) which is a monotonically decreasing function of the controller species copy-number xc and it represents the repression of O by C. We linearise the function Ff(xc) as

Ff(xc)=β0βffxc, 38

where β0 and βff are positive constants denoting the basal production rate and the strength of the incoherent feedforward mechanism, respectively. With this linearisation, all propensity functions become affine and hence we can apply the results for linear networks. Specifically, the steady-state means x¯c:=Eπ(C) and x¯o:=Eπ(O) are given by

x¯c=kcI0γcandx¯o=koI0+β0γoβffkcI0γcγo

and it is immediate that if βff ≈ koγc/kc, then the mean output value x¯oβ0/γo becomes insensitive to the input abundance level I0. This shows the adaptation property of the IFF network.

As the dynamics of C is simply birth-death with production rate kcI0 and degradation rate γc, its PSD is given by

SC(ω)=2kcI0γc2+ω2.

Under the assumption of linearity of the feedforward function Ff the stimulation of O by C can be viewed as zeroth-order degradation. Applying Theorem 2.1 we can evaluate the output PSD as

SO(ω)=2(koI0+β0βffx¯c)γo2+ω2+βff2γo2+ω2SC(ω).

Since this is a sum of two non-negative monotonically decreasing functions of ω, we can conclude that SO(ω) is also monotonically decreasing. Hence output trajectories cannot show oscillations regardless of the IFF network parameters. This same argument can be extended to IFF networks with arbitrary number of nodes (see the Supplement, Section S4.1.3).

In the NFB topology, the production of the controller species C is repressed by the output species O, and we model the production rate by a monotonically decreasing function Fb(xo) of the output species copy-number xo. As before, we linearise this function as

Fb(xo)=β0βfbxo, 39

where β0 is the basal production rate and βfb is the feedback strength. Under this linearisation, the steady-state means x¯c:=Eπ(C) and x¯o:=Eπ(O) are given by

x¯c=γoβ0I0γcγo+koβfbI0andx¯o=koβ0I0γcγo+koβfbI0.

Observe that if the input abundance level I0 is high, then mean output value x¯oβ0/βfb only depends on the feedback function Fb and it is insensitive to I0, thereby demonstrating the adaptation property. Applying formula (13) we arrive at the following expression for the PSD for the output trajectory

SO(ω)=2γokoβ0I0γcγo+koβfbI0γc2+koγc+ω2(γcγo+koβfbI0)2+ω2(γc2+γo22koβfbI0)+ω4. 40

Proposition S4.1 in the Supplement proves that the mapping ω ↦ SO(ω) has a positive local maximum (which is also the global maximum) if and only if

koβfbI0>γc4+γc3ko+γo2γckoΓ(γc,γo,ko)+γcγo+γc2+koγc, 41

where Γ(γc,γo,ko):=(γcγo+γc2+koγc)2+γc4+γc3ko+γo2γcko. This condition shows that regardless of the choice of NFB network parameters, the output trajectories will exhibit oscillation if the input abundance level I0 is high enough. Using the standard root-locus argument48 we can draw the same conclusion for arbitrarily-sized NFB networks (see the Supplement, Section S4.1.3). This shows that the existence of oscillations and non-monotonicity of the PSD is a differentiator between the NFB and the IFF networks as the latter never exhibits oscillations. Note that high I0 is precisely the condition for NFB to show adaptation and hence imposing this requirement is not very restrictive. The role of negative feedback in causing stable stochastic oscillations was explored theoretically in ref. 27 with CLE, and it has also been demonstrated experimentally.

For a specific parameterisation of the three-node IFF and NFB networks, we compare the PSD produced by our method with the analytical PSD and the DFT-based estimator. The results are shown in Fig. 2C, D and one can see that Padé PSD is quite accurate in estimating the PSD, which is also evident from the PSD expressions provided in Table 1. Since negative propensities cannot be allowed, we perform simulations with the positive part of the linear feedforward (see (38)) and feedback (see (39)) functions. Hence the analytical PSD expressions are not exact but they are still close because the dynamics rarely enters the states for which these linear functions become negative.

Using the PSD for enhanced oscillator design

The repressilator35 is the first synthetic genetic oscillator and it consists of three genes repressing each other in a cyclic fashion (see Fig. 3A). These three genes are tetR from the Tn10 transposon, cI from bacteriophage λ and lacI from the lactose operon. These three genes create three repressor proteins which are TetR, cI and LacI, respectively, and the cyclic repression mechanism can be represented as

TetRcILacITetR.

Due to intrinsic noise in the dynamics, the repressilator loses oscillations at the bulk or the population-average level after a few generations. At the single-cell level this intrinsic noise broadens the output PSD peak, making the oscillations less regular in both amplitude and phase. In other words, intrinsic noise compromises the ability of the circuit to keep track of time. This issue was addressed in a recent paper49 which elaborately studied the various sources of noise in the original circuit and eliminated them to construct a modified repressilator circuit that showed regular oscillations over several generations. It was found that most of the noise was generated when TetR protein levels were low and the derepression of the TetR controlled promoter occurred at a low threshold. To raise this threshold a sponge plasmid was introduced and this had the remarkable effect of regularising the oscillations and sharpening the single-cell PSD peak.

It is also known that increasing the cooperativity of the repression mechanism improves regularity of the oscillations35. A fundamental question then arises is that—does the PSD-sharpening effect of the sponge plasmid persist when the repression cooperativity is increased? If this is true then one can regularise oscillations even more by designing cooperative promoters in addition to employing the sponge device. We study this question using an adaptation of the stochastic model given in ref. 49. The stochastic model is detailed in Section S4.2.1 of the Supplement. The repression mechanism is encoded with a nonlinear Hill function whose coefficient H represents the degree of cooperativity among the promoter binding sites. The sponge plasmid, if present, can competitively bind the free TetR molecules, reducing the number of these molecules available for repressing the cI gene.

We demonstrate that our method is able to accurately estimate the single-cell PSD and exhibit the sharpening of the PSD in the presence of the sponge plasmid when the cooperativity is set to H = 1.5. Surprisingly when the cooperativity is increased to H = 2, the sponge loses its effect of sharpening the PSD. This shows that in certain parameter regimes, the oscillation-regularising effects of the sponge plasmid and the repressor binding cooperativity are not additive, possibly due to the fact that increased cooperativity makes the repression mechanism more ultrasensitive50.

With our method, we estimate the PSD for the dynamics of the copy-numbers of the cI protein, whose expression is directly repressed by TetR. For the promoter cooperativity (i.e. the Hill coefficient) of H = 1.5, the PSD indeed exhibits a sharper peak, in the presence of the sponge plasmid, at the peak frequency of around ωmax1.35rad./gen. (see Fig. 3B). This sharpness in PSD suggests more regularity in oscillations which is also evident from the single-cell trajectories plotted in Fig. 3C. We compare our PSD estimation method with the DFT method in both the cases (with and without sponge) and the results are shown in Fig. 3C. The same analysis is repeated for the promoter cooperativity of H = 2 and the results are shown in Fig. 3B and D. From Fig. 3B it is immediate that for H = 2, the PSD sharpening effect of the sponge plasmid is lost.

Biocontroller design with PSD: suppressing single-cell oscillations

In recent years genetic engineering has allowed researchers to implement biomolecular control systems within living cells (see refs. 36,5160). This area of research, popularly known as Cybergenetics51, offers promise in enabling control of living cells for applications in biotechnology61,62 and therapeutics63. A particularly important challenge in Cybergenetics is to engineer an intracellular controller that facilitates cellular homoeostasis by achieving robust perfect adaptation (RPA) for an output state-variable in an arbitrary intracellular stochastic reaction network. This challenge was theoretically addressed in ref. 36 which introduced the antithetic integral feedback (AIF) controller and demonstrated its ability to achieve RPA for the population-mean of output species. This controller has been synthetically implemented in vivo in bacterial cells, and it has been shown that any biomolecular controller that achieves RPA for arbitrary reaction networks with noisy dynamics, must embed this controller60.

Computational analysis has revealed that AIF controller can cause high-amplitude oscillations in the single-cell dynamics in certain parameter regimes36,64 which could potentially be undesirable and/or unfavourable. Hence it is important to find ways to augment the AIF controller, so that single-cell oscillations are attenuated but the RPA property is preserved. It is known that adding an extra negative feedback (like proportional action) from the output species to the actuated species maintains the RPA property, while decreasing both the output variance and the settling-time for the mean dynamics65. Using the PSD estimation method developed in this paper we now demonstrate how adding such a negative feedback also helps in diminishing single-cell oscillations.

The AIF controller is depicted in Fig. 4A and it is acting on the gene expression model considered in Fig. 2A. The AIF controller robustly steers the mean copy-number level of the protein X2 to the desired set-point μ/θ, where μ is the production rate of Z1 and θ is the reaction rate constant for the output sensing reaction. The AIF affects the output by actuating the production of mRNA X1 and the feedback loop is closed by the annihilation reaction between Z1 and Z2. This annihilation reaction can be viewed as mutual inactivation or sequestration and it can be realised using biomolecular pairs such as sigma/anti-sigma factors54,66,67, scaffold/anti-scaffold proteins68 or toxin/antitoxin proteins69.

It is known from ref. 36 that the combined closed-loop dynamics is ergodic and mean steady-state protein copy-number is μ/θ

limtE(X2(t))=μθ.

As discussed in ref. 65, this ergodicity is preserved under certain conditions when an extra negative feedback from protein X2 to the production of mRNA X1 is added. Letting z1 and x2 denote the copy-numbers of Z1 and X2, respectively, we add the extra feedback by changing the rate of the actuation reaction from kz1 to (kz1 + Fb(x2)) where Fb is a monotonically decreasing feedback function which takes non-negative values. As in ref. 65, we consider two types of feedback. Letting μ^ to be the reference point, the first is Hill feedback of the form

Fb(x2)=4kfbμ^2μ^+x2

which is based on the actual output copy-number x2, while the second is the proportional feedback that is essentially the linearisation of the Hill feedback at the reference point μ^

Fb(x2)=kfbmax3μ^x2,0.

One can easily see that at the reference point, the values of this feedback function Fb(μ^) and its derivative Fb(μ^) (equal to −kfb) are the same for both types of feedback. We can view kfb as the feedback gain parameter. The Hill feedback is biologically more realisable, while the proportional feedback captures the classical controller where the feedback strength depends linearly on the deviation of the output x2 from the reference point μ^, in the output range [0,3μ^]. In our analysis, we set the reference point μ^ as the set-point μ/θ.

For a particular network parametrization, we use our method to estimate the PSD for the single-cell protein dynamics in the AIF-regulated gene expression network, and the results are displayed in Fig. 4. When the extra negative feedback is absent (i.e. kfb = 0) the single-cell trajectory has high-amplitude oscillations which is also evident from the estimated PSD (see Fig. 4B). In Fig. 4C, we apply our Padé PSD method to examine how the PSD changes when extra feedback of Hill type is added with varying strengths given by parameter kfb. Observe that as the feedback strength increases, the PSD peak declines and the oscillations become almost non-existent for kfb=0.5min1. The same holds true for the proportional feedback (see Fig. 4D). These results suggest that both feedback mechanisms are more or less equally effective in reducing oscillations. This is further corroborated by the single-cell trajectories plotted in Fig. 4C, D which also shows that addition of feedback decreases the stationary output variance, that is equal to the signal power (see Box 1). In a recent paper, the decrease in oscillations upon addition of proportional feedback has been experimentally validated in yeast cells70.

In ref. 36, it is reported that the deterministic model of the AIF-regulated gene expression network can exhibit both convergence to a fixed point and sustained oscillations. Keeping all other parameters fixed and setting kfb = 0, we simulate the deterministic model for four values of the actuation rate constant k and plot the output protein trajectories in Fig. 4F. One can see that for lower values of k, the deterministic trajectories converge to a fixed point, which is equal to the set-point μ/θ, while for higher values of k, the trajectories oscillate around the set-point. Estimating the PSDs for the stochastic model with our Padé PSD method we find that for all the four k values, the PSDs have a non-zero peak around 1rad/min (see Fig. 4G). This shows that the oscillatory tendency of the stochastic model persists, albeit at lower PSD peak values, for values of k beyond the critical value where the deterministic system transitions from a limit cycle to a fixed point. For the lower values of k, oscillations are noise-induced in the sense that they only emerge in the presence of randomness in the dynamics and they disappear (at steady state) if the noise-free deterministic model is considered. For two values of k, we plot the PSD obtained by our method and compare it with the PSD estimated with DFT and one can see from Fig. 4H that there is good agreement. The details on all the computations for the AIF-regulated gene expression network can be found in Section S4.2.2 of the Supplement.

This example with noise-induced oscillations also shows that the LNA would yield a very inaccurate PSD estimate as it essentially adds a Gaussian term to the deterministic dynamics. Hence if the deterministic dynamics converge to a fixed point, the LNA-based PSD estimator cannot have a peak at a non-zero frequency value.

Exploiting the PSD for studying stochastic entrainment

The phenomenon of entrainment occurs when an oscillator, upon stimulation by a periodic input, loses its natural frequency and adopts the frequency of the input. This phenomenon has several applications in physical, engineering and biological systems71. The most well-known biological example of this phenomenon is the entrainment of the circadian clock oscillator by day-night cycles. The circadian clock is an organism’s time-keeping device and its entrainment is necessary to robustly maintain its periodic rhythm72. The circadian clock is one example among several intracellular oscillators that have been found and their functional roles have been identified73. Often these oscillators provide entrainment cues to other networks within cells74 and hence it is important to study entrainment at the single-cell level, where the dynamics is intrinsically noisy due to low copy-number effects.

We now illustrate how our PSD decomposition result (Theorem 2.1) can be used to study single-cell entrainment in the stochastic setting where the dynamics is described by CTMCs. We consider the example of the repressilator stimulating a gene expression system, as shown in Fig. 5A. This gene expression network is the same as in Fig. 2A but we include transcriptional feedback from the protein molecules and so the mRNA transcription rate is given by a monotonic decreasing function Fb(x2) of the protein copy-number x2. We shall linearise Fb(x2) as

Fb(x2)=krkfbx2,

where kr is the basal transcription rate and kfb is the feedback strength. When this gene expression network is connected to the repressilator (see Fig. 5) the transcription rate changes from Fb(x2) to

θp2+Fb(x2), 42

where p2 is the molecular count of protein cI in the repressilator and parameter θ captures the “strength” of the interconnection. In other words, cI acts as an activating transcription factor in our example. The parameters of the repressilator are chosen as in Fig. 3 in the “no sponge” and Hill coefficient H = 1.5 case, but the time-units are changed to minutes. We can view the gene expression network as simply the negative feedback (NFB) network in Fig. 2 with the controller species C as mRNA X1 and the output species O as protein X2. Using the same parameters as the NFB network, we study how the PSD of the protein output varies as a function of θ. In order for the gene expression network to be entrained to the repressilator the global maxima of this protein PSD should be near the repressilator’s natural (or peak) frequency of about 1.35 rad/min (see Fig. 3C).

To compute the PSD of the combined network we shall apply Theorem 2.1. For this, we first consider the gene expression network in isolation with p2 in the transcription rate (42) replaced by the constant steady-state mean of p2 (denoted by Eπ(P2)). Hence using (40) we can estimate the protein dynamics PSD SX2iso(ω) as

SX2 iso(ω)=2γpkp(θEπ(P2)+kr)γrγp+kpkfb×γr2+kpγr+ω2(γrγp+kpkfb)2+ω2(γr2+γp22kpkfb)+ω4.

Irrespective of the value of θ, the PSD SX2iso(ω) has a global maxima at ωmax0.85 rad/min which is the natural frequency of the gene expression circuit in isolation.

When the repressilator is connected to the gene expression network, we can apply Theorem 2.1 to compute the PSD of the protein output as

SX2(ω)=SX2iso(ω)+θ2kp2(γrγp+kpkfb)2+ω2(γr2+γp22kpkfb)+ω4ScI(ω). 43

We call this method composite Padé PSD as it estimates the PSD for the full network by combining two PSDs—one obtained with Padé PSD for the nonlinear subnetwork (repressilator) and the other obtained analytically for the linear subnetwork (gene expression). Notably, this method does not require simulations of the combined process, making it easier to obtain PSDs for multiple values of θ without incurring any simulation burden. In Fig. 5(B) we plot the normalised PSD (area under the PSD curve is normalised to 1) for six values of θ and we also validate this composite method with the DFT method for θ=0.4min1. One can clearly see that as θ gets higher, the gene expression network gives up its natural frequency upon stimulation and adopts a frequency which is close to the repressilator frequency. This exemplifies the phenomenon of single-cell entrainment in the stochastic setting.

In order to investigate this entrainment phenomenon further we define an entrainment score as

EntrainmentScore=ωlωrSX2(ω)dω0SX2(ω)dω, 44

where [ωl, ωr] = [0.9ω0, 1.1ω0] represents an interval of relative length 10% on either side of the repressilator’s natural frequency ω0. In Fig. 5C, we plot a heat-map for the entrainment score as a function of the feedback strength parameter kfb and the connection strength parameter θ. One can see that the entrainment score increases monotonically with θ which is to be expected as the first term on the r.h.s. of (43) scales linearly with θ while the second term scales quadratically. Similarly, by computing the ratio of the two terms we can conclude that entrainment score is also a monotonically increasing function of kfb. However, as the heat-map clearly indicates, the entrainment score is more sensitive to kfb than θ, thereby suggesting that transcriptional feedback could be a critical mechanism for facilitating entrainment of gene expression networks.

Now suppose that the transcriptional feedback is given by a nonlinear Hill function Fb(x2). In this case, the gene expression subnetwork becomes nonlinear and Theorem 2.1 cannot be used for PSD estimation. However, we can still employ the Padé PSD method on the combined network using a rational Ansatz of the form (22) with B(s) being the denominator for the Padé approximant estimated by our method in estimating the PSD of the stimulating repressilator network. As shown in Fig. 5D, the PSDs estimated with Padé PSD show good agreement with the DFT-based estimates.

PSD as a tool for parameter inference

Consider a self-regulatory gene expression system (see Fig. 6A) modelled as a simple birth-death network where the production rate is given by the repressing Hill function

λH(x)=K0K1+xH 45

of the output copy-number x and the degradation rate is γ. Fixing all other parameters, our goal is to use the experimental PSD to infer the degree of cooperativity H. This experimental PSD is generated via simulations with H = 1 and we average the PSDs over 100 single-cell trajectories in order to reduce the variance in the DFT-based PSD estimate. We assume that the experimental single-cell trajectories are proportional to the output copy-number but the constant of proportionality is unknown as is often the case in time-lapse microscopy experiments. We also assume that there is no measurement noise—if the measurement noise appears as an independent process then its PSD simply appears as an additive term in the output PSD, which can be easily removed to recover the output PSD without the measurement noise.

Observe that the unknown constant of proportionality drops out when we compute the normalised PSD (i.e. area under the PSD curve is normalised to 1). Hence we can infer the unknown parameter H by estimating the normalised PSD and comparing it with the experimentally obtained normalised PSD, as was previously demonstrated in37. We estimate the normalised PSD with our Padé PSD method and provide a comparison for various values of H in Fig. 6B and it is evident that the experimental traces come from the network with H = 1. Note that the clean estimates for the normalised PSD produced by our Padé PSD method, greatly facilitate the inference of H. If the same estimates were obtained with DFT then the estimator noise would obfuscate the dependence of the PSD on H and make the inference task difficult.

Exploring cell-cycle induced oscillations in gene expression

In all the examples considered so far, we have ignored that reaction networks reside within cells that are undergoing their own division cycles. Overlooking the cell-cycle is only reasonable when the dynamics of the network being analysed occurs at a timescale which is much faster than the timescale of cell-division. If this assumption does not hold, as is often the case in prokaryotic cells, the cell-cycle process should not be neglected while estimating the frequency spectrum of an output trajectory within a cell-lineage. Tracking trajectories of output fluorescent proteins across a cell-lineage over multiple generations is now increasingly possible due to advanced time-lapse microscopy techniques70,75 and microfluidic platforms such as the mother machine4. As these trajectories can be obtained over very long time horizons, a steady-state property like the PSD can be reliably estimated with experimental data, and by comparing it with theoretically estimated PSDs one may gain insights into the underlying network and the role of cell-cycle in inducing oscillations.

Inspired by ref. 37, we consider the cell-cycle evolution as a N-stage Markov process with a constant rate α of transitioning from one stage to the next. Hence each transition will occur after a random time-interval which is exponentially distributed with rate α. Observe that the expected time to complete one cycle would be N/α, implying that the cell-cycle frequency is fr = α/N. At the start of each new cell-cycle, when the cell-cycle process goes from stage N to stage 1, the mother cell undergoes division into two daughter cells and only one of these two cells is tracked and measured, providing us with an output trajectory over a single lineage. The cell division entails a partition of all mother cell molecules into two components—one for each daughter cell. We assume two partitioning mechanisms: symmetric binomial where each mother cell molecule is randomly assigned to each daughter cell with an equal probability, and strict binary where each daughter cell procures exactly half of the mother cell molecules for each network species (see Fig. 7A, C). Observe that partitioning at cell-division forces the displacement in the vector of molecular counts to be state-dependent, i.e. the difference between the state x of the mother cell pre-partition and the state x of the (tracked) daughter cell post-partition will depend on x. Hence, instead of a CTMC with generator (3) we need to model the dynamics with a more general CTMC with generator (4). The explicit form of the generator along with all the computational details on this example can be found in Section S4.2.5 of the Supplement.

Suppose that this dividing cell comprises the gene expression network shown in Fig. 2A which operates at the same timescale as the cell-cycle process. Notice that if we ignore the cell-division cycle, the protein count trajectory does not show any oscillations as seen from the monotonically decreasing PSD plot in Fig. 2A. We now include the cell-cycle and examine how the PSD for the protein counts changes with the cell-cycle length N. As we vary N we keep the frequency fr constant by adjusting α. The cell-cycle process can be viewed as an external signal that stimulates the gene expression network by inducing cell-division. Hence we estimate the PSD with our Padé PSD method using a rational Ansatz of the form (22), with B(s) = ∣σ2 − 2Real(σ)s + s2 where σ=α(1exp(2πi/N)) is the eigenvalue of the cell-cycle evolution generator with the least magnitude of the real part. The estimated PSDs show good agreement with the PSDs estimated via DFT, for both types of partitioning mechanisms (see Fig. 7B, D) and one can see that the type of partitioning mechanism has little effect on the PSD. Moreover as N increases, the relative noise in the cell-cycle process goes down, causing an increase in the off-zero peak of the PSD at the cell-cycle frequency of roughly 1.57rad/min. This observation is consistent with the results reported in ref. 37 for a single-species bursty gene expression network but with a much richer cell-division model than what we consider. The analytical computations presented in ref. 37 are quite elegant and the authors employ generating function techniques to obtain closed-form expressions for the PSD under the assumption of binomial partitioning. However, this analytical approach may become infeasible when other partitioning mechanisms are considered (e.g. strict binary) or when the output trajectories come from a high-dimensional nonlinear network. Our numerical Padé PSD method should still perform reliably in these cases as long as one can feasibly simulate the stochastic trajectories of the process.

Discussion

Recent advances in microscopic imaging and fluorescent reporter technologies have enabled high-resolution monitoring of processes within living cells5. As the accessibility of this time-course data rapidly increases, there is an urgent need to design theoretical and computational approaches that make use of the full scope of such data, in order to understand intracellular processes and design effective synthetic circuits. An important feature of time-course measurements, which is lacking in the data generated by the more common experimental technique of Flow-Cytometry, is that they capture temporal correlations at the single-cell level which are rich in information about the underlying dynamical model. Frequency-domain analysis provides a viable approach to extract this information, if we have an efficient framework to connect network models to the frequency spectrum or the power spectral density (PSD) of the single-cell trajectories measured with time-lapse microscopy18,20. The dynamics within cells is invariably stochastic, owing to the presence of many low abundance biomolecular species, and it is commonly described as a continuous-time Markov chain (CTMC). In this context, the aim of this paper is to develop a computational method for reliably estimating the PSD for single-cell trajectories from CTMC models. Existing approaches for PSD estimation for stochastic network models, are either applicable to a particular class of networks17,26, or they are based on dynamical approximations that are known to be inaccurate over large time-intervals and in situations where low abundance species are present19,20. The method we develop in this paper, called Padé PSD, especially pertains to the low abundance regime. It applies generically to any stable network and it yields an accurate PSD expression using a small number of CTMC trajectory simulations. Moreover, for networks with affine propensity functions, we provide a PSD decomposition result that expresses the output PSD in terms of its constituent parts.

The tools we develop in this paper are of significance to both systems and synthetic biology. We demonstrate that in the presence of intrinsic noise, PSD estimation can successfully differentiate between adapting Incoherent Feedforward (IFF) and Negative Feedback (NFB) topologies34, and it can facilitate performance optimisation of synthetic oscillators35 as well as synthetic in vivo controllers36. Moreover, it can also aid the study of stochastic entrainment at the single-cell level. This is of particular relevance for applications such as designing pulsatile dynamics of transcription factors, which is known to enable graded multi-gene regulation76. We present a simple nonlinear network to illustrate that PSDs enable parameter inference from experimental single-cell trajectory data without requiring the explicit knowledge of the constant of proportionality that links the output species copy-number to the observed signal. Lastly, we consider an example with cell-division cycles and show that our Padé PSD method provides accurate PSD estimates for stochastic trajectories from a single lineage, thereby assisting in precise quantification of the oscillations induced by the cell-cycle process.

The main contribution of this paper is to show how the theory of Padé approximations can be effectively applied to the PSD estimation problem for reaction networks with stochastic CTMC dynamics. In Padé PSD a low dimensional approximation of the PSD is computed based on estimates of Padé derivatives that are expressible as certain stationary expectations for which efficient Monte Carlo estimators were developed. As our method requires simulations of stochastic trajectories it naturally inherits the associated drawbacks—these simulations can be computationally expensive, especially if the network possesses multiple reaction time-scales. Fortunately, the problem of reliably estimating expectations under the CTMC model has received a lot of attention in recent years77, and various methods designed for this problem, like τ-leaping78 and/or multilevel schemes79, can be easily integrated with Padé PSD, in order to speed up the estimation process and also to reduce the variance of the Monte Carlo estimators. Moreover, model reductions80,81 and simulation tools82,83 for multiscale networks can be readily applied to simplify the estimation of Padé derivatives. Such extensions would greatly expand the scope of applicability of our method and pave the way for frequency-based analysis and design of stochastic biomolecular reaction networks.

Methods

We now discuss the computational implementation of our Padé PSD method. The detailed algorithms for this method are provided in Section S3 of the Supplement and its full Python implementation is available on GitHub: https://github.com/ankitgupta83/PadePSD_python.git84.

The inputs to our method are as follows:

  • A positive integer p which specifies the order of the rational Padé approximant Gp(s) given by (15).

  • A vector of distinct points s = (s1, …, sL) on the extended positive real-line (0, ] along with a vector of positive integers ρ = (ρ1, …, ρL). The Padé approximant is constructed by matching between G(s) and Gp(s) the first ρ terms in the power series expansion around s = s for each  = 1, …, L. Without losing any generality we may assume that s1, …, sL−1 are all finite and sL = .

  • A vector of distinct positive real test values s¯=(s¯1,,s¯R) for validating the Padé approximant.

Given these inputs, the main computational tasks that Padé PSD performs are:

  1. Estimate the required Padé derivatives: Quantities Dm(s) are estimated for each m = 0, 1, …, (ρ − 1) and each  = 1, …, L.

  2. Obtain direct estimates for validation: Quantities (G(s¯1),,G(s¯R)) are directly estimated.

Upon completing these tasks, the linear system (21) for the 2p coefficients for the Padé approximant Gp(s) is constructed and solved. This provides us with Gp(s) which is then validated with the direct estimates (G(s¯1),,G(s¯R)), and if the validation is successful, the PSD SXn(ω) is obtained by applying formula (9) with G(z) = Gp(z).

All the required quantities are simultaneously estimated with Q trajectories of the augmented CTMC (X(t))t0 with

X(t)=(X(t),Y(t),Z(t))

where

  • X(t) = (X1(t), …, Xd(t)) is the vector of species copy-numbers.

  • Y(t)=(Y1(t),,Yϑ1(t),Yϑ1+1(t),,Yϑ2(t),,YϑL1+1(t),,YϑL1(t)) is the vector of additional state-components used for estimating the Padé derivatives Dm(s) for each m = 0, 1, …, (ρ − 1) and each  = 1, …, (L − 1). Here ϑ=j=1ρj with ϑ0 = 0. Note that the estimation of the Padé derivatives at sL =  does not require these additional state components.

  • Z(t) = (Z1(t), …, ZR(t)) is the vector of additional state-components used for estimating (G(s¯1),,G(s¯R)).

The augmented process has

Koriginalnetworkreactions+L1Rs1,,RsL1+RRs¯1,,Rs¯R

reactions. Note that each reaction Rs has the constant propensity of s. Our Padé PSD method simulates such a reaction network over the time-interval [0, Tf], by extending the classical Gillespie’s Stochastic Simulation Algorithm39, and then estimates the Padé derivatives and the direct estimates (G(s¯1),,G(s¯R)). Under this extension, when the firing reaction is k = 1, …, K, then the state (x, y, z) moves to (x + ζk, y, z) as in the original CTMC. However, when the firing reaction is Rs for some  = 1, …, (L − 1) then the state (x, y, z) moves to (x,y,z) where

yj=xnifj=ϑ1+1yj1ifj=ϑ1+2,,ϑyjotherwise. 46

Similarly, if the firing reaction is Rs¯r for some r = 1, …, R then the state (x, y, z) moves to (x,y,z) where

zr=xnandzj=zjforalljr. 47

Estimation of the Padé derivatives at (i.e. Dm() for m = 0, …, (ρL − 1)) requires several evaluations of functions of the form Amf(x). This can be done recursively but it is computationally very intensive. In order to minimise these evaluations we exploit the fact that ergodic Markov chains visit the same set of states again and again. Therefore if we can intelligently store the values Amf(x) generated by this function, and quickly retrieve them as needed, then it provides a way to leverage the vast memory resources in modern computers in order to gain computational efficiency. Fortunately, Python provides an ideal data structure, called a dictionary, for this purpose and we use it in our computational implementation to boost the efficiency of Padé PSD.

Reporting summary

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

Supplementary information

Reporting Summary (261.1KB, pdf)
Peer Review File (3.3MB, pdf)

Acknowledgements

This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme grant agreement no. 743269 (CyberGenetics project), and from the Swiss National Science Foundation under grant number 182653.

Author contributions

A.G. and M.K. conceived the project; A.G. performed the theoretical and computational analysis with inputs from M.K.; A.G. and M.K. wrote the paper; M.K. secured the funding.

Peer review

Peer review information

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

Data availability

Custom code was written in Python for data generation. This code is publicly available at the indicated GitHub repository84.

Code availability

The Python code for data generation and analysis can be downloaded from the GitHub repository: https://github.com/ankitgupta83/PadePSD_python.git84.

Competing interests

The authors declare no competing interests.

Footnotes

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

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-022-31263-x.

References

  • 1.Shaner NC, Steinbach PA, Tsien RY. A guide to choosing fluorescent proteins. Nat. Methods. 2005;2:905–909. doi: 10.1038/nmeth819. [DOI] [PubMed] [Google Scholar]
  • 2.Mullassery D, Horton CA, Wood CD, White MR. Single live cell imaging for systems biology. Essays Biochem. 2008;45:121. doi: 10.1042/bse0450121. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Norman TM, Lord ND, Paulsson J, Losick R. Memory and modularity in cell-fate decision making. Nature. 2013;503:481–486. doi: 10.1038/nature12804. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Kaiser M, et al. Monitoring single-cell gene regulation under dynamically controllable conditions with integrated microfluidics and software. Nat. Commun. 2018;9:1–16. doi: 10.1038/s41467-017-02505-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Potvin-Trottier L, Luro S, Paulsson J. Microfluidics and single-cell microscopy to study stochastic processes in bacteria. Curr. Opin. Microbiol. 2018;43:186–192. doi: 10.1016/j.mib.2017.12.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Goutsias J. Classical versus stochastic kinetics modeling of biochemical reaction systems. Biophys. J. 2007;92:2350–2365. doi: 10.1529/biophysj.106.093781. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Anderson, D. & Kurtz, T. in Design and Analysis of Biomolecular Circuits (eds Koeppl, H., Setti, G., di Bernardo, M. & Densmore, D.) (Springer-Verlag, 2011).
  • 8.McAdams HH, Arkin A. Stochastic mechanisms in gene expression. Proc. Natl. Acad. Sci., Biochem. 1997;94:814–819. doi: 10.1073/pnas.94.3.814. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Arkin AP, Rao CV, Wolf DM. Control, exploitation and tolerance of intracellular noise. Nature. 2002;420:231–237. doi: 10.1038/nature01258. [DOI] [PubMed] [Google Scholar]
  • 10.Fraker, P. J., King, L. E., Lill-Elghanian, D. & Telford, W. G. in Methods in Cell Biology Vol. 46, 57–76 (Elsevier, 1995). [DOI] [PubMed]
  • 11.Geva-Zatorsky N, Dekel E, Batchelor E, Lahav G, Alon U. Fourier analysis and systems identification of the p53 feedback loop. Proc. Natl Acad. Sci. USA. 2010;107:13550–13555. doi: 10.1073/pnas.1001107107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Bratsun D, Volfson D, Tsimring LS, Hasty J. Delay-induced stochastic oscillations in gene regulation. Proc. Natl Acad. Sci. USA. 2005;102:14593–14598. doi: 10.1073/pnas.0503858102. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.McKane AJ, Nagy JD, Newman TJ, Stefanini MO. Amplified biochemical oscillations in cellular systems. J. Stat. Phys. 2007;128:165–191. doi: 10.1007/s10955-006-9221-9. [DOI] [Google Scholar]
  • 14.Warren PB, Tănase-Nicola S, ten Wolde PR. Exact results for noise power spectra in linear biochemical reaction networks. J. Chem. Phys. 2006;125:144904. doi: 10.1063/1.2356472. [DOI] [PubMed] [Google Scholar]
  • 15.van Kampen NG. A power series expansion of the master equation. Can. J. Phys. 1961;39:551–567. doi: 10.1139/p61-056. [DOI] [Google Scholar]
  • 16.Gillespie DT. The chemical Langevin equation. J. Chem. Phys. 2000;113:297–306. doi: 10.1063/1.481811. [DOI] [Google Scholar]
  • 17.Simpson ML, Cox CD, Sayler GS. Frequency domain analysis of noise in autoregulated gene circuits. Proc. Natl Acad. Sci. USA. 2003;100:4551–4556. doi: 10.1073/pnas.0736140100. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Cox CD, et al. Frequency domain analysis of noise in simple gene circuits. Chaos: Interdisciplinary J. Nonlinear Sci. 2006;16:026102. doi: 10.1063/1.2204354. [DOI] [PubMed] [Google Scholar]
  • 19.Simpson ML, Cox CD, Sayler GS. Frequency domain chemical Langevin analysis of stochasticity in gene transcriptional regulation. J. Theoret. Biol. 2004;229:383–394. doi: 10.1016/j.jtbi.2004.04.017. [DOI] [PubMed] [Google Scholar]
  • 20.Tănase-Nicola S, Warren PB, Ten Wolde PR. Signal detection, modularity, and the correlation between extrinsic and intrinsic noise in biochemical networks. Phys. Rev. Lett. 2006;97:068102. doi: 10.1103/PhysRevLett.97.068102. [DOI] [PubMed] [Google Scholar]
  • 21.Thomas P, Straube AV, Timmer J, Fleck C, Grima R. Signatures of nonlinearity in single cell noise-induced oscillations. J. Theoret. Biol. 2013;335:222–234. doi: 10.1016/j.jtbi.2013.06.021. [DOI] [PubMed] [Google Scholar]
  • 22.Thomas P, Fleck C, Grima R, Popović N. System size expansion using Feynman rules and diagrams. J. Phys. A: Math.Theoret. 2014;47:455007. doi: 10.1088/1751-8113/47/45/455007. [DOI] [Google Scholar]
  • 23.Borkowski O, Ceroni F, Stan G-B, Ellis T. Overloaded and stressed: whole-cell considerations for bacterial synthetic biology. Curr. Opin. Microbiol. 2016;33:123–130. doi: 10.1016/j.mib.2016.07.009. [DOI] [PubMed] [Google Scholar]
  • 24.Kurtz TG. Strong approximation theorems for density dependent Markov chains. Stoch. Process. Appl. 1978;6:223–240. doi: 10.1016/0304-4149(78)90020-0. [DOI] [Google Scholar]
  • 25.Thomas P, Matuschek H, Grima R. How reliable is the linear noise approximation of gene regulatory networks? BMC Genom. 2013;14:1–15. doi: 10.1186/1471-2164-14-S4-S5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Song S, et al. Frequency spectrum of chemical fluctuation: a probe of reaction mechanism and dynamics. PLoS Comput. Biol. 2019;15:e1007356. doi: 10.1371/journal.pcbi.1007356. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Jia, C., Zhang, M. Q. & Qian, H. Analytic theory of stochastic oscillations in single-cell gene expression. Preprint at https://arxiv.org/abs/1909.09769 (2019).
  • 28.Kato, T. Perturbation Theory for Linear Operators Vol. 132 (Springer Science & Business Media, 2013).
  • 29.Marano, M. & Cuenya, H. Progress in Approximation Theory 693–701 (Academic Press, 1991).
  • 30.Cao Z, Grima R. Linear mapping approximation of gene regulatory networks with stochastic dynamics. Nat. Commun. 2018;9:1–15. doi: 10.1038/s41467-017-02088-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Cooley JW, Tukey JW. An algorithm for the machine calculation of complex Fourier series. Math. Comput. 1965;19:297–301. doi: 10.1090/S0025-5718-1965-0178586-1. [DOI] [Google Scholar]
  • 32.Engelberg, S. Digital Signal Processing: an Experimental Approach (Springer Science & Business Media, 2008).
  • 33.Nyquist H. Certain topics in telegraph transmission theory. Trans. Am. Inst. Elect. Eng. 1928;47:617–644. doi: 10.1109/T-AIEE.1928.5055024. [DOI] [Google Scholar]
  • 34.Ma W, Trusina A, El-Samad H, Lim WA, Tang C. Defining network topologies that can achieve biochemical adaptation. Cell. 2009;138:760–773. doi: 10.1016/j.cell.2009.06.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Elowitz MB, Leibler S. A synthetic oscillatory network of transcriptional regulators. Nature. 2000;403:335–338. doi: 10.1038/35002125. [DOI] [PubMed] [Google Scholar]
  • 36.Briat C, Gupta A, Khammash M. Antithetic integral feedback ensures robust perfect adaptation in noisy biomolecular networks. Cell Sys. 2016;2:15–26. doi: 10.1016/j.cels.2016.01.004. [DOI] [PubMed] [Google Scholar]
  • 37.Jia C, Grima R. Frequency domain analysis of fluctuations of mRNA and protein copy numbers within a cell lineage: theory and experimental validation. Physical Review X. 2021;11:021032. doi: 10.1103/PhysRevX.11.021032. [DOI] [Google Scholar]
  • 38.Ethier, S. N. & Kurtz, T. G. Markov Processes: Characterization and Convergence (John Wiley & Sons Inc., 1986).
  • 39.Gillespie DT. Exact stochastic simulation of coupled chemical reactions. J. Phys. Chem. 1977;81:2340–2361. doi: 10.1021/j100540a008. [DOI] [Google Scholar]
  • 40.Gupta A, Briat C, Khammash M. A scalable computational framework for establishing long-term behavior of stochastic reaction networks. PLoS Comput. Biol. 2014;10:e1003669. doi: 10.1371/journal.pcbi.1003669. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Gupta A, Khammash M. Computational identification of irreducible state-spaces for stochastic reaction networks. SIAM J. Appl. Dyn. Syst. 2018;17:1213–1266. doi: 10.1137/17M1134299. [DOI] [Google Scholar]
  • 42.Gardiner, C. W. et al. Handbook of Stochastic Methods Vol. 3 (Springer Berlin, 1985).
  • 43.Claessens G. On the Newton-Padé approximation problem. J. Approx. Theory. 1978;22:150–160. doi: 10.1016/0021-9045(78)90062-X. [DOI] [Google Scholar]
  • 44.Brezinski, C. Computational Aspects of Linear Control Vol. 1 (Springer Science & Business Media, 2002).
  • 45.Norris, J. R. Markov Chains (Cambridge University Press, 1998).
  • 46.Thattai M, Van Oudenaarden A. Intrinsic noise in gene regulatory networks. Proc. Natl Acad. Sci. USA. 2001;98:8614–8619. doi: 10.1073/pnas.151588598. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Bergen, V., Lange, M., Peidli, S., Wolf, F. A. & Theis, F. J. Generalizing RNA velocity to transient cell states through dynamical modeling. Nat. Biotechnol.38, 1408–1414 (2020). [DOI] [PubMed]
  • 48.Franklin, G. F., Powell, J. D., Emami-Naeini, A. & Powell, J. D. Feedback Control of Dynamic Systems Vol. 4 (Prentice hall Upper Saddle River, 2002).
  • 49.Potvin-Trottier L, Lord ND, Vinnicombe G, Paulsson J. Synchronous long-term oscillations in a synthetic gene circuit. Nature. 2016;538:514–517. doi: 10.1038/nature19841. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Goldbeter A, Koshland DE. An amplified sensitivity arising from covalent modification in biological systems. Proc. Natl Acad. Sci. USA. 1981;78:6840–6844. doi: 10.1073/pnas.78.11.6840. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Briat C, Zechner C, Khammash M. Design of a synthetic integral feedback circuit: dynamic analysis and DNA implementation. ACS Synth. Biol. 2016;5:1108–1116. doi: 10.1021/acssynbio.6b00014. [DOI] [PubMed] [Google Scholar]
  • 52.Qian Y, Del Vecchio D. Realizing ‘integral control’ in living cells: how to overcome leaky integration due to dilution? J. R. Soc. Interface. 2018;15:20170902. doi: 10.1098/rsif.2017.0902. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Samaniego CC, Franco E. An ultrasensitive biomolecular network for robust feedback control. IFAC-PapersOnLine. 2017;50:10950–10956. doi: 10.1016/j.ifacol.2017.08.2466. [DOI] [Google Scholar]
  • 54.Annunziata F, et al. An orthogonal multi-input integration system to control gene expression in Escherichia coli. ACS Synth. Biol. 2017;6:1816–1824. doi: 10.1021/acssynbio.7b00109. [DOI] [PubMed] [Google Scholar]
  • 55.Kelly CL, et al. Synthetic negative feedback circuits using engineered small RNAs. Nucleic Acids Res. 2018;46:9875–9889. doi: 10.1093/nar/gky828. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Hsiao V, Swaminathan A, Murray RM. Control theory for synthetic biology: recent advances in system characterization, control design, and controller implementation for synthetic biology. IEEE Control Syst. Magazine. 2018;38:32–62. doi: 10.1109/MCS.2018.2810459. [DOI] [Google Scholar]
  • 57.Ceroni F, et al. Burden-driven feedback control of gene expression. Nat. Methods. 2018;15:387. doi: 10.1038/nmeth.4635. [DOI] [PubMed] [Google Scholar]
  • 58.Huang H-H, Qian Y, Del Vecchio D. A quasi-integral controller for adaptation of genetic modules to variable ribosome demand. Nat. Commun. 2018;9:5415. doi: 10.1038/s41467-018-07899-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Agrawal, D. K., Marshall, R., Noireaux, V. & Sontag, E. D. In vitro implementation of robust gene regulation in a synthetic biomolecular integral controller. Nat. Commun.10, 5760 (2019). [DOI] [PMC free article] [PubMed]
  • 60.Aoki SK, et al. A universal biomolecular integral feedback controller for robust perfect adaptation. Nature. 2019;570:533–537. doi: 10.1038/s41586-019-1321-1. [DOI] [PubMed] [Google Scholar]
  • 61.Venayak N, Anesiadis N, Cluett WR, Mahadevan R. Engineering metabolism through dynamic control. Curr. Opin. Biotechnol. 2015;34:142–152. doi: 10.1016/j.copbio.2014.12.022. [DOI] [PubMed] [Google Scholar]
  • 62.Cress BF, Trantas EA, Ververidis F, Linhardt RJ, Koffas MA. Sensitive cells: enabling tools for static and dynamic control of microbial metabolic pathways. Curr. Opin. Biotechnol. 2015;36:205–214. doi: 10.1016/j.copbio.2015.09.007. [DOI] [PubMed] [Google Scholar]
  • 63.Ye H, Fussenegger M. Synthetic therapeutic gene circuits in mammalian cells. FEBS Lett. 2014;588:2537–2544. doi: 10.1016/j.febslet.2014.05.003. [DOI] [PubMed] [Google Scholar]
  • 64.Olsman N, Xiao F, Doyle JC. Architectural principles for characterizing the performance of antithetic integral feedback networks. iScience. 2019;14:277–291. doi: 10.1016/j.isci.2019.04.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Briat C, Gupta A, Khammash M. Antithetic proportional-integral feedback for reduced variance and improved control performance of stochastic reaction networks. J. R. Soc. Interface. 2018;15:20180079. doi: 10.1098/rsif.2018.0079. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Chen D, Arkin AP. Sequestration-based bistability enables tuning of the switching boundaries and design of a latch. Mol. Syst. Biol. 2012;8:620. doi: 10.1038/msb.2012.52. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67.Lillacci, G., Aoki, S. K., Schweingruber, D. & Khammash, M. A synthetic integral feedback controller for robust tunable regulation in bacteria. Preprint at BioRxiv10.1101/170951 (2017).
  • 68.Hsiao V, De Los Santos EL, Whitaker WR, Dueber JE, Murray RM. Design and implementation of a biomolecular concentration tracker. ACS Synth. Biol. 2014;4:150–161. doi: 10.1021/sb500024b. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.De Jonge N, et al. Rejuvenation of CcdB-poisoned gyrase by an intrinsically disordered protein domain. Mol. Cell. 2009;35:154–163. doi: 10.1016/j.molcel.2009.05.025. [DOI] [PubMed] [Google Scholar]
  • 70.Kumar S, Rullan M, Khammash M. Rapid prototyping and design of cybergenetic single-cell controllers. Nat. Commun. 2021;12:1–13. doi: 10.1038/s41467-020-20314-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71.Pikovsky, A., Kurths, J., Rosenblum, M. & Kurths, J. Synchronization: a Universal Concept in Nonlinear Sciences Vol. 12 (Cambridge University Press, 2003).
  • 72.Bagheri N, Taylor SR, Meeker K, Petzold LR, Doyle III FJ. Synchrony and entrainment properties of robust circadian oscillators. J. R. Soc. Interface. 2008;5:S17–S28. doi: 10.1098/rsif.2008.0045.focus. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73.Beta C, Kruse K. Intracellular oscillations and waves. Ann. Rev. Condens. Matter Phys. 2017;8:239–264. doi: 10.1146/annurev-conmatphys-031016-025210. [DOI] [Google Scholar]
  • 74.Purvis JE, Lahav G. Encoding and decoding cellular information through signaling dynamics. Cell. 2013;152:945–956. doi: 10.1016/j.cell.2013.02.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 75.Rullan M, Benzinger D, Schmidt GW, Milias-Argeitis A, Khammash M. An optogenetic platform for real-time, single-cell interrogation of stochastic transcriptional regulation. Mol. Cell. 2018;70:745–756. doi: 10.1016/j.molcel.2018.04.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 76.Benzinger D, Khammash M. Pulsatile inputs achieve tunable attenuation of gene expression variability and graded multi-gene regulation. Nat. Commun. 2018;9:1–10. doi: 10.1038/s41467-018-05882-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77.Warne DJ, Baker RE, Simpson MJ. Simulation and inference algorithms for stochastic biochemical reaction networks: from basic concepts to state-of-the-art. J. R. Soc. Interface. 2019;16:20180943. doi: 10.1098/rsif.2018.0943. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78.Cao, Y., Gillespie, D. T. & Petzold, L. R. Efficient step size selection for the tau-leaping simulation method. J. Chem. Phys.124, 044109 (2006). [DOI] [PubMed]
  • 79.Anderson DF, Higham DJ. Multilevel Monte Carlo for continuous time Markov chains, with applications in biochemical kinetics. Multiscale Model. Simul. 2012;10:146–179. doi: 10.1137/110840546. [DOI] [Google Scholar]
  • 80.Kang H-W, Kurtz TG. Separation of time-scales and model reduction for stochastic reaction networks. Ann. Appl. Probab. 2013;23:529–583. doi: 10.1214/12-AAP841. [DOI] [Google Scholar]
  • 81.Hepp B, Gupta A, Khammash M. Adaptive hybrid simulations for multiscale stochastic reaction networks. J. Chem. Phys. 2015;142:034118. doi: 10.1063/1.4905196. [DOI] [PubMed] [Google Scholar]
  • 82.Cao Y, Gillespie D, Petzold L. The slow-scale stochastic simulation algorithm. J. Chem. Phys. 2005;122:1–18. doi: 10.1063/1.1824902. [DOI] [PubMed] [Google Scholar]
  • 83.E W, Liu D, Vanden-Eijnden E. Nested stochastic simulation algorithms for chemical kinetic systems with multiple time scales. J. Comput. Phys. 2007;221:158–180. doi: 10.1016/j.jcp.2006.06.019. [DOI] [PubMed] [Google Scholar]
  • 84.Gupta, A. Frequency spectra and the color of cellular noise. GitHub Repository, 10.5281/zenodo.6598550 (2022). [DOI] [PMC free article] [PubMed]
  • 85.Khintchine A. Korrelationstheorie der stationären stochastischen prozesse. Math. Ann. 1934;109:604–615. doi: 10.1007/BF01449156. [DOI] [Google Scholar]

Associated Data

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

Supplementary Materials

Reporting Summary (261.1KB, pdf)
Peer Review File (3.3MB, pdf)

Data Availability Statement

Custom code was written in Python for data generation. This code is publicly available at the indicated GitHub repository84.

The Python code for data generation and analysis can be downloaded from the GitHub repository: https://github.com/ankitgupta83/PadePSD_python.git84.


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

RESOURCES