🦾 Synthetic Biology (Logic Gates)
This simulation demonstrates programming bacteria using DNA logic gates (AND/OR) to produce drugs only in the vicinity of a pollen grain.
BioBrick Parts — The LEGO of Life
Synthetic biology treats living cells as programmable machines. Just as electronic circuits are built from standardized resistors, capacitors, and transistors, genetic circuits are assembled from standardized biological parts called BioBricks — defined DNA sequences with predictable, characterized functions that snap together in a modular way.
- >20,000: Parts in iGEM Registry (standardized BioBricks)
- 2003: First BioBrick standard (Tom Knight, MIT CSAIL)
- 1–50 kb: Synthetic gene circuit sizes (typical genetic programs)
- >350: iGEM teams worldwide (2024) (student teams annually)
What is a BioBrick?
A BioBrick is a DNA sequence with a defined biological function, flanked by standardized flanking sequences (RFC 10 standard: EcoRI-NotI-XbaI prefix; SpeI-NotI-PstI suffix). The flanking restrictions sites allow any two BioBricks to be joined using restriction enzyme digestion and ligation, while generating a scar sequence that cannot be redigested by the same enzymes.
Four fundamental part types:
• Promoters (P): DNA sequences recognized by RNA polymerase as a transcription start site. Constitutive promoters (e.g., BBa_J23119) drive constant expression; inducible promoters (e.g., pHIF, pLac) respond to specific chemical signals — the "input nodes" of genetic circuits.
• Ribosome Binding Sites (RBS): mRNA sequences just upstream of the start codon that recruit ribosomes. The Shine-Dalgarno sequence (5′-AGGAGG-3′) is the canonical prokaryotic RBS. Strength is characterized as a "translation initiation rate" (TIR) enabling quantitative tuning.
• Coding Sequences (CDS): the protein-encoding region from ATG start to TAA/TGA/TAG stop codon. Can encode enzymes, reporter proteins (GFP, luciferase), therapeutic proteins (IL-12, TRAIL), or regulatory proteins.
• Terminators (T): sequences that signal RNA polymerase to stop transcription, preventing read-through into downstream genes.
The elegance of the BioBrick standard is that standardization transforms biological design from craft into engineering. A part characterized in one lab can be assembled by another lab on the other side of the world without re-characterization — enabling global distributed development of genetic programs.
The Central Dogma as a computing substrate
Genetic circuits exploit the information processing inherent in the central dogma:
DNA → RNA → Protein → Function
This is fundamentally a signal transduction cascade: 1. Input signal (e.g., arabinose, AHL, IPTG) binds a regulatory protein 2. Regulatory protein changes conformation → binds or releases a promoter region 3. RNA polymerase transcription is activated or repressed 4. mRNA is translated → protein accumulates 5. Protein executes function: enzymatic, structural, signaling
The "gain" of this cascade — how strongly an input signal changes protein output — can be tuned by: • Promoter strength (σ binding affinity) • RBS strength (translation initiation rate) • mRNA stability (5′ UTR hairpin structures, RNase E sites) • Protein stability (ssrA degradation tags, protease recognition sequences) • Temperature (affects all of the above)
This tunability means that genetic circuits can be quantitatively designed, not just qualitatively sketched — enabling "rational design" of biological computers that respond predictably to inputs.
Standardization and the iGEM movement
The International Genetically Engineered Machine (iGEM) competition, founded at MIT in 2003, has been the primary driver of the BioBrick ecosystem:
• iGEM Registry of Standard Biological Parts: an open-access database of >20,000 characterized BioBricks, freely available to any researcher • Annual competition: teams of students design and build genetic devices, submit new parts to the Registry, and present results at a jamboree • Community norms: iGEM has established conventions for part design, characterization, and documentation that function as de facto standards for the field • Notable achievements: 2006 (arsenic biosensor, Edinburgh); 2009 (bacterial photography system, UT Austin); 2011 (cancer-killing bacteria, UCSF/MIT); 2019 (plastic-degrading bacteria, multiple teams)
Beyond BioBricks, newer assembly standards have emerged: • Golden Gate (Type IIS restriction enzyme) assembly: scar-free, highly efficient, allows 8+ fragments in a single reaction • Gibson Assembly: isothermal, exonuclease-based, scar-free joining of any overlapping fragments • BASIC Assembly: DNA-linker-based system optimized for automated liquid handling • These enable assembly of large synthetic gene circuits (10–50 kb) in days rather than weeks
Boolean AND Gate — Tumor-Exclusive Signal Integration
The most powerful aspect of synthetic biology is the ability to implement Boolean logic in living cells. An AND gate requires two independent inputs to be simultaneously active before producing an output. For cancer therapy, this means the therapeutic gene fires ONLY when the cell is inside a tumor (where both hypoxia AND lactate are elevated), dramatically reducing off-target effects in healthy tissue.
- >30: AND gate implementations (published in E. coli alone)
- >95%: Promoter orthogonality (cross-talk between inputs)
- 100–500×: ON/OFF ratio (typical) (active vs. inactive circuit)
- 30–120 min: Response time (full circuit) (from input sensing to output)
Tumor microenvironment — two independent signals
The tumor microenvironment (TME) is fundamentally different from healthy tissue. Rapidly dividing cells outgrow their blood supply, creating conditions that can serve as orthogonal, tumor-specific input signals for genetic AND gates:
Signal A — Hypoxia (HIF-1α): • Tumor cores are severely hypoxic: pO₂ < 10 mmHg vs. 40–60 mmHg in normal tissue • Hypoxia-Inducible Factor 1α (HIF-1α): transcription factor that accumulates under low oxygen because its VHL-mediated ubiquitination is oxygen-dependent. Above normoxia, HIF-1α is degraded in minutes; in hypoxia, it accumulates and drives transcription of hypoxia-responsive element (HRE) containing promoters • Synthetic HRE promoter: tandem repeat of 5× HIF-1α binding sites (5′-RCGTG-3′) drives robust, tumor-selective gene expression. Fold-induction: 10–50× under 1% O₂ vs. normoxia.
Signal B — Lactate (Warburg Effect): • Cancer cells preferentially ferment glucose to lactate even in the presence of oxygen (Warburg effect) — producing 10–100 mM extracellular lactate vs. <2 mM in normal blood • Lactate biosensor: LldR (lactate dehydrogenase regulator from Gluconobacter oxydans) is a transcriptional repressor that dissociates from its operator sequence upon lactate binding → gene expression is induced • LldR-based promoter: orthogonal to mammalian gene regulation, no background in healthy tissue
The simultaneous requirement for hypoxia AND elevated lactate creates an exquisitely specific "tumor detector." While hypoxia alone can occur in ischemic tissues and lactate can rise during exercise, the combination — chronic hypoxia + glycolytic lactate accumulation — is a near-exclusive hallmark of solid tumors and cannot be replicated in normal physiology.
Molecular implementations of Boolean AND
Several molecular architectures implement AND logic in genetic circuits:
1. Sequential transcription cascade (most common): • Promoter_A drives expression of transcription activator protein X • Promoter_B drives expression of transcription activator protein Y • Output promoter requires BOTH X AND Y for activation (e.g., a hybrid promoter with binding sites for both X and Y) • Both inputs must be positive to produce both activators → output is zero unless both present
2. Split protein reconstitution: • Protein A (e.g., split intein, split Cre recombinase) is fused to hormone-binding domain A • Protein B fragment is fused to hormone-binding domain B • Only when both ligands are present do both halves come together → reconstitute activity • Examples: split GFP, split luciferase, split Cre, split dCas9
3. RNA-based AND gate (toehold switches): • Trigger RNA A unfolds a "hairpin toe" in the riboswitch • Trigger RNA B unfolds a second stem → together, both triggers are required to expose the RBS and allow translation • 100% programmable by sequence alone; no protein components needed • Demonstrated by Green et al. (Collins lab, MIT, 2014) with >100-fold ON/OFF ratio
Beyond AND: NOR, NAND and complex logic in bacteria
Boolean logic in synthetic biology extends well beyond AND gates. The full Boolean algebra has been implemented in living cells:
• NOT gate: a repressor (CI, TetR, LacI) driven by an input promoter — when input is ON, repressor accumulates → output is OFF. Inversion of signal.
• NOR gate: two repressors, each responding to one input, target the same output promoter. If either input is ON, output is OFF. Equivalent to NOT(A OR B).
• NAND gate: equivalent to NOT(A AND B) — can be constructed from an AND gate followed by a NOT gate. NAND is logically universal (any Boolean function can be built from NAND gates alone).
• XOR gate: in synthetic biology implemented using mutual repression combined with self-activation — produces output ONLY when inputs differ. Demonstrated by Bonnet et al. (Bhatt lab, Stanford, 2013).
• Memory (SR flip-flop): mutual repression between two inverters (LacI-TetR toggle switch, Gardner et al. Nature 2000) — the canonical bistable genetic memory that maintains state after input is removed.
• REIN counter: uses recombinases to count cell-division events and execute a program after N divisions — demonstrated in tumor detection.
All these logic operations run on the biochemistry of transcription factor binding/dissociation, RNA secondary structure, and protein-protein interactions — making the living cell a biological computer.
Plasmid Assembly — Constructing the Genetic Program
Once the circuit design is finalized computationally, it must be physically assembled as DNA. Modern synthetic biology leverages powerful DNA assembly methods — particularly Golden Gate and Gibson Assembly — to join multiple synthetic DNA fragments into a functional plasmid in a single, highly efficient reaction.
- >95%: Golden Gate efficiency (correct assemblies from 8 fragments)
- $0.05/bp: Gene synthesis cost (2024) (down from $10/bp in 2000)
- 1 h: Fastest assembly (Gibson) (isothermal at 50°C)
- 1–2 days: Plasmid verification (Sanger or nanopore sequencing)
Golden Gate assembly — scar-free modular construction
Golden Gate assembly uses Type IIS restriction enzymes (notably BsaI) that cut DNA outside their recognition sequence — leaving customizable 4-base overhangs:
Protocol: 1. Each DNA fragment (BioBrick, promoter, CDS) is synthesized or PCR-amplified with BsaI recognition sites flanking 4-base overhangs unique to each junction 2. All fragments + plasmid backbone + BsaI enzyme + T4 DNA ligase are combined in a single tube 3. Cycling between 37°C (digestion) and 16°C (ligation) for 25–50 cycles allows only correct, uniquely matching overhangs to ligate 4. Final result: a scarless, directionally assembled construct
Key advantages: • No scars: unlike BioBrick RFC 10 (which leaves 6-base scars at each junction), Golden Gate leaves no extra sequence from the assembly • High multiplexing: up to 20+ fragments can be assembled simultaneously with near-complete efficiency for up to 8 fragments (>95%) • Automation-compatible: entire assembly in a single well — compatible with liquid handling robots • One-pot reaction: restriction enzyme and ligase operate in the same buffer simultaneously
For our therapeutic AND gate circuit: 7 fragments were assembled using Golden Gate: Promoter_HIF, RBS_A, TetR_CDS, Terminator_1, Promoter_LldR_TetR, RBS_B, IL12_CDS, Terminator_2 + backbone.
Plasmid design — stability and biocontainment
The plasmid backbone must provide:
1. Origin of Replication (ori): controls plasmid copy number per cell • pSC101 ori: ~5 copies/cell — low copy, minimizes metabolic burden on bacteria • ColE1 ori: ~15–20 copies/cell — medium copy, more protein production • pUC ori: ~500 copies/cell — high copy, maximum protein but heavy metabolic load; risk of plasmid instability • For therapeutic bacteria: pSC101 or p15A (10–12 copies) — balance of expression and stability
2. Selectable marker: • Kanamycin resistance (KanR): aminoglycoside phosphotransferase APH(3′) • Used for in vitro selection of transformed bacteria during manufacturing • Critical: antibiotics NOT used in the clinical product — resistance gene is present but irrelevant after administration • Alternative: auxotrophic selection (bacteria that can only survive when a particular amino acid is supplied by the medium — no antibiotic needed)
3. Biocontainment features (essential for therapeutic bacteria): • Semantic containment: substitution of rare codons for essential genes → bacteria can only survive on synthetic amino acid analogs not found in nature (orthogonal genetic code) • Kill switch: toxin gene under promoter that activates outside the designed environment (e.g., under normoxia or above pH 7.4) • Escape frequency requirement: <1 in 10⁸ bacteria can escape containment per generation
E. coli Nissle 1917 — the therapeutic chassis
Not all bacteria are equal as therapeutic delivery vehicles. E. coli Nissle 1917 (EcN) has emerged as the preferred chassis for gut-delivered gene circuits:
Why EcN? • Century-long safety record: isolated by Alfred Nissle in 1917 from a WWI soldier resistant to Salmonella; used as a probiotic (Mutaflor®) since 1920s — >100 years of human use without safety concerns • Natural GI colonization: EcN expresses flagella and type I fimbriae that allow colonization of intestinal epithelium — ensuring retention and proximity to gut tumors • Genomic stability: sequenced (5.44 Mb genome) and genetically tractable — well-developed tools for targeted chromosomal integration • Missing virulence factors: compared to pathogenic E. coli, EcN lacks: shiga toxins, heat-stable enterotoxin, α-hemolysin, P fimbriae — genuinely non-pathogenic • Tumor colonization: multiple groups have demonstrated that EcN preferentially accumulates in tumor necrotic cores after intravenous injection, reaching tumor-to-organ ratios of >1000:1 within 24 hours
Alternatives under investigation: • Lactobacillus/Lactococcus: for oral delivery, acid-resistant, GRAS status • Listeria monocytogenes (attenuated): enters tumor cells directly — intracellular delivery of DNA vaccines • Salmonella typhimurium VNP20009 (attenuated): natural tumor tropism, multiple clinical trials for solid tumors
Electroporation & Transformation — Writing the Program into the Cell
Building a genetic circuit in a test tube is only the beginning. The circuit must be introduced into living bacterial cells — a process called transformation. Electroporation is the gold standard for high-efficiency delivery of large plasmids: a brief electric pulse transiently disrupts the bacterial membrane, allowing DNA to enter before the cell reseals itself.
- 2.5 kV: Electroporation voltage (typical for E. coli (1mm gap))
- 4–5 ms: Pulse duration (time constant τ = RC)
- 10⁹ CFU/μg: Transformation efficiency (competent E. coli)
- 50–80%: Cell survival after pulse (of electroporated cells)
Electroporation mechanism — transient pore formation
Electroporation exploits the electrical properties of the bacterial cell membrane:
Physics of pore formation: • Resting transmembrane potential of E. coli: −120 to −140 mV (inside negative) • Critical transmembrane voltage for electroporation: ~200–500 mV • Applied electric field (E = V/d): for 2.5 kV across 1 mm cuvette = 25,000 V/m • Voltage across cell membrane is amplified by the cellular geometry: Vm = 1.5 × E × r × cos(θ), where r = cell radius • For E. coli (r = 0.5 μm): Vm ≈ 0.5 V → well above threshold
Membrane response: 1. Lipid bilayer experiences dielectric breakdown at its poles (where electric field is perpendicular to membrane) 2. Water molecules (high dipole moment) invade the hydrophobic core → form transient hydrophilic pores 3. Pore lifetime: nanoseconds to milliseconds depending on field strength and duration 4. DNA molecules in solution are electrophoretically driven toward the cell by the field 5. DNA enters through pores or may be taken up by a membrane-mediated mechanism 6. Cell membrane reseals spontaneously within seconds (driven by line tension of the bilayer edge) 7. Cells surviving the pulse can be recovered in rich medium (SOC broth) for 1 h at 37°C before plating
Safety considerations — regulatory path for living therapeutics
Engineered living bacteria as therapeutics (Engineered Living Medicines, ELMs) face unique regulatory challenges compared to conventional drugs:
Key regulatory concerns: 1. Horizontal gene transfer (HGT): risk that the engineered plasmid spreads to gut microbiome commensals or pathogens via conjugation or transduction Mitigation: pSC101 backbone lacks conjugation machinery; use chromosomal integration rather than plasmid
2. Evolutionary escape: bacteria can mutate antibiotic resistance genes, escape kill switches, or lose the therapeutic circuit Mitigation: circuit genomically integrated (not plasmid-borne); multiple redundant biocontainment layers; semantic containment
3. Immune responses: bacteria express LPS, flagellin, peptidoglycan — all TLR agonists; can trigger systemic sepsis if they escape the tumor or gut Mitigation: LPS-modified strains (MPLA); dose-escalation in clinical trials
4. Environmental release via feces Mitigation: environmental kill switch; patients given oral bacteria-killing antibiotic at end of treatment course
FDA classification: combination product (biological drug + medical device characteristics). IND application requires comprehensive preclinical package including biodistribution studies, containment validation, and toxicology data.
From bench to clinic — engineered bacteria in human trials
As of 2024–2025, multiple engineered bacteria programs have entered human clinical trials:
• Synlogic SYNB1891 (engineered EcN for tumor immunotherapy): activates STING pathway in tumor-associated macrophages; Phase 1 trials in solid tumors — demonstrated intratumoral injection safety and preliminary anti-tumor activity
• Synlogic SYNB8802 (engineered for enteric hyperoxaluria): chromosomally integrated genes for oxalate degradation; Phase 2 trials showing significant reduction in urinary oxalate
• Vedanta Biosciences VE303 (defined bacterial consortium): depletes C. difficile colonization after antibiotics; Phase 3 trials demonstrating C. difficile recurrence prevention
• Ginkgo Bioworks / Roche: engineered bacteria for inflammatory bowel disease expressing IL-10 locally in colon
• Nature's Toolbox / BioAtla: tumor-colonizing Salmonella variants expressing bispecific antibodies in solid tumors
Pivotal insight: IV-administered, tumor-tropic bacteria may bypass the delivery problem that plagues conventional cancer therapeutics. After a single IV dose, bacteria can find and colonize every metastatic lesion simultaneously — impossible with any other drug delivery system.
Logic Execution — Bacteria Compute and Produce Drug On-Site
The culminating event of synthetic biology therapy: engineered bacteria sense the dual tumor signals, execute the AND gate computation, and produce the therapeutic protein locally — within the tumor microenvironment itself. This is pharmacology running on living software, producing drug at exactly the right place at the right concentration.
- >1000:1: Tumor/normal tissue ratio (EcN accumulation at 24h)
- ~10⁶ molecules/h: IL-12 output per bacterium (at full circuit activation)
- 24–72 h: Immune activation onset (after bacterial colonization)
- >99%: Circuit orthogonality (no activation in normoxia+no lactate)
IL-12 — why this cytokine for tumor killing
Interleukin-12 (IL-12) is one of the most potent anti-tumor cytokines known — but its systemic administration is dose-limitingly toxic. Local, tumor-restricted production by bacteria solves this fundamental problem:
IL-12 biology: • Heterodimeric cytokine (p35 + p40 subunits forming p70) • Primary activities: activates NK cells (rapid tumor killing), promotes Th1 differentiation of CD4+ T-cells, drives IFN-γ production (macrophage activation, MHC-I upregulation on tumor cells), enhances cytotoxic CD8+ T-cell activity • Anti-angiogenic: IFN-γ induced by IL-12 inhibits tumor neovascularization (CXCL10 induction, thrombospondin-1 upregulation)
Systemic IL-12 toxicity: • Merck clinical trial (1996): recombinant IL-12 IV doses of 500 ng/kg caused severe or life-threatening toxicity including hepatotoxicity, hematological suppression, macrophage activation syndrome • Trial suspended; 2 patient deaths • Maximum tolerated systemic dose: far below effective anti-tumor dose → systemic delivery infeasible
Local delivery advantage: • Bacteria produce IL-12 in situ → local concentrations 100–1000× above systemic levels without escaping to circulation • Tumor-specific circuit = zero IL-12 in healthy tissue even if bacteria are present • Multiple groups demonstrated complete tumor regression in flank tumor models with single intravenous administration of IL-12-expressing EcN
The full AND gate signal processing
In the tumor microenvironment, both input signals are above threshold simultaneously:
Signal integration timeline:
1. 0–2 hours: Bacteria arrive at tumor by bloodstream or local injection, begin extravasating into necrotic tumor core
2. 2–6 hours: Bacteria in hypoxic tumor (pO₂ < 5 mmHg) → HIF-1α-responsive promoter activates → TetR repressor protein accumulates Bacteria sense lactate (10–50 mM in TME) → LldR dissociates from operator → "Anti-TetR" signal produced
3. 6–12 hours: Both inputs exceed threshold → AND gate fires → IL-12 (p35 + p40 subunits) transcription initiates Both subunits expressed from same operon (IRES-separated), dimerize spontaneously → active IL-12 p70
4. 12–24 hours: IL-12 secreted via N-terminal signal peptide → enters tumor interstitium → binds IL-12Rβ1/IL-12Rβ2 on NK cells and T-cells → activates JAK2/TYK2 → STAT4 phosphorylation → IFN-γ gene transcription
5. 24–72 hours: IFN-γ burst → macrophage M1 polarization → tumor cell MHC-I upregulation → T-cell recognition of neoantigens → adaptive anti-tumor immune response initiated
IF back in healthy tissue (normoxia, no lactate): TetR accumulates normally BUT the anti-TetR signal is absent → IL-12 gene is fully repressed → zero drug production. The kill switch is arithmetic: both signals MUST be present.
Synlogic and the clinical reality of programmed medicine
Synlogic Therapeutics (now integrated into Ginkgo Bioworks) was the first company to advance purely synthetic biology-designed bacteria into human clinical trials for cancer. Their work demonstrated both the promise and challenges:
SYNB1891 clinical data (2022): • Engineered E. coli Nissle expressing STING agonist cdiGMP under quorum-sensing promoter • Phase 1 trial in 23 patients with advanced/metastatic solid tumors • Route: direct intratumoral injection (IT) • Outcomes: activated STING pathway confirmed by biomarkers in 78% of patients; 1 partial response, 4 stable disease; well-tolerated with manageable local reactions and transient fever • Key insight: bacteria stayed at injection site, did not disseminate systemically — validating the safety model
Future direction — oral tumor-colonizing bacteria: • The next frontier: bacteria that, after oral administration, colonize the gut and then selectively migrate to gut tumors (colorectal, pancreatic) • EcN naturally colonizes the GI tract and has demonstrated tumor accumulation in orthotopic colon tumor models • Oral administration eliminates the need for intratumoral injection — potentially treating disseminated metastatic disease
Combination with immunotherapy: • Bacteria expressing PD-L1 blockade antibody fragments locally + IL-12 for dual checkpoint + cytokine approach • Anti-PD-L1 nanobodies secreted directly in the tumor microenvironment avoid systemic autoimmunity • First combination IND expected 2025–2026
This simulation demonstrates programming bacteria using DNA logic gates (AND/OR) to produce drugs only in the vicinity of a pollen grain.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install