Abstract
Computation underlies the organization of cells into higher-order structures, for example during development or the spatial association of bacteria in a biofilm1–3. Each cell performs a simple computational operation, but when combined with cell–cell communication, intricate patterns emerge. Here we study this process by combining a simple genetic circuit with quorum sensing to produce more complex computations in space. We construct a simple NOR logic gate in Escherichia coli by arranging two tandem promoters that function as inputs to drive the transcription of a repressor. The repressor inactivates a promoter that serves as the output. Individual colonies of E. coli carry the same NOR gate, but the inputs and outputs are wired to different orthogonal quorum-sensing ‘sender’ and ‘receiver’ devices4,5. The quorum molecules form the wires between gates. By arranging the colonies in different spatial configurations, all possible two-input gates are produced, including the difficult XOR and EQUALS functions. The response is strong and robust, with 5- to >300-fold changes between the ‘on’ and ‘off’ states. This work helps elucidate the design rules by which simple logic can be harnessed to produce diverse and complex calculations by rewiring communication between cells.
Boolean logic gates integrate multiple digital inputs into a digital output. Electronic integrated circuits consist of many layered gates. In cells, regulatory networks encode logic operations that integrate environmental and cellular signals6–8. Synthetic genetic logic gates have been constructed, including those that perform AND, OR and NOT functions9–12, and have been used in pharmaceutical and biotechnological applications13,14. Multiple gates can be layered to build more complex programs15–17, but it remains difficult to predict how a combination of circuits will behave on the basis of the functions of the individuals11,18. Here we have compartmentalized a simple logic gate into separate E. coli strains and use quorum signalling to allow communication between the strains5. Compartmentalizing the circuit produces more reliable computation by population-averaging the response. In addition, a program can be built from a smaller number of orthogonal parts (for example transcription factors) by re-using them in multiple cells.
NOR and NAND gates are unique because they are functionally complete. That is, any computational operation can be implemented by layering either of these gates alone19. Of these, the NOR gate is the simplest to implement using existing genetic parts. A NOR gate is ‘on’ only when both inputs are ‘off’ (Fig. 1a). We designed a simple NOR gate by adding a second input promoter to a NOT gate20. Tandem promoters with the same orientation drive the expression of a transcriptional repressor (Fig. 1b). Tandem promoters are common in prokaryotic genomes21. This is expected to produce an OR function; however, interference between the promoters can occur (Supplementary Figure 3). The repressor turns off a downstream promoter, which serves as the output of the gate. Both the inputs and the output of this gate are promoters; thus, multiple gates could be layered to produce more complex operations.
Each logic gate is encoded in separate strains of E. coli. Acyl homoserine lactone (AHL) cell–cell communication devices are used as signal-carrying ‘wires’ to connect the logic gates encoded in different strains4,5,22. Gates are connected in series where the output of the first gate is the expression of the AHL synthase (Pseudomonas aeruginosa PAO1 LasI or RhlI). AHL diffuses through the cell membrane and binds to its cognate transcription factor (P. aeruginosa PAO1 LasR or RhlR). The promoter that is turned on by the transcription factor is used as the input to the next logic gate. These systems have been used previously to program cell–cell communication and have been shown to have little cross-talk4. Analogous to a series of electrical gates arrayed on a circuit board, compartmentalization of genetic gates in individual cells allows them to be added, removed or replaced simply by changing the spatial arrangement of the E. coli strains.
The stepwise construction of a NOR gate with PBAD and PTet as the input promoters and yellow fluorescent protein (YFP) as the output gene is shown in Fig. 1c. PBAD and PTet are activated in the presence of arabinose (Ara) and anhydrotetracycline (aTc), respectively. The individual transfer functions of PBAD and PTet are measured using flow cytometry (Fig. 1c). An OR gate is constructed by placing the PBAD and PTet promoters in tandem. PBAD–PTet demonstrates OR logic with 7,000-fold induction between the ‘off’ state (−Ara, −aTc) and the ‘on’ state (+Ara, +aTc). Finally, to convert the OR gate into a NOR gate, the CI-repressor gene is placed under the control of PBAD–PTet and YFP is expressed from a second plasmid under the control of the CI-repressible PR promoter. Whereas the OR gates have some characteristics of fuzzy logic, the NOR gates are nearly digital (Fig. 1c).
These OR and NOR gates use promoters as inputs. This feature imparts modularity to the gates; in other words, they can be engineered to respond to different inputs by replacing the promoters. To investigate this, we swapped the input promoters of the logic gates. Figure 2 shows the characterization data for three different tandem promoters: PBAD–PTet, PBAD–PLas and PTet–PLas. The promoter PLas is activated by the quorum signal 3OC12-HSL22 (N-3-oxo-dodecanoyl-homoserine lactone). These gates perform as the additive combination of the individual transfer functions of the two input promoters and the CI-repressor NOT gate. The predicted transfer function for the six logic gates shown in Fig. 2 matched the experimental results. One tandem promoter, PTet–PBAD, did not function as predicted (Supplementary Figure 3). The failure observed for PTet–PBAD probably arises from some position-dependent interference. This could be the result of the effects of DNA looping, the occlusion of transcription-factor-binding sites or changes in the ratio or stability of output messenger RNAs, among other effects.
Complex logic can be designed using layers of simpler gates. An XOR gate is built with three NOR gates and a buffer gate (Fig. 3a). The output of an XOR gate is ‘on’ only when either (but not both) inputs are ‘on’. Four strains, each carrying a different logic gate, are used to construct an XOR circuit. The strains are spotted onto an agar plate in the spatial arrangement required to perform this function (Fig. 3b). Cell 1 carries a NOR gate that uses Ara and aTc as inputs and expresses LasI as the output. This allows cell 1 to be wired to the NOR gates in cells 2 and 3 by means of 3OC12-HSL. Cells 2 and 3 use Ara and aTc as their second inputs, respectively. Similarly, the output of the NOR gates in cells 2 and 3 is RhlI, which produces C4-HSL22 (N-butyryl-homoserine lactone). Cell 4 acts as a buffer gate and integrates the outputs from cells 2 and 3 by responding to C4-HSL. The output of a buffer gate is ‘on’ only when the input is ‘on’. The complete circuit consisting of all four strains behaves as a digital XOR gate with respect to the two inputs (Ara and aTc; Fig. 3c, d). Each intermediate colony performs its digital logical operations appropriately, as tested by replacing each output gene with YFP (Fig. 3c).
We constructed a small library of strains that act as simple logic gates, most of which are components of the XOR gate (Fig. 4a). Circuit diagrams showing how all of the sixteen possible two-input logic gates can be constructed using the library are shown in Fig. 4b. Each circuit diagram is reproduced by the spatial arrangement of the component strains. None of these circuits required additional genetic manipulation. The range of induction varies from 5-fold (XOR) to 335-fold (B gate). The dominant contribution to the dynamic range of the complete circuit is due to the intrinsic range of the final circuit (Supplementary Figure 7). For example, the XOR and NAND gates are limited by the output of PRhl. The addition of a NOT gate to this promoter increases the dynamic ranges of the EQUAL, AND, A IMPLY B and B IMPLY A gates, which is an effect described previously23. No degradation in the signal is observed as a function of the number of layers.
The calculations are robust with respect to the distance between colonies and the time and density at which they are spotted (Supplementary Figure 10). This robustness is partially due to the population averaging that occurs, which reduces the effect of cell–cell variation. Despite the variability in the circuit response within a colony, this variability is effectively averaged and thus is not propagated to the next layer of the circuit. The use of chemical signals and population averaging could represent a common design rule for achieving computational operations robust enough to overcome the stochastic limitations of layered circuits in individual cells24,25. Another source of robustness is the external clock that is implemented by delaying the spotting of colonies for each layer. Genetic computing is asynchronous and this may result in hazards, that is, transient incorrect outputs that occur as a result of mismatched delays in the circuit26. This is apparent when circuits are measured in liquid culture, where the calculation is less robust with respect to timing and cell density (Supplementary Figure 12). To perform the calculation properly, all of the cells need to start in the ‘off’ state. As layered computation becomes more critical to the design of genetic programs, this will either require the implementation of a genetic clock27 or the design of programs that are robust to asynchronous computation28.
Cellular automata have been used to show how simple logic yields complex patterns in the organization of cells1. These have been used to model biological pattern formation, development and complex collective behaviour3,29. Here we demonstrate that a library of simple gates can be used to form more complex computational operations by linking the gates using diffusible chemical signals. The motif of multiple promoters in tandem driving the expression of a repressor is common in genomes21, and the resulting NOR gates may represent a ubiquitous fundamental unit of biological computation. Although our current ability to create logic gates within a single cell is limited, it may ultimately be possible to encode more complex circuits in individual cells that are then linked by cell–cell communication, akin to logic blocks in field-programmable gate arrays30. Together, these principles can be used in the engineering of biological systems to create increasingly complex functions.
METHODS SUMMARY
Strains, plasmids and media
All studies were performed using E. coli strain DH10B. Luria–Bertani (LB)-Miller medium (Difco 244610) was used for the assays. The antibiotics used were 50 μg ml−1 chloramphenicol (Acros 227920250) and/or 50 μg ml−1 kanamycin (Fisher BP906-5). The inducers used were arabinose (Sigma A3256), anhydrotetracycline (Fluka 37919) and 3OC12-HSL (Sigma O9139).
Transfer function characterization
Cells harbouring the appropriate plasmids were incubated in 3 ml of LB broth medium (37 °C, 250 r.p.m. shaking) in culture tubes without the presence of inducers for 18 h. The cultures were then diluted 200-fold into 200 μl fresh LB broth medium (supplemented with appropriate inducers) in a 96-well plate format and incubated for additional 14 h before finally being diluted 100-fold into PBS solution for cytometry analysis.
Plate assay of circuit function
The plate medium was prepared by pouring 12 ml of LB broth agar medium (1.5% agar (Difco 214030), 2.5% LB-Miller) supplemented with inducers (2 mM Ara and/or 500 ng ml−1 aTc) into a 100-mm Petri dish (Fisher 08-757-13). Bacterial logic gates were ‘fabricated’ on the plate by spotting 1 μl overnight culture of appropriate bacterial strains (Supplementary Table 5) to mimic the spatial arrangement of each logic circuit. The distance between each two colonies was set at 7 mm in square grids. Spotting was done with 12-h delay from the previous layer’s spotting to ensure communication signals had propagated sufficiently. After 12 h from the last layer’s spotting, the whole output colony of the circuit was scraped using inoculating loops and diluted into 10 ml PBS solution for cytometry analysis.
Flow cytometry
All data contained at least 50,000 events, obtained using BDFACS LSR2. Events were gated by forward and side scatter using MATLAB software. The geometric means of the fluorescence distributions were calculated. The autofluorescence value of E. coli DH10B cells harbouring no plasmid was subtracted from these values to give the fluorescence values reported in this study.
Supplementary Material
Acknowledgements
We thank W. Mulyasasmita and K. Temme for critical discussions. This work was supported by the National Science Foundation (SynBERC, NSF#0943385 and NSF Sandpit CCF-0943385) and the Office of Naval Research.
Footnotes
Supplementary Information is linked to the online version of the paper at www.nature.com/nature.
Author Contributions A.T. designed and performed the experiments, analysed the data and wrote the manuscript. J.J.T. designed experiments and edited the manuscript. C.A.V. designed experiments, analysed the data and wrote the manuscript.
Author Information Reprints and permissions information is available at www.nature.com/reprints. The authors declare no competing financial interests. Readers are welcome to comment on the online version of this article at www.nature.com/nature.
References
- 1.Neumann JV. The General and Logical Theory of Automata. Wiley; 1951. [Google Scholar]
- 2.Turing AM. The chemical basis of morphogenesis. 1953. Bull. Math. Biol. 1990;52:119–152. 153–197. doi: 10.1007/BF02459572. (discussion) [DOI] [PubMed] [Google Scholar]
- 3.Wolfram S. A New Kind of Science. Wolfram Media; 2002. pp. 23–113. [Google Scholar]
- 4.Brenner K, Karig DK, Weiss R, Arnold FH. Engineered bidirectional communication mediates a consensus in a microbial biofilm consortium. Proc. Natl Acad. Sci. USA. 2007;104:17300–17304. doi: 10.1073/pnas.0704256104. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Basu S, Gerchman Y, Collins CH, Arnold FH, Weiss R. A synthetic multicellular system for programmed pattern formation. Nature. 2005;434:1130–1134. doi: 10.1038/nature03461. [DOI] [PubMed] [Google Scholar]
- 6.Li F, Long T, Lu Y, Ouyang Q, Tang C. The yeast cell-cycle network is robustly designed. Proc. Natl Acad. Sci. USA. 2004;101:4781–4786. doi: 10.1073/pnas.0305937101. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Niklas KJ. The bio-logic and machinery of plant morphogenesis. Am. J. Bot. 2003;90:515–525. doi: 10.3732/ajb.90.4.515. [DOI] [PubMed] [Google Scholar]
- 8.Morris MK, Saez-Rodriguez J, Sorger PK, Lauffenburger DA. Logic-based models for the analysis of cell signaling networks. Biochemistry. 2010;49:3216–3224. doi: 10.1021/bi902202q. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Mayo AE, Setty Y, Shavit S, Zaslaver A, Alon U. Plasticity of the cis-regulatory input function of a gene. PLoS Biol. 2006;4:e45. doi: 10.1371/journal.pbio.0040045. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Anderson JC, Voigt CA, Arkin AP. Environmental signal integration by a modular AND gate. Mol. Syst. Biol. 2007;3:133. doi: 10.1038/msb4100173. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Guet CC, Elowitz MB, Hsing W, Leibler S. Combinatorial synthesis of genetic networks. Science. 2002;296:1466–1470. doi: 10.1126/science.1067407. [DOI] [PubMed] [Google Scholar]
- 12.Rinaudo K, et al. A universal RNAi-based logic evaluator that operates in mammalian cells. Nature Biotechnol. 2007;25:795–801. doi: 10.1038/nbt1307. [DOI] [PubMed] [Google Scholar]
- 13.Weber W, et al. A synthetic mammalian gene circuit reveals antituberculosis compounds. Proc. Natl Acad. Sci. USA. 2008;105:9994–9998. doi: 10.1073/pnas.0800663105. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Ellis T, Wang X, Collins JJ. Diversity-based, model-guided construction of synthetic gene networks with predicted functions. Nature Biotechnol. 2009;27:465–471. doi: 10.1038/nbt.1536. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Lou C, et al. Synthesizing a novel genetic sequential logic circuit: a push-on push-off switch. Mol. Syst. Biol. 2010;6:350. doi: 10.1038/msb.2010.2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Tabor JJ, et al. A synthetic genetic edge detection program. Cell. 2009;137:1272–1281. doi: 10.1016/j.cell.2009.04.048. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Friedland AE, et al. Synthetic gene networks that count. Science. 2009;324:1199–1202. doi: 10.1126/science.1172005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Tan C, Marguet P, You L. Emergent bistability by a growth-modulating positive feedback circuit. Nature Chem. Biol. 2009;5:842–848. doi: 10.1038/nchembio.218. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Scharle TW. Axiomatization of propositional calculus with Sheffer functors. Notre Dame J. Formal Logic. 1965;6:209–217. [Google Scholar]
- 20.Yokobayashi Y, Weiss R, Arnold FH. Directed evolution of a genetic circuit. Proc. Natl Acad. Sci. USA. 2002;99:16587–16591. doi: 10.1073/pnas.252535999. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Sneppen K, et al. A mathematical model for transcriptional interference by RNA polymerase traffic in Escherichia coli. J. Mol. Biol. 2005;346:399–409. doi: 10.1016/j.jmb.2004.11.075. [DOI] [PubMed] [Google Scholar]
- 22.Pesci EC, Pearson JP, Seed PC, Iglewski BH. Regulation of las and rhl quorum sensing in Pseudomonas aeruginosa. J. Bacteriol. 1997;179:3127–3132. doi: 10.1128/jb.179.10.3127-3132.1997. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Karig D, Weiss R. Signal-amplifying genetic circuit enables in vivo observation of weak promoter activation in the Rhl quorum sensing system. Biotechnol. Bioeng. 2005;89:709–718. doi: 10.1002/bit.20371. [DOI] [PubMed] [Google Scholar]
- 24.Rosenfeld N, Young JW, Alon U, Swain PS, Elowitz MB. Gene regulation at the single-cell level. Science. 2005;307:1962–1965. doi: 10.1126/science.1106914. [DOI] [PubMed] [Google Scholar]
- 25.Pedraza JM, van Oudenaarden A. Noise propagation in gene networks. Science. 2005;307:1965–1969. doi: 10.1126/science.1109090. [DOI] [PubMed] [Google Scholar]
- 26.Katz RH, Borriello G. Contemporary Logic Design. Prentice Hall; 1994. pp. 141–146. [Google Scholar]
- 27.Danino T, Mondragon-Palomino O, Tsimring L, Hasty J. A synchronized quorum of genetic clocks. Nature. 2010;463:326–330. doi: 10.1038/nature08753. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Clancy K, Voigt CA. Programming cells: towards an automated ‘genetic compiler’. Curr. Opin. Biotechnol. 2010;21:572–581. doi: 10.1016/j.copbio.2010.07.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Ilachinski A. Cellular Automata: A Discrete Universe. World Scientific; 2001. pp. 1–18. [Google Scholar]
- 30.Raju BS, Mullick SK. Programmable cellular arrays. Int. J. Control. 1971;14:1041–1061. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.