# BE.180:Devices

(Difference between revisions)
 Revision as of 22:44, 20 March 2006 (view source) (→Combining Models)← Previous diff Current revision (22:45, 20 March 2006) (view source) (→Combining Models) Line 108: Line 108: The short answer is YES but what happens and whether or not the resulting behavior is useful to us will depend on how the exact (that is, quantitative) signal levels match between our two devices.  For example, is the R_out level from the protein generator device is much lower than the K_D value in our PoPS regulator device, no amount of response from the protein generator device will drive a response in the PoPS regulator.  Ideally, we might want to start by designing our two sub-devices so that the middle R_out level from the protein generator is roughly equal to the K_D of the PoPS regulator.  This will result in signal level ''matching'' between the two devices. The short answer is YES but what happens and whether or not the resulting behavior is useful to us will depend on how the exact (that is, quantitative) signal levels match between our two devices.  For example, is the R_out level from the protein generator device is much lower than the K_D value in our PoPS regulator device, no amount of response from the protein generator device will drive a response in the PoPS regulator.  Ideally, we might want to start by designing our two sub-devices so that the middle R_out level from the protein generator is roughly equal to the K_D of the PoPS regulator.  This will result in signal level ''matching'' between the two devices. - Combining the two steady state transfer functions produces: + Combining the two steady state transfer functions from our subdevices produces an overall transfer function for our inverter device:
$PoPS_{out} = PoPS_{out}^{max} * \frac{K_D}{K_D+\frac{f(PoPS_{in})}{k_d}}$
$PoPS_{out} = PoPS_{out}^{max} * \frac{K_D}{K_D+\frac{f(PoPS_{in})}{k_d}}$

## Contents

### Summary

The material on this page covers three topics. First, we briefly review how to make different sorts of gene-expression based devices. Second, we develop a simple framework for modeling the behavior of genetic devices. Third, we use the models to estimate some physical characteristics of our devices (for example, device latency).

### Introduction

From before, you know that a genetically encoded inverter (i.e., a Boolean NOT gate) can be made by combining a ribosome binding site (RBS), driving expression of an open reading frame (ORF) encoding a repressor protein, followed by a transcription terminator. The signal is inverted when the repressor protein binds an operator site elsewhere on the DNA, resulting in repression of gene expression from the operator site. Click on Figures 1 and 2 below for more information (revisit the full comic if you need more background information for how genetically encoded inverters work).

Figure 1. Parts of an inverter. Click to enlarge.
Figure 2. How to make an inverter. Click to enlarge.

### Genetic Devices

An inverter is one type of device. We can produce many different types of gene-expression based devices. For example, all sorts of logic gates can be implemented as gene-expression devices. We can also implement other sorts of devices such as sensors, actuators, and even cell-cell communication devices. Simple sketches and explanations of different gene-expression devices are given below. You can make many more types of genetic devices. The important concept to remember is that you want to make devices that allow subsequent hiding of the details for how the device actually works, so that other people can easily use your devices!

Figure 3a. Gene-expression OR gate. Click to enlarge. Two standard PoPS input signals enter from the left, driving independent expression of identical copies of a gene encoding an activator protein. The activator turns ON a standard PoPS output signal from the operator site on the right.
Figure 3b. Gene-expression NOR gate. Click to enlarge. Two standard PoPS input signals enter from the left, driving independent expression of identical copies of a gene encoding an repressor protein. The repressor turns OFF a standard PoPS output signal from the operator site on the right.
Figure 3c. Gene-expression AND gate. Click to enlarge. Two standard PoPS input signals enter from the left, driving independent expression of different genes each encoding one half of a heterodimeric activator protein. The heterodimeric activator protein turns ON a standard PoPS output signal from the operator site on the right.

Figure 3d. Gene-expression NAND gate. Click to enlarge. Two standard PoPS input signals enter from the left, driving independent expression of different genes each encoding one half of a heterodimeric repressor protein. The heterodimeric repressor protein turns OFF a standard PoPS output signal from the operator site on the right.
Figure 3e. Gene-expression SENDER gate. Click to enlarge. A standard PoPS input signal enters from the left driving expression of an enzyme that produces a molecule that can travel between cells. The molecule defines a cell-cell communication signal specific to the SENDER device.
Figure 3f. Gene-expression RECEIVER gate. Click to enlarge. A standard PoPS input signal enters from the left driving expression of a gene encoding a receiver protein. When a cell-cell signaling molecule is also present, the receiver protein activates a standard PoPS output signal leaving from the right. Note that the left side of this device can be connected to a BATTERY device (not shown, simply a constitutive promoter (i.e., a promoter that is always ON, providing a constant PoPS signal)) in order to provide a modified device that is always ready to receive.

