Designing one RNA switch to recognize two natural RNA signals: the algorithm, the computational evidence, and the experiments it guides.
1 · Overview
How can one RNA switch recognize two natural signals at once? We design bacterial AND-gate
candidates around two messenger RNAs whose sequences are fixed by biology. CERNAL supplies accessible
regions; our module finds compatible trigger pairs and builds two connected hairpins around them.
Trigger B is intended to unlock the secondary hairpin, so that A can open the main hairpin and permit translation.
Follow the construction algorithm and
the intended architecture.
State key: the two digits record A/B presence, in that order;
0 = absent, 1 = present.
The central challenge is keeping A alone from activating the switch (state 10).
Our model follows that challenge from input choice to sequence design: the trigger pair shapes
the available opening route, while upper3, AUG closure and lower3 tune the main stem.
In the secondary hairpin, A-site binding competes with the internal lock.
The input-pair comparison and
matched design comparisons guide which alternatives we build, compare and retain.
We use equilibrium folding in all four states to select candidates with explicit structural checks
and traceable sequences. The remaining question is what happens as the RNAs meet and refold over time.
Heuristic pathway energies therefore guide a separate kinetic challenge experiment, alongside
tests of equilibrium-selected designs. The result is an algorithm for CERNAL and a
two-track experimental roadmap.
1. Receive CERNAL regions
Start from its accessible RNA shortlist.
Selected genes and reference transcripts
2. Find and select trigger pairs
Match overlaps; build full A/B triggers.
Use CERNAL’s trigger-accessibility score
3. Choose secondary hairpins
Balance lock, A-site and B-site contacts.
Strong locks; three A-site energy bins
4. Assemble the switch
Two hairpins and the complete linker.
The output gene is outside the folded region
5. Set the main-stem levers
Choose upper3, closure and lower3.
AUA; five closures; eligible strengthening
6. Check and return candidates
Fold 00, 01, 10 and 11; apply 22 checks.
Return measurements, ranks and reasons
Figure 1.1 — The illustrated route from CERNAL inputs to AND candidates.
The upstream compiler supplies accessible regions. Our module defines compatible A/B triggers,
builds the two hairpins, varies the main-stem levers and applies four-state checks before returning
candidate records. The miniatures show the intended roles; Figure 4.3
shows calculated structures. Follow Algorithm 1.// Judging · Model
The Ballot Questions, and Our Answers
We design the switch around biology: two natural RNA inputs whose sequences we cannot choose.Our algorithm finds complementary overlaps, balances the competing requirements of two hairpins, and evaluates the intended ON state against all three OFF states. In the historical study, 219,808 four-state evaluations identified 4,762 designs passing all 22 structural checks. The contribution is an explained, reproducible route from natural RNA regions to candidate gates for CERNAL, with explicit compute budgets and traceable sequences, structures and rejection reasons.
Published measurements tested the model's scoring choices. Green's 168 measured single-input switches informed the 7.2 kcal/mol ON-state ceiling and an external ranking benchmark. Ensemble-defect improvement and an arm-accessibility ratio agreed modestly with measured ON/OFF, while an opening-cost contrast had the opposite sign. We therefore compare candidate rankers against data and retain their ON and OFF components. These measurements ground our modeling choices; our own two-input candidates still require four-state reporter measurements to test functional AND behavior.
A cell's state can be represented by a combination of RNA signals,
rather than a single marker. An RNA AND gate could turn such a two-gene
signature into a protein output only when both inputs are present.
We investigate a general design approach for bacterial RNA gates
that read two naturally occurring mRNAs. E. coli inputs associated with
perfluorooctanoic acid (PFOA) provide our worked example — not a requirement
of the gate architecture.
The starting point is the toehold switch: a messenger RNA whose
untranslated leader folds into a hairpin that hides the ribosome binding
site (RBS) and start codon (AUG). A complementary
trigger RNA binds to an accessible sequence and opens the hairpin,
allowing translation of the downstream gene.7
Because recognition occurs before the protein-coding sequence, the
RNA signals and protein output can be chosen separately.
Why AND rather than OR? If either RNA input had an independent
route to expose translation-initiation signals, either could activate
expression — an OR-like response. Our design instead places
two hairpins in series on one switch RNA. Only the main
hairpin contains the RBS and AUG and directly controls translation.
The upstream inhibitory hairpin has neither: its job is to hide
the binding site that trigger A needs. Trigger B must
first open the inhibitory hairpin, allowing A to open the main hairpin.
Thus neither input alone is intended to activate expression; the two
must act in sequence (Figure 4.2). Whether this really prevents
single-input activation is a question for the model and, ultimately,
experiments. Figure 4.2 shows the intended mechanism;
§ 8.1 tests its critical OFF state.
Published foundations and the PFOA use case
Green et al. (2014)7
established toehold switches as programmable RNA regulators, reporting
designs with an average dynamic range above 400-fold and low
crosstalk. Crucially for our work, they also demonstrated sensing of
naturally occurring mRNAs, whose sequences and structures cannot
be freely redesigned. This supports our choice to search native
transcripts for suitable trigger sites rather than invent the inputs.
Kim et al. (2019)8
supplied the inhibitory-hairpin strategy. They tested how
shortening the exposed binding region between the two hairpins affected
activation, including separations of 10, 7, and 4 nucleotides.
At short spacing, the second trigger became necessary for activation.
Shorter spacing or additional hairpins also tended to produce a steeper
response, reflected in higher apparent Hill coefficients. We extend
that design logic by placing the inhibitory hairpin directly against
the main hairpin, leaving no exposed binding spacer between them.
This more restrictive geometry was not tested by Kim.
Robson and Green (2026)6
developed Toehold-VISTA, combining RNA-structure features
with a model trained on measured switch performance to assess
sensor–target interactions. We draw on its switch-scaffold
conventions and compare its ideal ensemble-defect measure with our
own scores. We do not treat its single-input training data
as validation of our two-input gate.
What remains to solve is the constraint imposed by two
endogenous inputs. Both sequences are fixed by biology, and
this particular two-hairpin design requires compatible overlapping
regions in the two transcripts (Figure 4.1). We therefore use
computational sequence search and RNA folding to find possible trigger
pairs, construct switches, and assess all four input states. The model
helps us compare design decisions; it does not predict protein
expression or establish that a working two-input gate has been built.
Algorithm 1 describes this sequence-to-candidate route.
General design, one biological use case
We apply this reusable design framework to endogenous genes
associated with PFOA exposure in E. coli.
Transcriptomic data and an AND-unique gene-pair screen guide input
selection (§ 7); computational folding
evaluates the proposed circuit's four states. The gene screen does not
prove PFOA specificity, and the simulated states are not wet-lab
measurements of an AND gate. See
§ 6.6 and
§ 10.1.
3 · Algorithm and computational checks
CERNAL finds the biological search area; this module builds the AND gates.
Its inputs are selected genes, accessible transcript regions and the reference sequences.
Its output is a switch-candidate list in CERNAL's standard format, with measurements,
shared ranks and reasons for rejection. Figure 1.1
follows that route with a drawing for each step.
Symbol and metric reference: definitions available throughout the page
Symbols are introduced before the calculation that uses them. A small
i beside a symbol opens
its definition on hover, keyboard focus or tap. The same help is available
beside equations and in figure captions.
Input-state digits
The left digit records trigger A, the right trigger B. 00: neither; 10: A only; 01: B only; 11: both. These name modeled RNA complexes, not measured expression.
x
The complementary overlap used to couple the two natural RNA inputs. Trigger A contains x; trigger B contains its reverse complement, x*.
x*
The reverse complement of x. On the switch, this is A's binding site, intended to remain locked against x until B opens the inhibitory hairpin. The star denotes reverse-complementary domain notation.
lenₓ
Length of the selected maximal complementary overlap, in nucleotides. The production search requires at least four; it does not construct a separate design for every shorter sub-overlap.
xₘᵢₙ
Minimum accepted overlap length: four nucleotides.
k1
The six-nucleotide upper-main-arm segment of trigger A. Its intended switch counterpart is k1*; construction levers can change the switch-side sequence.
k1*
The switch's upper ascending main-stem arm, adjacent to the RBS loop. It faces the RBS–AUG spacer and is edited by upper3.
bulge
The three-base segment facing the start codon in the intended main hairpin. The closure lever chooses the switch-side counterpart; its pairing to AUG varies with that choice.
Main_pre / Main_pre*
The lower main-stem domains. Main_pre is the nine-nucleotide coding arm after AUG; Main_pre* is the opposing ascending arm before the start-codon bulge. The lower3 lever edits their lower three positions.
Main_z
The six-nucleotide spacer between the RBS loop and AUG on the switch's descending main arm. It faces k1* in the intended hairpin.
ext / extension
The part of trigger A after x. Its potential contact with the inhibitory arm competes with the internal lock and B's binding requirements.
k2
The segment of trigger B before x*, intended to invade the upper inhibitory arm. Its length is invasion length v minus overlap length lenₓ.
k2*
The upper ascending inhibitory-stem arm on the switch. Its sequence is chosen while balancing the lock and the two trigger contacts.
Sec_z / Secondary_z / z
The designed descending inhibitory-stem arm, facing k2*. These three labels name the same domain; it need not be perfectly complementary at every designed position.
r2
The remaining segment of trigger B after its overlap. It recognizes the exposed switch-side toehold r2*.
r2*
The 32-nucleotide switch-side landing site for trigger B, intended to be exposed before the inhibitory hairpin opens.
cap
In the switch domain map, cap is the 5′ GGG leader. A geometry's secondary-stem cap is a different feature: an optional paired extension at the inhibitory stem's top.
γ: geometry
The scaffold layout, naive or Kim-inspired. It fixes arm/invasion lengths and the optional secondary-stem cap; it is not an energy or a probability.
a
Main-arm length used to locate x in trigger A: 18 nucleotides, comprising k1, bulge and Main_pre.
v
Secondary invasion length used in trigger B's construction: 18 nucleotides in naive geometry, 17 in Kim-inspired geometry.
LA / LB: trigger lengths
Complete trigger A/B footprint lengths: 36/50 nucleotides in naive geometry, 35/49 in Kim-inspired geometry. These differ from the shorter overlap length.
LB
Complete trigger B footprint length: 50 nucleotides in naive geometry, 49 in Kim-inspired geometry.
K: carried pairs
Requested number of complete pair/role/geometry records to carry to construction. Allocate across overlap lengths, then select by the highest minimum-partner CERNAL accessibility score within each length. The reduced construction grid has at most 30K settings.
n: conflicts
Number of positions where the two trigger-derived requirements disagree. Three choices at each position give 3ⁿ secondary-arm assignments before construction checks.
nₛₜₐₗₗ
Maximum consecutive unpairable positions allowed along B's intended invasion alignment: two. This is a construction rule, not a measured stalling time.
Nₚₐᵢᵣₛ
Number of trigger pairs carried in the historical characterization: 210. This is separate from K, the number requested for a new search.
nₛₜₑₘₛ
Number of secondary stems carried for a pair. The historical sampling gave about nine; the reduced profile takes up to three representatives from occupied bins in the strongest-lock row.
S / StemFront
The set of non-dominated secondary stems returned for a trigger pair after the declared construction and energy checks. It may be empty; a sampled search describes only the assignments inspected.
upper3
The upper-three-base main-stem lever. Current production uses the AUA override; the historical sweep also included the original sequence and UAU.
lower3 / wobble_GU
The lower-three-position main-stem lever. Production retains the original sequence and adds a variant only when an eligible change strengthens the complete lower arm while retaining G–U pairing to A.
closure
The three switch-side bases facing AUG. The reduced profile uses the original control plus four representatives of the 0/1/2/3-position pairing classes; the full historical grid remains a separate option.
A-site energy
Fixed-alignment binding free energy between A's x·extension and the opposing inhibitory arm Sec_z·x*. More negative values mean stronger modeled A binding; this is not a rate.
B-site energy
Fixed-alignment binding free energy of B's k2 against the switch's k2*. More negative values mean stronger modeled binding.
Lock energy
Fixed-alignment free energy of the internal inhibitory stem, including any geometry-specific paired cap. It competes with trigger binding; more negative means a stronger modeled lock.
W: measurement window
A named contiguous RNA span. Opening probabilities depend on which bases it includes, so each comparison must use the stated window and coordinate convention.
Wᵣₐₙₖ
The compiler's 30-nucleotide initiation window, represented by the end-exclusive slice span(-17, 13). It differs from Figure 4.3's 27-nucleotide RBS-loop-through-AUG display region and the external 31-nucleotide calibration slice.
θₒₙ: ON ceiling
The initial ON-state opening-cost ceiling: 7.2 kcal/mol. Published single-input measurements informed it; transfer to this two-input architecture remains an assumption.
Z: partition function
The sum of Boltzmann weights over the modeled secondary-structure ensemble. It is a weighted sum over structures, not a count of sampled pictures.
Z with W unpaired
The same partition-function sum restricted to structures in which every base of window W is unpaired at the same time.
s: structure
One secondary-structure configuration in the ensemble. The partition function sums over possible configurations s.
ΔG(s) / E: structure energy
Free energy of one specified secondary structure, in kcal/mol. Figure 4.3 evaluates both the MFE and centroid structures in the same energy model.
Gₑₙₛₑₘᵦₗₑ
Free energy of the whole modeled ensemble, equal to −RT ln Z. This differs from the energy of one displayed structure.
E
The evaluated energy of the displayed structure. Its exact-structure probability is exp((G − E)/RT), using the same strand order and partition-function normalization.
R
The molar gas constant, expressed in units consistent with kcal/mol and absolute temperature.
T
Absolute temperature in the thermodynamic equations: 310.15 kelvin, corresponding to the folding setting of 37 °C.
RT
The gas constant multiplied by absolute temperature: approximately 0.6163 kcal/mol at 37 °C. It converts free-energy differences into Boltzmann probabilities.
i, j: nucleotide positions
Indices identifying individual nucleotides in the modeled sequence. The pair-probability matrix records the chance that positions i and j pair.
pᵢⱼ
Equilibrium probability that nucleotide i is paired specifically with nucleotide j.
pᵢ
Probability that nucleotide i is paired to any partner: the sum of pᵢⱼ over j. Its unpaired probability is 1 − pᵢ.
pₒₚₑₙ(W)
Joint probability that all nucleotides in window W are unpaired simultaneously. It is Z with W unpaired divided by Z; it is not a mean of individual-base probabilities.
ΔGₒₚₑₙ(W)
Free-energy cost of holding all of W unpaired: −RT ln pₒₚₑₙ(W), in kcal/mol. A lower cost means a more accessible window.
A_M
Mean unpaired probability over the switch's main-stem span, from the RBS–AUG spacer through the lower coding arm. It is an average across bases, not the joint opening probability of the 30-nucleotide ranking window.
A_S
Mean unpaired probability over the switch-side x* landing site. A state suffix identifies which triggers are included in the calculation.
A_r2_star
Mean unpaired probability of the switch-side r2* toehold used by trigger B.
xstar_engA / mainpre_engA
Partner-specific mean occupancy: the probability that bases in the named switch site are paired to trigger A. The two sites are x* and the main stem's ascending lower arm, respectively. These are not protein-leakage measurements.
hairpin_*: intended duplex fidelity
Mean formation probability of the intended aligned pairs. lock names x:x*; sec names k2*:Sec_z; k1 names the upper main stem; main_pre names the lower main stem. Thirteen state-specific conditions contribute to the 22-check set.
Normalized ensemble defect
Expected fraction of nucleotides whose pairing differs from the specified target. For a target that is entirely unpaired, it reduces to mean paired probability. Lower is better.
predicted_leakage
The AND compiler's worst-OFF joint-window opening proxy: the largest opening probability among 00, 01 and 10. The field name does not imply measured protein leakage.
dynamic_range
The raw modeled ON/worst-OFF joint-opening ratio. A zero or unmeasured denominator produces a missing ratio; it is not a measured fluorescence fold change.
state_separation
The log₂ ON/worst-OFF joint-opening ratio, calculated from opening-energy differences. It is one term in CERNAL's shared scoring profile.
ρ: Spearman rank correlation
A rank-association statistic from −1 to +1. Positive means the two rankings tend to rise together; negative means they tend to oppose. It does not establish causation or measure prediction accuracy.
Σ, exp, ln, Δ, |…|
Σ means sum; exp(u) means e raised to u; ln is the natural logarithm; Δ denotes a difference; vertical bars take an absolute magnitude. A centered dot joins sequence segments, whereas × multiplies counts.
Pareto front
Alternatives not dominated by another inspected design. Dominance requires being at least as good on every stated objective and strictly better on one. The front describes trade-offs, not a single final rank.
G168 / G13
Published single-input benchmark cohorts from Green: 168 measured switches and 13 forward-engineered switches, respectively. They are separate from our modeled two-input candidates.
G13
The 13-switch forward-engineered single-input benchmark cohort from Green. It is not a subset of our modeled two-input gates.
Statistical p value
A tail probability under a stated null hypothesis. It is separate from RNA opening probabilities and is not the probability that a biological claim is true.
N / n: sample count
The number of observations in a stated cohort. Designs, trigger pairs and pair-by-geometry cells are different units; many designs from one cell are not independent biological replicates.
log₂ fold change; adjusted p
In the upstream expression table, log₂ fold change is the base-two logarithm of an expression ratio. Adjusted p accounts for multiple testing. The supplied screen used an absolute log₂ fold change of at least two and adjusted p below 0.05; this nominates inputs, not sensor specificity.
3.1 · From accessible regions to a switch list
Algorithm 1 — Generate prokaryotic AND candidates.Input: CERNAL regions, genes and reference transcripts; output-gene specification,
construction settings, requested search size and seed.
Output: standard candidate records, measurements, ranks and rejection reasons.
Read down the operations; the right-hand bullets explain each decision.
Repeat the indented operations for each selected pair and candidate.
Operation
What happens, and why
1MATCH reverse-complementary segments WITHIN CERNAL's accessible regions
Use segments of at least 4 nt, in different genes.
Gene selection and accessible-region discovery have already happened upstream.
2BUILD full A/B triggers around each match KEEP its maximal compatible overlap
Take the required flanking sequence from the reference transcripts, even when the match lies at a supplied region's edge.
A/B footprints: 36/50 nt (naive), 35/49 nt (Kim). Every footprint must fit its transcript.
Consider both A/B roles; keep one maximal overlap per resulting pair and geometry.
3SCORE each adjusted trigger USING CERNAL TriggerScorer
Use CERNAL's trigger-selection algorithm, including its joint-8-nt opening score.
Reuse an unchanged trigger's existing score; rescore a footprint whose sequence or coordinates changed.
4GROUP pairs BY maximal overlap length KEEP up to K records with length coverage
One record contains both triggers, their coordinates, A/B roles and one scaffold geometry.
Give each pair the lower of its two CERNAL scores; higher is better. Reserve one slot per overlap length when K permits, then allocate the remaining slots toward each length's proportional quota. Rank within each length by descending pair score. If K is smaller than the number of lengths, represent the lengths whose best pairs score highest.
Alternatively, draw K records above a declared accessibility percentile using the recorded seed.
This chooses where to build; it does not rank the finished switches.
FOR EACH selected pair:
5stems ← SecondaryStems(A, B, len_x, γ)
Resolve conflicting secondary-stem contacts and apply the B-release screens.
Retain the three-energy Pareto front: Algorithm 2 below shows every operation.
Vary at most seven conflicts nearest x; fix farther conflicts to lock+B. Record this restricted scope and any tighter assignment cap.
6SPLIT stems into the 3 × 3 energy grid KEEP one representative per occupied top cell
Choose the strongest-lock row.
Retain up to three different A-site strengths; an empty cell stays empty.
Figure 3.2 explains the two-dimensional selection.
FOR EACH retained stem, closure and eligible lower3 choice:
7ASSEMBLE both hairpins and the linker SET upper3 = AUA
Use the declared scaffold and five closure choices.
Keep the original lower3 as the control. Table 3.2 gives the lever rationale.
8APPLY eligible strengthening and repairs THEN validate the constructed sequence
Where possible, an AU-to-GC stem edit retains a G–U contact with A; keep that variant only when it strengthens the complete lower arm.
Prefer a stop-free codon among eligible edits; repair unintended AUGs only within the permitted design positions.
Recheck reading frame, starts, stops and shared construct constraints. Record any rejection reason.
9MEASURE state 11 first IF the ON screen passes: measure 00, 01, 10
Fold the switch through the linker, with the appropriate trigger(s).
Use the same equilibrium model in every state.
An early stop leaves later measurements unmeasured, never zero.
10APPLY all 22 feasibility checks SAVE measurements and every outcome
Each check tests a declared structural requirement.
Keep sequence coordinates, domain map, construction choices and settings with the result.
11RANK eligible candidates WITH engine.scoring RETURN CERNAL records and search provenance
CERNAL's shared metric vocabulary, filters and weights provide the final comparison with other gate families.
Pass standard records downstream; CSV/JSON are readable exports.
Record the seed and completed search scope when a configured count or time limit stops further work.
Algorithm 2 — Build the secondary-stem alternatives.Input: the A/B triggers, overlap and scaffold.
Output: compatible, non-dominated secondary stems.
Before the steps:ext is A's extension after x;
k2 is B's segment before x*.
The switch's designed arms are k2* and Sec_z.
In this algorithm, ΔGpref = lock energy − B-site energy.
READ ext and k2 from the supplied triggers
The overlap and scaffold fix the two segments and their alignment.
MARK positions where A and B require different bases
With n such conflicts, three choices per position give 3n assignments.
VARY the seven conflicts nearest x; FIX farther conflicts to lock+B
Use all conflicts if there are fewer than seven. The nearest positions lie immediately after x on the ascending arm. Holding farther conflicts at lock+B preserves their lock and B contacts.
FOR EACH assignment in this restricted space: BUILD k2* and Sec_z
At every variable conflict, preserve A + B, lock + A, or lock + B. Enumerate up to 37 = 2,187 assignments. An explicitly tighter cap uses a seeded sample within this restricted space.
CHECK B's invasion alignment
Reject a construction with more than nstall consecutive unpairable positions; the declared value is 2.
MEASURE lock, A-site and B-site energies
Measure each complete aligned binding region, including positions held fixed. Include the scaffold cap in the internal lock. The energy spans below identify the domains.
REQUIRE ΔG_pref ≥ 0 and evaluable energies
B must bind at least as strongly as the internal competing strand under this energy rule. This and the invasion screen establish the modeled release conditions.
RETURN the Pareto front over the three energies
Remove a construction only if another is at least as good in all three objectives and better in one. Algorithm 1 then selects stable locks with different A-site strengths.
Figure 3.1 — Three choices at one secondary-stem conflict.
Read right to left: A, descending arm, ascending arm, B.
The input fragments stay fixed; only the two switch arms change.
Lines show possible contacts in the architectural alignment, rather than one simultaneous folded complex.
The displayed energies are calculated at 37 °C for these three-base fragments.
Their positive values include the duplex association cost; full-stem energies include many more contacts.
3.2 · What has been checked?
Table 3.1. Computational investigations and the design decisions they informed.
Investigation
What we evaluated
What it informed
Four-state feasibility
301,440 built switches; 219,808 evaluated in all four states; 4,762 passing all 22 structural checks. Funnel and thresholds.
The declared search funnel and a reproducible feasible example. Inspect one candidate.
The limiting OFF state
A alone (10) limited the ribosome-window ON/OFF contrast in 99.3% of four-state evaluations.
A-site and B-site binding, internal-lock stability and their relationships with four-state behavior.
Strong-lock selection while exploring A-site strength and retaining B-release screens. Energy results.
Trigger pair versus design choices
Between-pair variation and within-pair effects of the construction levers.
Which questions require trying another input pair and which can be addressed by redesign. Pair/design comparison.
Equilibrium versus pathway energetics
Equilibrium state-10 occupancy alongside heuristic refolding-path energy estimates. Path results.
Separate equilibrium-selected tests from kinetic challenge experiments. Experimental roadmap.
Published measured switches
External Green libraries were used to compare ranking observables and inform the ON-state opening screen.
Data-informed model choices and explicit ON/OFF interpretation. External comparisons.
3.3 · Parameters and reproducibility
Why fold through the linker? The modeled region includes both hairpins and the complete linker
(161/165 nt in the base scaffolds). This balances the declining confidence in long-RNA folding
predictions against the need to capture interactions across the whole gate. The compact context
keeps the calculation tractable; possible effects of distant output-gene regions remain outside this model.
Folding scope and limitations.
Pair selection uses CERNAL's own trigger score. Its trigger-selection stage calculates
the joint-8-nt opening score; we apply the same scorer to the adjusted A/B footprints.
Give each pair the lower of its two scores. Select within overlap-length groups from highest to lowest, preserving both partners together. This favors pairs in which both triggers are accessible.
Algorithm 1, steps 3–4.
Why a two-dimensional 3×3 grid? Before selecting representatives, the
ΔGpref and nstall screens already enforce the declared
B-release conditions. B-site energy remains part of the three-energy Pareto pruning;
the selection board then focuses on lock stability and A-site binding rather than adding a third grid axis.
Release screens and their comparison.
Why only the strongest-lock row? The model linked a stable secondary lock with less modeled A-only binding
(§ 8.3).
The unresolved design question was how much A-site binding to retain. We therefore carry one
representative from each occupied A-site cell in that row — up to three, without filling empty cells.
Coverage reflects what validation has yet to resolve. The model motivates a strong lock, but
has not experimentally established one optimal A-site strength or a performance ranking by overlap length.
Keeping three A-site bins explores that uncertainty. Measurements could later justify concentrating
construction in one A-site range or adding overlap length to pair ranking.
Overlap-length coverage is a separate sampling choice. The reduced search groups eligible pairs by their maximal overlap length. It reserves one representative per observed length when K permits, then fills remaining slots toward the groups' proportional quotas. Within each group, the best accessibility scores come first. When K cannot cover every length, groups with the best available pair scores receive the slots. Every run records the eligible and selected length distributions. This deliberately preserves rare lengths without assuming that longer overlaps perform better.
Figure 3.2 — Strong locks, three A-site alternatives. Tertiles divide
the searched Pareto front on each axis. Only the top row is carried forward, with a stem nearest
each occupied cell's mean. The drawing illustrates the rule; actual cell occupancy follows the input sequences.
Table 3.2. Reduced main-stem lever set per selected secondary hairpin.
Lever
Choices
Why these choices?
Upper3
WWW_AUA only
A weak upper stem: AUA implements three A–U pairs. This adopts Green's preference for an all-weak upper region, rather than claiming AUA is uniquely optimal.
AUG closure
Original control; AUG (0 paired positions), AAC (1), AGU (2), CGU (3)
Retain the original sequence and one representative of each pairing class. For classes 1–3, choose the motif nearest the class's mean fixed-alignment energy.
Lower3
Original, plus an eligible wobble_GU strengthening variant
Aim toward two G–C pairs and one A–U pair. Use an AU-to-GC stem edit that retains G–U pairing to A; keep it only when the complete lower arm becomes stronger and the construction remains valid.
Upper3: leave less structure for activation to overcome. Green's single-input library
favored weak upper-stem pairs. In natural-mRNA sensors the trigger can unwind only part of the stem,
leaving the remainder to breathing and ribosome-assisted opening. This motivates AUA at upper3
in our endogenous-input design.7
Lower3: improve the OFF lock while retaining a route for A. Green's library favored
two strong lower pairs rather than either extreme.7
Our G–U strategy is a design hypothesis: strengthen the internal stem while keeping a pairable
contact with A, aiming to reduce leakage without losing opening. Four-state checks test the resulting switch.
Compare all 16 historical closure options and the selected class centers
The original grid contains 15 fixed motifs plus the trigger-derived control.
Motifs are compared against AUG in their actual antiparallel register, including permitted G–U pairs.
The chosen representatives are AAC, AGU and CGU. All zero-pair motifs have zero under this measurement,
so the reduced profile uses AUG as an external Green-library reference, in addition to the original control.
AUG was not one of the original sixteen; its representation in that library does not establish it as the best motif.
Table 3.3. Recomputed isolated fixed-alignment energies at 37 °C (kcal/mol).
Class means exclude the input-dependent control. Positive values include the association cost of a three-base
duplex; they are not complete-hairpin energies. Data and source hashes.
Paired positions
Motif, 5′→3′
Energy
Class mean
Distance to mean
Reduced set
Original control
trigger-derived
Input-dependent; retained as the unchanged reference, outside fixed-motif class means.
0
GCC
0.000
0.000
0.000
–
0
ACC
0.000
0.000
0.000
–
0
ACA
0.000
0.000
0.000
–
0
AUA
0.000
0.000
0.000
–
1
AAA
3.200
3.475
0.275
–
1
CCC
3.300
3.475
0.175
–
1
AAC
3.400
3.475
0.075
Selected class representative
1
AGC
4.000
3.475
0.525
–
2
CGC
2.600
3.625
1.025
–
2
AAU
2.900
3.625
0.725
–
2
AGU
3.200
3.625
0.425
Selected class representative
2
CCU
5.800
3.625
2.175
–
3
CAU
1.400
2.067
0.667
–
3
CGU
1.800
2.067
0.267
Selected class representative
3
UAU
3.000
2.067
0.933
–
The number of input pairs sets the search size.
Carry the requested number K using the overlap-length coverage rule above and the lower of each pair's two CERNAL trigger-accessibility scores. A pair record fixes both trigger footprints, their A/B roles
and one scaffold geometry. An optional seeded sample from a declared accessible percentile can
broaden coverage beyond the very top of the ranking.
The construction grid makes the work explicit: up to three secondary stems ×
five closures × one upper3 choice × two eligible lower3 choices gives at most 30 designs
per record, or 30K in total. Empty stem bins, ineligible edits and construction failures reduce
that count. Choose K after timing a representative subset on the intended machine;
a small demonstration and a research run use the same algorithm at different search sizes.
Secondary-stem enumeration is bounded separately. With n conflicting positions there are
3n unrestricted assignments. The reduced search varies only the seven conflicts nearest x and fixes all farther conflicts to lock+B. It enumerates the resulting 3min(n,7) ≤ 2,187 assignments. Energies and invasion checks still include the complete binding regions. This is exhaustive within the restricted space, not within the unrestricted one.
The value is a computational setting, not a biological threshold.
Table 3.4. Search size and the resulting maximum work. Record chosen values and completed counts with each run.
Setting
Meaning
Work to account for
K, max_pairs
Requested complete pair records, selected across overlap lengths by accessibility
At most 30K construction settings in the reduced grid; fewer may be buildable.
max_variable_conflicts
7 conflicts nearest x; farther conflicts fixed to lock+B
At most 2,187 secondary-arm assignments before choosing up to three stems.
max_stem_assignments
Optional tighter cap within the restricted assignment space
A seeded sample is used only if this cap is smaller than the restricted space.
budget.max_designs
Compiler evaluation count, if explicitly requested
The general compiler supports null to evaluate all generated designs. A finite count can truncate a grid.
Table 3.5.
Structural constants: each symbol, its value, meaning and source in one place.
Values separated by a slash are naive / Kim geometry. The historical sweep used
210 trigger pairs, about nine stems per pair–geometry cell and the full
16 × 3 × 2 closure/upper3/lower3 grid; these are study settings, distinct from
the reduced search profile above.
Symbol
Value
What it fixes
Origin
In the code
xmin
4 nt
shortest overlap two transcripts may share and still be paired
architecture
MIN_OVERLAP
LA
36 / 35 nt
trigger A's footprint: arm, overlap and extension
architecture
ARM_LEN + lenx + ext
LB
50 / 49 nt
trigger B's footprint: invasion domain, overlap and free toehold
architecture
SECONDARY_INVASION_LEN + TOEHOLD_B_LEN
a
18 nt
main-stem arm, k1 · bulge · Main_pre
architecture
ARM_LEN
v
18 / 17 nt
how much of the inhibitory arm trigger B invades
architecture / inherited
SECONDARY_INVASION_LEN
cap
— / AUA
the top of the inhibitory arm trigger B never reaches
structural claims a design must satisfy in the four states
21 convention, 1 data
§ 5.5
T, RT
37 °C, 0.6163
the one temperature every energy on this page was computed at
convention
RT_KCAL
Measured benchmark, model-derived screen. Green's published ON/OFF measurements provide
the reference performance data. We calculate opening costs for those switch sequences using our
declared folding observable, then use the resulting 7.2 kcal/mol screen when generating AND candidates.
The cutoff is our data-informed design choice, rather than a numerical cutoff reported by Green.
External benchmark.
4 · Architecture and notation
One switch RNA contains two hairpins with different jobs.
The upstream inhibitory hairpin hides the site that trigger A
needs to bind. The downstream main hairpin contains the ribosome
binding site (RBS) and start codon (AUG) and directly
controls translation. Trigger B is intended to open the inhibitory
hairpin first; only then can A open the main hairpin.
This is the proposed AND mechanism, not a demonstrated output.
The two inputs also constrain each other's sequence design.
They are selected from existing mRNAs rather than invented. In this
architecture, their recognition regions must share a compatible
sequence, called x. Its reverse complement, x*, forms
part of the inhibitory stem while also serving as trigger A's
binding site. The asterisk (*) means reverse complement;
RNA sequences are written 5′ to 3′ and bind antiparallel.
Figure 4.1 maps the parts that recognize each trigger.
Read the state labels as A, then B:00 means neither input, 10 A alone,
01 B alone, and 11 both present.
Figure 4.2 shows the intended response to each combination.
The critical question is whether 10 really stays OFF
when trigger A arrives without B.
Figure 4.1 — Matching two RNA inputs to one switch.
Trigger B recognizes the upstream region and A the downstream region.
The shared sequence x couples the two inputs; x* on the switch is part of the
inhibitory hairpin and is also A's intended landing site. Binding is antiparallel.Full domain map and scaffold specifications (15 domains)
Exact design notation. The modeled trigger windows are
36 nt for A and 50 nt for B. A star (*) denotes a
reverse complement: for example, k1* on the switch is
designed to pair with k1 on a trigger. These are intended
recognition patterns; folding can produce other interactions
(see § 5).
Notation. a dot is concatenation and each name is a contiguous run of nucleotides,
written 5′ to 3′. In Eq. (1): k1 is the 6 nt trigger A
pairs with at the top of the main stem, bulge the 3 nt facing the start
codon, Main_pre the 9 nt at the foot of that stem, x the overlap
the two transcripts share, and extension the remainder of the 36 nt
window, which faces the inhibitory hairpin. In Eq. (2): k2 is the arm
of the inhibitory stem trigger B invades, x* the reverse complement of the
same overlap, and r2 trigger B's free toehold, the rest of its 50 nt
window. A star labels the nominal reverse-complementary domain; specified
main-stem levers can introduce deliberate sequence changes. The shared overlap
itself remains complementary: x* in trigger B pairs with x in
trigger A and with x on the switch. Every domain and its length is listed
in the table below.
trigger A = k1 · bulge · Main_pre · x · extension(1)
trigger B = k2 · x* · r2(2)
The inhibitory hairpin is drawn with an 18-bp stem and a
15-nt loop. The main hairpin has an 18-nt RBS loop and places
AUG opposite a 3-nt bulge. The two hairpins touch, with no
exposed spacer at their junction. The following table defines
the entire switch in 5′-to-3′ order.
Table 4.1.
The 15 switch domains in 5′-to-3′ order. Domains marked
varies depend on the selected trigger pair and shared overlap;
their lengths are coupled, keeping the complete switch at 161 nt
in the naive geometry or 165 nt in the Kim geometry.
the 5′ leader, GGG, which encourages efficient
transcription by T7 RNA polymerase
r2*
32
trigger B
trigger B's landing site. Its length follows Green's rule for mRNA
triggers7
x
varies
the overlap
the shared window, the 5' lower section of the ascending arm of the inhibitory stem
k2*
varies
secondary-stem assignment
the upper part of the ascending arm; the length of x and k2* together is constant
secondary loop
15
Kim et al. 2019
the inhibitory hairpin's loop. It carries no ribosome binding site and
no start codon — the hairpin is purely structural.
Secondary_z
varies
secondary-stem assignment
the inner descending arm, pairing with k2*
x*
varies
the overlap
the shared window, trigger A's landing site, and in the OFF state it is paired with
x rather than exposed
Main_pre*
9
trigger A, then lower3
the main stem's 5' lower section of the ascending arm
opposing bulge
3
trigger A, then closure
faces the start codon across the stem. The closure lever
k1*
6
trigger A, then upper3
the main stem's 5′ upper section of the ascending arm. Its sequence
moves with the upper3 lever. Its length is 6 because it pairs with the
spacer, which places the start codon 6 nt from the Shine–Dalgarno
sequence — inside the optimal band9
carries the ribosome binding site, AGAGGAGA, at its 3′ end.
Lengthened to 18 nt in that series; the loop is drawn unpaired in
every intended state. Actual pairing is determined by the ensemble.
Main_z (k1 in the scaffold strip)
6
trigger A, then upper3 and repairs
the RBS-to-AUG spacer on the descending arm. The upper3 lever acts here
AUG
3
fixed
the start codon
Main_pre
9
trigger A, then lower3
three codons of output, and the outer descending arm. The lower3
lever acts here
joins the switch to the output gene, taken unchanged
Four of the fixed segments are inherited rather than designed, and they are taken
verbatim. Four pieces come from Green's switches:7
the GGG leader, the AGAGGAGA ribosome binding site, the
18-nucleotide loop that carries it, and the 21-nucleotide linker to the output gene.
The leader and linker are from the original scaffold; the lengthened loop is from
the series built against endogenous triggers, which is the case this gate is for. The
15-nucleotide loop of the inhibitory hairpin is Kim's.8 Keeping them unchanged is deliberate: they are the parts of the
construct whose behaviour is already characterised at the bench, so every difference
between our switches and the published ones is a difference in the part we actually
designed.
trigger B’s toehold, always single-stranded
trigger A’s site, x*
ribosome binding site
start codon
Loading architecture illustration…
Drag to rotate; Shift + drag to pan; wheel or + / − to zoom.
This is the intended mechanism, with illustrative domain geometry and a downstream
output CDS. It is not a sequence-specific fold, a predicted tertiary structure or
measured translation. Figure 4.3 below shows computed structures through the linker.
Figure 4.2 — the intended AND response in four input states.00: neither trigger present, OFF;
10: A alone, intended OFF;
01: B opens the inhibitory hairpin, but translation remains OFF;
11: both triggers permit opening of the main hairpin, intended ON.
Only the main hairpin contains the RBS and AUG.
4.1 · A computed candidate, nucleotide by nucleotide
One sequence, four input states. This candidate uses A from ggt and B from aldA,
and passes all 22 structural feasibility checks on recalculation with CERNAL's shared tools.
Its 161-nt switch includes both hairpins and the complete linker.
MFE is the minimum-free-energy structure; the centroid represents the ensemble by minimizing
expected base-pair distance. Compare the switch alone (00) with both inputs (11):
in the 11 MFE, the entire RBS-through-AUG region is unpaired.
The state-by-state drawings show which contacts open, persist or shift as each trigger is added.
r2* toehold (trigger B's site)
sw_x
k2*
secondaryZ
x* nucleation site
main arm pre*/bulge* and main_pre
k1* : mainZ upper stem (6 bp)
RBS loop
AUG
loops, cap and linker
trigger A
trigger B
00 · switch alone
MFE · -68.70 kcal/mol; exact structure: 7.52% of this strand-order ensemble
Centroid · -68.70 kcal/mol; exact structure: 7.52% of this strand-order ensemble
01 · switch + trigger B
MFE · -138.60 kcal/mol; exact structure: 8.47% of this strand-order ensemble
Centroid · -138.00 kcal/mol; exact structure: 3.2% of this strand-order ensemble
10 · switch + trigger A
MFE · -78.80 kcal/mol; exact structure: 0.742% of this strand-order ensemble
Centroid · -66.30 kcal/mol; exact structure: 1.15e-09% of this strand-order ensemble
11 · switch + triggers A and B
MFE · -157.40 kcal/mol; exact structure: 1.61% of this strand-order ensemble
Centroid · -157.00 kcal/mol; exact structure: 0.841% of this strand-order ensemble
Figure 4.3 — Predicted structures of a feasible AND candidate.
Domain colors identify the switch regions and the two triggers; solid lines follow each backbone
and dashed lines mark calculated base pairs. The 27-nt RBS–AUG region spans the 18-nt RBS loop,
6-nt spacer and AUG (positions 105–131, counting from 1). Folding ends after the linker, before the output gene.
All views use ViennaRNA 2.7.2
at 37 °C and CERNAL's Turner 2004 model. Exact structure is the displayed fold's ensemble
probability; all open together is the probability that the whole highlighted region is unpaired.
The 3D graph preserves the calculated contacts; its depth is illustrative.
Download sequences and calculation records.Inspect the candidate's 22 checks and reproduce the figures
The selected construct has the naive scaffold, a 4-nt overlap, AUA upper3,
CGC closure and original lower3. CGC belongs to the optional full closure grid,
rather than the selected five-closure default; no production default was changed
to obtain the illustration. Trigger coordinates are zero-based,
half-open: ggt [498,534) and aldA [47,97).
The feasibility definitions explain the observables below.
The selection record
documents the historical source, screening counts and bounded reconstruction checks.
Visible RBS-through-AUG opening was an illustration-selection
condition, not an additional production feasibility threshold.
The calculation record
contains full sequences, domain boundaries, all raw measurements, both
three-strand orderings, model settings, energy-table hash and pinned engine revision.
The reproduction script
calls CERNAL's existing candidate reconstruction, measurement, folding and layout
tools. It does not implement a second folding model. Run it in the pinned engine's
uv environment as described in the script; these are optional reproduction
instructions, not steps required to read the figures.
Interpreting the structures. This illustrative candidate comes from the historical full closure grid;
it does not estimate the yield of a new search. Each MFE or centroid is an unconstrained fold with its
own evaluated free energy, not an ON/OFF expression score. The centroid is a representative pairing pattern,
not an average molecular shape. A low probability for one complete structure does not establish that
the RBS–AUG region is usually closed; use its joint opening probability for that question.
For state 11, both cyclically distinct strand orders were checked. The viewer shows the lowest MFE
and its corresponding centroid; feasibility and joint-opening measurements pool the two orders.
Exact-structure probabilities refer to the displayed order's ensemble. These ensembles are conditional
on the stated strands, rather than concentration-dependent tube populations or measured expression.
The 27-nt display region is distinct from the 30-nt ranking window.
Exact-structure probability. Let E be the displayed structure's
evaluated free energy, G the partition-function free energy for the same
strand order, R the gas constant and T the absolute temperature.
Their product RT is the thermal energy in kcal/mol; exp is the natural
exponential function.
Its probability is exp((G − E)/RT).
The calculation retains ViennaRNA's multistrand association and symmetry
normalization in G; it does not substitute an uncorrected partition matrix.
A centroid outside the connected-complex ensemble would have zero weight there.
The pinned ViennaRNA partition-function source
documents that normalization. The record also stores each base's unpaired
probability and the mean across the displayed region.
Metric key for the checks below. The suffix is the input state, with A
first and B second; all listed observables range from 0 to 1.
A_S, A_M
Mean unpaired probability over
the switch's x* site, or over the main-stem region from the RBS spacer
through the lower coding arm, respectively.
xstar_engA, mainpre_engA
Mean probability
that the named switch site is paired to trigger A; partner identity matters.
A_r2_star
Mean unpaired probability of B's exposed
toehold on the switch.
hairpin_*
Fraction of intended aligned pairs formed:
lock is the x:x* lock, sec the upper
secondary stem, k1 the upper main stem and main_pre
the lower main stem. These are equilibrium pairing statistics.
Table 4.2. All 22 structural feasibility checks for the illustrated candidate. Values come from ensemble calculations, not from counting pairs in the displayed MFE or centroid.
Observable
Required
Computed value
Result
A_S_00
< 0.2
0.00132259
Pass
A_M_00
< 0.2
0.0695017
Pass
xstar_engA_10
< 0.5
0.00174679
Pass
mainpre_engA_10
< 0.5
0.00322816
Pass
A_M_10
< 0.2
0.0711147
Pass
A_M_01
< 0.2
0.0694558
Pass
A_S_01
> 0.5
0.801561
Pass
A_M_11
> 0.5
0.565703
Pass
A_r2_star_00
> 0.4
0.650659
Pass
hairpin_lock_00
> 0.5
0.998674
Pass
hairpin_lock_10
> 0.5
0.995583
Pass
hairpin_lock_01
< 0.5
3.63141e-08
Pass
hairpin_lock_11
< 0.5
5.64679e-12
Pass
hairpin_sec_00
> 0.5
0.846566
Pass
hairpin_sec_10
> 0.5
0.846563
Pass
hairpin_sec_01
< 0.5
0.000729449
Pass
hairpin_k1_00
> 0.5
0.966835
Pass
hairpin_k1_10
> 0.5
0.963744
Pass
hairpin_k1_01
> 0.5
0.966836
Pass
hairpin_main_pre_00
> 0.5
0.999397
Pass
hairpin_main_pre_10
> 0.5
0.996128
Pass
hairpin_main_pre_01
> 0.5
0.999301
Pass
5 · Materials and methods
The historical study characterizes how input pairs and switch choices affect the four logic states. The compiler algorithm (§ 3) gives the current production route. The methods below document the broader research search, structural definitions and comparisons behind the reported results; historical sampling and production budgets are distinguished.
For the three E. coli gene pairs in this worked example, the search produced 53,530 candidate window pairs and 301,440 constructed switches. Of those, 219,808 were evaluated across all four states, and 4,762 passed the declared feasibility criteria. These are computational designs and checks, not measured AND-gate performance.
Full pipeline stages, decision rules, and implementation reference
The design scheme follows Figure 4.2. A differential-expression table and a
reference transcriptome give a ranked set of candidate trigger windows, one
per gene, each scored for how accessible it is in its own transcript
(§ 5.1). Windows are paired across two genes by the subsequence
they share, since a single switch can sense two transcripts only where their
two landing sites overlap (§ 5.2). For each pair the inhibitory
hairpin that gates the switch is selected from a set of alternatives that trade
three competing energies against one another (§ 5.3), and the switch is
then constructed domain by domain (§ 5.4). Those two steps
settle the molecule; the remaining construction choices are enumerated over a
declared grid and screened against a feasible set before anything is folded
(§ 5.5). Each surviving design is then evaluated at equilibrium in
four states — neither trigger, each alone, and both
(§ 5.6) — from which the observables of § 5.7 are
taken. All folding and free-energy calculations are specified in
§ 5.8.
Table 5.1.
Every stage of the pipeline with the job it does, the rule it decides by, and what
comes out. Counts are for the three gene pairs carried here; a stage that
neither adds nor removes candidates is marked as such. The order is the order of the
subsections below.
Stage
Role
Decision rule
Out
4.1 candidate windows
score
fold each transcript once; every window is a candidate unless it carries a
forbidden motif. Keeps two statistics per window, the mean and the minimum
unpaired probability
scored windows per gene
4.2 pairing across genes
filter
keep a pair only where the two windows share a reverse-complementary run of at
least 4 nt and both footprints fit inside their own transcripts
53,530 candidate pairs
4.3 the inhibitory hairpin
enumerate, then cut
every per-position assignment is built, those failing displacement or the
stall cap are dropped, and the non-dominated set over three competing claims is
kept. A 3×3 board then samples it
median 82 on the front, about 9 sampled
4.4 switch construction
construct
assemble the 15 domains and apply the three levers as patches that change no
length. Adds and removes nothing
one switch, 161 or 165 nt
4.5 design space and feasible set
cut, then screen
a declared budget of 210 pairs; then the ON-state ceiling, from a published
library rather than from our own population; then 22 pass/fail gates, every
violation collected rather than the first
301,440 built, 219,808 folded in four states, 4,762
feasible
4.6 the four states
measure
fold one named complex per state at equilibrium. Decides nothing on its own
— it supplies what 4.5's gates and 7's results are read from
four folds per design
4.7 observables
measure
each quantity taken over a span chosen to match the question it answers,
declared per observable
the numbers every result below uses
4.8 thermodynamics
the physics
one energy model, one temperature, one parameter set, configured once per run
so two numbers on one axis came from the same model
The method accepts a list of endogenous RNA targets and their reference transcript sequences. These targets can come from any biological signature. The ggt combinations with astC, fadB, and aldA provide the PFOA-exposed E. coli example here (§ 7). Gene selection is an input to the RNA-design model, not a finding produced by its folding calculations.
In the historical characterization, RNAplfold estimates how likely each nucleotide is to be unpaired in its original sequence context. Every permitted candidate window receives two scores: openness, the mean unpaired probability across its bases, and accessibility, the minimum probability across those bases. The minimum records the least reachable base; historical pair selection is ordered by the smaller of the two windows' mean openness values. Windows containing excluded sequence motifs are removed before pairing. For production in CERNAL, accessible-region nomination is upstream: the AND module searches those supplied regions and scores its adjusted trigger footprints using CERNAL's method (§ 3).
Technical details: window scoring, sequence exclusions, and indexing
The input is a differential-expression table and a reference transcriptome. The
trigger genes are endogenous and were supplied by an upstream transcriptomic
analysis of the E. coli response to PFOA rather than chosen as
convenient sequences; from the AND-unique view of a larger pair screen we
carried three ggt combinations — with astC, fadB and
aldA — into the sequence-level work below
(§ 7). Which genes respond to PFOA is an input to
this model, not a result of it. What follows is what the model does once the
genes are named.
Every window on a named gene is a candidate, and each is scored where it
actually sits. The transcript is folded once with RNAplfold, which gives a
per-base probability of being unpaired in its own sequence context rather than in
isolation. Each window then carries two statistics over those per-base
probabilities:
openness
their mean over the window — how reachable the window is on
average.
accessibility
their minimum — the window's least reachable base. This per-base
minimum is retained separately from the historical pair-ordering key: the smaller
mean openness of the two windows (§ 5.5).
A window carrying a forbidden motif or a restriction site is dropped before either
statistic is taken, by the same screener every other stage uses. The standard it
screens against is RFC10, so the five BioBrick sites — EcoRI,
XbaI, SpeI, PstI and NotI — are excluded from
every window, along with any homopolymer run longer than five. A design is therefore
compatible with that assembly standard by construction rather than by a check
afterwards. The screener takes the standard as a setting, so a run targeting RFC1000
screens the sites that standard forbids instead. Coordinates are
0-indexed with an inclusive start and an exclusive end throughout, and every
candidate asserts that the transcript sliced at its own coordinates reproduces its
own sequence — the one check that catches an off-by-one before it reaches a
design. Ordering is made deterministic by breaking ties on the start index and then
on the sequence itself, so the same inputs give the same candidate list in the same
order on any machine.
Two numbers are read here and never recomputed later: a window's
openness and its accessibility. Recomputing either
downstream with a slightly different span would produce two values for one quantity
and persist both.
5.2 · Pairing windows across two genes
The two triggers must come from different transcripts. In this architecture, they also need a shared complementary region, x, that couples the upstream inhibitory hairpin to trigger A's binding site (Figure 4.1). A seed-and-extend search finds reverse-complementary runs of at least 4 nucleotides; both complete trigger windows must fit within their respective transcripts. Either gene can serve as A or B, so both role assignments are considered.
Across the three studied gene pairs, the search yielded 53,530 candidate window pairs. Most overlaps are short: 73.5% are exactly 4 nt, and 98.1% are 6 nt or shorter. This is a central design constraint: the RNA sequences are supplied by biology, yet trigger A must ultimately recognize enough of the switch to activate translation. The next step decides how much additional matching can be built into the inhibitory hairpin without sacrificing its other functions.
Figure 5.1 — the same distribution, drawn. Every candidate the pair finder returns on the three gene pairs, not the subset a run takes. The distribution is concentrated at the minimum accepted overlap: 73.5% are 4 nt and 98.1% are at most 6 nt.Technical details: seed-and-extend search, pair counts, and overlap distribution
A single switch senses two transcripts here by carrying one sequence that both
of their triggers contain: the overlap x. Trigger A contains x
and trigger B contains x*, so the same stretch of the switch is the
ascending arm of the inhibitory stem and the site trigger A must eventually
bind.
The search is seed-and-extend. Every 4-nucleotide
word of one transcript is indexed; the other transcript is walked, and each match is
grown in both directions for as long as the bases keep pairing — extending
x 3′-ward in gene A walks its partner 5′-ward in gene B, because
the two strands are antiparallel. Growth stops at the length of the invasion domain,
since no more of the run can be used. Only maximal runs are reported: a
truncated overlap is strictly dominated, because both footprints are the same size
whatever the overlap is, and a shorter x only moves positions out of the
conflict-free core. Each run is yielded twice, once for each assignment of the two
genes to the two roles, since a run is symmetric and the construct built on it is
not.
A pair is kept only if both footprints fit inside their own transcripts. The
footprints are fixed lengths, not functions of the overlap. Trigger A spans the stem
arm, the overlap and the extension facing the secondary domain, which is
36 nt under the naive geometry and 35 under Kim's. Trigger B spans the
invasion domain, the overlap and its free toehold: 50 nt naive, 49
Kim's. Trigger A's is the wider requirement and it is the one screened on, which is
the conservative direction but does drop pairs a narrower scheme could have used.
Matches within a single gene are discarded: two windows on one mRNA are one
transcript's presence reported twice, not a two-input measurement. On the three gene pairs carried through, that search
returns a large number of candidates. 24,597 for ggt × fadB, 14,929 for
ggt × aldA and 14,004 for
ggt × astC. The candidate pairs are then sorted by the smaller of their two windows' mean openness values, so that the
algorithm can choose which ones to carry into switch construction within a
computational budget.
Table 5.2.
Overlap length over every candidate the search returns, not over the
subset a run takes — those are selected on accessibility, which would
bias the length. Three gene pairs, 53,530 candidates.
overlap
ggt×fadB
ggt×astC
ggt×aldA
all
share
4 nt
17,977
10,303
11,069
39,349
73.5%
5
4,789
2,658
2,901
10,348
19.3%
6
1,359
776
692
2,827
5.3%
7
316
178
202
696
1.3%
8
113
75
55
243
0.5%
9–13
43
14
10
67
0.1%
total
24,597
14,004
14,929
53,530
A four-nucleotide overlap is not the worst case. It is the normal case.
Across those 53,530 candidates the median overlap is 4 nt and the
mean is 4.36. 73.5% sit exactly at the floor, 98.1% are 6 nt or
shorter, and four candidates in 53,530 reach 12 nt — the
shortest toehold Green's first-generation switches used.
That is the whole difficulty in one number. Green lengthened his mRNA-sensing toeholds to at least
24 nt, because a structured natural trigger needs more to nucleate on, not
less.7 Kim's gate became a true AND only once
the exposed toehold fell to 4 nt — the length at which the primary
trigger can no longer act alone.8 Endogenous
transcripts hand us that length by default. Left alone, the gate would be shut in every state.
§ 5.3 is how it is opened anyway.
5.3 · The inhibitory hairpin
One sequence must balance three competing requirements. The inhibitory hairpin must remain closed without trigger B, open when B binds, and expose a useful landing site for trigger A afterward. Where the two endogenous triggers demand different bases, the three assignments prioritize different pairs of perfect-match contacts:
Lock + A
Keep the inhibitory stem paired and match trigger A, at the expense of B's match.
Lock + B
Keep the inhibitory stem paired and match trigger B, at the expense of A's match.
A + B
Match both triggers but introduce a mismatch in the inhibitory stem, weakening the lock.
We inspect assignments at the disagreeing positions, apply the modeled B-release rules and retain the
Pareto front over three energies: lock, A-site and B-site. All three are minimized: more negative
means stronger binding. A stem is dominated only when another is no worse on all three and better on at least one.
The historical study sampled the full 3×3 grid and additional extremes. The reduced algorithm
uses the strongest-lock row.
The variable positions are not the energy-measurement boundaries. Every inspected assignment
produces two complete arms. Lock energy uses the complete k2*:Sec_z alignment, including any
scaffold cap; A-site energy uses x·ext against Sec_z·x*;
B-site energy uses k2 against k2*. The invasion check reads the complete B alignment.
These spans include positions held fixed during the search. Later four-state folding still includes
both hairpins and ends at the linker.
Figure 5.2 — The Pareto front on the two displayed energy axes.
The ggt × fadB example has a 4-nt overlap and four conflicting positions.
Rebuilding all 81 assignments gives 37 stems passing the B-release rules.
Red circles mark the five non-dominated stems on lock and A-site energy; the other 32 are gray.
The algorithm also considers B-site energy, as explained in the technical details below.
Both plotted energies strengthen toward the lower left. The example was selected for readability;
the historical first-4,000-pair sample had a median of ten to eleven conflicts.Technical details: three-way base assignments, Pareto enumeration, sampling, and endpoint tests
If the overlap is all trigger A has to bind, the gate does not open. The
inhibitory hairpin is where that is fixed. Its arms do not have to copy the
overlap exactly. At a position where the two triggers want different bases, the
switch can be built to match trigger A instead. Every such position
lengthens the stretch A finds complementary, so A’s effective toehold
ends up longer than the sequence the two transcripts actually share.
And every position given to A is taken from something else. The arm does
three jobs at once: it is what trigger B must invade, what trigger A must grip,
and half of what holds the hairpin shut. Lengthening A’s reach weakens
B’s perfect complementarity on the arm, or the lock's, or both. The construction
therefore explores how to balance the three contacts rather than assuming that
maximizing A's match gives the best gate.
At each disagreement, the three assignments preserve different pairs of perfect-match requirements.
Their labels identify those intended contacts. A permitted G–U wobble can still retain a weaker
contact elsewhere; the energy and invasion calculations account for it. The discrete choices are:
lock + A
trigger A's own base goes on the ascending arm and its complement opposite. The
stem stays paired and A finds a perfect match here. Trigger B loses this
position: this is the arm B must invade, and the base is no longer the one B
carries.
lock + B
the base trigger B needs goes on the ascending arm, with its complement
opposite. The stem stays paired and B can invade. Trigger A loses this
position.
A + B
the ascending arm takes B's base and the descending arm takes the complement of
A's, so both triggers find what they need. The two arms no longer pair
here, and the lock is what is given up.
Weakening the lock too far does not fail quietly. It produces the two leaks the
architecture exists to prevent: the hairpin opening on its own, and the hairpin
opening under trigger A alone. The second turns the AND back into something closer
to an OR. So the question is where the balance between them should sit.
B must have a modeled route to release the secondary stem.
We require B-site energy to be at least as favorable as the competing lock:
B-site ≤ lock, equivalently ΔGpref = lock − B-site ≥ 0.
A second rule permits at most two consecutive positions that B cannot pair with.
These are construction screens, not measured opening rates.
The endpoint comparison tested these two screens. In the historical comparison of
2,400 pair/geometry cases, assigning every conflict to lock+A passed in 0% of cases:
85.6% failed the consecutive-mismatch rule and 14.4% failed the energy-preference rule.
The reported median B-site energy was +2.4 kcal/mol, lock energy −25.0, and preference margin −27.3.
Assigning every conflict to lock+B passed in 50% of cases. Its reported median margin of
−1.65 includes all tested lock+B cases, including those that failed.
These percentages concern secondary-stem construction screens, not the 22 four-state feasibility checks
or measured AND-gate activity. They motivate exploring mixed assignments. No construction is rejected
simply because it has an anchored label.
Why does the algorithm retain more stems than the plotted front?
The figure shows two energies; the rule compares three. In the example above,
12 stems are non-dominated in (lock, A-site, B-site), but only five remain non-dominated
after B-site energy is ignored. Seven additional stems retain a B-site advantage; they are gray
in Figure 5.2 because that figure highlights only its two displayed objectives.
For example, compare two actual stems, writing energies as (lock, A-site, B-site):
(−28.1, −41.1, −28.3) and
(−25.9, −41.1, −29.2) kcal/mol.
The first has the stronger lock and the same A-site energy, so it looks better in 2D.
The second has the stronger B-site contact (−29.2 versus −28.3), so
neither dominates the other in 3D.
Pareto pruning preserves trade-offs in these energy objectives. The retained stems still need
construction, four-state folding and feasibility checks; being on this front does not establish
the best folded switch or measured performance.
Position-by-position choices generate the search space. With n conflicts there are
3n possible assignments. Inspect each assignment in the declared search scope,
calculate its three aligned energies and remove dominated stems.
Pareto pruning saves later whole-gate folding; it does not remove the cost of enumeration.
In Figure 5.2, all 81 assignments are inspected, 37 pass the construction rules and 12 reach the front.
Sampling representatives from that front reduces the number of switches requiring four-state folding.
Enumerating the assignments still grows exponentially, which is why a bounded search is useful.
Mixed stems are genuine additional design options. Ten of the 12 non-dominated stems in this
example use different assignment choices at different positions. An all-A or all-B construction
cannot express those combinations.
An empty front means that none of the inspected assignments survived the declared
construction and energy checks. It does not imply conflicts at every position.
With a sampled or time-limited search, uninspected assignments remain unknown.
The algorithm moves on to the next pair without relaxing its checks.
How the historical study sampled the front
After Pareto pruning, a sampling rule selects a smaller set for construction.
The historical rule divided lock and A-site energies into three tertiles each, producing a 3×3 grid.
It selected a stem nearest the mean of every occupied cell, then added distinct strongest-lock,
strongest-A-site and strongest-B-site examples. Duplicate selections counted once.
The B-release screen is an inequality, not a fixed B-site energy.
It accepts B-site ≤ lock. B may bind much more strongly than the lock, and differences in B-site
energy can still determine which stems are non-dominated.
Among the historical 3,555 selected stem records in 420 pair/geometry cells, the preference margin
was non-negative by construction (median 3.90 kcal/mol). Median within-cell energy ranges were
7.30 for B-site, 24.75 for A-site and 15.50 for lock kcal/mol. The smaller observed B-site range
is a property of that selected cohort; the inequality alone does not imply it.
Counts and energy-range audit.
Ignoring B-site energy changes the comparison within those selected cells:
2,171 / 3,555 (61.1%) remain non-dominated on lock and A-site alone.
1,384 / 3,555 (38.9%) look dominated in that 2D comparison but were retained on the three-energy front.
These are projection-comparison percentages, not rates of gate feasibility or biological success.
They describe the selected stems, not every stem on every original Pareto front.
In the historical 60-cell sampling check, the occupied-bin counts were six in three cells, seven in 34,
eight in 19 and nine in four (median seven). Adding distinct axis extremes made the number retained vary.
The reduced algorithm instead takes up to three representatives
from the strongest-lock row, leaving empty bins empty.
Why keep several A-site strengths?
A stable secondary lock helps resist single-input opening, while A still needs a useful landing site
after B acts. The model motivates strong-lock selection; the best A-site range remains an experimental
question. Carrying different A-site bins makes that question testable rather than selecting one
unvalidated optimum. Binding-energy results and
the resulting design preference.
Alternative considered: two extremes and one balanced stem
This earlier sampling proposal would keep the strongest-lock stem, the strongest-A-site stem,
and one balanced stem, after applying the B-release rules. To define balance, rescale each of the
two strengths between its weakest and strongest value on the front, then choose the stem with the
highest weaker score. That avoids choosing a candidate that excels on one axis by sacrificing the other.
This proposal produced neither the historical results below nor the current reduced selection.
It illustrates a sampling choice that validation could compare with the three strongest-lock-row bins.
5.4 · Switch construction
Each sampled inhibitory stem is connected to a conventional toehold switch. The assembled switch has 161 nt in the naive geometry or 165 nt in the Kim-inspired geometry, with fixed scaffold motifs retained from published designs. Only the main hairpin contains the ribosome binding site and start codon; the inhibitory hairpin controls access to trigger A's landing site.
Three local sequence choices, called levers, explore how reliably the main hairpin stays closed when it should: lower3 changes pairing at the base of the main stem, upper3 changes pairing near its loop, and closure changes the three-nucleotide bulge opposite AUG. The design is screened for unwanted start and stop codons after these changes, because the RNA must remain compatible with the intended reading frame.
Figure 5.3 — Three base pairs, with the two strands shown separately.
Each row holds the trigger pair and secondary stem fixed while changing one main-hairpin lever.
The upper strand reads 5′→3′; the lower reads 3′→5′, so aligned letters
face one another. Lines mark permitted pairs, including G–U. All three lower pairs are shown:
the illustrated edit strengthens two A–U pairs to G–C while the third remains A–U.
The actual edited coding triplet is UCC, displayed antiparallel as CCU.
The edits are reconstructed using CERNAL's assembly and substitution code.Technical details: three lever settings, scaffold assembly, and reading-frame repairs
For one fixed trigger pair and scaffold, eight domains remain unchanged across construction choices:
the 5′ leader (cap), r2*, x, the secondary loop, x*, the RBS loop, AUG and the linker.
Seven domains can change:k2* and Sec_z through the secondary-stem assignment;
Main_pre* and Main_pre through lower3; bulge* through closure;
k1* and Main_z through upper3 and permitted sequence repairs.
Trigger-derived starting sequences therefore do not make those seven domains fixed. Links and lengths
remain as specified in Table 4.1.
That matters because of an asymmetry. Trigger A's grip on the main stem is
strong: Main_pre*, the opposing bulge and k1* are its own reverse
complement, so the match is near-perfect by construction. Its toehold, on the
other hand, is whatever the overlap gave it. So a gate built with no further intervention has the wrong
ratio between the two. Trigger A can invade the main stem on the strength of the
match alone, without the toehold having been exposed first. That is the leak state,
and it is an OR gate rather than an AND. The three levers below tune that ratio, each acting
on three nucleotides of the main hairpin.
Table 5.3.
The three levers on the main hairpin's lock. Each is applied as a patch to a
named domain, without changing any length, so the domain map stays valid.
Lever
Acts on
What it is for
lower3
the three nucleotides at the foot of the stem
Green found an advantage in closing a hairpin strongly at the bottom and
weakly at the top.7 The lever gives the main hairpin's lowest three base pairs a pattern of two strong
and one weak Watson-Crick connection, which Green et al. (2014) found effective,
while keeping a G·U wobble to trigger A so that A can still prise the stem
open.
upper3
the three nucleotides at the top of the stem, next to the loop
the other side of the same trade: a weaker top is easier for trigger A to
prise open once it has nucleated, and easier for the molecule to open
without it, even without trigger A binding. The lever varies the candidates between
a baseline “naive” sequence derived from the trigger's complement and a
fixed AUA.
closure
the three-nucleotide bulge facing the start codon
Green reported that this bulge varied in practice because the trigger
sequences differed, and did not examine it further.7 It is the only lever that
acts directly on the structure around the start codon rather than on the stem that holds it, so we utilized it to check the affect of mid-stems binding strength on the switches performance.
Two of the levers write into sequence a ribosome reads, so both are screened
afterwards. The spacer between the Shine–Dalgarno sequence and the start
codon is trigger A’s own k1, and the three codons after the start are its
main_pre; neither is sequence we choose. A start codon out of frame with the
real one, anywhere a 30S anchored on our binding site could reach it, would translate
something that is not the reporter, and an in-frame stop would truncate it before it
begins. Both are repaired where a repair exists — each offending position moves
to a base that still pairs with its partner, wobbles included, fewest substitutions
first — and the design is rejected where none does. The screen runs after
every lever, since lower3 writes into those same codons and would otherwise
undo it.
5.5 · Design space and feasible set
Exhaustively evaluating every compatible window, inhibitory stem, geometry, and main-hairpin setting would be too expensive. To characterize a representative range rather than only the apparently best inputs, we sampled 210 window pairs across the distribution of their weaker window's accessibility and tested two geometries. The sequence levers were swept systematically; a smaller grid was also defined for future production-oriented searches. Figure 5.4 shows where the computational search space is reduced.
Figure 5.4 — Selection and expansion in the historical study.
Pair selection reduces the pool; secondary-stem and main-stem choices expand it. Bar length follows a square-root scale;
the unit changes from trigger pairs to cells, stems and designs. Of the 219,808 designs evaluated
in four states, 4,762 passed all 22 checks.
We first reject designs whose intended ON state is too costly to open. The 7.2 kcal/mol ceiling was chosen using published single-input toehold measurements, rather than fitted to our design population. Designs passing this early calculation are folded in the remaining states. The measured reference and Figure 5.5 explain the screening input and ribosome-initiation window.
Figure 5.5 — the window the ceiling is read over. Positions
are counted from the A of the start codon, which is +1, with no zero. The
ceiling reads the wide, 30-nt span. The opening-cost screen is informed by the measured Green library.
The narrow span is the main stem’s arms: it is recorded for
every design, because it is what the stem levers act on most directly, and it decides
nothing. The two are not interchangeable — measured on all 219,808 designs folded in
four states they differ by a median of 0.83 and by as much as 7.90 kcal/mol — which is why
every number on this subject says which span it belongs to.
Next, 22 explicit feasibility checks assess whether the correct hairpins and trigger interactions appear in each state. They include the requirement that B alone expose A's landing site, A alone not open the main switch, and both inputs together permit the intended ON structure. Twenty-one thresholds express structural conventions; the remaining 0.4 accessibility cutoff was chosen with reference to the observed design population and is identified as such. Of the 219,808 four-state evaluations, 4,762 passed the complete feasible set. Table 5.5 lists every threshold and its origin. A failed gate is retained with its reasons, not simply discarded from the record.
Technical details: compute budget, full/reduced grids, external threshold, and all 22 gates
Nothing above picks a design. It produces a space of them, and that space is not
large — it is unreachable. Three gene pairs yield 53,530 candidate
trigger pairs. Each is built in two geometries. Each of those offers a median of
82 non-dominated inhibitory stems. And each stem carries the full lever grid
of 96 points. That is 843 million designs, and at the measured cost of about
two seconds each, 53 core-years.
Taking only the ten or so stems a run actually builds from each front still leaves
92 million designs and 5.9 core-years. No reduction of the lever grid rescues
a number that size. What has to be cut first is how many trigger pairs are carried
at all, and the runs here take 210 of the 53,530. That is the budget, and it
is declared rather than discovered: 210 pairs × 2 geometries × ~9
stems × 96 points = 362,880 designs, about 202 core-hours, which is
34 hours across six cores.
What a core-hour means here. It is one design-second as measured, not a
benchmark figure. The completed sweep ran six shards at once on one desktop machine
and logged 2.24 to 2.48 s per design across them, over 15.5 to 17.5
hours each. A single shard on an idle machine is faster: a one-process probe
measured 0.861 s. The numbers quoted here are deliberately the contended ones,
because that is the condition any real sweep runs in. So read
“core-hours” as wall-hours times six, not as a hardware-independent
unit.
Only then is it worth cutting the grid. The two cuts below take those 362,880
designs to 75,600 — or, read the other way, let four and a half times as many
trigger pairs be carried for the same compute. Which cuts were made is part of the
method, not an implementation detail.
Table 5.4. Where the 362,880 comes from, and what each factor is.
×
Factor
What it is
16
closures
sequences for the three-nucleotide bulge facing the start codon: the one
the trigger gives for free, plus fifteen built as a systematic ladder over
how many of the three positions can pair with the codon opposite
3
upper3
the top of the main stem left as the trigger gives it, or overridden with
one of two weak three-base sequences
2
lower3
the foot of the main stem left alone, or strengthened
82 → 9
stems
a pair's inhibitory-hairpin front holds a median of 82
non-dominated builds; the sampling rule of § 5.3 takes about
9 of them. Neither number is a setting — the data decides
both
2
geometries
two layouts of the same architecture, built in parallel for every pair.
Naive gives trigger B an 18-nt invasion of the inhibitory arm and leaves
the top of that arm uncapped. Kim follows the published
design:8 a 17-nt invasion with the remaining
three pairs filled by a fixed weak cap, so the top of the stem is held by pairs
trigger B never reaches and that are the easiest to melt. Neither has been
retired, because which wins depends on which objective is asked — on one
measure the naive layout leads 17–5 and on another the two are level
11–11
53,530
candidate pairs
what the search returns on the three gene pairs. 210 are carried
— see below for why not the 210 most accessible
420
cells
the 210 carried pairs in both geometries. A cell is the unit every
comparison is made inside: it fixes the transcripts and both windows, and not
the inhibitory stem (§ 8)
Which 210, and why not the best 210. The candidates are sorted by the
accessibility of their worse window — a pair is only as reachable as
its less reachable half — and then taken at an even stride down that list
rather than off the top. What the sort is for is worth stating, because it is not
design quality. It ranks pairs by the chance that both trigger segments are
available to begin with. That is a precondition for the gate turning on at all, and
it says nothing about how well the gate will then discriminate. Across all 420 cells
that is exactly what it does: the sorting key tracks the best ON-state openness a
cell can reach (ρ −0.191) and no state contrast at all
(|ρ| ≤ 0.14). Taking the top 210 would characterise the most
accessible corner of the space and nothing else, and a design decision that only
helps there would read as a decision that helps. The stride gives up some absolute
quality in exchange for a population that spans the range the pipeline will actually
meet. A production run, which selects rather than characterises, would take the top.
The closure axis is cut from sixteen to five, on one rule with one stated
exception. The fifteen built closures fall into four classes by how many of their
three positions can pair with the start codon across the stem, and one
representative is taken per class: the one whose pairing energy with the codon is
nearest its class's mean. The exception is the class where no position pairs at all.
A set of zeros has no energetic middle, so that class is filled by the bulge most
common in Green's measured library instead. The trigger's own bases are kept as the
fifth, and as the control every comparison is made against.
The earlier reduced comparison cut upper3 from three to two, keeping the trigger's own bases and
one of the two weak overrides rather than both. The two differ only in the order of
the same three bases, and nothing measured so far tells them apart.
That leaves 5 × 2 × 2 = 20 points
instead of 96: 75,600 designs, 42 core-hours, about 7 hours across six cores.
The characterisation runs still use the full grid, because the point of a
characterisation is to measure what the reduction gives up. The reduced grid is what
the earlier reduced comparison used. The current production selection in
§ 3.1 uses AUA alone and
strengthening-only lower3; these historical counts and timings describe the
earlier configuration.
The ON-state ceiling
Folding is the cost, so the ON state is folded first and most designs stop
there. A design whose ON state is too expensive to open is recorded with its
reason and the other three tubes are never built. Its ON measurement is kept, so the
rejected designs remain a measured population rather than a gap.
The quantity is the cost of opening the ribosome’s window: the span from
17 nt before the start codon to 13 from it, which is what an initiating 30S
subunit occupies.3 The threshold is
7.2 kcal/mol, and it is external rather than ours. Across Green’s
168 measured switches, we compared our calculated opening cost with their published ON/OFF performance.
The 77 switches exceeding 20-fold ON/OFF informed the retained 7.2 kcal/mol screen.
This is a model-derived screen based on published performance data, rather than a cutoff reported
in Green's paper.7
The threshold comes from a published library rather than from our own distribution,
and that is the point of it. A threshold taken from the population it filters will
always admit the middle of that population, whatever that population happens to be.
On this one, our own median would admit a design that is 97% paired in its ON state.
The feasible set
Twenty-two pass/fail gates, applied before anything is ranked. Each one is a
claim about one region of the molecule in one of the four states: either the region
is doing what the architecture needs it to do there, or the design does not enter
the ranking. None of them is a quality judgement. How well a design works is
the ranking's job, and a floor that encoded a preference would make our candidate
pool incomparable with anyone else's. They are stated in full for the same reason.
Table 5.5.
The feasible set, with where each threshold's number comes from, what each gate
admits on its own, and how many designs it is the only gate to reject. The last two
columns answer different questions: a gate admitting 21% is doing a great deal of
work, while one that is nobody's sole rejecter is free.
N = 219,808 designs folded in all four tubes.
Origin is convention where the number asserts a mechanism rather than
fitting anything — a stem meant to be shut is mostly paired, a region meant to
be open is more open than closed — and data where it was placed against
an observed distribution. Twenty-one of the twenty-two are conventions. None was
fitted to the run it filters; the one external number on this page, the ON-state
ceiling of 7.2 kcal/mol, comes from Green's measured library and is applied
before this table rather than in it.
State
Gate
What it claims
Origin
admits
sole rejecter
11
A_M_11 > 0.5
the main hairpin opens — but only once trigger B has acted
convention
47.8%
9,675
01
A_S_01 > 0.5
trigger B frees x*, or trigger A has nowhere to land
convention
50.7%
4,106
10
A_M_10 < 0.2
trigger A alone does not open the main hairpin. The dangerous leak
convention
21.2%
1,035
00
A_r2_star_00 > 0.4
trigger B's landing site is available to begin with
data
82.4%
614
00
A_S_00 < 0.2
x* is locked away with no trigger present
convention
79.2%
128
00
A_M_00 < 0.2
and so is the main hairpin
convention
95.7%
39
01
A_M_01 < 0.2
trigger B must not open the main hairpin either
convention
95.2%
21
10
xstar_engA_10 < 0.5
trigger A alone must not take x* — partner-aware, see below
convention
22.3%
0
10
mainpre_engA_10 < 0.5
nor reach the main stem's ascending arm
convention
25.1%
0
and thirteen cells of the hairpin table below
convention
20.9–100%
34 in total
Four duplexes, four states, one instrument. The structural half of the set is
a truth table rather than a list. The two hairpins are four intended duplexes
— the lock and the inhibitory stem on one, the stem's top and its foot on the
other — and in each state each duplex is either meant to be formed or meant to
be gone. One measure answers every cell: the fraction of a duplex's intended pairs
that actually form. One threshold, 0.5, serves both directions, so
“shut” and “open” are the same claim with the comparison
reversed, not two separately chosen numbers.
Table 5.6.
The hairpin table. A blank is a cell where the quantity depends on a design lever, so
it cannot also be the test of one. Percentages are the share of the 219,808 measured
designs satisfying that cell.
Duplex
Hairpin
00
10 — A
01 — B
11 — both
lock — x : x*
inhibitory
shut 77.6%
shut 20.9%
open 99.4%
open 100.0%
sec — k2* : z
inhibitory
shut 73.8%
shut 31.9%
open 97.4%
—
k1 — k1* : mainZ
main
shut 98.3%
shut 37.8%
shut 98.6%
—
main_pre — foot
main
shut 99.4%
shut 24.7%
shut 99.8%
—
The blanks follow a rule: a quantity a lever sets cannot also be the test of that
lever. In state 11 a lever governs three of the four duplexes. The inhibitory
stem's state depends on the scheme that built it; the main stem's top on the closure
and the upper3 substitution; and the stem's foot may have been designed to
refold.7 Testing those cells would score a
lever's setting as if it were the design's quality.
Every cell that does real work is in state 10. The table's other nine cells
are satisfied by 97% to 100% of designs — claims that happen to hold. That is
not a reason to drop them: a set that states only the claims that bite is a set
whose silence cannot be told apart from an oversight.
Where the numbers come from. Twenty-one of the twenty-two gates sit at 0.2 or
0.5, and those are not calibrations. They assert that a stem meant to be shut is
mostly paired, and that a region meant to be open is more open than closed. The
twenty-second is the toehold gate at 0.4, the one value taken from a distribution.
It is below 0.5 because the population's median is 0.4864: a gate at 0.5
would sit on that median and reject 57.2% of designs, where 0.4 rejects 17.6%. Twenty-one of
the twenty-two were fixed without reference to this run at all. The toehold gate
is the exception and is marked as such in the table: its value was chosen after
seeing where this population sits, which is what data-informed means there.
We say so rather than claiming the whole set is independent of the data, because one
gate placed against an observed median is not the same kind of number as
twenty-one asserting a mechanism.
What the set actually does, stated plainly. It admits 4,762 designs,
2.17% of those measured. But it is not twenty-two filters working together:
two gates account for 88% of all sole rejections — the main hairpin
opening in state 11, and x* coming free in state 01. Both sit at 0.5 against
measured medians of 0.4947 and 0.5013, which is to say both cut through the middle
of the population. They stay there, because 0.5 is the physical claim and any other
value would be fitted to this dataset. But the honest description of this feasible
set is two decisive cuts and twenty statements of record, not a twenty-two-way
screen.
Two rules about applying them matter as much as the list. Every violation is
collected, not just the first: a design failing one gate and a design failing six
are different objects, and which gates a candidate set fails is the most informative
thing a run produces when nothing passes. And a missing measurement counts as
a failure, not a pass. Admitting an unmeasured design would let it outrank measured
ones on a number nobody has.
Why two gates name a partner. Unpaired probability distinguishes a free
site from a paired one, but cannot identify the pairing partner. A site held
inside the inhibitory lock and a site occupied by trigger A both count as paired,
despite their different roles in the intended mechanism. So the two
state-10 gates measure how much of the site is bound to trigger A
specifically. Neither is anybody's sole rejecter. That says they agree with the
rest of the set, not that they are idle — each admits only about a quarter of
designs on its own.
5.6 · The four states
Every surviving candidate is analyzed in four equilibrium complexes. The left digit denotes trigger A and the right digit trigger B: 00 (neither), 10 (A only), 01 (B only), and 11 (both). Only 11 is intended to permit translation. The two single-input tests are different: 10 asks whether A bypasses the inhibitory lock, whereas 01 asks whether the main hairpin stays closed after B exposes A's site.
Each “tube” is one computational folding state, not a physical sample. These calculations estimate RNA structure and accessibility; they do not measure protein expression.
Figure 5.6 — the four tubes. What each one contains, and what it has to show. The two single-trigger states look symmetrical and are not, which the text below sets out: 01 is the harder requirement to pass, and 10 is where the leak is actually found.Technical details: simulated controls, structural ensembles, and state-specific tests
Four states are folded at equilibrium, named with trigger A as the left
digit: 00 is the switch alone, 10 the switch with
trigger A, 01 with trigger B, and 11 with both. Only
11 should translate.
“Tube” is shorthand for a calculation, not for a vessel. Each
state is one folding calculation over one named complex — the switch together
with whichever triggers that state contains — and no experiment corresponds
to any of them. Three things stay separate throughout this page, and conflating
them is the easiest mistake to make here:
intended translation
what the architecture is designed to do in a state. A claim about the
design, carried by Figures 4.1 and 4.2 and by the feasible set of
§ 5.5.
computed structural access
what the energy model predicts about which regions are paired in that
complex. Every number in § 8 is one of these.
measured reporter output
what a cell or a cell-free reaction would actually make. There is none of
this in this work, and no published two-input dataset we could find is
informative enough to calibrate these measures against
(§ 10.1).
Every quantity taken from them is an ensemble property — a ratio of
partition functions, or a mean over the pair-probability matrix. None of them
requires a single representative structure, so none is chosen: where the
minimum free energy structure carries little of the ensemble, substituting it
would answer a different and worse question.
The two single-trigger states are not the same test, and this is the point
of the section. In 10 trigger A arrives at a molecule that is
completely shut, with its own site base-paired inside the inhibitory stem; the
question is whether it can get a grip anyway. In 01 trigger B has
done its job, the inhibitory hairpin is open, and the main hairpin is exposed
to whatever else is in the tube; the question is whether it stays shut without
A. The second is the harder requirement to pass. The first is where the leak
actually lives.
5.7 · Observables
The current engine exposes 132 named raw measurement fields per design,
including records that fail the final filters. They describe what is accessible
(unpaired bases and hairpin regions), what is bound to which trigger
(partner-aware occupancy), and what opening costs energetically
(opening free energy). Ensemble defect and OFF-state fidelity describe departures
from intended pairing; ON-versus-OFF summaries compare the logic states.
A field remains explicitly missing when its measurement was not attempted.
Define the event before comparing its probability. Unpaired probability
asks whether a base is free. Partner-aware occupancy asks which molecule holds
it when paired: the switch itself or a particular trigger. These describe different
events. A mean averages individual-base probabilities over a named span;
joint opening requires every base of that span to be unpaired simultaneously.
Each observable below declares its RNA region; the equations are in
§ 5.8. In the inventory,
n counts observables in a group,
rather than secondary-arm conflicts.
Full observable inventory: 132 fields, groups, directions, and RNA spans
The current measurement record has 132 named fields. Most are not used to
decide anything. They are recorded because the question being asked of this
design space is which decisions matter, and that cannot be answered by
measuring only the quantities already believed to matter. A measurement is also
taken on designs that fail, not only on those that pass, since a quantity
measured on survivors alone describes the filter rather than the design.
The arithmetic behind them is defined once in § 5.8. What follows is
what each group asks and over what span.
Table 5.7.
The groups, with the direction each is read in. Every one is recorded in all
four states unless the entry says otherwise.
Group
n
Asks
Span
Stem and toehold accessibility
33
is this arm free? Low where a hairpin should be shut, high where its
trigger should have opened it
each stem's arms; trigger B's landing site, weighted toward its
3′ end, where proximity to the hairpin matters most
Partner-aware occupancy
45
is this site held, and by which trigger? The group that exists
because the accessibility measures above cannot tell free from
bound — see § 5.5
trigger A's landing site and the main stem's ascending arm, decomposed
by what each is paired to; and, for each region trigger B has to take,
how much of it is bound to trigger B
Energy observables
15
what does it cost to hold the ribosome's window open, and does binding
the second trigger cost less once the first has bound?
the initiation footprint, and the stem arms, which are
different windows — see below
Ensemble defect
7
how far is the region that must be single-stranded from being so?
Lower is better, unlike every other measure here
the ribosome-binding loop through the linker
OFF-state fidelity and summaries
32
did the molecule fold into the structure the construction drew, and how
far apart are the ON and worst-OFF states?
the whole folded region for fidelity; the ranking window for separation
5.8 · Thermodynamic calculations
We use ViennaRNA 2.7.2 at 37 °C with the Turner 2004 energy parameters to calculate an equilibrium ensemble for each switch–trigger complex. The modeled switch region runs from its 5′ cap to the linker (161 or 165 nt, depending on geometry). The calculation considers the distribution of possible secondary structures rather than relying on one minimum-free-energy structure.
Our main energetic measure is the cost of opening a specified RNA window: how much free energy is associated with keeping every base in that window unpaired at once. This matters for ribosome loading, because average openness of individual bases does not guarantee that the complete initiation region is accessible in the same structure. Pairing probabilities and normalized ensemble defect provide complementary structural descriptions. The formulas, precise RNA spans, parameter settings, and software implementation are available below; the separate heuristic refolding-path analysis is discussed in § 8.6 and is not a measured kinetic rate.
Full thermodynamic methods: equations, footprint rationale, parameters, and software
Every observable in § 5.7 is an equilibrium ensemble property of
one folded region — the 5′ cap through the linker — together
with whichever triggers are present in that tube. That region is
161 nt for the naive geometry and 165 nt for the Kim geometry:
two lengths, not a range: the two geometries give one each, by construction, on every one of the 301,440 designs built.
Let Z be the partition function: the sum over every secondary
structure s the molecule can adopt, each weighted by its Boltzmann
factor.
Notation.s denotes one secondary structure the molecule can adopt,
ΔG(s) its free energy in kcal/mol, R the gas constant and
T the absolute temperature, so that RT = 0.6163 kcal/mol at
37 °C. Σ means a sum, exp is the natural exponential, and ln below
is the natural logarithm. The sum runs over every structure, not a sample of them.
Z = Σs exp(−ΔG(s) / RT)(3)
Notation. Let i and j identify nucleotide positions.
Gensemble denotes the free energy of the whole ensemble rather
than of any one structure, pij the probability that nucleotides
i and j are paired with each other at equilibrium, and
pi the probability that i is paired with anything at all. The
probability that i is unpaired is 1 − pi.
The ensemble free energy follows on a log-probability scale, Eq. (4), and
the pair probability pij — that nucleotides i and
j are paired at equilibrium — comes from the same calculation, with
pi the probability that i is paired at all, Eq. (5).
Gensemble = −RT ln Z(4)
pi = Σjpij(5)
These are standard quantities; the team's
RNA folding
guide introduces them from first principles. Three measures are taken from
them, each over a span declared in § 5.7. For a window W,
Eqs. (6) and (7):
Notation.W denotes a named window of the molecule.
ZW unpaired is the same sum as Z, restricted to
structures in which every nucleotide of W is unpaired, so
popen(W) is a true probability between 0 and 1.
ΔGopen(W) is that probability as an energy: near zero
for a window that is open anyway, large and positive for one that is expensive to
open. It is a difference of two ensemble free energies, so it can be computed
without ever forming popen itself — which for a real window
is small enough to lose precision.
popen(W) = ZW unpairedZ(6)
ΔGopen(W) = −RT ln popen(W)(7)
popen(W)
Joint accessibility. The probability that all of a window
W is unpaired simultaneously, rather than an average over its
individual bases. It is the ratio of a hard-constrained partition function
to the unconstrained one: the numerator is the same sum restricted to
structures in which W is completely unpaired, which makes the ratio
a true probability between 0 and 1.
ΔGopen(W)
The thermodynamic cost of holding W open,
−RT ln popen(W). Under this
convention a value near zero is a highly accessible window and a large
positive value a steep energetic penalty for opening it. Expressing the
joint probability as an energy is what allows it to be added to the other
energy terms directly.
mean pi
Mean pair probability over a span. Used where a measure has to
remain bounded between 0 and 1 and be compared as a ratio between two
states of the same molecule.
ensemble defect
Deviation from an intended structure: the average number of
nucleotides paired differently from a target structure across the
ensemble, normalised by span length. For a target specified as completely
unpaired every pair is an error, so the normalised defect reduces exactly
to the mean pair probability. The two differ in what they can see: the
mean is blind to partner identity, while the defect is not. We use the
defect form where an intended structure is specified and the mean where
only openness is at issue. The measure is NUPACK's5 and the form taken over the ribosome-binding span is
the ideal ensemble defect reported by Toehold-VISTA,6 which is what lets our designs and theirs be put on
one axis.
Why the ribosome footprint is treated jointly
The initiation complex can only assemble where the 30S subunit's
footprint is free of secondary structure, and that footprint is large. Chemical
probing of model mRNAs bound to 30S subunits protects roughly 54 nucleotides of
backbone around the start codon.3 Hairpins
placed systematically into that span inhibit initiation in proportion to how much
of it they overlap. The effect disappears beyond about 13 nucleotides downstream of
the start codon.4 So the inhibition is
continuous in how much of the footprint is structured, not a threshold. The cost of assembly is therefore the work of unfolding the whole window
at once, not a per-base average: the entry channel accepts single-stranded RNA, so
the threaded window has to be unpaired all at the same time.
A per-base average does not determine joint opening, because it does not encode
how the bases' pairing events occur together. For example, two bases can each be
unpaired 50% of the time: if they open together, their joint opening probability
is 50%; if their open states are mutually exclusive, it is zero. Neither mean
openness nor a product that assumes independence replaces the constrained
partition-function calculation for the whole window.
Folding calculations
Folding and the free-energy calculations that follow from it use the
ViennaRNA package1 version 2.7.2. Model details
are set explicitly for each calculation rather than through the package's global
state: temperature 37 °C, so RT = 0.6163 kcal/mol; dangling-end
contributions on both sides of a helix; tabulated energies for special hairpins
enabled; lonely pairs permitted; and G·U wobble pairs permitted. The last of
those matters because one of the construction choices in § 5.3 works
entirely through wobbles. Energy parameters are the package defaults, the Turner
2004 set.2
A complex of two or three molecules — the switch with one or both triggers
— is folded as a single sequence with the strands separated, so that they pair
with one another without being covalently joined. Each tube in § 5.6 is
one such calculation. One component does all the folding, configured once per run,
so two energies placed on the same axis came from the same model.
Implementation detail
The folding component is
src/engine/gates/tools/folding.py,
which wraps the package's Python bindings and memoises results for the
lifetime of a run. Model details travel on an explicit model-details object
per calculation; the package's process-global temperature variable is never
written. Two of the engine's modules are permitted to import the folding
package and the rest are not, which is checked by
tests/engine/test_house_rules.py
rather than left to review.
6 · Assumptions, approximations and simplifications
The model makes three kinds of choices: assumptions about how the
biology behaves, approximations that represent biological processes
with computable quantities, and simplifications that make a large
search tractable. These choices define what our results can and cannot mean.
The five main choices are listed below; their consequences are revisited
in § 10.
Table 6.1. Five modeling choices and the questions they leave open.
Search sampling and feasibility cutoffs stand in for the full design space
simplification
6.1 · Four input states, but no concentration or time axis
We evaluate four named RNA complexes: switch alone (00),
with trigger A (10), with B (01), and with both
(11). In each case, the folding calculation assumes that the
specified complex has formed. It does not calculate how much of each species
would form at the RNA concentrations found in a cell.
Most scores describe thermodynamic equilibrium, not the order or
speed of strand displacement. They cannot establish that B opens the
inhibitory hairpin before A binds, or distinguish fast activation from a
slow one with the same equilibrium endpoint. Our separate heuristic
refolding-path calculation probes this gap, but its energy value is an
upper bound from the paths searched, not a reaction rate
(§ 8.6).
Without RNA abundances or time courses, the model cannot predict a
dose–response curve, a detection threshold, or actual protein output
(§ 10.2).
6.2 · Only part of each RNA is represented
The switch is folded over its modeled 161- or 165-nt scaffold, through
the linker (not the complete downstream reporter), together with the
trigger segments present in each state.
The candidate trigger windows come from the annotated E. colicoding sequences, not complete cellular transcripts with their
untranslated regions and operon context. Missing flanking sequences could
make an apparently accessible window more or less accessible in vivo.
Folding uses one nearest-neighbor energy model (ViennaRNA 2.7.2,
default Turner 2004 parameters, 37 °C). It does not explicitly model
ribosome movement, RNA-binding proteins, degradation, or other competing
cellular interactions. Thus, the conclusions are conditional on both the
chosen sequence boundaries and the energy model; we did not compare folding
engines or parameter sets (§ 10.5).
6.3 · Folding scores are proxies for biological behavior
A ribosome needs an accessible initiation region, so we use the computed
joint opening cost of the 30-nt window around the start codon as a proxy
for initiation. Pairing probabilities and ensemble defect estimate whether
the intended hairpins and binding sites are structurally available. These
are informative RNA-structure calculations, not measurements of protein
expression or unwanted activation. The chosen windows and statistics
are defined in § 5.7 and
§ 5.8.
We tested whether three state-comparison scores ranked published,
experimentally measured single-input switches in the expected
direction. In Green's 168-switch library, labeled G168, both
the ensemble-defect improvement (ρ = +0.345) and the
arm-accessibility ratio (ρ = +0.306) agreed modestly with
measured ON/OFF. The opening-cost difference (ρ = −0.107)
had the opposite sign. A structurally plausible score is therefore not
automatically a useful ranker. None of these correlations
validates the two-input AND gate. G13 labels the separate 13-switch
forward-engineered benchmark cohort.
Figure 6.1 — Comparing candidate scores with measured ON/OFF.Above: IED improvement and arm-accessibility ratio have positive
direction-oriented correlations in both Green libraries; opening-cost
contrast has negative correlations. Below: G168 ON and OFF components
are oriented separately: lower ON defect/cost and higher OFF defect/cost
are favorable. Correlations are calculated from individual stored switches,
not inferred by subtracting component correlations.
Definitions and numerical audit.
These single-input associations do not validate ranking of our two-input gates.Full single-state and ON/OFF benchmark values
The full table includes single-state and ON/OFF comparison scores.
The second table splits the IED and opening-cost contrasts into
component ON and OFF measurements on the G168 cohort.
Table 6.2.
Direction-oriented Spearman correlations with measured ON/OFF from Green's
single-input switch libraries. Positive values indicate an association
in the intended direction; negative values indicate the opposite.
Lower-is-better scores were sign-reversed according to their declared
interpretation (§ 5.7). G168 contains 168 measured switches;
G13 contains 13 forward-engineered switches. The first three rows assess single-state measures;
the last three assess state-comparison scores.
These associations are not a validation of the two-input gate.
Measure
Score type
G168
G13
ensemble defect, ON state
single state
+0.356
+0.390
opening cost, ON state
single state
+0.315
+0.478
arm openness, ON state
single state
+0.315
+0.527
arm openness ratio, ON over OFF
contrast / ratio
+0.306
+0.698
ensemble defect, OFF minus ON
contrast / difference
+0.345
+0.495
opening cost, OFF minus ON
contrast / difference
−0.107
−0.033
Table 6.3.
G168 component correlations, each oriented by its biological role:
lower ON defect/cost and higher OFF defect/cost are favorable.
The difference is computed from the raw measurements before correlation.
Measure
ON term
OFF term
the difference
ensemble defect, binding loop to linker
+0.356
+0.073
+0.345
opening cost, ribosome window
+0.315
−0.362
−0.107
6.4 · Transferring evidence to a new two-input design
The published switch libraries used to assess our scoring measures are
single-input. Our design has three OFF states and two sequential
recognition events. Treating the worst OFF state as a useful summary, or
extending a single-input correlation to two-input performance, is a
working hypothesis rather than demonstrated calibration. Published
two-input experiments exist, but they do not validate this particular
endogenous-input design or its ranking metrics
(§ 10.1).
Likewise, the PFOA-related gene pairs are a use case of a general gate
design framework. Differential-expression screening nominated their
transcripts; it did not prove that the two are simultaneously abundant
only in the target condition. Basal expression, co-regulation, and
cross-condition specificity require additional data. A separate research workflow checks whether another region of the same transcript could fire the gate or block the intended ON state, using a sequence screen followed by selected decoy folds (implementation). This workflow has not been integrated into the compiler's feasibility checks. A genome-wide off-target binding screen for the selected PFOA trigger windows has not been performed (§ 7,
§ 10).
6.5 · Sampling rules and thresholds shape the results
We do not exhaustively evaluate every feasible RNA design. The search
starts with a 4-nt minimum overlap, takes 210 window pairs
at deterministic intervals across the accessibility-ranked list, retains
stems from a 3-by-3 grid over their Pareto trade-offs, and reduces 16
closure settings to five representatives. In addition, candidate stems
must favor displacement by B and allow no more than two consecutive
unmatched positions during its invasion. These are engineering
screening rules, not measured branch-migration kinetics. The resulting
search is a reproducible characterization sample, not
a random, representative sample of every potential gene pair or organism.
The 7.2 kcal/mol ON-state ceiling is grounded in a measured
single-input library, but its transfer to this architecture is assumed.
Only designs that pass it receive complete four-state evaluations, so
loosening it later cannot recover the missing OFF-state results. The
22 feasibility checks encode expected structural behavior rather
than calibrated output levels; the 0.4 toehold cutoff was selected after
inspecting this dataset. No numerical model-error bound has been calibrated
for these constructs. The full selection rules are in
§ 5.5; sensitivity analyses are in
§ 8.4 and
§ 10.
6.6 · What counts as a control (evidence status)
This is not an assumption, but it defines what our conclusions are
controlled against. Within each design cell, unchanged lever settings
provide an algorithmic baseline. The four simulated RNA complexes
provide computational state comparisons. Neither is a wet-lab
negative control: we have not built these gates, withheld individual
inputs from a measured construct, or tested their specificity.
Published switch measurements are an external metric check, not an
experimental control on our AND gate.
7 · Data
The framework is general; the data here come from one worked example.
We used PFOA-associated E. coli genes to demonstrate input
selection, reference gene sequences to design trigger windows, published
switch measurements to check scoring choices, and computational results
to assess the proposed gate. These sources answer different questions:
biological relevance, sequence feasibility, metric plausibility, and
predicted four-state behavior, respectively.
How the PFOA gene pairs were nominated (RNA-seq provenance)
Expression notation first. A log2 fold change is the base-two
logarithm of an expression ratio: +2 means fourfold higher, −2 fourfold
lower. Absolute-value bars |…| ignore the direction. An adjusted
statistical p value accounts for multiple testing.
Upstream RNA-seq differential-expression analysis nominated potential
endogenous inputs. The supplied filtering description uses
adjusted p < 0.05 and |log2 fold change| ≥ 2.
An AND-unique view then seeks pairs whose genes change in the same
direction but are individually ambiguous across the conditions compared.
This is a rationale for examining combinations; it does not by itself
demonstrate that either gene pair detects PFOA specifically.
The supplied filtered table lists 34 upregulated gene pairs,
including 27 with ggt (b3447). We examined the following three combinations.
Three nominated PFOA-associated gene pairs used for RNA-design characterization.
Fold changes are the supplied log2 values.
Gene pair
ggt log2 fold change
Partner log2 fold change
ggt × astC
+3.71
+6.21
ggt × fadB
+3.71
+2.66
ggt × aldA
+3.71
+2.56
These are test inputs for the generic RNA-design method, not validated optimal PFOA markers.
Provenance still to confirm. The 34-row export carries a source
label but no dataset accession, no record of the cross-condition
comparisons behind the AND-unique ranking, and no analysis script. A
sequencing and differential-expression workflow and a public PFOA
dataset were described to us separately, and the link from either to
these specific 34 rows has not been established. We therefore
attribute no accession and no pipeline to this pair table, and the gene
selection should be read as a nomination whose upstream evidence is
still being traced.
7.1 · Reference gene sequences
Our search used 4,308 annotated E. coli K-12 coding
sequences (median length 824 nt); 4,307 have lengths divisible
by three, consistent with a coding-sequence collection. These are
not complete messenger RNAs. They omit untranslated regions and,
where applicable, other genes in an operon. A trigger window may therefore
fold differently in its complete cellular RNA context. We use these
sequences for design, not as a measurement of in-cell accessibility
(§ 6.2).
7.2 · Published switch measurements
We tested candidate scoring metrics against Green et al.'s
168 measured single-input switches and a
13-switch forward-engineered cohort.7
A high-performing subset of 77 switches informed the
7.2 kcal/mol ON-state screening ceiling. We compared
calculated metrics with measured ON/OFF ratios; some correlations
were metric-dependent: IED improvement and arm-accessibility ratio agreed
modestly with measured ON/OFF, while opening-cost contrast had the opposite
sign (Figure 6.1 and
Table 6.2).
Toehold-VISTA supplied additional scaffold conventions and a reference
structural metric.6 None of these
published single-input measurements validates a sequential two-input
gate or its behavior inside PFOA-exposed cells.
7.3 · Computational design results
The model generated 301,440 candidate switches over
420 trigger-pair-by-geometry cells. Of these,
219,808 passed the early ON-state screen and were evaluated in
all four input states; 4,762 passed all 22 feasibility checks.
Other designs stopped at the computational ON-state screen, so their
remaining OFF-state measurements were not calculated.
276 of 420 cells contain the full construction grid; smaller
cells reflect sequence combinations the generator did not build
(§ 5.5).
These records are predictions, not measured reporter output.
8 · Results
We generated 301,440 candidate switches from three
E. coli gene combinations and tested 219,808
computationally in all four input states; 4,762 passed the
declared feasibility checks. These are predictions of RNA structure
and binding, not measurements of protein production.
The results address three questions: what causes an AND gate to
fail, which sequence choices improve its predicted behavior,
and how much confidence we can place in the scoring measures.
We first identify the critical single-input state, then separate the
effects of choosing RNA inputs from the effects of constructing the
switch. We finally test the design trade-offs, unexpected patterns,
and the limits of equilibrium-based ranking.
Comparisons are made at different levels. A trigger pair is
one window from each input RNA; a cell fixes that window pair
and the switch geometry while allowing the designed sequence to vary.
The large number of candidate switches is not the same as having
that many independent biological examples.
How to interpret the counts and comparison units
The five units below are nested and must not be treated as
independent observations. Designs that fail the initial ON-state
ceiling are not evaluated in the remaining OFF states
(§ 5.5).
gene pair — 3
two transcripts. ggt × fadB,
ggt × aldA,
ggt × astC: four genes in three combinations.
trigger pair — 53,530 found, 210 carried
one window in each transcript, sharing an overlap. The 210 are taken at an even
stride down the accessibility ranking rather than off the top
(§ 5.5).
cell — 420
one trigger pair in one geometry, so 210 × 2. A cell
holds the transcripts and both windows fixed. It does not fix the
inhibitory stem.
stem variant — 3,555
one sampled inhibitory hairpin within a cell, about nine per cell
(§ 5.3).
one stem variant at one point of the 96-point lever grid.
A within-cell comparison holds the biological input windows and
geometry fixed, but allows the inhibitory stem and the lever settings
to vary. That is the appropriate unit for broad claims about
construction choices. Those associations are reported as
distributions across cells, rather than a single correlation pooled
across all switch designs. When only one lever changes, it is instead
compared against a matched control.
Candidate designs are not independent biological samples.
Hundreds of thousands of constructs derive from only three gene
combinations, and all designs in one cell share both input windows.
Within-cell design results therefore draw on hundreds of cells,
whereas broad claims about distinct biological gene combinations
are limited by the three combinations studied
(§ 10.4).
8.1 · Which OFF state limits the AND gate?
Trigger A alone is the main obstacle to a clean AND response.
We compared the predicted ON state (11) with each of the
three OFF states (00, 01, and 10).
For each of four structural measures, we identified the OFF state
that gives the smallest separation from ON — the state
that most limits that measure's predicted ON/OFF contrast.
Table 8.1.
Percentage of designs for which each OFF state limits the
ON/OFF contrast, calculated separately for four structural measures.
00 = neither trigger; 01 = B only;
10 = A only. N = 219,808 designs evaluated
in all four input states.
Structural measure
00: neither
01: B only
10: A only
ribosome-window opening
0.1%
0.6%
99.3%
main-stem opening
0.1%
0.7%
99.2%
main-stem openness ratio
2.0%
4.7%
93.3%
ensemble defect, binding loop to linker
7.8%
11.9%
80.3%
In 80.3–99.3% of designs, depending on the measure, the
limiting OFF state is 10: A present without B.
This pinpoints the intended job of the inhibitory hairpin: it must
prevent A from activating the main switch before B arrives. We
therefore examine A-only binding directly using the measures defined
in § 5.7. These are modeled
structural contrasts, not experimental measurements of leakage.
8.2 · Where does variation come from: RNA inputs or switch variants?
Input selection matters for predicted ON-state accessibility.
For each of the 210 sampled trigger-window pairs, we calculated
the fraction of generated switches that passed the modeled
ON-state opening-cost ceiling of 7.2 kcal/mol
(§ 5.5).
In 15 pairs (7.1%), none of the tested designs passed;
in 75 pairs (35.7%), more than 95% passed.
The distribution shows that some input windows are more compatible
with this switch architecture than others within our sampled designs.
Figure 8.1 — ON-state screening success across the 210
sampled trigger-window pairs. For each pair, the chart shows the
percentage of its generated switches passing the modeled ON-state
opening-cost ceiling (7.2 kcal/mol; § 5.5). Among the 210
pairs, 98 fall in the 90–100% band and 22 in the 0–10% band.
This is a result for the evaluated designs and threshold, not a
biological classification of transcripts as permanently viable or
nonviable.Additional statistics for the ON-state screening distribution
Across 210 trigger pairs, the median per-pair passing fraction
was 0.880, the mean 0.729, and the standard deviation
0.327. In the histogram, 120 pairs lie in the two end bands
(0–10% and 90–100% passing), with 90 pairs in the eight
intermediate bands. Passing this screen is not proof of actual
translation or of the entire four-state AND behavior.
We then asked where differences in predicted behavior arise.
Here, variance measures how widely a calculated quantity differs across designs;
it is not the fraction of designs passing a check.
For each calculated measure, we split its variance into differences
between trigger pairs and differences among the designs
constructed from the same pair. Geometry is included among
design choices. This is a descriptive comparison, not evidence
that input choice or sequence changes cause a particular biological
response.
Figure 8.2 — variance partition across sampled inputs
and sequence designs. The two ON-state opening-cost measures have
63.5–67.1% of their variance between trigger pairs. For the
A-only binding measure and four ON/OFF contrasts, most variation
lies within a pair. The percentages describe the variance in the
sampled design space, not causal effects or independent biological
replicates. For exact values, denominators and conditioning, open
the table below.
The two ON-state opening-cost measures show most variance
between trigger pairs (67.1% for the main stem; 63.5%
for the ribosome-initiation window). In contrast, the two
A-only binding measures show 89.9% and 92.7% within-pair
variance. Four calculated ON/OFF contrasts also vary mainly
within pairs (85.6–97.9%).
The two ON-cost measures vary mainly between input pairs; A-only occupancy and ON/OFF contrast vary mainly within pairs.
However, each group bundles several sequence differences. The between-pair share alone cannot
tell us whether, for example, overlap length explains a pair's opening cost; the within-pair
share does not single out one hairpin edit. Section 8.3
examines binding-energy associations, and 8.4 compares
specific construction choices. These are computational comparisons, not measurements of cellular leakage.
Full variance breakdown — eight measures and sample counts
Table 8.2. Descriptive variance partition for eight computed quantities.
“Between” groups results by sampled trigger-window pair;
“within” compares designs made for the same pair, with both
geometries pooled as design choices. The main-stem ON cost and two
state-10 binding measures include all 301,440 generated designs,
before the ON-state screen. The ribosome-window ON cost and four
ON/OFF contrast rows use the 219,808 designs that passed that screen
and received four-state evaluation. These samples are nested, not
independent biological replicates.
Stronger A-site binding was associated with more A-only occupancy,
while its correlations with ON-state measures were close to zero.
Within each fixed trigger-window pair and geometry, we tested whether
trigger A's predicted binding energy against the inhibitory arm
is associated with its ability to occupy that arm without trigger B.
Figure 8.3 reports Spearman correlations with binding in the A-only
state (10), four worst-OFF contrasts and four ON-state
measures (11). More negative binding energy represents
stronger predicted binding. These are associations between calculated
thermodynamic quantities, not measured activation or causal effects.
Figure 8.3 — trigger A's binding energy tracks
A-only binding more strongly than ON-state measures. Within-cell
Spearman correlations with the predicted binding energy between A
and the inhibitory arm. The two A-only binding measures give
ρ −0.701 (A on x*) and −0.470
(A on the main arm); four worst-OFF measures range from
−0.381 to −0.329. Four ON-state measures have much
smaller correlations (+0.023 to +0.047). Negative correlations
with binding occupancy indicate that stronger A binding (a more
negative energy) is associated with more binding. A-only binding
measures cover all 301,440 generated designs; ON and worst-OFF
measures cover the 219,808 that passed the initial ON-state screen.
These are structural predictions, not measured reporter leakage.
The strongest displayed association is for A binding at the shared
site, ρ = −0.701; ON-state correlations
are much smaller (+0.023 to +0.047). Across three
inhibitory-stem energy descriptors, the absolute correlations with
OFF-related measures span approximately 0.33–0.79,
versus 0.02–0.05 for the ON-state measures. Because
these quantities share thermodynamic inputs, these associations
should not be interpreted as independent causal effects.
This matters for the extra binding region designed into trigger A.
The short natural overlap between the two mRNAs motivated additional
complementarity to the inhibitory arm. The equilibrium results suggest
that stronger A-to-arm binding can undermine the intended lock when B
is absent, without a corresponding modeled ON-state benefit.
The negative correlation has a direct reading: a more negative binding energy
accompanies greater occupancy in state 10, when the gate should remain OFF.
The resulting design preference — prioritize lock stability when it competes with
extra A complementarity, while retaining B release and ON opening — is developed in
§ 9.1.
Section 8.4 tests specific design settings;
whether weaker A binding also slows desired activation remains untested
(§ 9.2).
8.4 · Design choices: OFF-state benefits and ON-state costs
We compared alternative ways to build the inhibitory hairpin, edit the main
switch, close the start-codon bulge, and arrange the two hairpins. The
following results concern modeled structural contrasts and ON-state
feasibility, not measured expression.
Choosing the inhibitory stem
A combined score that rewards a stable inhibitory stem relative to
trigger A's binding strength was more closely associated with favorable
modeled contrasts than either energy alone. For main-stem openness ratio,
its within-cell Spearman correlation reached ρ +0.785;
384 of 388 eligible cells agreed in direction. This supports using
the combined score to prioritize stems, while remaining a comparison of
calculated properties rather than independent validation of a design rule.
Full data: inhibitory-stem energy comparisons
Correlations are computed within fixed trigger-window-pair and geometry cells with at least five eligible designs and variation in the compared quantities. The table preserves all four original scores and sign-agreement counts.
Table 8.3.
Within-cell Spearman against three contrasts, and how many of 388 cells agree in
sign. A cell enters this statistic when it holds at least five designs carrying both
quantities and the axis has some spread across them; 388 of the 420 cells do, and
the other 32 have no correlation to compute.
Positive means a larger value of that axis goes with a better gate.
Axis
main-stem opening
openness ratio
ensemble defect
cells agreeing
trigger A's grip on the arm
−0.649
−0.760
−0.620
383–384
the lock's own stability
+0.625
+0.724
+0.593
372–384
the difference between them
+0.668
+0.785
+0.633
373–384
the displacement margin
+0.403
+0.453
+0.333
352–375
Editing the main switch
Three sequence substitutions were compared against their unchanged
counterparts within matched cells, and only when a substitution actually
altered the bases. All three generally improved the modeled A-only
measures but often reduced the ON-state measure. For example, the
wobble substitution improved predicted A binding at the shared site
in 171 cells and worsened it in none, while the ON-state measure
improved in 52 cells and worsened in 119. The improvement in the OFF
comparison therefore has to be weighed against potential ON-state loss.
Full data: three sequence-lever comparisons
Across the original matched comparisons, 43,648 of 106,486 pairs were unchanged because the original sequence already contained the target bases. The table reports cells where the lever changed a sequence, not an average over all generated designs.
Table 8.4.
Cells won / cells lost, out of the cells with matched pairs. Each lever against the
natural sequence, counted only where the lever changed something.
Lever
leak: A on x*
leak: A on the arm
separation
ON state
cells
foot of the main stem, wobble
171 / 0
162 / 9
158 / 5
52 / 119
229
top of the main stem, UAU
308 / 4
308 / 4
276 / 6
104 / 208
314
top of the main stem, AUA
216 / 0
212 / 4
198 / 3
78 / 138
216
Closing the start-codon bulge
Closing the bulge improved the modeled OFF-state contrasts in most
matched cells, but every reported matched-cell ON-state comparison
favored the open bulge. More stringent closure also reduced the share
of designs clearing the ON-state opening-cost threshold: from
82.9% for the open bulge to 40.7% for the tightest
closure (Figure 8.4). A design can therefore score better against
leakage among survivors while making fewer designs eligible
in the first place.
Figure 8.4 — start-codon bulge closure improves predicted OFF-state contrasts but reduces ON-state success.
Left: within-cell comparisons of three closed variants against an open bulge;
counts include only matched cells. Right: the fraction of designs passing the
ON-state opening-cost screen at each closure level. A favorable OFF-state
comparison does not mean that the variant remains feasible in the ON state.
Full data: bulge closure and ON-state survival
This table gives within-cell win/loss counts for each closed bulge relative to the open 3×3 loop, along with the percentage passing the ON-state ceiling. These are different outcomes and must be read together.
Table 8.5.
Three closed bulges against the open 3×3 loop, paired inside cells. Cells won /
lost. Survival is the share of that level's designs that pass the ON-state ceiling at
all, which is a different question from how the survivors score.
Closure
leak: A on x*
leak: A on the arm
separation
ON state
cells
survival
open 3×3 loop
—
—
—
—
—
82.9%
closed UAU
294 / 2
296 / 0
281 / 7
0 / 296
306
55.4%
closed CGU
278 / 2
278 / 2
265 / 9
0 / 280
290
53.7%
closed CAU
252 / 0
252 / 0
244 / 6
0 / 252
254
40.7%
Choosing the inhibitory-arm construction scheme
We also compared three ways to resolve base conflicts between the
inhibitory stem and its two inputs. The B-anchored scheme
ranked highest on all four modeled ON/OFF contrasts at each of six
ON-state screening thresholds: 24 of 24 comparisons. Tightening
the ceiling from 8.0 to 2.6 kcal/mol reduced the retained
designs from 219,808 to 30,151. The repeated ordering supports
prioritizing B-anchored construction within the evaluated design
space; it does not by itself rule out selection effects or establish
experimental superiority.
Comparing the two layouts
We matched 140,256 designs across the original and
Kim-inspired layouts, covering 195 trigger-window pairs.
Of these matched designs, 101,595 passed the ON-state screen in
both layouts, 997 only in the Kim-inspired layout and 629 only
in the original layout. The median paired contrast difference was
zero for all four measures; none of the four tests across trigger
pairs was statistically significant. The data therefore offer
no consistent basis for preferring one layout, rather than
establishing that they perform identically.
Full data: matched comparison of the two layouts
The sign tests use 195 trigger-window pairs as the comparison units, not 140,256 matched designs as independent observations. All original test counts and p-values are retained.
Table 8.6.
Kim's geometry against the naive one, paired within trigger pairs. The sign test is
over the 195 pairs, never over designs. The median paired difference is +0.000 on all
four.
Contrast
pairs to Kim
to naive
tied
p
main-stem opening
53
70
72
0.15
ribosome-window opening
57
67
71
0.42
main-stem openness ratio
106
89
0
0.25
ensemble defect
108
87
0
0.15
8.5 · What does trigger-window accessibility tell us?
Trigger B's window accessibility is associated with the calculated
inhibitory-stem energies; trigger A's is not. Across 420 sampled
pair-by-geometry cells, the rank correlations for trigger B were
moderate (ρ +0.320 and +0.304), while those for trigger A
were close to zero (+0.036 and −0.020). This asymmetry is
consistent with the B-derived sequence in the inhibitory arm, but
the correlations alone do not establish its cause.
Table 8.7.
Spearman rank correlations between window accessibility and two
calculated inhibitory-stem energies. The 420 cells arise from
210 trigger-window pairs tested in two geometries, so the reported
p values are descriptive rather than evidence from 420 independent
biological observations.
Window accessibility
Compared with calculated energy
ρ
p
trigger B's window
inhibitory-lock stability
+0.320
6×10−11
trigger A's window
inhibitory-lock stability
+0.036
0.46
trigger B's window
trigger B's binding to the inhibitory arm
+0.304
5×10−10
trigger A's window
trigger B's binding to the inhibitory arm
−0.020
0.69
Accessibility and GC content also provide overlapping information
about calculated site energy. Accessibility correlates with
site energy (ρ +0.283), but that association falls to
+0.041 after accounting for window GC content and ranges from
−0.153 to +0.213 across GC strata. GC content itself has a
stronger correlation with site energy (ρ −0.571).
These measures therefore should not be treated as independent
evidence for the same calculated energy property. This does
not establish that accessibility has no additional value for RNA
binding or gate performance; it identifies an overlap within the
sampled windows. The implications for input screening are discussed
in § 9.4.
8.6 · Equilibrium binding and refolding paths provide different information
We calculated refolding barriers to investigate a possible kinetic limit
on A-only activation. Equilibrium calculations can favor A binding even
without B, but do not say how long that binding takes. Our hypothesis is that
A must cross a substantial energy barrier to reach the site locked inside the
secondary hairpin. If that crossing delays activation beyond the switch RNA's
lifetime or the assay's observation window, actual A-only protein leakage
could be lower than the equilibrium prediction suggests.
We therefore compared equilibrium A binding with the energy rise
along a searched refolding path. Two complementary analyses separate
resolution within a selected subset from variation across a broader
design space:
Focused energy-difference subset: 306 records. Within each sampled
trigger-pair/geometry cell, the historical selector chose the baseline
stem maximizing lock_energy − a_site_energy, with an open
closure and trigger-derived upper3/lower3. These are signed duplex
energies: a more negative value means stronger binding. Maximizing this
difference favors A binding relative to the lock; it does not select
strong locking with weak A binding. The resulting x*–A pairing is
nearly saturated. Its purpose is to test whether the path estimate
distinguishes designs when equilibrium A binding scarcely varies.
Broad lever-grid analysis: 3,113 records. Within each cell, designs
were sorted by A-only x*–A pairing and sampled at an even stride,
taking up to eight. Secondary stems and main-stem settings can vary.
Its purpose is to check whether the comparison changes when low as well
as high A-only binding is included. It prevents a nearly saturated, selected subset
from standing in for the whole design space.
The focused set was selected by the energy difference, not by a
threshold requiring high A-site energy or high occupancy. Near-complete
x*–A pairing is a result of that selection, not its input rule.
The two measurements are defined below, before their values in Table 8.8.
Equilibrium metric: switch x* paired to trigger A in state 10.
With A present and B absent, xstar_engA_10 averages, over the
nucleotides of the switch's x* segment, the probability that each is
paired to any nucleotide of trigger A. A value of 0 means no such
pairing; 1 means every x* base is paired to A throughout the modeled ensemble.
For example, 0.8 means an average 80% pairing probability per x* base,
not an 80% probability that the whole gate is active. The table's
A-only binding flag is a value ≥ 0.5, the failure threshold of this
one structural check; it does not measure RBS opening or protein production.
Path metric: the energy cost of A landing on x*. The start structure
contains the designed closed switch and an unpaired A strand. The target
releases the switch's x–x* lock and pairs x* on the switch with x
on trigger A; it does not require the main hairpin to open fully.
Writing E for the evaluated energy of a structure, we report
max E(path) − E(start) in kcal/mol, stored as
b_10. ViennaRNA's heuristic path search supplies the visited
structures. This is an upper bound on the lowest path-energy barrier
between those endpoints within the modeled landscape. A genuinely high
unavoidable barrier would support the delay hypothesis; a high value on
one found path cannot establish that all routes are slow. There is
no calibrated conversion here from this value to an activation time or
a percentage reduction in protein leakage.
Table 8.8.
A-only x*–A pairing and the A-landing path-energy estimate
for the focused energy-difference subset and the broader lever-grid sample.
The groups share trigger-pair contexts and are not independent biological
replicates. They are selected analyses of the historical sweep, not the
whole four-state population of 219,808.
Measure
focused energy-difference subset
broad lever-grid sample
records with both readings
306
3,113
mean x*–A pairing, range (0–1)
0.998 – 1.000
0.000 – 1.000
A-only binding flag: x*–A pairing ≥ 0.5
306 of 306
2,245 of 3,113
A-landing path energy, range (kcal/mol)
+4.5 – +25.2
+4.5 – +25.2
A-landing path energy, median (kcal/mol)
+10.6
+10.4
zero-rise paths found (0 kcal/mol)
0 of 306
0 of 3,113
Spearman ρ: x*–A pairing vs. path energy
+0.528
+0.144
The identical ranges are present in the source rows. Both
main groups include the same trigger-pair contexts at both ends: A from
astC and B from ggt gives the +4.5 kcal/mol minimum
(4-nt overlap); A from fadB and B from ggt gives the
+25.2 kcal/mol maximum (9-nt overlap), in both architectures.
Sharing these extremes does not mean sharing the whole distribution:
the medians are +10.6 and +10.4 kcal/mol. The
numerical audit
records the source checksums and exact records producing each extreme.
The focused energy-difference subset has nearly saturated x*–A pairing.
For all 306 selected designs, the
mean probability that switch x* is paired to A without B is
0.998–1.000. Its small numerical
differences are unsuitable for a practical ranking within this subset.
The path-energy estimates for the same designs span
+4.5 to +25.2 kcal/mol (Figure 8.5), but this wider range
cannot by itself establish greater kinetic protection.
The broader lever grid gives a different result. Across 3,113
variants, mean x*–A pairing without B spans 0–1; 2,245
fail the x*–A pairing < 0.5 check and 868 pass it.
Passing this single check does not establish overall feasibility.
A group here fixes the two trigger windows, their A/B roles and the
architecture, then compares eight switch variants with different stem
or lever settings. This matched comparison uses 3,112 records in 389 complete
groups; the remaining record has no eight-variant match.
Among those groups, 313 have the same stored
path-energy estimate for all eight variants (CSV precision:
0.001 kcal/mol). The other 76 groups show variation. The median
within-group path-energy span is therefore zero.
Across the same 389 groups, the median range of equilibrium x*–A
pairing is 0.9997, and exceeds 0.5 in 381 groups.
Thus the path estimate varies predominantly
between these cells, while equilibrium occupancy can distinguish
sequence choices within them.
Within-group counts and ranges.
The results leave the kinetic-delay hypothesis open. Every searched
path has a positive energy rise, including paths for designs that pass the
A-only x*–A pairing check. However, the search can miss lower-energy
routes, and the modeled endpoint is A landing, not full translation
activation. These results identify contrasting designs for testing;
they do not establish an unavoidable high barrier or quantify how much
actual A-only leakage would be reduced.
The next test is to measure protein output with trigger A alone and with
both triggers, using constructs chosen to contrast the computational
measures while matching predicted ON-state performance where possible.
Comparisons between different trigger pairs must also account for the
different RNA inputs. Until measured, neither calculation establishes
actual leakage or identifies a validated ranking metric.
Figure 8.5 — Comparing two measures in the 306
focused energy-difference designs. Both panels plot the same designs against the
heuristic A-landing path-energy estimate. Occupancy means the mean
probability that a base of switch x* is paired to trigger A with B absent.
The left shows that equilibrium measure on its
full 0–1 scale; the right magnifies the observed 0.998–1.000 range.
Small computed differences remain, but the absolute occupancy range is too
narrow to provide a useful practical ranking in this subset. A larger
calculated path-energy estimate means the search did not find a lower-energy
route; it does not establish slow binding or kinetic protection.
9 · Discussion and conclusions
The engineering product is an equilibrium-based AND-gate generator with
explicit search budgets, feasibility checks and candidate records for CERNAL
(Algorithm 1,
candidate handoff).
This chapter connects the results to design and ranking decisions, then
separates that computational product from the parallel validation experiments.
9.1 · A provisional design preference from equilibrium calculations
When secondary-hairpin locking stability competes with additional
trigger-A complementarity, prioritize the lock, subject to B-mediated
release and ON-state requirements. This is a relative design trade-off,
not an instruction to make A binding as weak as possible.
Among the evaluated designs, this combination was associated with
more favorable modeled OFF-state contrasts (§§ 8.3–8.4).
Stronger A binding at the inhibitory arm was associated with greater
predicted A-only binding, without a comparable improvement in the
calculated ON-state measures. This is not evidence that the corresponding
constructs produce more unwanted protein.
This revises the original design rationale: an extended binding region was
introduced to help A recognize naturally short shared windows, but the
equilibrium model indicates a cost to that additional complementarity.
Neither lock stability nor A-binding strength is a stand-alone objective. The stem must still open when B binds,
and the main switch must remain accessible with both inputs. A future
measured relationship between pathway energy, activation timing, and
A-only protein output could justify revising this preference, including
retaining designs with stronger A binding. The present heuristic path
calculation does not establish such a relationship or a usable cutoff
(§ 9.2).
What matched upper3/lower3 comparisons establish
Change the main-stem levers while keeping the rest of the design fixed.
Each of 37,488 historical matched sets contains four variants: the
trigger-derived control, AUA alone, wobble_GU alone, and both together.
Genes, trigger coordinates, overlap, architecture, secondary stem and
closure are identical within a set. The comparison below is
both levers minus the control, averaged over matched sets.
Two OFF readouts and one ON readout. In state 10 (A alone),
xstar_engA_10 measures mean pairing of switch x* to A;
mainpre_engA_10 measures mean pairing of the switch's
main_pre* arm to A. Lower values are favorable for suppressing the
modeled A-only pathway. In state 11 (A+B), dG_open_11
measures the cost of opening the initiation window; lower cost is
favorable for activation.
A only · OFF
A binding to switch x*
↓ −0.0862
Mean change · pairing probability
Less modeled A-only binding
Favorable for OFF suppression
n = 37,488 matched sets
A only · OFF
A binding to main_pre*
↓ −0.1737
Mean change · pairing probability
Less modeled main-stem invasion
Favorable for OFF suppression
n = 37,488 matched sets
A + B · ON
Initiation-window opening cost
↑ +0.2178
Mean change · kcal/mol
More energy required for opening
Unfavorable for ON opening
n = 23,289 matched sets
Figure 9.1 — Main-stem changes trade OFF suppression
against ON opening. Green downward arrows mark lower mean A-only
pairing; the red upward arrow marks a higher mean ON opening cost.
Pairing changes are absolute probability differences, not relative
percentages. The ON comparison uses the 23,289 matched sets with all
four ON costs recorded. Means include no-op substitutions and do not
mean every design improves. These are modeled structural effects,
not measured changes in protein leakage or activation.
Numerical source.
The same 22-check post-hoc pass counts were 527 (unmodified), 495 (AUA),
530 (wobble), and 485 (both), each out of 37,488. This does not establish
that the combined levers preserve feasibility or compensate for extending
A's effective toehold. That requires a controlled change in A-binding
opportunity and bulge compatibility, with all four states recomputed.
No significant interaction or protein-leakage reduction is claimed.
These historical quadruplets use the original lower3 rule, including its
weakening branch; their pass counts do not evaluate the strengthening-only
production profile in § 3.1.
9.2 · Could binding kinetics reduce functional leakage?
The intended AND response depends on activation timing, not only the
final RNA structure. Trigger B should expose trigger A's binding site
before A can open the main hairpin. Equilibrium calculations describe
favored binding states, but not how quickly they form. Even if A-only
binding is favorable at equilibrium, delayed activation might produce
little unwanted protein within the lifetime of a switch RNA or the
observation window of an assay.
This motivates a hypothesis: equilibrium-based leakage estimates may
overstate functional leakage if A-only activation is sufficiently delayed.
The refolding-path analysis in § 8.6
distinguishes energetic routes that equilibrium occupancy does not always
distinguish. However, its path-energy estimate is an upper bound from a
heuristic search, not a measured activation barrier or rate; a faster,
lower-energy route may have been missed. The present results therefore
cannot establish kinetic protection.
Test the hypothesis by measuring protein output over time under
all four input conditions, particularly A alone versus A+B, across
relevant RNA concentrations. Compare constructs chosen to have similar
modeled ON-state accessibility but contrasting path-energy estimates
(see § 10.6 for an example and its
gene-pair confound). These data could reveal whether the path estimate
adds information about functional leakage beyond equilibrium occupancy,
and whether a calibrated time-dependent selection rule is possible.
Neither a delay nor a usable barrier threshold has been shown.
9.3 · Choosing an ON/OFF score
Feasibility first; ranking second. The 22 checks in
§ 5.5 define the model's structural
feasible set. CERNAL also applies its existing shared eligibility and construct
filters. Ranking orders the survivors; the illustrative alternatives below
add no new feasibility threshold.
For the current compiler, let p be the joint probability that the
complete 30-nt initiation window is unpaired. A two-digit subscript identifies
the input state (A first, B second); max selects the largest listed value.
Define ON = p11
and OFF = max(p00, p10, p01).
Higher ON and lower worst-OFF are preferable. These joint probabilities are
different from the mean arm accessibility A_M used in several
historical analyses (§ 5.7).
Table 9.1. Arithmetic examples only, not modeled candidates. Neither an absolute
difference nor a ratio describes both ON strength and OFF suppression.
Example
ON
Worst OFF
ON − OFF
ON / OFF
A
0.80
0.20
0.60
4
B
0.65
0.05
0.60
13
C
0.30
0.0001
0.2999
3,000
A and B have the same absolute separation, but B has lower OFF and a larger
ratio. C's very low OFF is desirable; its ratio nevertheless does not reveal
its lower ON. Report both components beside either score. A cost-based gain
uses the opposite subtraction: min(OFF opening costs) − ON opening cost;
larger gain is preferable.
Implemented ranking. CERNAL uses its versioned shared weighted profile,
not the ratio alone. For AND gates, predicted_leakage is worst OFF,
dynamic_range is the raw ON/OFF ratio, and
state_separation is its log2 equivalent from opening
energies. Other terms include trigger accessibility, switch MFE and GC;
normalization ranges, weights, missing-value policies and tie-breakers are
exported. A zero/unmeasured
denominator gives a missing ratio rather than a fabricated finite value.
AND metric definitions;
shared scoring profiles.
Additional comparison, not a new default: show the ON/worst-OFF
Pareto front alongside the shared rank. One design dominates another only if
it has at least as much ON and no more OFF, with one strict improvement.
Rationale for the joint-window measure. It asks whether the entire
initiation window can be open at once, a direct structural requirement
for ribosome access, and supplies CERNAL's shared ranking fields. It was
not chosen because it won the measured-expression benchmark.
The arm-accessibility ratio A_M_ratio remains an alternative
worth comparing; its positive benchmark correlation is better than the
tested opening-cost difference. IED improvement also agreed with the
measured data: +0.345 on G168, compared with +0.306 for the arm ratio. The historical
opening-cost difference, joint-opening probability and shared weighted score
are distinct quantities; that benchmark does not select the best AND ranker.
Benchmark figure and
full correlations.
Which scores agreed with measured expression, and why the OFF reference matters
Agreement with measured protein ON/OFF.
Against Green's 168 measured single-input switches, the arm-accessibility
ratio gave Spearman ρ = +0.306; IED gain gave +0.345;
opening-cost gain gave −0.107.
Raw IED and IED gain have different directions. Raw ON-state IED
measures deviation from an unpaired target window, so lower is better;
its raw correlation is −0.356, in the expected direction.
IED gain is IED(OFF) − IED(ON): a larger value means a
stronger change from a paired OFF window to an open ON window, so higher
is better. Its positive correlations (+0.345 on G168 and +0.495 on G13)
also have the expected direction. Table 6.2 flips the sign of lower-is-better
measures for comparison; it does not flip this higher-is-better gain.
§ 6.3 shows both libraries.
Agreement between structural scores inside our AND grid.
We compared worst-OFF-minus-ON opening cost with OFF-minus-ON IED, both
higher-is-better. Changing which OFF states enter the IED comparison
changes the median within-cell correlation: −0.137 for
00 alone, +0.661 for worst(01,10), and +0.619 for
worst(00,01,10). Each summary covers 389 nonconstant
gene/window/overlap/geometry cells, with at least five complete observations
per cell and 219,807 usable rows in total.
Formulas and source hashes.
The practical point is to retain A-only and B-only OFF states.
Agreement against 00 alone can conceal a different ordering once the
single-trigger failure modes are included. This second comparison tests
agreement between model scores; it does not replace the measured-expression
benchmark or validate a protein-performance ranking.
OFF-reference comparison.
9.4 · Turning the results into compiler decisions
The algorithm explains how to build a gate; these results explain what
CERNAL should preserve when choosing among gates. The AND module produces
candidates from the supplied RNA regions. CERNAL then compares eligible
candidates through its shared scoring interface. Three findings guide that
search and handoff (Algorithm 1,
scoring interface):
Table 9.2. Model findings translated into search and candidate-selection decisions.
Retain different trigger pairs and overlap lengths instead of spending
the search on many variants of one pair. The production policy preserves
overlap-length representation while ranking accessibility within strata.
Measure all three OFF conditions and use the worst one. A comparison
of 11 against 00 alone misses single-trigger activation.
Sequence changes can improve OFF while impairing ON
(Figure 9.1).
Apply all feasibility checks before ranking. Keep ON, worst-OFF and
raw structural measurements beside the shared score so a favorable
summary cannot hide an activation penalty.
Algorithm 1 and
Figure 1.1 show the implementation and
division of responsibility. Candidate records retain the input coordinates,
design settings, check outcomes and scoring provenance needed to trace a
selection back to the modeled RNA.
9.5 · How modeling changed our design decisions
We used computational evaluations and published experimental data to
revisit five design decisions. Each example shows the starting
choice, evidence, and resulting change. These were computational
iterations, not experimental tests of our two-input gate. The final
column states the resulting design recommendation or experiment.
Table 9.3.
Five modeling-informed design decisions. The linked sections provide
the supporting computational analyses and experimental questions.
Starting choice
Evidence
Revised decision
Extend trigger A's complementarity to compensate for
short overlaps between endogenous transcripts.
Stronger modeled A binding was associated with more A-only
binding, without a comparable ON-state benefit.
Prioritize lock stability over extra A complementarity when they
compete, subject to B-mediated release and ON-state requirements.
This is a relative trade-off, not a goal of minimizing A binding. Reconsider it if
experiments show that stronger A binding is compatible with
sufficiently low functional A-only leakage
(§ 8.3,
§ 9.1).
Compare A-anchored, B-anchored, and mixed inhibitory-stem
construction.
No A-anchored design passed the tested computational gating
criterion (0/4,330); B-anchored ranked first in
24/24 contrast–threshold comparisons.
Retain A-anchored designs in the production search; apply the
same sequence-specific checks to them. B-anchored performance is
a historical prioritization clue, not a categorical exclusion (§ 8.4).
Set an ON-state acceptance threshold for the candidate
population.
A threshold derived solely from that population would not
provide an independent performance reference.
Use the 7.2 kcal/mol ceiling informed by published
single-input switch measurements. Keep other threshold origins
explicit, including the data-selected 0.4 cutoff
(§ 5.5).
Rank switches using ON–OFF difference scores.
Against 168 measured single-input switches, IED improvement
(+0.345) and arm-accessibility ratio (+0.306) agreed with ON/OFF;
opening-cost contrast (−0.107) had the opposite sign.
Compare ON–OFF differences and accessibility ratios as
provisional ranking metrics within the feasibility set.
Their benchmark correlations limit claims of predictive validity,
but do not rule out using them to prioritize already-feasible
designs. Check score direction and ratio sensitivity
(§ 6.3,
§ 9.3).
Rank the focused energy-difference subset by A-only equilibrium
occupancy.
Occupancy spanned only 0.998–1.000 among 306
selected designs, although it distinguished variants
in the larger lever grid.
Within this conditioned 306-design subset, occupancy offers
little ranking resolution. Keep ON and other OFF measures visible.
Occupancy remains informative across the 3,113-design lever grid;
path estimates are a separate experimental comparison, not a
replacement ranking measure or a kinetic cutoff (§ 8.6,
§ 9.6).
9.6 · Computational deliverable and parallel validation
Deliverable A: computational candidates for CERNAL
The equilibrium generator returns standard candidate records, preserving
sequence, A/B inputs, design choices, four-state observables and all feasibility
outcomes. Shared scoring ranks eligible survivors; rejected candidates carry
reasons and no rank. CSV and sequence-free AND audit JSON expose the measures,
checks and score definitions. Full sequences remain in the internal record;
public sequence exports use CERNAL's existing release controls.
Generation and handoff;
ranking fields;
implementation and reproduction records.
Deliverable B: parallel experimental validation
The two experimental tracks in Figure 9.2
compare an equilibrium baseline with a separately labeled barrier challenge.
They test whether modeled distinctions predict reporter behavior; they do not
replace the computational candidate export or delay its availability.
Figure 9.2 — Two routes to an experimental panel.
Track A ranks designs within the current feasible set. Track B may deliberately
include labeled A-only equilibrium rejects to test the kinetic hypothesis.
Both require four-state reporter measurements. Path energy estimates are
uncalibrated upper bounds, not measured rates. The table below gives the
selection and confounding controls; this remains a proposed experiment.
Two proposed experimental selection tracks
Start from the same computationally evaluated design pool, retaining
each candidate's sequence, gene and window pair, geometry, all four modeled
states, and pass/fail status for every declared feasibility check. The two
tracks serve different purposes and have not yet been run as a new
sweep.
Table 9.4.
A proposed selection plan, not a completed shortlist or a validated
prediction of protein output. See § 5.5
for feasibility and § 9.3
for candidate ranking measures.
Track
Selection procedure
Purpose
A. Equilibrium-based baseline
First apply the existing feasibility checks. Only then
compare surviving designs using the proposed ON/OFF difference
scores and accessibility ratios, with all three OFF states and the
ON-state requirement visible. Retain varied input pairs and sequence configurations rather than
treating a near-tie as a reliable winner.
Produce a transparent shortlist within the current feasible
set, and establish an equilibrium-only comparison for the
experimental panel.
B. Barrier-informed challenge panel
Keep the common ON-state and structural prerequisites, but
also consider designs rejected specifically on A-only
equilibrium behavior. Label every such exception as failing
the current feasible set. Select lower- and higher-
estimated path-energy examples, include overlap with Track A,
and match ON-state cost and sequence features where possible.
Test whether an apparently unfavorable equilibrium prediction
can coexist with low measured A-only leakage. The path
estimate is an uncalibrated upper bound, not a reason to
declare an otherwise rejected design functional.
How to test them. For selected constructs, measure reporter
production over time under 00, 10,
01, and 11, with appropriate controls and
measured or controlled trigger availability. Include more than one
input-pair comparison: the existing low/high path-energy example in
§ 10.6 matches modeled ON-state
cost but changes transcripts, overlap length and lever settings.
If reporter outputs differ, those changes could explain the difference;
matching one ON cost does not isolate the path estimate. The source-data
check found no same-pair contrast with a path gap of at least 8 kcal/mol,
ON costs within 0.5 kcal/mol and A-only occupancy above 0.99 in both;
smaller contrasts are not excluded. Compare observed A-only activation with equilibrium-only
rankings and with the added path estimate over the relevant time
window.
What could change. If replicated measurements show that the
path estimate improves prediction of functional leakage, a subsequent
calibration study could test a time-dependent threshold or a combined
ranking score, and reconsider the current lock/A-complementarity
trade-off. If it does not, the pathway estimate should not affect
selection. In either case, A-only expression remains essential to
judging AND behavior: relaxing a computational rule to choose
informative experiments never means ignoring that OFF state.
10 · Limitations
These results characterize a computational design space, not a
validated two-input sensor. We have not measured protein output,
activation time, or PFOA specificity of the proposed gates. In particular,
it remains unknown whether A-only binding predicted by the equilibrium
model causes meaningful protein leakage on a cellular timescale.
The assumptions behind the calculations are in
§ 6; the proposed experimental
comparison is in § 9.6.
10.1 · Experimental validation and transferability
No construct designed in this study has been tested at the bench.
Published single-input toehold measurements allowed us to examine
whether several folding scores tracked measured ON/OFF performance
(§ 6.3). Those correlations
do not establish that the same scores rank a sequential, two-input
gate, particularly its A-only OFF state.
Published two-input gates provide a design foundation. Kim et al.
tested inhibitory-hairpin switches with different spacing between the
hairpins.8 Our adjacent-hairpin
architecture and its natural-input candidates still require their own
four-state reporter tests
(§ 9.6).
10.2 · Reaction kinetics and RNA concentrations
Equilibrium folding does not establish the order or speed of
activation. Our gate requires trigger B to expose the binding site
used by A. The additional path analysis searches possible structural
rearrangements, but its energy estimate is a heuristic upper bound
on a minimum-energy path, not a measured activation barrier or rate
(§ 8.6). Even a high estimate
cannot exclude a faster, lower-energy route. Thus, the possibility that
slow A-only activation limits actual leakage remains an experimental
hypothesis (§ 9.2).
Neither trigger concentrations nor RNA lifetimes are modeled.
Each input state specifies which strands occupy the simulated complex,
not their abundance in a cell. Real transcripts may be present at basal
levels even without exposure, so we cannot predict an activation
threshold, dose–response curve, time-dependent protein output, or
the response steepness (Hill coefficient) measured in earlier work.
Quantitative concentrations for both transcripts and experiments across
time and input dose would be needed to bridge this gap. Differential
expression alone does not provide molecular copy numbers.
10.3 · Cellular RNA context and specificity
We folded coding sequences rather than complete cellular mRNAs.
The reference inputs exclude untranslated regions, operon context,
neighboring genes and other potentially relevant RNA structure.
These missing segments could either hide or expose a nominated trigger
window; the direction of the accessibility error is unknown.
Degradation, ribosomes, RNA-binding proteins and competing RNAs are
also outside the folding calculation
(§ 6.2).
Sequence compatibility is not biological specificity.
The PFOA-associated gene pairs illustrate the general design method,
but the transcriptomic screen does not establish joint expression
exclusively in exposed cells, sufficient RNA abundance, or genome-wide
avoidance of unintended RNA binding. Shared regulation of two inputs
may also reduce the additional discriminatory value of an AND gate.
These questions require cellular expression and specificity data,
not four-state folding alone (§ 7).
10.4 · Sampling, selection bias and generalizability
The four-state results are conditioned on an ON-state screen.
Designs failing the 7.2 kcal/mol ON-state ceiling did not receive
every OFF-state calculation. The saved evaluated designs can be
screened at stricter ceilings; relaxing the ceiling requires additional
folding of previously excluded designs. Robustness to tightening the
ceiling (§ 8.4) does not
eliminate possible selection effects.
The design count is not the biological sample size.
We used 210 sampled trigger-window pairs, each under two geometries
(420 pair-by-geometry cells), drawn from just three gene
combinations in one organism. Multiple switch variants from a
shared cell are correlated, and the deterministic, accessibility-based
sampling is not a random sample of all compatible sequences.
Within-pair design comparisons are valuable, but the between-pair
variance shares in § 8.2
cannot be generalized to other genes, conditions or organisms without
further evidence.
10.5 · Thermodynamic model uncertainty
All RNA energy and structure estimates use one nearest-neighbor
thermodynamic model (ViennaRNA, Turner 2004 parameters at
37 °C). We did not compare alternate folding engines, parameter
sets or experimental melting measurements, so systematic errors could
affect many reported metrics together
(§ 5.8).
No universal kcal/mol cutoff establishes reliability for these gates.
We have not calibrated a numerical error distribution for the predicted
energy differences. Errors in differences between calculated energies can be
related rather than independent; their magnitude is not determined
simply by adding the uncertainties of the two components.
10.6 · Candidate-selection limitations
The completed work characterizes candidate designs but does not
select an experimentally supported lead. The existing feasibility
checks identify a conditioned pool; proposed ON/OFF metrics can be
used to rank designs within that pool, but those rankings
have not been calibrated against measured two-input performance.
The two-track narrowed sweep in
§ 9.6 is a proposal,
not a completed shortlist or a new definition of feasibility.
A low-versus-high path-energy comparison is available below as a
possible experimental contrast. The equilibrium separates the two by
0.0011 in A-only occupancy and their modeled ON-state opening
costs match to two decimals, while their path estimates lie at opposite
ends of the observed range. The examples differ, however, in both gene
pair and sequence modifications. The comparison cannot isolate an effect
of path energy; across the matched eight-variant groups in
§ 8.6, path estimates were
identical at the stored precision across all eight switch variants in
313 of 389 fixed trigger-pair/architecture groups.
Testing multiple controlled contrasts is necessary before using
barrier information for candidate ranking.
Illustrative low/high path-energy candidates (not a validated shortlist)
Table 10.1.
An illustrative experimental contrast, not a final shortlist.
The two candidates have nearly equal computed ON-state opening costs,
while A-only occupancy is high for both and their heuristic path-energy
estimates differ. They use different gene pairs and sequence edits:
any measured difference could reflect these confounders, not the path
estimate itself. Energy quantities are in kcal/mol.
gene pair
geometry
closure
upper3
lower3
A-only occupancy
ON cost (kcal/mol)
path estimate (kcal/mol)
low
astC × ggt
naive
d0_gc3_GCC
trigger_derived
trigger_derived
0.9987
4.82
4.50
high
fadB × ggt
naive
d0_gc3_GCC
WWW_AUA
wobble_GU
0.9998
4.82
25.20
10.7 · Reproducibility status
The computational engine is described in the
public CERNAL
repository. The analysis reports Python 3.13,
ViennaRNA 2.7.2, Turner 2004 folding parameters, a pinned
dependency environment and uv sync --extra dev for
installation. The sweep is designed to be deterministic,
sharded and resumable, with sorted input selection and no random
draws. Those properties support reproducibility of the design
procedure, but do not by themselves provide the data and scripts
needed to regenerate every figure.
Reproducing the algorithm and reproducing the historical study require
different records. Algorithm 1 describes the bacterial equilibrium generator.
Its runs record input/reference hashes, settings, seed, folding boundary,
individual checks and software versions. Historical sweep reconstruction also
requires the original producing configuration and either its generated
row-level outputs or a new full run. Corrected path-energy tables support
their corresponding figures; they are not the full equilibrium sweep.
The four input genes are available. The E. coli reference in CERNAL's
versioned data manifest contains ggt, fadB, astC and
aldA. Once those genes and their tested pairings are fixed, gate
generation does not require rediscovering them from differential
expression. Repeating the historical sweep also requires its producer
version, search settings and commands, with expected counts:
53,530 candidate pairs, 301,440 designs,
219,808 evaluated in four states and 4,762 feasible.
The archive gap concerns large generated research outputs, including
the six local axes_c8_*.csv shards, rather than missing sequences
for these four genes. Their hashes identify the local files used for our
audits, but a fresh clone cannot independently recheck every historical
statistic without obtaining those outputs or rerunning the sweep.
Tracing how the original gene nomination was obtained is a separate
upstream provenance question (§ 7).
11 · References
Lorenz R, Bernhart SH, Höner zu Siederdissen C, Tafer H, Flamm C,
Stadler PF, Hofacker IL. ViennaRNA Package 2.0. Algorithms for Molecular
Biology 2011;6:26.
doi:10.1186/1748-7188-6-26
— the RNA folding software used here (version 2.7.2).
Mathews DH, Disney MD, Childs JL, Schroeder SJ, Zuker M, Turner DH.
Incorporating chemical modification constraints into a dynamic programming
algorithm for prediction of RNA secondary structure. Proceedings of the
National Academy of Sciences USA 2004;101(19):7287–7292.
doi:10.1073/pnas.0401799101
— a source for the Turner 2004 nearest-neighbor parameter compilation
implemented in ViennaRNA.
Hüttenhofer A, Noller HF. Footprinting mRNA–ribosome
complexes with chemical probes. The EMBO Journal
1994;13(16):3892–3901.
doi:10.1002/j.1460-2075.1994.tb06700.x
— experimental information on the mRNA region protected by the 30S
ribosomal subunit.
Espah Borujeni A, Cetnar D, Farasat I, Smith A, Lundgren N, Salis HM.
Precise quantification of translation inhibition by mRNA structures that
overlap with the ribosomal footprint in N-terminal coding sequences.
Nucleic Acids Research 2017;45(9):5437–5448.
doi:10.1093/nar/gkx061
— evidence linking structure within the ribosomal footprint to
translation initiation.
Zadeh JN, Steenberg CD, Bois JS, Wolfe BR, Pierce MB, Khan AR,
Dirks RM, Pierce NA. NUPACK: analysis and design of nucleic acid systems.
Journal of Computational Chemistry 2011;32(1):170–173.
doi:10.1002/jcc.21596
— an external reference for ensemble defect as a nucleic-acid design
criterion, not a statement that NUPACK was used to fold these gates.
Robson JM, Green AA. Toehold-VISTA: a machine learning approach
to decipher programmable RNA sensor–target interactions.
Nucleic Acids Research 2026;54(4):gkag097.
doi:10.1093/nar/gkag097
— scaffold conventions and a published structural scoring measure.
Green AA, Silver PA, Collins JJ, Yin P. Toehold switches:
de-novo-designed regulators of gene expression. Cell
2014;159(4):925–939.
doi:10.1016/j.cell.2014.10.002
— single-input toehold switches and measured libraries used for
external scoring checks.
Kim S-J, Leong M, Amrofell MB, Lee YJ, Moon TS. Modulating
responses of toehold switches by an inhibitory hairpin.
ACS Synthetic Biology 2019;8(3):601–605.
doi:10.1021/acssynbio.8b00488
— the two-hairpin architecture and experimentally characterized
effects of hairpin spacing on multi-input response.
Reeve B, Hargest T, Gilbert C, Ellis T. Predicting translation
initiation rates for designing synthetic biology. Frontiers in
Bioengineering and Biotechnology 2014;2:1.
doi:10.3389/fbioe.2014.00001
— review of translation-initiation models and RBS-to-start-codon
spacing considerations.
Every section's citations are numbered against this one list.