### Device Modeling

The above depictions of genetic devices provide qualitative descriptions of device function (for example, if the input signal to an inverter is HIGH then the output signal from the inverter will be LOW). But, in reality, each device is a physical object, which imposes constraints on its exact operation and use. Here, we will use some simple modeling to get a sense for the physical behavior of our genetic devices. To start, let's define some of the device characteristics that we might care about. We'll use an inverter device as an example. One important property of our inverter is its transfer function, which is the steady state relationship between the device input and output signals. A second property is the device latency, which is the time it takes the device output signal to change in response to a change in the device input signal. To begin to model the inverter device we'll need to revisit the physical processes that are required for device operation. Our goal will be to build a model from these details that can be used to make some simple mathematical estimates of the inverter's transfer function and latency.

To make our analysis simpler let's split (decouple) an inverter into two sub-devices (Figure 4). The first sub-device is a "protein generator" (a protein generator takes a generic PoPS input signal and produces a specific protein as output). The second sub-device is a "PoPS regulator" (a PoPS regulator takes a specific regulatory protein as input and produces a generic PoPS signal as output). We'll model the transfer function and latency of each device individually and then combine the results in order to produce an overall model for our inverter.

Figure 4. A decoupled genetic inverter. Click to enlarge.

### Protein Generator Modeling

We need to develop a model that lets us estimate the transfer function (input:output relationship) and latency of the protein generator. The input to the protein generator is a PoPS input signal (let's call this P_in). The output is the concentration of the repressor protein (let's call this R). The transfer function should describe R as a function of P_in.

We can get started by writing down the physical processes that take place between arrival of a RNA polymerase molecule and the production of a repressor protein. First, the RNA polymerase enters the device and carries out transcription, producing a messenger RNA (mRNA) molecule. The RNA polymerase molecules will move basepair-by-basepair down the DNA encoding our protein generator device until they arrive at the terminator part (at which point they will stop transcription). Then, ribosomes will bind the newly produced mRNA molecules at the ribosome binding site (RBS) and start the process of protein synthesis (translation). The ribosomes will move nucleotide-by-nucleotide down the mRNA molecule until they arrive at a stop codon (in bacteria the triplets UAA, UGA & UAG can act as stop codons). To complete our model we should also account for the loss of mRNA and protein via mRNA and protein degradation, respectively. Furthermore, if the cell in which our device is operating is itself growing, then we may also need to account for the dilution of mRNA and protein levels via cell division. Phew! This is a lot of stuff to remember and pay attention to. How are we going to estimate transfer function and latency? Let's make a big simplification by writing down a differential equation that describes how the concentration of R changes over time:

Equation 1: $\frac{d[R]}{dt} = f(P_{in}) - k_d*[R]$

We've introduced two new variables, f(Pin) and kd. Here, f(Pin) is a placeholder function that describes the relationship between P_in, the PoPS input signal, and the rate of repressor protein synthesis. kd is just a first-order decay rate for the loss of R. The first term in this equation makes a big leap directly from PoPS to protein synthesis (we're hiding all the details of transcription and translation). The second term in this equation captures the rate of destruction of R due to degradation (and dilution due to growth, if we want to include that too). If we can come up with some values for these terms in then we can estimate how R will change as a function of P_in and how quickly these changes will happen.

Let's start with kd. kd is the rate constant for protein degradation. The exact value of kd will depend on the particular protein used in our device. Some proteins are incredibly stable and for all practical purposes don't degrade (for example, green fluorescent protein). Other proteins are actively degraded by the cell and will disappear quickly if they are not continuously being synthesized. Protein stability is typically reported in terms of a "half-life" (half-life, t1 / 2, is the amount of time it takes for one half of something, repressor protein in this case, to be degraded). So, a stable protein will have $t_{1/2} \approx \infty$ whereas an unstable protein will have $t_{1/2} \approx 10$minutes. You can quickly convert between a t1 / 2 and first-order kd value via the following formula: kd = 0.69 / t1 / 2. Click here if you don't know where this formula comes from.

Without going through all the details, the value for f(Pin) might range from 0 to 100 proteins per minute (for a device that is present at single "copy number" per cell; copy number is the number of DNA molecules inside the cell carrying a particular gene, part, device or system). For this first example, let's use t1 / 2 = 10 minutes and an input range of f(Pin) = 0 to 70 proteins per minute. From t1 / 2 = 10 minutes we get $k_d \approx 0.07$ per minute. We can solve for the low and high steady state values of R by using the above equation. For example, at the low input value we get:

$\frac{d[R]}{dt} = 0 - 0.07*[R]$
which at steady state reduces to 0 = 0 − 0.07 * [Rss] or [Rss] = 0 proteins per cell.

This shouldn't be surprising. Since we are not producing any R the steady state value of R is zero.

Next, at the high input value we get:

$\frac{d[R]}{dt} = 70 - 0.07*[R]$
which at steady state reduces to 0 = 70 − 0.07 * [Rss] or [Rss] = 1000 proteins per cell.

Thus, we now know the low and high range of the output signal R from our protein generator device. Furthermore, by setting the left side of equation 1 (above) to zero, we can provide a general formula for the steady-state output level of R as a function of P_in (Figure 5):

Equation 2: $R_{ss} = \frac{f(P_{in})}{k_d}$
Figure 5. Steady state transfer function for protein generator device. Click to enlarge.

The next (last) thing to estimate using our model is the latency of the protein generator device. Again, latency is defined as the time it takes for the output signal of a device to reach a new level in response to a change in the input signal level. Because gene expression is a slow process (when compared, for example, to silicon-based computers) we'll need to pay close attention to issues of latency. Figure 6 below details the two types of latency we are interested in, low->high and high->low.

Figure 6. Latency is the time it takes for the output signal of a device to reach a new level given a change in the level of the input signal. The green curve shows the input signal as a function of time; the red curve is the output signal as a function of time. Note that as the input signal level changes that it takes some time (L) for the output signal to reach its new level. Click to enlarge.

To estimate the latency during a LOW-to-HIGH transition (LLH) we can again return to Equation 1 above. Imagine that there is no R present in the cell. How long does it take for the R level to reach its steady state concentration [Rss] = 1000 in response to a change in P_in from 0 to 70? One rough estimate is 1000/70 or ~14 minutes. However, this will be an underestimate because as the R level increases the newly produced R molecules will be subject to degradation. For now, we'll simply increase our LLH estimate to ~20 minutes. To estimate the latency during a HIGH-to-LOW transition (LHL) start by imagining a cell in which there are 1000 R molecules when, suddenly, the value of P_in drops from 70 to 0. How long will it take the level of R to drop to zero? From above we know that the level of R will drop by a factor of two every 10 minutes. For example, in 20 minutes the R level will drop to ~250 molecules per cell.

Thus, we've already been able to make a simple model and use it to estimate the transfer function and latency of our protein generator:
f(P_in) ranges from 0 to 70 proteins per minute.
R ranges from 0 to 1000 proteins per cell.
The full relationship between input and output can be expressed via Equation 2 (above).
It takes ~20 minutes for the output signal to respond to an increase in the input signal from 0 to 70 proteins per minute.
It also takes ~20 minutes for the output signal to respond to a decrease in the output signal from 70 to 0.

### PoPS Regulator Modeling

Next, let's develop a model that we can use to estimate the transfer function and latency of the right half of our inverter, the "PoPS regulator." The input to the PoPS regulator is the concentratration of repressor protein, R. The output is a standard PoPS signal (let's call this P_out). Again, we'll get started by writing down the physical processes that take place during device operation.

First, R protein binds and interacts with an operator site on the DNA. Binding of the repressor protein to the operator site physically blocks (occludes) binding by RNA polymerase. When R is bound to the operator, no RNA polymerase can bind, so that the P_out signal is zero. When R is absent from the system RNA polymerase can bind the operator and initiation transcription, creating a high P_out signal.

The interaction between the R protein and the operator site can be modeled as a generic second order binding system, A+B<->AB (note that this is the same framework used to represent a simple ligand:receptor binding system); click here for a refresher. Using such a model, we'll want to estimate the fraction of operator site that is occupied by R protein at any instant in time. Let's start by using a simple differential equation that tracks the amount of repressor:DNA complex, R:D as a function of time:

$\frac{d[R:D]}{dt}=+k_{on}*[D]*[R]-k_{off}*[R:D]$

Let's estimate some typical values for our rate constants. kon is the rate at which R bind the operator site on DNA. Let's estimate that this is near the "diffusion limit" for proteins inside cells or 1E9/M*second. Next, let's consider what happens for a R:D complex that has a dissociation constant of 1nM (KD = 1E − 9M). From here we know that KD = koff / kon. From this we can compute that koff for our system is 1/second. We're almost ready to substitute these values into the above equation, but first we need to estimate one more thing, the concentration of DNA inside the cell. Bacteria usually a single copy of their genome inside the cell (fast growing bacteria and radiation resistant bacteria sometimes have multiple copies of their genomes). The volume of E.coli is approx. 1E-15L (it's a pretty small critter). Note that 1 moleculeper 1E-15L is the same concentration as 1E15 molecules per liter, which is about 1E-9M. Or, in other words, 1 molecule per E.coli cell is a concentration of ~1nM. Phew. Now we can start substituting into the above equation.

$\frac{d[R:D]}{dt}=+(1E9/M*second)*[1E-9M]*[R]-(1/second)*[R:D]$

Which simplifies to:

$\frac{d[R:D]}{dt}=+(1/second)*[R]-(1/second)*[R:D]$

From this equation alone we can get a sense for what the latency of our PoPS regulator will look like. Imagine that the input concentration of R goes instantly from 0 to 1000 proteins per cell. It will only take a couple seconds for the P_out signal to update. Similarly, if the R level drops from 1000 to 0, it should take a couple seconds for the P_out signal to rise. Thus, the latency of our PoPS regulator should be neglible compared to the tens of minutes required for our protein generator to respond.

What about a transfer function for the PoPS regulator? Like before, we need a function that will let us estimate P_out as a function of the input R concentration. To start, we know that at a zero R input level the P_out level will be maximum. We also know that at an infinite R input level that the P_out level should be zero. For the in between regions, if we can estimate the fraction of time that the operator site is bound by R then we can scale the maximum P_out level to reflect the actual P_out level as a function of R. Let's revisit some simple models. First, repressor and DNA form a complex with dissociation constant KD:

$R+D\leftrightarrow R:D$ and $K_D = \frac{[R]*[D]}{[R:D]}$

Next, the repressor conservation of mass equation is:

[Dtotal] = [D] + [R:D]

Substitution gets us:

$[D_{total}] = \frac{K_D*[R:D]}{[R]} + [R:D]$

Solving for [R:D] produces:

$[R:D] = \frac{[D_{total}]*[R]}{K_D*[R]}$

Substituting into the conservation of mass equation (above) and dividing by [D_total] gets us the fraction of operator bound by R:

$\frac{[R:D]}{D_{total}} = \frac{[R]}{K_D+[R]}$

One minus this value is the fraction of operator unoccupied by R:

$\frac{[D]}{D_{total}} = \frac{K_D}{K_D+[R]}$

Phew! So, our P_out as a function of R looks like:

$P_{out} = P_{out}^{max} * \frac{K_D}{K_D+[R]_{in}}$
Figure 7. Steady state transfer function for PoPS regulator device. Click to enlarge.

We won't go derive it here but note that you can tune the shape of the PoPS regulator's transfer function by using an activator in place of a repressor, or by using a repressor/activator molecule that binds as a dimer, tetramer or even a higher-order molecular complex. Many natural biological systems use dimeric and tetrameric DNA regulatory molecules to "sharpen" their dose-response transfer functions. This is useful for producing a "switch-like" dose response. For example, here's the generic form of the transer function for a repressor protein that binds as a N-mer (where N is the number of molecules required to bind the operator site on the DNA):

$P_{out} = P_{out}^{max} * \frac{K_D^N}{K_D^N+[R]_{in}^N}$

What sort of transfer function is produced for N=4?

### Combining Models

OK. Now we can combine our two sub-device models to produce an estimate for overall device latency and input/output transfer function. Note that latency will be dominated by that of our protein generator sub-device. So, the device latency is still on a timescale of 10s of minutes. What about the transfer function? We want to go from PoPS_in to PoPS_out. Can we somehow combine the two sub-device transfer functions?

Figure 8. What happens when we combine the steady state transfer functions of our two sub-devices? Click to enlarge.

The short answer is YES but what happens and whether or not the resulting behavior is useful to us will depend on how the exact (that is, quantitative) signal levels match between our two devices. For example, is the R_out level from the protein generator device is much lower than the K_D value in our PoPS regulator device, no amount of response from the protein generator device will drive a response in the PoPS regulator. Ideally, we might want to start by designing our two sub-devices so that the middle R_out level from the protein generator is roughly equal to the K_D of the PoPS regulator. This will result in signal level matching between the two devices.

Combining the two steady state transfer functions from our subdevices produces an overall transfer function for our inverter device:

$PoPS_{out} = PoPS_{out}^{max} * \frac{K_D}{K_D+\frac{f(PoPS_{in})}{k_d}}$