How we choose RNA targets, design switches, and decide which predictions deserve an experiment.
CERNAL provides a computational framework for designing biological logic circuits tailored to different organisms and cellular states. Using RNA - a molecule shared by all forms of life - as a universal language, it connects a cell’s molecular state to a desired biological response. This page explains the scientific principles and modelling methods behind CERNAL’s design pipeline: selecting genes, identifying RNA triggers, designing gate architectures, and ranking candidate gates through thermodynamic modelling of RNA hybridization. The selected gates are then integrated into complete circuit designs that encode the desired input–output logic.
Find trigger windows within an RNA. Our
window-selection algorithm locates candidate recognition
sites using predicted RNA accessibility, retaining their exact positions and sequence context.
Select the input mRNAs. Our
gene-ranking pipeline uses expression evidence to prioritize
candidate transcripts for two proofs of concept: the
PFOA response in E. coli
and endometriosis in human cells.
Each link explains the analysis steps and connects to code, source data and selected inputs.
Create a novel framework for ranking different gate types together.Thermodynamic calculations characterize candidate designs;
shared metric definitions, normalization and weights place candidates
from compatible gate families in one ranked list, enabling comparison
across gate types when choosing components for a logic circuit.
Connect gates into construct designs. We represent
candidate logic and build
annotated expression constructs, preserving sequence
checks, part boundaries and the evidence behind each design.
Integrate biosecurity screening with statistical models.IBBIS Common Mechanism combines hidden Markov
sequence-profile models with similarity searches, feeding a release checkpoint
for the final switch and assembled construct.
Our computational strategy is multidisciplinary, original and deep. It combines RNA biology, thermodynamic folding, software engineering and biosafety, and it ends in a finished circuit design.
RNA design uses physics-based folding and binding calculations. Our biosecurity integration adds statistical sequence models through IBBIS Common Mechanism screening. AI-assisted coding and documentation are a separate part of software development.
Algorithms for several RNA gate types. We built design algorithms for toehold, NOT and two-input AND gates, all in one framework (see switch design and the AND-gate model).
A compiler that ranks RNA circuits. Candidates from different gate types are scored on the same metrics, ranked, and the top design is recommended and assembled into a complete plasmid design (see scoring and plasmid assembly).
Simulations of RNA folding and interaction. We simulate how each RNA folds and how the trigger and the switch bind each other, to predict which designs open and which stay closed (see trigger selection and joint opening).
Biosecurity built in. Our Common Mechanism integration combines statistical profile models and sequence-similarity evidence, with release checks on the final switch and assembled construct (see screening models). Screening supports the team's biological review before synthesis.
Three hosts, modular by design. The same model works in three hosts: E. coli, yeast and human cells, and each step can be changed or extended without rewriting the rest.
Grounded in data. We compared the model with our own lab results and with published datasets (see structure validation).
Scores help us decide which experiments to run first. They are computational predictions, not a promise that a design will work in a cell.
Yes. Our models simulate the physics of RNA molecules, so they let us understand how a gate works, predict how well it will perform, and design gates that behave the way we want.
Planning our experiments and reading their results. The models helped us design all of our experiments, from which triggers and windows to test to which switch designs to build, and then helped us interpret what we measured. See the experimental results and the engineered circuits.
A biophysical simulation of RNA. The models are built on simulations of how RNA molecules behave: how each strand folds on itself, how strands bind (hybridize) to each other, how they compete for the same partner, and how exposed the start of translation is. Because the simulation follows the physics, it shows us why a particular gate design opens or stays closed, not only whether it does (see switch design).
Predicting and ranking. From these simulations the model predicts how efficient each gate should be and ranks the candidates against each other (see scoring).
Designing on purpose. Since we can predict behavior, we can design gates that act as we want, based on the simulations, instead of testing designs by trial and error. This includes creative new designs that have no experimental data yet.
High-throughput candidates. Our engine runs this simulation on a very large number of candidate designs (hundreds of thousands in our AND-gate study alone) and picks the best. Looking at the best and the worst of each architecture helped us decide which architecture best fits our goal.
Spotting pitfalls early. With so many candidates we saw common failure modes before building anything, for example switches that look good only because they stay closed, and targets that look good only on paper, and we changed the design to avoid them (see the audit of these checks).
The simulations are predictions, not measurements, which is why we test the leading designs in the lab.
Yes. Real data shaped the model at every stage: the inputs, the checks, the design rules and our own experiments. The model is still being tested and refined against it.
RNA-seq for our two proofs of concept. Published measurements supply the biological inputs: Wintenberg et al.'s PFOA response in E. coli[10], and Tan et al.'s population-specific endometriosis expression [11]. The PFOA analysis and endometriosis analysis explain how these data became candidate RNA inputs.
Measurements of RNA structure. We compared our accessibility predictions with Mustoe et al.'s measurements inside living E. coli[3], retaining the comparison even where it did not favor our score. See the validation methods and paired-data explorer.
Measured switches and prediction research. Green et al.'s switch measurements [1] anchor our ON/OFF score comparison. We also acknowledge Peleg Bazak and Tamir Tuller's GROOT study [17] and its original data sources: Angenent-Mari and Valeri [14], [15], Pardee [12], Takahashi [13], Riley [16], and Green [1]. Their experimental contexts and roles in that study are identified in the data-source table, alongside its reference-genome [18] and RNA-expression [19] sources for competition features.
Done:our NOT gate works in E. coli: the trigger repressed GFP in 7 of 8 designs (significantly in 5 of 8, Welch t-test with Holm correction), and to our knowledge a gate of this kind had not been built before (see the proof of concept). We also built and tested our first computationally designed toehold switches in bacteria next to a published toehold in the same run, and our best design reached about 90% of that published switch's ON/OFF ratio (see engineering). We also confirmed in human cells that the input RNA is made and that recoded controls are truly different RNAs, and tested a guide-RNA switch in yeast (see results and experiments).
Next: testing the human NOT gate and the AND gate directly, and comparing the two mCherry windows we scored (see limitations).
This is work in progress. Validation is ongoing, and every new lab result is used to refine the model.
Yes. The main ideas behind our model are not specific to our project or even to RNA, and other teams can apply them to their own work.
Built on energy, so it works with little data. The model is based on energy calculations, so it can design complex systems even when there is almost no experimental data to learn from. The same principle serves anyone who designs DNA or proteins, or who studies ribosome traffic jams, not only RNA groups. It is an idea that many teams in different fields can learn from (see switch design).
It simulates what actually happens. Because the model simulates the physics of the molecules, it explains what is really going on in a design, not only whether it works. A team whose part fails can use the same approach to see which step blocks it, whatever the molecule (see folding conventions).
It averages over the whole population. A molecule does not hold one shape: RNA, DNA and proteins all exist as a population of shapes. The model averages over all of them instead of relying on a single structure or a single measurement, and the same care applies to any system that is a mixture, such as a population of cells (see joint opening).
One yardstick to rank different designs. Energy-based measures let us compare different gates directly and rank them against each other. A team working on circuits with a different topology can score its designs on the same scale, and compare them with each other or with ours, instead of judging each topology by its own measure (see scoring).
All of our code is open, and its parts stand alone. Individual functions, for example the one that finds the best trigger window in an RNA, can be used on their own. A team that wants to build a completely different RNA-based gate can take just that function and keep the rest of its own pipeline (see the software page and the tools and source code).
Collaboration. We worked with other iGEM teams, including a reciprocal software-testing agreement with AIS-China (see human practices).
A cell contains thousands of RNA molecules. We want to design RNA circuits that respond to chosen RNAs and control a protein output: activating it with a toehold switch or repressing it with a NOT gate. The model helps decide which RNA to target, where to bind it, and which circuit to test first.
CERNAL combines gene-expression data, RNA structure predictions and sequence checks to produce ranked designs. The chapters below describe the mechanism as well as a reproducible example, the complete methods, parameters, evidence and limitations. Model predictions are not equivalent to functional validation.
1. The biological question and modeling objectives
Why start with biological-state data?
Start with the state you want to detect.
Designing a genetic response involves two decisions: identifying a molecular signal that represents the state of interest, and building a circuit that responds to that signal in the chosen host. Existing circuit-design tools can automate important parts of this process, but their predictions depend on the sensors, regulatory parts and operating conditions available to them. CERNAL connects transcriptomic input selection with RNA recognition-site analysis and candidate switch design, so a measured expression difference can guide what a circuit should sense.
Our goal is a reusable route from biological-state data to testable RNA-sensing designs. The current implementation produces computational candidates within supported workflows; reliable function still requires host-specific experiments.
This complements established work: Cello 2.0 maps circuit specifications to characterized parts; Asimov Kernel provides construct design, simulation and workflow tools; and programmable toehold switches already demonstrate RNA-responsive regulation. These sources support the design context, not an absolute claim that no competing route exists.
Our design question is simple: can a chosen RNA message control production of an output protein? A transcript is the RNA copied from a gene. We design a second RNA that recognizes a short region of that transcript, the trigger window, through complementary base pairing.
Recognition is only the first step. A toehold switch is intended to turn protein production ON when the trigger binds; an antisense NOT gate is intended to turn it OFF. Each architecture must connect RNA binding to the correct change at the translation-initiation region. The gate studies explain these different mechanisms.
Figure M1
The recognition principle
From complementary bases to an RNA gate
RNA × RNA
Two RNA strands can recognize one another through their sequence. Follow the pairing rule, the structural competition, and one way to turn binding into an output.
01 / The general ruleComplementary RNA strands pair in opposite directionsThe example strand AUGCAUGC runs from 5 prime to 3 prime. Its aligned complement UACGUACG runs from 3 prime to 5 prime. A pairs with U and G with C.
All eight positions have canonical complementary partners.
Reveal order is illustrative; it does not represent binding time or probability.
Sequence recognition
Match the bases. Reverse the direction.
A pairs with U; G pairs with C. These canonical pairs let us encode recognition in an RNA sequence. The facing strands are antiparallel: one runs 5′ → 3′ while the other runs 3′ → 5′.
A ·· UG ··· C
The lines represent hydrogen bonds, not the RNA backbone. A–U has two; G–C has three. Stacking between neighboring bases also contributes to duplex stability.
Read both sequences 5′ → 3′ and the partner is the reverse complement: AUGCAUGC pairs with GCAUGCAU.
Real RNA can also form G–U wobble pairs and other noncanonical interactions. A mismatch can weaken a duplex without preventing every other position from pairing.
02 / The structural competition
Complementary regions can be tied up in different folds.
Designed backboneTarget backboneMatching basesBase pairing
Designed RNA
6 / 8 matching bases paired
Designed RNA: a six-base-pair hairpinIllustrative 18-base RNA, 5 prime AUGCAUGCGAAAGCAUGC 3 prime. Its first eight bases, AUGCAUGC, have gold rings. The first two are unpaired; the other six pair with the last six bases in a stem. A four-base GAAA loop joins the stem arms. Every base is labelled; base-pair lines show two hydrogen bonds for A–U or three for G–C.
5′AUGCAUGCGAAAGCAUGC3′
2 matching bases unpaired. The other 6 pair within this RNA and must be released to form the full recognition duplex.
Target RNA
4 / 8 matching bases paired
Target RNA: a shorter stem with an unpaired bulgeIllustrative 17-base RNA, 5 prime AUAGCUUCGGCAUGCAU 3 prime. A four-base-pair stem is interrupted by an unpaired A bulge on one arm, and closed by a four-base UUCG loop. The last eight bases, GCAUGCAU, have gold rings: four are in the stem and four form an unpaired tail. The continuous red backbone runs from 5 prime at the upper right, around the loop at the left, to 3 prime at the lower right.
5′AUAGCUUCGGCAUGCAU3′
4 matching bases unpaired. The other 4 pair within the target. Its bulge and loop give this RNA a different fold.
Illustrative, sequence-compatible folds · not folding predictions. RNAs sample multiple structures; the number of paired bases alone does not determine the opening cost. RNA structure conventions.
Opening existing pairs costs energy⇌New RNA–RNA pairing can favor binding
Possible paired state
Close-up · matching regions only
The same matching bases can pair between the RNAsClose-up of a possible recognition duplex. The designed region AUGCAUGC runs 5 prime to 3 prime from left to right. The target region is aligned UACGUACG, from 3 prime to 5 prime. All eight pairs are complementary. Dotted backbone continuations on the right indicate the other bases of each RNA outside this close-up. Internal pairs involving these matching bases must be released; other regions need not be unfolded.
The gold-ringed bases now pair between the RNAs. Dotted ends continue into the rest of each molecule; only the recognition regions are shown.
Accessibility + thermodynamics
A sequence match is only the beginning.
An RNA strand can fold back on itself. If a recognition region is already paired, making it available has an energetic cost. Both the target and the designed RNA can impose this cost. The gold rings track the same matching bases from the separate folds to the possible duplex.
New intermolecular pairing and stacking can favor the complex. The model compares that gain with the structures of the separate molecules:
ΔGbind = Gcomplex − GRNA 1 − GRNA 2
A more negative calculated value favors association under the model’s reference conditions.
Unpaired in one drawing does not mean always accessible: accessibility depends on the range of structures an RNA can adopt. RNA interaction models account for opening costs in both molecules. Concentration, temperature, salt, competing molecules and binding kinetics also affect what actually happens.
03 / Example: a bacterial toehold gate
The trigger docks onto the exposed toeholdThe switch RNA forms a hairpin around its translation initiation region. The ribosome binding site is in the loop; the start codon is in a bulge in the stem. A complementary trigger first pairs with the exposed toehold before opening the stem. Lettered bases are illustrative and shortened. Gold rings mark the toehold and upstream stem recognition region; violet rings mark the unpaired RBS. The three unpaired A, U and G bases form the start-codon bulge. The trigger runs antiparallel to the switch.
Switch RNATrigger RNARecognition regionRBS
Docking: recognition starts at an accessible region.
Binding becomes a structural signal
The toehold gives the trigger a place to start.
Without a trigger, the switch forms a hairpin that restricts translation initiation. The toehold is an exposed, single-stranded recognition region.
A complementary trigger can pair there first. Pairing can then extend into the stem through strand displacement: trigger–switch pairs replace pairs within the switch.
The ribosome binding site (RBS) lies in the loop and AUG, the start codon, lies in a stem bulge in the original architecture. They need not be directly base-paired for the surrounding structure to restrict initiation. [1]
The drawing shows domains, not an exact sequence or scale. Initial docking alone does not establish that the gate has opened or that translation will occur.
04 / Example: the intended ON state
Hybridization opens the initiation region of a toehold switchThe trigger pairs with the recognition domain of the switch. The downstream ribosome binding site and start codon are accessible so a ribosome can initiate translation of the output gene. This is an intended mechanism, not an experimental result. The same illustrative recognition bases from the docking diagram now pair with the trigger, replacing the switch's stem pairs. The RBS and AUG remain unpaired. The blue ribosome engages the initiation region and a green protein strand emerges. Bends in the unpaired backbone are for layout.
Switch RNATrigger RNARecognition regionRBS
Intended ON: the initiation region becomes usable.
Recognition → structure → output
The same pairing rule now controls translation.
As trigger binding opens the hairpin, the initiation region becomes accessible. A ribosome can engage the RBS, initiate at AUG and translate the downstream output gene. [1]
The hybridization rule is general; this output is architecture-specific. A toehold gate uses binding to activate translation. An antisense NOT gate instead uses binding to repress an output.
A favorable predicted complex is a design hypothesis. Gate performance still requires measurements of leakage, activation and specificity in the intended host.
Interactive schematic · Sequences are illustrative; gate domains are shortened for clarity. Structures show the recognition principle and an intended bacterial toehold mechanism, not a predicted folding trajectory. Toehold architecture: Green et al., 2014.
Matching sequences can still fail to interact because both RNAs fold back on themselves. The model therefore asks two linked questions: is the target region accessible, and does binding favor the intended switch state? It compares regional opening probabilities and the free energies of the separate RNAs and their complex.
We use these calculations to choose experiments, not to replace them. Cellular conditions, host-specific initiation machinery and folding kinetics can change the behavior predicted from sequence. A design must balance low unintended output with a response to its intended input.
Choose a transcriptDoes its expression distinguish the two cell states?
Choose a windowIs a suitable region predicted to be accessible?
Compare switchesWhich designs pass sequence checks and score best?
The complete workflow separates these decisions into six processing responsibilities. Intake and reference databases support the stages; they are described separately so they are not mistaken for extra scientific stages.
These limits shape the scientific search as well as its runtime: later stages cannot recover a gene or window removed from an earlier shortlist.
Five decisions the model must support
For one gene, a researcher could make these choices by hand. Across thousands of windows, the choices must remain consistent: a thermodynamic value calculated at one temperature cannot silently be compared with another calculated under different assumptions. We therefore treat the process as a sequence of explicit decisions, each producing evidence for the next.
Which construct boundaries and assumptions must travel with the design?
Five linked decisions: each produces evidence for the next. Host-specific gate studies test different intended state changes.
The problems that shaped those decisions
Figure M3A problem becomes a modelling decision
Incomplete expression tables
Consequence
A mandatory adjusted p-value can remove every row.
Response
Choose a significance tier; disclose missing evidence.
Extreme fold changes
Consequence
A low baseline can inflate the ratio.
Response
Combine effect size, significance, abundance and sequence feasibility; allow a ceiling.
Different meanings of “open”
Consequence
Individual bases can be open without the whole region opening.
Response
Keep marginal and joint probabilities separate.
A new sequence context
Consequence
Assembling a switch can introduce an AUG or prohibited motif.
Response
Check early feasibility and the final assembled design.
Combinatorial growth
Consequence
More genes, windows and combinations multiply folding work.
Response
Set shortlist and circuit-size ceilings before expensive stages.
Unlike measurements
Consequence
Energy, accessibility and component count use different units.
Response
Normalize with one versioned scoring profile.
Limited ground truth
Consequence
Structure agreement can be mistaken for switch activation.
Response
Separate execution, structural comparisons and functional experiments.
The pipeline is sometimes described as a compiler: it translates a biological input into candidate sequence records. That analogy describes the workflow. The scientific content lies in its assumptions, modeled quantities, comparisons and experiments, not in the analogy itself.
2. From RNA input to a ranked design
How a recognition window is found
The RNA to recognize is scanned with a sliding window of about 36 nt (30, 33 or 36). Each window is a candidate stretch that a switch could bind. Inside it sits a nucleation site of about 8 nt, the short region where pairing is expected to begin before it extends along the rest of the window, so how open that site is matters most. Windows start at every position, so even a single 711 nt input gives a very large number of candidates: 682, 679 and 676 windows of 30, 33 and 36 nt, 2,037 in all. They are ranked mainly by how open their nucleation site is, and the best 50 are kept for switch construction.
What the model receives
Each run starts with one scientific input: a differential-expression results table, or an RNA sequence up to 10,000 nt in the workflow described here. A short suitable trigger can enter design directly; a longer transcript is scanned for windows. The long-sequence route therefore skips gene discovery, but does not skip trigger selection.
A differential-expression table asks which transcripts separate a declared target state from its control. The direction matters: a positive log2 fold change means higher expression in the target condition.
The ingestion boundary checks file readability, headers, identifiers, usable fold-change or expression columns, numeric parsing, a 200,000-row ceiling and duplicate identifiers. These are parsing checks, not a reanalysis of sequencing data. The input file is checksummed; the run configuration is fixed and the engine verifies the checksum before use. Duplicate-gene handling and any missing statistical columns are reported.
// Note
A results table is not a count matrix. CERNAL's current interface receives analyzed expression results, not per-sample counts. It therefore cannot perform raw-count quality control, calculate count-based gene redundancy or evaluate a circuit's confusion matrix on individual samples. Those missing measurements are not supplied by knowing the fold changes.
Numerical design decisions and next experiment
From a biological question to a testable design
A recorded numerical example: recognize mCherry RNA
A 711-nt mCherry transcript produced 2,037 windows and 21 ranked designs in the recorded run. The top candidate scored 0.7858 under the chosen profile; this is a ranking score, not a probability of working. This example starts from a chosen sequence and does not test biological-condition discrimination.
What does the comparison change? For that candidate, the best eight-base seed has joint opening probability 0.869, while a terminal 20-base region has mean individual-base openness 0.434 but joint opening probability only 6.35 × 10−9. These observables describe different events. An accessible short seed alone cannot establish that a longer recognition region opens together.
Design decision and next experiment. Retain separate accessibility measures and check the assembled switch before choosing a shortlist. The next functional test must compare the same candidate with matching, absent and recoded inputs, with reporter and growth controls; the recorded computation does not supply that validation. Sequence release in this run was held because screening was unavailable.
// Recorded run · 7 October 2026 · E. coli · single-input toehold
We supplied the complete 711-nucleotide mCherry coding sequence as the RNA to recognize. Here mCherry is the input; GFP is the intended output. This direct-sequence example starts with a chosen transcript, so it bypasses gene selection and makes no claim about distinguishing cell states.
Figure M4
01 · Scan2,037 windows
All 30, 33 and 36 nt windows of the 711 nt input.
02 · Shortlist50 windows
Accessibility ranking retains each footprint length.
03 · Construct and score22 scored candidates
Construction checks precede the recorded score table.
04 · Rank21 accepted designs
One scored design rejected. Acceptance is for ranking, not sequence release.
Recorded mCherry selection funnel. Widths show narrowing stages schematically, not proportions. Windows and scored candidates are different units; the 28-window difference is not the single scored rejection. Recorded run.
The highest-ranked candidate, cand-000015, uses transcript positions 654–689 (counting from 1). Its 36-nucleotide recognition region maps to an 18-nucleotide toehold. Its final score is 0.7858 out of 1: a ranking under the stated scoring profile, not a 78.58% chance of working.
Only 22 of the 50 shortlisted windows reached the recorded scored-candidate output. Earlier construction checks account for a separate stage; the single scored rejection is not a count of every eliminated window. “Accepted” here means accepted for ranking. Sequence-file release was held because the local screening service was unavailable; this run did not release FASTA, GenBank or SBOL designs.
The same candidate illustrates why we retain several accessibility measurements. Its best eight-base nucleation site (seed) has a predicted joint opening probability of 0.869. Across the longer, terminal 20-base region, mean individual-base openness is 0.434, while joint opening probability is only 6.35 \times 10^{-9}. A promising short binding seed and an easily opened long region are different properties.
Figure M5
Rank 1: a scanning window of 36 nt with an 8 nt nucleation site inside
The input is scanned with a window of about 36 nt, and every window has a nucleation site of about 8 nt inside it. Rank 1 is positions 654–689, one-based and inclusive, on the input RNA (5′ → 3′), with its nucleation site at 677–684. Below, the window base by base: colors show predicted single-base unpaired probability.
A strong short nucleation site does not make the entire recognition window open. The selected nucleation site (seed) is a modeled first-contact hypothesis. The branch-migration and toehold-complement regions describe the intended recognition architecture, not an observed binding trajectory. Coordinate conversion is from zero-based, exclusive-end stored intervals to one-based inclusive labels. The full-transcript RNAplfold probabilities are retained; this view does not refold the isolated window. Recorded candidate metrics · RNA prediction data.
See the mCherry input in structural context
The colors below show the model's predicted chance that each individual nucleotide is unpaired. Warm regions are easier to access one base at a time. The outlined region is the recognition window of a recorded ranked design. All 21 ranked designs cluster around positions 649–691, so selecting a different rank changes the outline within that neighborhood.
Figure M6
Input · 711 ntmCherry RNA
Enable JavaScript to explore this view.
Rank 1 · positions 654–689
1mCherry RNA position711
Lower predicted single-base accessHigher
Predicted secondary structure, shown in an illustrative 3D layout. Base pairs come from RNAfold; color is RNAplfold's local single-base unpaired probability at 37 °C. The depth and rotation are display choices, not predicted or measured RNA tertiary coordinates. Drag to turn. Use arrow keys when the view is focused.Optional protein reference: not evidence of RNA accessibilityFigure M7
Reference · experimental structuremCherry protein
PDB 2H5Q · secondary-structure cartoon
Enable JavaScript to explore this view.
Crystal structure · chain A · 1.36 Å resolution Chain direction: teal (N terminus) → violet → rose (C terminus)
This secondary-structure cartoon uses 217 resolved Cα atoms from the published mCherry crystal structure (PDB 2H5Q); it is a reference for the protein encoded by the input RNA. Arrows show beta strands, ribbons show helices, and thin lines connect loops, using the deposited HELIX/SHEET annotations. The shapes follow a smoothed Cα trace, with color showing position along the chain. Explore the full atomic structure. GFP, not mCherry, is the proposed switch output. The protein shape does not determine which RNA bases are accessible.
3. Choose transcripts that merit the design budget
Our two proofs of concept use transcriptomic evidence at different starting points:
PFOA-exposed E. coli is a count-based differential-expression
reanalysis; endometriosis starts from published cell-population
differential-expression tables. The worked analyses below explain how that evidence
becomes candidate RNA inputs. CERNAL then ranks supplied expression records for switch design.
POC 1 · PFOA: from expression counts to candidate bacterial inputs
Biological question: which bacterial transcripts change after PFOA
exposure and could supply inputs for an RNA sensor? The documented reanalysis uses
E. coli MG1655 exposed to 100 µM PFOA for six hours, with
three exposed cultures and three solvent controls from Wintenberg et al.,
GEO GSE288896 [10].
Fit the expression contrast. The team's PyDESeq2 notebook takes
gene counts and sample labels, fits a negative-binomial model with condition as
the explanatory variable, and compares PFOA with solvent control using Wald tests.
Control statistical noise. Cook's filtering and independent
filtering are enabled; adjusted p values account for multiple testing.
Fold-change shrinkage stabilizes effect-size estimates.
Define the candidate pool. At adjusted p < 0.05,
with no additional fold-change cutoff, the saved analysis reports
314 increased and 319 decreased gene rows. These 633 significant
rows are a defined contrast, rather than a universal PFAS signature.
Carry nominated pairs into gate design. The separate selection
record supplies ggt with fadB, astC or aldA.
CERNAL's downstream stages choose usable transcript regions and build switches;
the AND worked example follows these inputs into design.
The notebook preserves saved analysis outputs; its repository does
not archive the complete count matrices and per-gene result table. The
source and selection provenance
defines what each retained output supports.
POC 2 · Endometriosis: from population-specific expression to prioritized targets
Biological question: which RNAs distinguish lesion-associated cell
populations while retaining their healthy-tissue context? We use
Tan et al.'s Supplementary Table 5 [11] and
GTEx v8. Here, EuE means patient eutopic endometrium;
FDR is the source false-discovery-rate estimate, and
logCPM is log-scaled counts per million.
Keep each cell population separate. Read the published
population-specific contrasts. Derive lesion-versus-EuE effect estimates by
subtracting EuE-versus-control from lesion-versus-control log fold changes.
This re-expression of effect sizes is not a newly fitted statistical test.
Screen the evidence. The archived implementation requires
source FDR ≤ 0.01, logCPM ≥ 1, and consistent
effect direction across the available lesion-versus-EuE contrasts.
Prioritize and add healthy-tissue context. Entropy-weighted
TOPSIS ranks candidates by their distance from ideal and unfavorable
multi-criterion profiles. The code uses effect magnitudes, then refines leading
candidates using expression outside configured target tissues in GTEx.
Connect the shortlist to the POC. The selected-target record
carries SELE in EC-aPCV endothelial cells and
AREG in cDC2 immune cells into construct design. These are distinct
cell populations; selection does not establish same-cell co-expression or clinical specificity.
The pinned code, shortlist and selected-target record are separate
historical sources. The selection record uses a tissue-to-uterus expression ratio;
the code's GTEx burden uses maximum median expression outside target tissues.
Their definitions and the absence of a final ranked output at that code revision
are retained in the
analysis provenance.
Gene selection takes an expression table, the available transcript sequences and any optional expression evidence, and returns at most max_genes selected records. The default is 20. This limit is a compute-budget choice: a gene removed here cannot be recovered by a better folding model downstream.
Why fold change alone is insufficient
In the recorded audit of human comparison E-CURD-149, ranking only by absolute fold change placed MAPK8IP1P2 (−23.1), LINC01242 (−21.8; raw p = 0.063), and MTCO3P12 (−20.9; no p-value) above MMP8 (+10.0; raw p = 8.4 \times 10^{-8}). The first and third are annotated pseudogenes; the second did not pass the nominal 0.05 raw-p threshold. Those facts do not automatically make every such transcript unusable, but they show why an extreme ratio is not sufficient evidence for a reliable input.
The same development audit found 45,000 rows across the 15 public comparisons, zero populated adjusted p-values and 25,556 populated raw p-values. None of the five E. coli files carried p-values, and none of the catalog tables supplied abundance. A literal “p_{\mathrm{adj}} \le 0.05” filter would discard every row. These are historical measurements of the bundled catalog, documented in the gene-selection assessment.
Significance tiers and their limits
Figure M8Choose the branch supported by the supplied statistics
Any adjusted p-values
Implemented action
Use p_{\mathrm{adj}} \le \text{max\_p\_adj}; rows without that value do not pass.
Interpretation
A missing value is not equivalent to nonsignificance or significance; it is not tested here.
Raw p-values for \ge 95\% of rows
Implemented action
Compute Benjamini–Hochberg adjusted values and apply the threshold, with a warning identifying the calculation.
Interpretation
This is the implemented coverage heuristic. It does not prove the file contains the full tested gene set.
Raw p-values for < 95\% of rows
Implemented action
Apply the stated raw-p threshold to available values and report that selection is not FDR-controlled.
Interpretation
Partial coverage prevents the implementation from taking its BH path.
Neither
Implemented action
Omit significance filtering and warn explicitly.
Interpretation
Effect size and available non-statistical axes carry the decision.
A valid multiple-testing interpretation depends on which hypotheses entered the original test. A table preselected by fold change or truncated to its top genes can contain a p-value in every row and still be unsuitable for recomputing full-study FDR. The current 95% coverage rule cannot detect that provenance problem. Users must retain the original testing context or supply valid adjusted values. This remains a limitation, rather than a guarantee that the tiered rule resolves all public-data missingness.
For sorted raw p-values, the implementation forms p_i \times \frac{m}{i}, takes reverse cumulative minima, and caps at 1. Here m is the number of supplied, nonmissing p-values. The monotonic correction prevents a larger raw p-value receiving a smaller adjusted one. The method is Benjamini–Hochberg; its meaning still depends on an appropriate family of tests. [4]
Feasibility before folding
For each gene, trigger yield is the fraction of scanned windows passing motif checks, the configured GC band and start-codon checks in both orientations. An unwanted AUG in the assembled switch can arise from AUG in the target or from its reverse-complement counterpart CAU. These string checks require no RNA folding.
A measured yield of zero removes the gene. If no configured window length can be scanned, yield is missing instead. This estimate is deliberately coarse: it does not replace constructing and validating the final switch. The historical audit found assembled-sequence failure mechanisms that a trigger-only screen missed; the full comparison is in the audit results.
Four base selection axes
Figure M9Explore four base axes · Teaching inputs, not a measured gene or a new CERNAL run. Change a value to see the component and its weighted contribution.
01 · Separation weight 3
Here is the absolute log2 fold change. Floor 0.5; normalization ceiling 10.5. No hard upper filter is imposed.
0.5
02 · Abundance weight 2
ON and OFF use the same arbitrary expression units, with example bounds 10 and 4.
0.5
03 · Trigger yield weight 2
Checks include motifs, AUG in both orientations and the GC band. A measured zero removes the gene before ranking.
0.6
04 · Specificity weight 1
Own-state and atlas-baseline expression must use compatible units. The current snapshot has no populated atlas; this axis is omitted by default.
. Clipping keeps each component between zero and one.
Pinned formulas and weights. These provisional component shapes are not probabilities of biological success. Significance and feasibility filtering precede this ranking.
For each available selection axis i, si is its normalized score and wi its configured weight. The sum runs only over axes with evidence.
Equation M1\text{gene score} = \frac{\sum_i w_i s_i}{\sum_i w_i}Sum over available axes. Missing values remove their weights from the denominator.
Four base axes, available evidence only. Separation measures the effect above its configured floor. Abundance uses the smaller available ON/OFF margin; an overall base mean cannot establish OFF-state leakage. Trigger yield is the fraction of scanned windows passing inexpensive sequence checks. Specificity needs an external expression atlas and is omitted in this snapshot.
Optional fifth axis: non-redundancy, weighted 1.5, uses 1 − max |r| against genes already selected. It requires sample-level count vectors, which the current interface does not supply. Positive and negative correlation can both be redundant. The optional 15% percentile contribution to separation also requires sample data; it is absent from this table-only workflow.
Direction balance reserves slots for up- and down-regulated genes, then fills unused slots from the remaining order. This is an allocation rule, not another score axis. It preserves alternatives without establishing independent signals, transcriptome specificity or an operational inverting gate.
Parameters that change the shortlist
Parameter
Snapshot default
Role
Minimum |log2FC|
0.5
Effect-size floor.
Significance threshold
0.05
Applied according to the selected tier.
Maximum |log2FC|
Unset
Optional ceiling; the engine does not apply one by default.
ON floor / OFF ceiling
Unset / unset
Optional abundance bounds.
Trigger-yield GC band
30–70%
Early window feasibility, separate from final switch GC scoring.
Gene limit / direction balance
20 / enabled
Shortlist size and allocation.
The weights and margin shapes are provisional scientific choices. They are explicit so changes can be reviewed and tested, not because listing them establishes calibration. Pinned implementation.
4. Choose an exact recognition window
Trigger selection takes selected genes and transcript sequences, then returns up to 50 shortlisted windows per gene. A trigger is a sequence at a particular position, not the whole gene. The full transcript supplies the folding context even though only one local region is recognized by the switch.
Earlier TAU teams established related trigger-selection workflows:
TAU-Israel 2022, TrigGate, combined mRNA selection, accessible-window
search and switch assessment [7];
TAU-Israel 2024, PROtech, connected target-RNA ranking, trigger
windows, competing sequences and switch-performance prediction
[8]. These projects provide the methodological background
for the recognition-window problem addressed here.
Why scan the transcript?
In the historical mCherry investigation, the last 36 nt implicitly used by an older implementation had a minimum marginal accessibility of 0.000395. A different 36 nt window at zero-based offset 293 had 0.238419, roughly 600 times larger. Their mean openness values were 0.6014 and 0.5303 respectively: an improvement in the minimum did not imply an improvement in the mean. This example exposed both the cost of silently choosing one end of a long paste and the need to name the statistic being compared.
The current run retains the selected offset and exact recognition length. It does not assume that the historical best window remains best after changes to the ranking protocol. Historical ambiguity and its correction.
One folding profile, explicit geometry
RNAplfold estimates a local equilibrium ensemble for the transcript. Profiling once avoids repeating the whole context calculation for every overlapping window. The protocol fixes temperature at 37 °C, local window W = \min(n, 200), maximum pairing span L = \min(n, 150) and maximum jointly unpaired interval u = \min(n, 20), with n the transcript length. Effective values, the ViennaRNA version and window coordinates are retained with each candidate; a changed global folding temperature causes the adapter to fail rather than mix protocols.
What is a seed? It is a short region where complementary RNAs could begin pairing before pairing extends into the rest of the recognition region. Here a seed is exactly eight consecutive target bases within the region corresponding to the switch’s exposed toehold. We compare the allowed placements by their joint unpaired probability; the selected seed is a model hypothesis, not an observed first-contact site or a binding rate.
Figure M10
A 36 nt footprint · coordinates follow the target transcript, 5′ → 3′
Positions 1–18
The region corresponding to branch migration in the switch.
Positions 19–36
The region corresponding to its exposed 18 nt toehold.
The terminal 20 nt span positions 17–36. Joint P20 asks whether this entire region is unpaired. Within positions 19–36, eleven overlapping 8 nt seeds can begin; the model retains the largest joint P8.
30 nt footprint
Branch migration · 18 ntToehold · 12 nt
5 possible 8 nt seeds inside the toehold-corresponding target region.
33 nt footprint
Branch migration · 18 ntToehold · 15 nt
8 possible 8 nt seeds inside the toehold-corresponding target region.
36 nt footprint
Branch migration · 18 ntToehold · 18 nt
11 possible 8 nt seeds inside the toehold-corresponding target region.
Geometry determines which probability is evaluated. The corresponding switch recognition sequence is reverse-complemented: transcript coordinates and switch coordinates are not interchangeable. Taking turns across these length groups preserves alternatives with different seed-placement counts.
The recognition footprint is exactly 30, 33 or 36 nt. Its corresponding switch variant consumes that same footprint, rather than silently designing a shorter switch from part of a longer candidate. For a window ending at coordinate e, the 20-base opening hypothesis is [e − 20, e) and candidate seeds are all eight-base intervals inside the terminal toehold region. Coordinates in stored records are zero-based, with an exclusive end.
Marginal openness and joint opening answer different questions
A marginal probability asks whether one nucleotide is unpaired. Its average over a region describes typical per-base openness. A joint probability asks whether every position in a specified interval is unpaired together. The two can differ sharply even within the same ensemble.
Figure M11
A small example · four positions, three equally likely structures
Position1234
A · OpenOpenOpenPaired
B · PairedOpenOpenOpen
C · OpenPairedPairedOpen
Mean marginal:
Each position is open in two of three equally likely states. Averaging the four marginal probabilities still gives .
Joint
No state has all four positions open together. Multiplying marginals would incorrectly assume independence.
Probabilities are dimensionless. This three-state teaching ensemble is not an RNAfold result; “paired” means paired to another position outside this four-base interval.
Two accessibility questions, two answers. An average describes individual positions;
a joint probability describes a contiguous region opening together. This illustrative ensemble explains our
choice of statistic. It does not establish that simultaneous opening is required for every binding mechanism,
or that a joint score predicts switch activation better.
The selected seed probability P8 is the maximum joint opening probability over that window's allowed eight-base placements. P20 describes its terminal 20-base hypothesis region. Here ΔGopen is the modeled opening free energy; nt denotes nucleotides; R is the gas constant (0.0019872 kcal mol−1 K−1), T is temperature (310.15 K), and ln is the natural logarithm. The model transforms P20 into a per-nucleotide opening cost:
Here R = 0.0019872\;\mathrm{kcal}\,\mathrm{mol}^{-1}\,\mathrm{K}^{-1}, T = 310.15\;\mathrm{K}. The floor keeps the logarithm finite. The raw P20 remains available; its transformed energy is the same modeled event in different units, not another independent observation.
Ranking within length groups
Rank descending by selected joint P8.
Break ties with ascending terminal-20 opening cost.
Then prefer higher terminal-20 mean marginal openness.
Use stable coordinates and sequence ordering to resolve remaining ties.
Take candidates in turn from the configured length groups until the 50-window budget is filled.
The final allocation matters because an 18 nt toehold offers 11 seed placements, compared with 5 for a 12 nt toehold. A single global ranking could favor a length partly because it had more opportunities to find a high seed probability. Keeping all length groups represented leaves that biological comparison open.
These quantities are not association rates, binding probabilities or gate-success probabilities. Equilibrium structure does not describe induced opening or a kinetic pathway. The living-cell benchmark tests agreement with structure measurements; functional calibration requires the prospective switch experiments described below. The final candidate score also retains a different accessibility metric, the minimum marginal openness over the full footprint, so shortlist and final scores must not be interchanged.
The generator takes trigger sets and constraints and produces annotated switch designs for a selected gate family. Most of a toehold sequence is determined by the recognition sequence and architecture; this is a bounded search over variants, not a free search through every RNA sequence. Exact scanned footprints map to one toehold length. Manually supplied short triggers retain a compatibility path that can generate each fitting length.
The RNA must balance two opposing requirements. Its OFF hairpin should suppress unintended initiation, but a matching trigger must still favor an opened state. Increasing stem stability can improve one prediction while worsening the other. We therefore retain separate structural quantities and compare complete designs instead of choosing solely by minimum free energy.
Prior design framework. Landau, Arbel, Benarroch, Klein, Moree and
Tuller describe Triggate, a computational pipeline for mRNA-trigger
selection and toehold design in prokaryotes and eukaryotes, including an alternative
eukaryotic architecture [9]. This work and the earlier
TAU projects [7], [8]
are credited as foundations for the switch-design workflow.
NucSyn designs as inputs to the AND research workflow
A separate eukaryotic AND research workflow starts from ranked single-input switch exports from NucSyn Platform, an external RNA inverse-design toolkit by Yehuda Landau and coauthors. CERNAL reads these CSV exports offline, retains their upstream scores and constructs serial candidates using named sequence-domain boundaries. This research interface is documented in the eukaryotic AND notebook; it does not make NucSyn a dependency of the production engine.
CERNAL evaluates the resulting constructs with its shared ViennaRNA folding adapter in the absence of triggers, with either trigger separately and with both triggers. The upstream design ranking and the downstream four-state ranking use different objectives, so we keep their scores and provenance separate. These are computational structure and energy comparisons; experimental ON/OFF behavior requires separate measurement. The producing version, configuration and inputs belong with each historical export; the current NucSyn release does not establish which version produced an earlier design pool. See the software attribution and preprint citation and the AND results.
Hard checks and thermodynamic evaluation
Figure M12
1 · Sequence checks
Length, motifs, homopolymers and declared AUG/frame rules.
Violations → retain reasons
2 · Model both states
Fold separate RNAs and their dimer.All free energies use kcal/mol.
Toehold: alone OFF → bound ON NOT: alone ON → bound OFF
3 · Evaluate and rank
Inspect structural proxies and score cutoffs under the declared profile.
Ranked design → experimental test
Sequence checks can reject a design before scoring. A dimer retains two RNA strands; concatenating them into one strand asks a different folding question. Passing these checks does not validate function or authorize sequence release.
The shared validator checks the configured switch-length limit (200 nt by default), prohibited restriction sites and homopolymers, and, when the architecture declares an AUG position, exactly one AUG with no downstream in-frame stop. It collects all detected violations. Those cheap sequence checks occur before final design scoring. They are distinct from later score cutoffs: a construction failure may never enter the scored-candidate table.
The current shared validator does not establish that an ensemble matches every intended base pair or that every initiation element sits in the required region. Structural models and family-specific checks provide additional information, but an emitted domain diagram is not itself a structural validation result.
In the recorded example, the best design's OFF accessibility proxy is 0.000945 and its calculated dynamic-range proxy is 485.9. The latter divides ON accessibility by the larger of OFF accessibility and 0.001. These are structural calculations, not measured fluorescence. The rejected scored candidate has leakage proxy 0.935, exceeding the configured 0.85 threshold. All formulas appear in the scoring chapter.
Gate designs and the states they must distinguish
At the heart of CERNAL
From RNA architecture to design evidence
Choose a gate to explore how recognition of an RNA input is intended to control protein output. The NOT- and AND-gate studies include design methods, reported computational results, candidate evidence and next experiments.
Start with the main findings, open the detailed methods as needed, or download the original NOT-gate report. Each architecture also has a rotatable illustration.
Design 01 / 06 · Single-input architecture
Toehold Gate
Generation 1 measured · generation 2 now in the labFigure M13
Interactive RNA architecture3D gate mRNA design
Enable JavaScript to explore this view.
Select an input state to explore the intended gate behavior.
The exposed toehold leads into a stem with an RBS loop and an AUG bulge, followed by the linker toward the payload. Input binding is intended to open the hairpin. Illustrative domain geometry, not a predicted tertiary structure. Drag or use arrow keys to rotate; use +/− keys to zoom.
One natural RNA in, one protein out. The classic toehold switch is an engineered
mRNA that stays untranslated until a chosen transcript appears. Its hairpin buries the ribosome-binding
site and the start codon; the trigger lands on an already-open 5′ toehold and unzips the hairpin from
there (introduction). Because the trigger is a natural transcript we cannot
edit, every design choice sits on the switch: which window of the target it reads, how long the toehold
and the stem are, and what follows the start codon.
One pipeline, two generations. The algorithm proposes a switch for every trigger
window, folds each candidate in two states, removes the ones that cannot work and ranks the rest
(method and algorithm). Generation 1 was
ordered and measured in E. coli, where the best design reached a measured
ON/OFF ratio of 31.8 against 35.4 for the best published mCherry switch of Green et al.
[1]. Generation 2 keeps the layout of the designs that worked and adds a refolding
step; all five of its candidates are in the lab now (examples).
200designs built per run
5designs ordered and measured
31.8best measured ON/OFF ratio
5generation-2 candidates now in the lab
The trigger is the mCherry mRNA and the reporter is GFP, so this is a
stand-in target rather than an endogenous E. coli sensing demonstration. Generation 1 carries
measured fluorescence; every generation-2 number is a computational prediction that ranks designs
against one another, and the experiment that will test all five is underway in the lab.
A circuit that distinguishes between cell states has to detect specific RNA markers. Regulating gene
expression at the level of translation is the least invasive way to do that: no extra
promoter, no transcription factor, no intermediate protein. The only requirement is that translation stay
blocked while the marker is absent and start once it appears.
In the OFF state the hairpin keeps translation initiation out of reach. The RBS sits in
the hairpin loop and the AUG sits in the stem facing a 3-nt bulge on the opposite arm,
forming a 3×3 internal loop. The 5′ end stays unpaired: this is the trigger-binding site
(TBS). Because the TBS is already unpaired, the trigger can form its first base pairs without opening a
helix first, which is what makes the design work. Once anchored, the trigger continues into the stem and
opens its base pairs one at a time until the hairpin is gone.
Throughout this report the two states are defined on two molecules: OFF is the switch folded on
its own, ON is the switch folded together with its trigger.
Figure M14
Mechanism · OFF and ON
An mRNA that carries its own off-switch
The hairpin buries the two things a ribosome needs to start: the ribosome-binding site (RBS) in its loop, and the start codon (AUG) in a bulge of its stem.
Trigger absentOFF
Trigger boundON
Redrawn from source Figure 1. The 5′ end is left unpaired: this is the trigger-binding site (TBS), and because it is already open the trigger can form its first base pairs without opening a helix first. Once anchored, the trigger continues into the stem and opens it base pair by base pair. Domain widths are illustrative; the pairing marks show the designed register, not a folding prediction. GFP is the reporter in our experiments; the output gene can be any coding sequence placed under this control.
The design reduces to a few numbers
Most of the molecule is fixed by a template, so what a design actually decides is where the
trigger window starts on the target transcript, how long the TBS is, and how long the main stem
is. Everything else - the leader, the loop carrying the RBS, the linker and the reporter - is
carried unchanged from one candidate to the next, which is what makes candidates comparable.
Figure M15
Architecture · domain map
The switch as a chain of domains, read 5′ to 3′
A domain is a named stretch of sequence with one job. The red bar marks the stretch the trigger pairs with.
Redrawn from source Figure 3, for a 26-nt TBS with a 6-nt main stem. The footprint is the TBS plus the main-stem 5′ arm; the GGG leader is excluded from every TBS and binding metric. The 3′ stem arm overlaps the first codon of the linker, so stem length and reading frame are not independent choices.
Table 1. What the template fixes, and what each design is free to change.
Part
Generation 1
Fixed or chosen
5′ leader
GGG, 3 nt; excluded from every TBS and binding metric.
Fixed
TBS
26 or 30 nt.
Chosen per design
Main stem
6, 9 or 12 nt.
Chosen per design
Stem under the RBS loop
External stem, 6 bp, 67–100% GC.
Fixed topology
Loop with the RBS
18 nt, AGACAAGAACAGAGGAGA, from Green et al. [1], Table S4.
Fixed
RBS-to-AUG offset
6 nt, following Green.
Fixed
Linker
21 nt, AACCUGGCGGCAGCGCAAAAG; its first codon overlaps the 3′ stem arm.
Fixed
Output gene
GFP in our experiments.
Fixed for testing
Trigger window
Cut from the full mCherry mRNA, length TBS + main stem.
Chosen per design
The scoring code rests on four assumptions. The rest of this report should be read against them.
Ensemble, not a single structure. The minimum-free-energy (MFE) structure is the
single most stable fold; the ensemble is every fold the molecule can adopt, each weighted by its
Boltzmann probability. Pairing is read from base-pair probabilities, because for an RNA of this size
the MFE fold is rarely the dominant one.
“Open” means unpaired, not reachable. A nucleotide counts as open when it is
unpaired with high probability. An unpaired RBS or AUG can still be physically unreachable if it sits
in a small internal loop, so the ON values are upper bounds on ribosome access.
Equilibrium only. No kinetics, no ribosome, no competing cellular RNA. Capture of
the trigger by the TBS is a kinetic process, and the model sees it only indirectly, through TBS
accessibility.
One binding register. The trigger is assumed to pair in a single antiparallel
register with the TBS and the 5′ arm of the main stem.
Propose, fold, filter, rank
The same five steps run in both generations: they produce candidates, remove the ones that cannot work,
rank the rest, and end with a small set for the lab. Folding uses ViennaRNA at 37 °C
[2]; sequences are proposed by NucSyn [9].
Figure M16
Design pipeline · both generations
Five steps, two of which change between generations
Target: the 711-nt mCherry coding sequence. Reporter: GFP. Folding temperature: 37 °C.
Inputs
A prokaryotic switch for E. coli, the topology and the length of every domain, the trigger as the full mCherry mRNA, the reporter and its fixed linker, the GGG leader and the 18-nt RBS loop.
Fix
Generate with NucSyn
Ten trigger windows of length TBS + main stem are cut from the target; each is designed from 20 random seeds, giving 200 designs per run. NucSyn returns them sorted by its own sim_score: how close the predicted fold is to the intended one, lower being closer.
Build
Validate
One fold per design yields three ensembles: the switch alone (OFF), the switch with its trigger (ON) and the trigger alone. Five checks have veto power; every other check attaches a warning and the design stays in.
Survivors are ordered by a single score: a product of five ensemble terms, so a design cannot buy its way out of one failing step with a strong one elsewhere.
Score
Shortlist
A small set is chosen by hand from the top of the ranked table, deliberately spanning a grid of TBS and stem lengths rather than five variations on one layout. Controls and an off-target check follow, then synthesis.
Select + order
Trigger windows per run
10
Random seeds per window
20
Designs built
200
Designs ordered
5
Redrawn from source Figures 2 and 5 and Algorithm 1. Generation 2 changes two lines of that algorithm: trigger windows come from CERNAL's own trigger-selection stage instead of from NucSyn, and the ranking score is replaced. Everything else - loop, linker, reporter and folding engine - is shared between the two generations.Figure M17
Validation · one fold, two outcomes
Five failures are fatal; everything else is reported and kept
Each design is folded once at 37 °C and then checked. Only one of the five vetoes is thermodynamic.
Veto - the design is dropped
It cannot work, so it never enters the ranked pool.
An in-frame stop codon in the reporter.
The RBS motif missing from the loop.
A reading frame that is not a multiple of three from the AUG.
An AUG or a stop codon in the spacer between the RBS and the AUG.
TBS accessibility in OFF below 0.50 - a mostly paired TBS cannot capture the trigger.
Warning - the design stays in the table
Recorded against the candidate and carried into the ranking.
Switching delta below 0.4.
An internal in-frame AUG.
RBS open probability below 0.70 in either state.
A helix of at least 4 bp over the AUG in ON.
A loop self-fold of at least 4 bp.
Trigger binding below 0.70.
A ΔG margin above −5 kcal/mol.
Redrawn from source Figure 6. In generation 2 the 0.50 TBS threshold became a flag rather than a veto, so flagged designs stay visible in the ranked table instead of disappearing from it. A warning is information for the person choosing what to order, not an automatic exclusion.
The score: one number, five factors, all of which must hold
From the partition function we read how likely each nucleotide is to be unpaired (TBS, RBS, AUG,
main-stem 3′ arm) and how much of the trigger footprint is actually paired with the trigger. From the MFE
energies we read ΔG alone, ΔG complex, the ΔG margin (complex minus alone) and ΔG binding. The
generation-1 score S_1 combines five of these:
Table 2. Each term is on a 0–1 scale and is measured on a different part of the molecule.
Term
What it measures
Where on the molecule
T_{\mathrm{off}} · OFF tightness
Mean of TBS open, stem paired and spacer paired, in the OFF state.
TBS, stem and spacer
\Delta_{\mathrm{sw}} · switching delta
Unpaired probability of the main-stem 3′ arm after the AUG, in ON minus OFF.
Main-stem 3′ arm
D(\Delta G_m) · driving force
A sigmoid of the ΔG margin: 1 / \left(1 + e^{(\Delta G_m + 2.5)/1.5}\right), with \Delta G_m = \Delta G_{\mathrm{complex}} - \Delta G_{\mathrm{alone}}.
Whole complex
B · binding
Fraction of the trigger footprint paired with the trigger.
Trigger footprint
P_{\mathrm{def}} · defect penalty
L_{\mathrm{block}}/8, where L_{\mathrm{block}} is the longest helix blocking the AUG or inside the loop, in base pairs; capped at 1.
AUG and loop
The terms are multiplied rather than added, because a switch has to work at every step.
Being strong in one term cannot make up for failing another: a design that binds its trigger perfectly
but never opens its 3′ arm scores near zero, which is the behavior we want from a ranking.
The second score is again a plain product, with five terms that follow the refold:
What each term replaces from the generation-1 score.
Term
Definition
Replaces
T_{\mathrm{off}}
As before, but over the TBS alone.
OFF tightness
O_{\mathrm{bind}}
Binding occupancy: the fraction of the ON ensemble with the trigger bound.
Driving force and binding
R_{\mathrm{up}}
Upstream release: mean unpaired probability of b*, a* and x* in ON.
Switching delta
F_{\mathrm{ref}}
Refold formation: the fraction of the ON ensemble that adopts the intended refolded structure.
New - generation 1 had no refold to measure
d
Defects: designed ON-state base pairs that fail to form, out of the designed pairs.
Defect penalty
GC content is weighted inside NucSyn's design objective, and the ranking then prefers the less GC-rich
designs. That is the mechanism by which the stem under the RBS loop came down to 50% GC.
Two generation-1 switches, and the generation-2 designs now in the lab
The generation-1 shortlist was chosen to cover a grid, not to maximize one score.
G1-1 to G1-4 vary TBS (26 versus 30 nt at a 6-nt stem) and stem length (6, 9 and 12 nt at a 26-nt TBS),
all from trigger family A. G1-5 uses a separate, non-overlapping window (family B) so the series does not
rest on a single target site. A 40-nt TBS was generated and then dropped: in its MFE fold, part of the TBS
paired with bases deep inside the linker for every trigger tested.
Figure M18
Generation 1 · measured in E. coli
Two of the five designs switched well; one did not switch at all
Bar height is the measured ON/OFF ratio. TBS and main-stem length in nucleotides below each bar; the two examined below are in red.
Redrawn from source Figure 8. These five designs are the ones the bacterial results list as R4-1 to R4-5; G1-n and R4-n are the same construct under the two reports' naming. A ratio depends on the baseline convention: the values above use the common uninduced-WT baseline, under which Green reaches 35.38 and G1-3 31.76. The IPTG-treated-WT baseline of the same acquisition gives 17.65 and 9.02. The ordering of the candidates is the same under both.
Table 3. All five ordered generation-1 designs; the two examined below are in bold. TBS open is averaged over the TBS without the GGG leader; RBS open is an unpaired probability.
Design
TBS / stem
Trigger
Sim. score
ΔG margin (kcal/mol)
TBS open
RBS open OFF / ON
AUG open ON
Trigger bound
Lab ON/OFF
G1-1
26 / 6 nt
A
6.91
−48.5
50.0%
87.8% / 94.6%
98.5%
99.2%
14.80
G1-2
30 / 6 nt
A
7.62
−54.6
59.0%
96.5% / 97.1%
99.0%
98.0%
0.87
G1-3
26 / 9 nt
A
6.98
−55.1
50.1%
96.7% / 97.1%
95.4%
99.8%
31.77
G1-4
26 / 12 nt
A
7.46
−60.4
52.1%
94.7% / 96.6%
96.0%
98.0%
5.68
G1-5
26 / 9 nt
B
8.33
−58.8
51.9%
96.5% / 95.6%
90.6%
99.7%
1.87
G1-3 - 26-nt TBS, 9-nt stem: the best measured switch
G1-3 reached a measured ON/OFF ratio of 31.77, close to the 35.4 of the best published
mCherry switch. Computationally it is unremarkable: a TBS open probability of 0.501, barely above the
0.50 gate, with 99.8% of its trigger footprint bound and a ΔG margin of −55.1 kcal/mol. Its external
stem, folded alone with its loop, has ΔG −8.7 kcal/mol at 83% GC, and the model predicts it stays closed
in both states. Whether that also hinders ribosome access is a hypothesis we have not tested.
G1-1 - the same window with a shorter stem
G1-1 differs from G1-3 in one parameter, the main stem, and reached 14.80. It sits
exactly on the gate: 0.50 over the 29-nt window including the GGG prefix, 0.498 over the TBS
alone. Its external stem is stronger still, ΔG −6.9 kcal/mol at 92% GC. The pair makes the point that the
predicted numbers did not separate these designs and the measurement did: both bind their trigger almost
completely, both sit at the same TBS accessibility, and they differ twofold in the lab.
Binding is not the limiting step; TBS accessibility is our best guess for what is.
At equilibrium at least 98% of the trigger footprint is bound in every candidate, with ΔG margins from
−48 to −60 kcal/mol, so no better-binding design can improve on that. Every candidate sits only just
above the 0.50 gate, and in G1-1 and G1-3 the TBS contains a repeat (GAUGUU) that can fold
back on itself. G1-2 had the most open TBS of the set, a 100%-GC external stem, and did not switch at
all - which is what pushed generation 2 towards a lower-GC stem.
Specificity. The designs were checked against the engineered mCherry mRNA, a recoded
version of the target that encodes the same protein. Its duplex energy with our switches was 43–52% of
the intended binding, with no dangerous match. That is a sequence-level check against one control, not a
survey of the transcriptome.
G2-1 - the generation-2 lead, in the lab with the other four
Generation 2 targets one specific thing: how easily the hairpin opens once the trigger has already
bound. The idea comes from Green et al. [1] - the best of their 168 first-generation
switches worked better than its hairpin thermodynamics predicted, because after the trigger opened part
of the stem the newly exposed bases paired with the downstream linker, and that extra fold pulled one more
base pair open (Supplement S14.1). In their mRNA-sensor design the effect was built in deliberately
(S14.2). We add that refolding mechanism to our switches.
Figure M19
Generation 2 · the refold
Three new domains downstream pay for opening three more base pairs
Domains with a heavier outline are new in generation 2: y, a*, x* and the x they pair with.
1 · No triggerOFF
2 · Trigger binds
3 · RefoldON
Redrawn from source Figure 10. The trigger pays to break the main-stem pairs; forming the new hairpin gives some of that energy back, so the activated complex sits lower in energy and three more base pairs open than the trigger could manage on its own. This is why x is kept low in GC: it pairs with an x* both before and after the refold, so it has to change partners cheaply. The energetic reading is an interpretation of the folding model, not a measurement.
Table 4. Every difference between the generations. Loop, linker, reporter and folding engine are shared.
Feature
Generation 1
Generation 2
Topology
Classic hairpin plus an external stem around the RBS loop; AUG in a 3×3 internal loop.
Same hairpin core, plus an x : x* helix and downstream y · a* · x* refold domains.
TBS
26 or 30 nt.
Fixed at 26 nt.
Main stem
6, 9 or 12 nt.
6 or 9 nt (a + b).
Stem under the RBS loop
External stem, 6 bp, 67–100% GC.
Inner stem, 6 bp, 50% GC.
Trigger windows
Taken by NucSyn from the mCherry mRNA (families A and B).
Taken from CERNAL's trigger-selection stage: mCherry 355–389, 246–277 and 251–282.
Free sequence choice
None beyond what NucSyn designs.
A 3-nt x filler: GAA, UCU, GUU, CUU or GAG.
TBS gate (open ≥ 0.50)
Hard fail: the design is dropped.
A flag: the design stays in the table.
Ranking score
Product of five terms.
Product of five terms including refold formation, with weights on GC.
All five generation-2 candidates were synthesized and are in the lab; G2-1 is the lead on
computational grounds. It uses the mCherry 355–389 window with a 9-nt
stem and x = GAA - the same TBS-and-stem layout as G1-3, the best generation-1 switch. It has
the highest score of the five (0.5816), a TBS that clears the gate at 0.615 rather than sitting on it,
very high upstream release (0.996) and refold formation (0.979), and a ΔG margin of −53.1 kcal/mol. Its
one known weakness is the accessibility of its trigger window inside the mCherry mRNA: 0.345,
against a gene average of 0.399. G2-2 is carried as the backup - the same
trigger and stem with x = UCU, hedging against unexpected behavior of GAA -
with an equally open TBS but lower refold formation.
Status: all five are in the lab now. G2-1 to G2-5 have been built and their ON/OFF
measurements in E. coli are running, against the generation-1 designs as the baseline.
Testing the whole set rather than the lead alone is what makes the comparison below possible: the
355-389 candidates and the 246-277 candidates differ mainly in trigger-window accessibility. The
values in the table are the predictions they are being tested against, so this section will carry
measured ratios rather than forecasts once the run is read out.
Table 5. All five generation-2 candidates, all of them now under test in the lab. Gate: TBS open ≥ 0.50. Switch GC is the GC content of the whole switch; the stem under the RBS loop is 50% GC in all five. ΔG margin in kcal/mol.
Candidate
mCherry window · stem · x
Score
TBS open
Switch GC
Upstream release
Refold
Gate
ΔG margin
G2-1 · lead
355–389 · 9 nt · GAA
0.5816
0.615
51.0%
0.996
0.979
PASS
−53.1
G2-2
355–389 · 9 nt · UCU
0.5691
0.616
51.0%
0.997
0.954
PASS
−55.3
G2-3
246–277 · 6 nt · GUU
0.3781
0.399
49.3%
0.988
0.991
FLAG
−49.4
G2-4
246–277 · 6 nt · CUU
0.3747
0.399
49.3%
0.985
0.986
FLAG
−48.2
G2-5
251–282 · 6 nt · GAG
0.3027
0.411
50.0%
0.900
0.868
FLAG
−48.1
What the computation establishes, and what the lab has to settle
The generation-2 experiment is running now, and until it reads out every generation-2 number
here ranks designs against one another. Refold formation of 0.979 is a share of a predicted
equilibrium ensemble, not a fraction of cells producing GFP, and the ON-state accessibility values are
upper bounds on ribosome access because an unpaired base can still be unreachable. The measurement that
will settle them is the same one generation 1 already has: an ON/OFF ratio in E. coli,
and it is being taken for all five candidates.
Table 6. Next steps, in order of value, and the decision each one resolves.
Next step
What it would settle
Finish the generation-2 run and measure the ON/OFF ratio of all five candidates.
Whether the refold helps at all, against the generation-1 baseline measured in the same system.
Compare the 355–389 candidates (G2-1, G2-2) with the 246–277 candidates (G2-3, G2-4).
Whether trigger-window accessibility predicts the measurement - the two groups differ mainly in that.
Calibrate the score against the measured fold change, then re-weigh or extend its terms.
Which of the five terms carries the predictive weight, and which can be dropped.
If the results are weak, sweep the stem under the RBS loop further towards an AU-rich, Green-like sequence (GUUAUGCAUAAC) and scan more trigger windows.
Whether stem stability or window choice is the binding constraint.
Equilibrium folding predicts structural preferences, not expression levels, trigger concentrations or
activation times. mCherry is a stand-in trigger, so these designs demonstrate the design route rather
than a validated biological sensor. The shared assumptions and their consequences are listed in
the model's assumptions.
Notation and source
Appendix A. Notation from the source report.
Symbol
Meaning
Units or range
TBS_size
Length of the trigger-binding site. Generation 1: 26 or 30 nt. Generation 2: 26 nt.
nt
a, b, x, y
Domains of the main stem: a = 6 or 3 nt and b = 3 nt (9- or 6-nt stem); x and y are 3 nt.
nt
a*, b*, x*
Reverse complements of a, b and x; b*a* is the main-stem 5′ arm.
nt
ΔG alone, ΔG complex
MFE of the switch alone (OFF) and of the switch cofolded with its trigger (ON).
kcal/mol
ΔG margin
ΔG complex − ΔG alone: net drive for the trigger to bind; more negative is better.
kcal/mol
ΔG binding
ΔG margin − ΔG of the trigger alone.
kcal/mol
TBS open (OFF)
Mean unpaired probability over the TBS in the switch alone; gate at 0.50.
0–1
Binding occupancy
Fraction of the trigger footprint (ensemble) paired with the trigger.
0–1
Switching delta
Open probability of the main-stem 3′ arm after the AUG, in ON minus OFF.
0–1
Upstream release
Opening of b*, a* and x* once the trigger is bound (ON).
0–1
Refold formation
Fraction of the ON ensemble that adopts the intended refolded structure.
0–1
Defects
Designed ON-state base pairs that fail to form, out of the designed pairs.
count
sim_score
NucSyn similarity score; lower is closer to the intended fold.
-
Gate / flag
TBS open (OFF) below 0.50: a hard fail in generation 1, a flag in generation 2.
-
Full sequences for all ten designs are listed in the appendix of the
source report.
Computational design study · wet-lab tests pending
Two natural RNA signals, one switch to design. Our bacterial AND-gate
generator builds two connected hairpins around recognition sequences taken from different
genes. One input, B, is intended to unlock the binding site for the other, A; A then opens
the translation-control hairpin. The challenge is to make that sequence of events depend
on both inputs, even though we cannot redesign the natural RNAs
(mechanism).
The model turns that challenge into a searchable design problem.
We find compatible trigger pairs, balance competing binding interactions, and test
each switch against all three OFF states. The design study identified
4,762 designs passing all 22 structural checks among 219,808
four-state evaluations. Its most useful finding was where the intended AND mechanism
breaks: A alone is the critical OFF condition
(study results).
We also asked whether refolding could delay A-only activation despite equilibrium binding.
We compared equilibrium occupancy with heuristic energy rises along searched
A-landing paths, in focused and broader design samples
(refolding-path analysis).
This motivates a complementary time-course experiment;
path energies do not establish activation rates.
301,440switch designs built
219,808designs evaluated in four states
4,762designs passing the complete check set
22structural checks per four-state design
These are computational study results, not measured protein
outputs. The worked application uses E. coli genes associated with perfluorooctanoic acid (PFOA) exposure;
no candidate from this two-input study has been validated in cells.
Data and study scope.
One hairpin controls translation; the other controls access to it
The downstream main hairpin hides the ribosome-binding site
(RBS) and start codon (AUG). The upstream
secondary hairpin hides the site that trigger A needs to bind.
Trigger B should open the secondary hairpin first, allowing A to invade the main one.
The two hairpins are adjacent, with no exposed binding spacer between them.
Sequence architecture and domain map.
State labels list A first, then B: 0 means absent and 1 means present.
The table states the intended behavior, which the folding model tests rather than assumes.
Table M1Four input conditions, three ways the gate must remain OFF.
State
Inputs
Intended structural response
Output
00
Neither
Both hairpins remain closed.
OFF
10
A alone
The secondary lock prevents A from opening the main switch.
OFF
01
B alone
The secondary hairpin opens; the main switch stays closed.
OFF
11
A and B
B releases A's binding site; A opens the main switch.
ON
In the diagrams, x names the shared recognition segment and
x* its reverse complement. A star denotes the complementary
domain; strands bind in opposite directions.
Figure M20
trigger B’s toehold, always single-stranded
trigger A’s site, x*
ribosome binding site
start codon
Interactive RNA architecture3D gate mRNA design
Enable JavaScript to explore this view.
Select an input state to explore the intended gate behavior.
Two adjacent hairpins form the inhibitory and translation-control regions. Input B reveals recognition for input A; both inputs are intended to release initiation. Illustrative domain geometry, not a predicted tertiary structure. Drag or use arrow keys to rotate; use +/− keys to zoom.Figure M21
Two natural inputs constrain one switch.
The shared segment x couples the two recognition regions;
an asterisk (*) denotes its reverse complement. The switch's x* helps form
the secondary lock and is also A's landing site. B binds upstream, A downstream;
RNA strands pair in opposite directions.
Full domain definitions.
The illustration shows the intended mechanism. For an actual sequence that passed
all checks, inspect the calculated structures below.
From CERNAL's accessible regions to annotated AND candidates
Gene selection and accessible-region discovery happen upstream.
Our module receives those regions and the reference transcripts. It searches within
the supplied regions, builds the trigger footprints required by this architecture,
and uses CERNAL's trigger scorer on any changed footprint.
Inputs, operations and output contract.
Figure M22Five steps from natural RNA regions to candidate switches.
Pass annotated candidates and measurements to shared ranking.
A match is not yet a complete trigger. We find reverse-complementary
segments of at least four nucleotides (nt) in accessible regions from different genes.
The shared recognition segment is called x; x*
denotes its reverse-complementary site in the switch. Reference-transcript flanks
supply the rest of each trigger, including when a match lies at a nominated region's edge.
Every resulting footprint must fit its transcript.
Algorithm 1, steps 1–3.
Both A/B role assignments and the declared scaffold geometries are considered.
We retain the maximal compatible overlap for each resulting
pair/role/geometry record, rather than building every shorter sub-overlap.
Each record keeps both triggers and their coordinates together.
Accessibility is scored by CERNAL's trigger-selection method.
Its joint-eight-nucleotide opening score evaluates whether a short seed can be
exposed together. A pair receives the lower of its two trigger scores, so both
partners must be accessible. Higher scores are preferred. The configured pair
limit is allocated across overlap lengths, then pairs are ranked within each
length. This retains rare lengths without claiming that longer overlaps work better.
Selection policy and recorded settings.
Figure M23
Why retain overlap-length coverage?
In the PFAS application, 73.5% of all 53,530 compatible window pairs have a
4-nt overlap and 98.1% have at most 6 nt. The reduced search allocates its pair
limit across length groups and ranks accessibility within each group, retaining
longer overlaps without assuming their biological advantage.
Pair-finding data and sampling.
Three contacts compete in the secondary stem: the internal
lock, A binding to its extended A-site, and B binding
to its B-site. A nucleotide cannot always satisfy all three contacts.
At each conflict we can preserve lock+A, lock+B, or A+B. The algorithm explores
these assignments at up to seven conflicts nearest x; farther conflicts are fixed
to lock+B. With seven variable conflicts and three choices at each, the maximum is:
Equation M53^7 = 2{,}187Secondary-stem assignments before construction screens; fewer when fewer conflicts vary.
In the close-up, k2 is B's invasion
segment; k2* and Sec_z name the two switch arms
of the secondary stem; ext is A's extension along that stem.
The three energies measure B binding, internal locking and A binding, respectively.
Figure M24
Build the secondary stem one conflict at a time.
In this three-base illustration, the middle position cannot satisfy A binding,
B binding and the lock simultaneously. Lines show retained pairings; gaps show
sacrificed contacts. Energies describe the complete illustrated duplexes and are
signed: more negative means stronger binding.
Assignment algorithm and numerical example.
Construction screens require B to have sufficient binding preference over the lock
and limit consecutive mismatches along its invasion route. Among survivors,
Pareto pruning removes a stem only when another is at least as
favorable in all three binding energies and better in at least one.
Energy definitions and release screens.
Figure M25
Remove dominated secondary stems.
This computed ggt/fadB example starts with 81 assignments
at four conflicts; 37 survive construction screens. Red points are the five
nondominated points on the two plotted axes, where lower-left
means stronger binding. The generator tests dominance in all three
energies, including B-site energy; the plotted front illustrates the rule.
Full Pareto definition and source data.
We then divide lock and A-site energies into three relative ranges each.
The strongest-lock row supplies up to three representatives,
one per occupied A-site range. Empty cells stay empty. This explores uncertainty
in A-site strength while prioritizing the lock.
The 3 × 3 selection diagram.
Figure M26
Retain a strong lock while exploring A-site strength.
B-mediated release is already constrained by the binding-preference and invasion
screens. The remaining two energy axes form this 3 × 3 grid. We keep up to one
representative in each occupied cell of the strongest-lock row. Empty cells
remain empty; no experiment yet selects a single best A-site range.
Selection rationale.
Table M2Three main-hairpin levers; the full model explains their sequence edits and rationale.
Lever
Choices
Design rationale
Upper3: top three stem pairs
AUA only
A weak upper stem, adopting Green's design finding.
Closure opposite AUG
Original sequence, plus representatives of 0, 1, 2 or 3 paired positions
Cover closure classes without sweeping every sequence.
Lower3: bottom three stem pairs
Original; an eligible G–U-compatible strengthening variant
Strengthen the lower lock while retaining a pairing route for A.
Figure M27
Three levers alter the main hairpin.
Upper3 changes its top three pairs; closure changes pairing opposite AUG;
lower3 changes the bottom three pairs. The diagram locates these edits and
illustrates their contacts. The reduced search uses the choices in the table
above; historical comparisons also tested alternatives shown here.
Sequence edits and design rationale.
The strengthening variant is kept only if the complete lower arm becomes stronger
and the sequence remains valid. The maximum combines three secondary stems,
five closures and two lower3 options:
Equation M63 \times 5 \times 2 = 30Maximum designs per selected pair/role/scaffold record, before sequence-dependent exclusions.
Fewer are built when bins
are empty or edits are ineligible. The pair limit controls how many such records
receive expensive folding.
Exact lever settings.
Validate the molecule before interpreting its fold. Construction
checks cover starts, reading frame, in-frame stops and shared sequence constraints.
Permitted repairs and strengthening edits are followed by another validation;
failed constructions retain their reasons.
Assembly and repair steps.
ViennaRNA 2.7.2 evaluates the intended ON state first. The study's early screen
required opening the initiation window to cost no more than 7.2 kcal/mol, using
Green's measured single-input library as a reference. Survivors are evaluated
in the three OFF states. A stopped calculation leaves later values unmeasured.
Screen provenance and historical funnel.
The 22 checks test a mechanism, not just a favorable energy.
They ask which sites are accessible, which intended stem pairs remain, and whether
A reaches its buried site or the main stem without B. All checks must pass before
a design belongs to the model's feasible set. Ranking is a subsequent decision.
Every threshold, definition and origin.
The folded switch includes both hairpins and the complete linker,
161 or 165 nt in the base scaffolds, with the relevant trigger strands added for
each state. The output coding sequence is outside this folding context. This
retains interactions across the gate at a manageable length, while leaving possible
effects of distant transcript regions unmodeled.
Folding boundary and assumptions.
The generator returns the switch sequence, input identities and coordinates,
domain boundaries, construction settings, four-state measurements and every check
outcome. CERNAL's shared scoring layer applies its eligibility rules, metric
directions, normalization and weights. Rejected candidates carry reasons rather
than a misleading rank.
Candidate handoff.
For comparison, ON is the joint opening probability of the complete
initiation window with both inputs. Worst OFF is the largest such
probability among 00, 10 and 01. The AND generator supplies these components and
their contrast in CERNAL's shared metric vocabulary. This differs from averaging
individual bases' accessibility. A shared score makes the calculation consistent;
measured data are still needed to establish how well it ranks biological function.
Metric definitions and ranking rationale.
Worked application: combine two PFAS-associated RNA inputs
The general algorithm can use different RNA signatures. Here we characterized three
E. coli gene pairs nominated upstream from the response to
PFOA, one member of the PFAS family. Input-gene nomination is separate
from switch design. These combinations are computational test inputs; their presence
has not been shown to detect PFOA specifically.
Input sequences and nomination records.
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.
Table M3Three nominated PFOA-associated gene pairs used for RNA-design characterization.
Fold changes are the supplied log2 values. A/B roles are assigned during gate design.
Gene pair
ggt log2 fold change
Partner log2 fold change
Role in the worked example
ggt × astC
+3.71
+6.21
Input-pair characterization
ggt × fadB
+3.71
+2.66
Input-pair characterization; secondary-stem Pareto example above
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.
Full-page nomination record and input sources.
This ggt/aldA example from the study passed all 22 checks.
The reading below is mean main output-arm accessibility: the
average unpaired probability across its 18 nucleotides, on a 0–1 scale.
It is not the probability of an entire open initiation window or a measured
fraction of active cells.
Sequences, domain colors and calculated structures.
MFE is the minimum-free-energy structure; the centroid
minimizes expected base-pair distance to the ensemble. In this example's 11 MFE,
the entire RBS-through-AUG region is unpaired. Compare the four input states in
the same viewer; the colors identify domains and trigger strands.
Figure M28
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
An actual feasible candidate, through the linker.
All folds use ViennaRNA 2.7.2, Turner 2004 parameters and 37 °C.
The outlined 27-nt initiation region contains the RBS loop, spacer and AUG.
Exact structure is that drawing's probability in its strand-order
ensemble; all open together is the whole region's unpaired
probability in the pooled ensemble. The 3D graph preserves calculated contacts;
its depth is illustrative. These are predicted structures, not measured expression.
Sequences, all 22 checks and reproducibility.
Table M4One feasible sequence: low output-arm accessibility with either input alone, higher with both.
State
Inputs
Mean output-arm accessibility
00
Neither
0.0695
10
A alone
0.0711
01
B alone
0.0695
11
A and B
0.5657
Unrounded values, all checks, model settings and sequences.
MFE is the minimum-free-energy structure; the centroid represents the ensemble
by base-pair distance. Neither single drawing replaces the ensemble measurements
used for feasibility.
The study found candidates—and exposed the A-only failure mode
The characterization study and the reduced generator have different scopes.
The study found 53,530 compatible window pairs, sampled 210 pairs and evaluated two
scaffold geometries, giving 420 pair-by-geometry contexts. Construction produced
301,440 designs; 219,808 reached four-state evaluation after the early ON screen;
4,762 passed all 22 checks. Those counts characterize that study, rather than promising
a fixed yield for new inputs.
Complete search funnel.
A alone—not the empty tube—was the decisive OFF reference.
State 10 limited initiation-window ON/OFF contrast in 99.3% of
the 219,808 four-state evaluations. Comparing only no inputs against both inputs
would miss that failure mode.
State-by-state comparison.
Table M5Which OFF state most resembles ON? Shares of 219,808 four-state evaluations, calculated separately for each measure.
Structural measure
00: neither
01: B only
10: A only
Initiation-window opening
0.1%
0.6%
99.3%
Main-stem opening
0.1%
0.7%
99.2%
Main-arm accessibility ratio
2.0%
4.7%
93.3%
Ensemble defect, binding loop to linker
7.8%
11.9%
80.3%
Input choice and sequence design answer different questions.
Trigger-pair context accounts for substantial variation, while matched designs
reveal what can be changed without replacing the inputs.
Variation partition.
Extra A binding has a cost. Stronger predicted A-site binding
tracked greater A-only occupancy, without a comparable ON-state benefit.
Within-input energy comparisons.
Main-stem edits trade OFF suppression against ON opening.
Upper3, closure and lower3 effects were compared within matched sequence contexts.
An OFF improvement did not guarantee preserved activation or complete feasibility.
Controlled lever comparisons.
Stronger A binding can undermine the secondary lock
A-site energy is the predicted duplex energy between A and the
inhibitory arm: more negative means stronger binding. Occupancy
averages the probability that a base in a specified switch segment is paired to A.
Within fixed input-pair and scaffold contexts, stronger A-site binding tracked
more A-only occupancy, while correlations with ON-state measures were near zero.
Figure M29
A-site energy tracks unwanted A-only binding more than ON benefit.
Spearman correlations are −0.701 for A on x* and −0.470 for A on the main arm;
four ON-state correlations range from +0.023 to +0.047. The negative occupancy
correlations mean that more-negative energy accompanies more pairing. A-only
measures cover 301,440 designs; ON and worst-OFF measures cover the 219,808
that passed the early ON screen. These are modeled associations.
Definitions, conditioning and interpretation.
Closing the main stem can reduce leakage and make activation harder
We compared sequence edits within matched input contexts to separate
design choices from changing the triggers. Closure improved OFF contrasts among
surviving designs, but the share clearing the ON screen fell from 82.9%
with an open bulge to 40.7% with the tightest closure.
Upper3, closure and lower3 comparisons.
Figure M30
OFF improvement and ON survival are different outcomes.
Left: matched-cell wins and losses for three closed bulges against the open bulge.
Right: ON-screen survival among all designs at each level. A favorable contrast
among survivors does not mean that the edit preserves activation or passes all checks.
Complete counts and study conditions.
Do the ON/OFF scores agree with measured switches?
We tested three scores against Green et al.'s measured single-input
libraries: 168 original switches (G168) and 13 forward-engineered switches
(G13). The arm-accessibility ratio compares ON with OFF; IED gain
subtracts ON ensemble defect from OFF defect; opening-cost contrast
subtracts ON opening cost from OFF cost. Larger values are intended to be better
for all three. Spearman correlation asks whether a score ranks
switches in the same order as measured ON/OFF; positive indicates agreement.
Figure M31
A plausible structural score needs an external benchmark.
Arm ratio and IED gain have positive correlations in both Green libraries;
opening-cost contrast has negative correlations. This supports retaining several
score components and testing their ranking, rather than assuming one energetic
contrast predicts expression. Single-input evidence does not validate our AND gate.
Published reference, formulas and numerical audit.
What the model changed in the next design search
Table M6Findings guide the search; they do not establish one experimentally optimal sequence.
What we learned
What we changed
A-only binding competes with the secondary lock.
Prioritize the strongest-lock row while retaining three A-site ranges and the B-release screens. Evidence and rationale.
Trigger context and main-stem edits both matter.
Preserve input-pair and overlap-length coverage, then compare a bounded lever grid within each selected context. Compiler decisions.
A plausible contrast score need not predict measured output.
Retain ON and worst-OFF components alongside rank. Green's single-input data support comparing IED improvement and arm-accessibility ratio with the opening-cost contrast. Corrected measured-data comparison.
The result is a smaller, explainable search—not a claim that one setting is universally best.
The strongest-lock row, three A-site bins and reduced main-stem grid encode the present
design preference while retaining alternatives that experiments can distinguish.
Full evidence-to-decision account.
What to test next, and what the computation establishes
Establish an equilibrium-selected four-state baseline.
Measure reporter output with neither input, A alone, B alone and both inputs, for
feasible candidates spanning trigger contexts and A-site strengths. Measure activation
and unwanted output over time. This tests whether the structural distinctions used
for selection predict a functional AND response.
Experimental roadmap.
Equilibrium and refolding paths expose a further design question.
In 306 designs selected for favorable A binding relative to the internal lock,
the mean probability that switch x* is paired to A without B was
nearly saturated (0.998–1.000), while A-landing path-energy
estimates spanned 4.5–25.2 kcal/mol. A broader lever-grid sample
of 3,113 designs spanned the full 0–1 pairing range; path estimates
varied mainly between trigger-pair/architecture contexts, while equilibrium
occupancy distinguished variants within them.
§8.6: sample selection, definitions and results.
Could designs with high equilibrium A-only binding still show low protein leakage over a biologically relevant time window?
Compare the baseline with a separately labeled challenge group, including A-only
equilibrium rejects with lower and higher path estimates, using four-state reporter
time courses and controls for trigger availability and input-pair identity.
These A-landing estimates are heuristic upper bounds, not measured
activation barriers, rates or proof of kinetic protection.
§9.6: complementary experimental tracks.
Equilibrium folding predicts structural preferences, not expression levels, input
concentrations or activation times. The selected trigger fragments and switch through
the linker do not represent every interaction possible in full cellular transcripts.
The PFOA-associated gene example demonstrates a design application, not verified
PFOA sensing specificity.
Assumptions, scope and validation limits.
Computational design study · wet-lab tests pending
CERNAL · AND gate · eukaryotes
Figure 1 · The gate at a glance
The protein is produced only when both input genes are present
The four states of the AND gate. With no trigger, only trigger A or only trigger B, one or both hairpins stay closed and the gate is OFF. With both triggers both hairpins open and the payload mRNA is translated to protein (ON). Each trigger is a window of a longer mRNA (dotted).
In brief
An AND gate placed upstream of an open reading frame (ORF) enables its efficient translation only when two triggers (mRNAs) are both expressed in the cell (Figure 1). The ORF it controls is the payload. It can be any coding sequence, chosen in the CERNAL app; a fluorescent reporter such as GFP is only the usual example. The gate reads two mRNAs, one from each of two genes. We designed such gates and used computational folding to predict which designs open for both triggers and stay closed otherwise (Figure 2).
The results below come from a development run in which both triggers were taken from one gene, SELE. A run with two different genes is the next step. In that run 116 of 126 designs scored 95 or more, and the best 8 open both hairpins in over 99% of structures with both triggers and stay at most 0.8% open in every state that should stay closed. No AND construct has been tested in a cell: every number on this page is a prediction that ranks designs against each other, not a measured result.
Why it matters
One RNA is rarely specific enough
Many cell types share a marker RNA, but fewer share a pair. An AND gate on two RNAs can switch a gene on in the cells we target and leave it off in the others.
Why it should work
Two hairpins block the scan
To initiate translation, the small ribosomal subunit has to scan to the start codon, and a stable hairpin close to the start codon stops it [6][7]. A trigger opens only the hairpin it pairs with, so two hairpins in series need both triggers.
Figure 2 · The method
Five steps, from the genes to the AND gate
The five steps of the method. Section 1 describes steps 1 to 3, Section 2 step 5 (score) and Section 3 step 4 (fold). The full procedure is Algorithm 1 in Section 4.
A toehold switch is an RNA sequence at the 5′ end of an mRNA, upstream of the start codon (AUG) of the gene to be expressed, that folds into a hairpin (prefix, toehold, stem, loop: Figure 3). In eukaryotic cells, translation starts when the small ribosomal subunit binds the 5′ end and scans along the 5′ UTR to the first AUG [6]. At the AUG the subunit recruits the large subunit and translation begins. A stable hairpin in the 5′ UTR can keep the subunit from reaching the AUG, and strong structures in the 5′ UTR are known to lower protein levels [6]. Single-molecule experiments with yeast factors refine this: the scanning subunit unwinds even very stable hairpins that are far from the start codon, but a stable hairpin next to the AUG pushes it backwards and delays the start of translation [7]. A trigger is a second RNA that pairs with the toehold, a single-stranded region on the 5′ side of the hairpin, and then unzips the stem, so that the subunit can scan on to the AUG. The idea comes from bacterial toehold switches [1]. In our design a Kozak sequence follows the hairpin, because it marks the start codon in eukaryotic mRNAs [4].
Figure 3 · A toehold switch
Closed hairpin without the trigger, open stem with it
One switch in front of the gene to be expressed.
A single toehold switch. Without its trigger (OFF) the stem holds the hairpin closed in the path of the scanning small subunit. The trigger, a window of a longer mRNA (dotted), first pairs with the single-stranded toehold, then with stem↑, which releases stem↓ and the loop (ON).
Figure 4 · The AND switch in 3D
Two hairpins in series: rotate the switch and add the triggers
Enable JavaScript to explore this view.
The AND switch in three dimensions: hairpin A, a linker, hairpin B, the Kozak sequence, the AUG and the payload. Choose which triggers are present to see which hairpins open. Illustrative domain geometry, not a predicted tertiary structure. Drag or use the arrow keys to rotate, Shift + drag to pan, the wheel or the + / − keys to zoom.
A single toehold switch responds to one trigger. To make the gate respond to two, we place two switches in series upstream of the payload ORF (Figure 4): hairpin A, at the 5′ end, is opened by trigger A, and hairpin B, next to the start codon, is opened by trigger B. The small subunit can scan through to the AUG only after both hairpins have opened, so only when both triggers are present. Hairpin B lies next to the start codon, where a hairpin matters most [7]; how much hairpin A adds is open (Section 8).
The trigger is a window of a real gene
Each trigger is a natural mRNA of the cell, so we cannot change it. The gate has two inputs, so we use two genes: trigger A is a window of the first gene and trigger B a window of the second, each about 20 to 40 nucleotides long. We build each hairpin around its window (Figure 5).
Figure 5 · Trigger windows
A window is a small part of a whole gene
One window from each input gene, and the part of each hairpin it pairs with.
Each window is read by the toehold and the first half of the stem (stem↑) of one hairpin.
What closed and open look like
Two things matter for the design (Figure 6): the two hairpins must open together, and each must open only for its own trigger.
Figure 6 · The construct
One piece of RNA, two intended states
Hairpin A comes first (5′), hairpin B second, the payload last.
No triggerOFF
Both triggersON
The fused construct. The optional spacer is 15 to 20 nucleotides long. The model folds only the first 30 nucleotides of the payload, which is not drawn. Box widths are illustrative, not a predicted structure. Dotted lines: each trigger is a window of a longer mRNA.
Notation (Table 1)
Table 1. Notation.
Symbol
Meaning
Units or range
A, B
The 5′ and 3′ hairpin of the fused construct; trigger A targets hairpin A, trigger B hairpin B.
–
stem↑, stem↓
The 5′ and 3′ sides of a hairpin stem, each L nt long.
L = 12, 15, 18 or 21 nt
open nucleotide
A stem↑ nucleotide not paired to a stem↓ nucleotide of its own hairpin in a structure.
–
kh(s)
Number of open nucleotides of hairpin h in structure s.
nt
rh(s)
Longest run of consecutive open nucleotides of hairpin h in s; rh ≤ kh.
nt
Open
Expected joint opening of both hairpins, each relative to its own stem.
0–1
ON, OFF
100 · Open of the +A+B state; 100 · the largest Open over alone, +A, +B and the controls.
%
control
The same construct folded with two mismatched triggers in place of A and B.
–
tied group (*)
Designs within the seed-to-seed noise of the best ON − OFF.
–
ΔG
Ensemble free-energy gain of the +A+B complex over the most stable state that lacks a trigger.
kcal/mol
s
One structure of the molecules in a state: one pattern of base pairs.
–
P(s)
Equilibrium probability of structure s (Equation 5).
0–1
E(s), G, Z
Energy of s; free energy of the whole ensemble, G = −RT ln Z; partition function (sum of exp(−E/RT) over all structures).
kcal/mol (Z has no unit)
R, T
Gas constant and temperature.
0.001987 kcal mol⁻¹ K⁻¹; 310.15 K (37 °C)
N
Number of structures drawn per state.
2,000 (fewer if ViennaRNA returns fewer)
𝔼[·]
Average over structures, each weighted by P(s).
–
p(i, j)
Probability that nucleotide i is paired with nucleotide j, from the exact partition function.
0–1
τ95
95th percentile of the seed-to-seed change of ON − OFF over all designs.
points
Galone, G+A, G+B, G+A+B, GA, GB
Free energy of the ensemble of: the switch alone; the switch with trigger A; with trigger B; with both; trigger A alone; trigger B alone.
kcal/mol
2. Method: how we score a design
Sections 2 to 4 describe the method: how a design is scored (this section), how its structures are sampled (Section 3) and the full algorithm (Section 4). Section 5 applies it to the gene SELE.
A nucleotide of the 5′ arm of a stem (stem↑) is open when it is not paired with a nucleotide of the 3′ arm (stem↓) of its own hairpin. A hairpin counts as open when a long run of such nucleotides is open together. For each hairpin we measure its longest open run (r) as a fraction of its stem length (L).
The gate works only if both hairpins are open in the same structure. In each structure we therefore take the smaller of the two fractions, and average it over all the structures the RNA can adopt:
Equation 1. Here s is one structure of the molecules in a state; P(s) is its probability at equilibrium (Equation 5); rh(s) is the longest run of open nucleotides of stem↑ of hairpin h (A or B) in s; Lh is the length of that stem; 𝔼[·] is the average over all structures, each weighted by P(s); min takes the smaller of the two fractions. Open runs from 0 (shut) to 1 (both stems fully open).
Figure 7 · States
Which states define ON and which define OFF
ON comes from the +A+B state. OFF is the largest value over the other states and the wrong-trigger controls.
Both ON and OFF are values of Open, taken from different states (Figure 7). ON is Equation 1 when both triggers are present. OFF is the largest value among the states that should stay closed: no trigger, only A, only B, and five wrong triggers. The score is ON minus OFF (Equation 2), so a good gate is close to 100 points (all quantities: Table 2).
Equation 2. Here Openstate is Equation 1 for one state: alone (no trigger), +A or +B (one trigger) or +A+B (both). Control is the same quantity for the states with wrong triggers, taking the largest. ON and OFF are percentages (0–100).
Why the difference and not the ON/OFF ratio. A ratio is the usual measure of a switch, but here it is not informative enough. Most designs have a high ON and a very low OFF: 122 of the 126 designs have ON above 95%, the median OFF is 1.6%, and the eight best have an OFF below 0.8%. With an OFF this close to zero the ratio is large for nearly every design, and it is set by the tiny OFF value, whose differences between designs are smaller than the sampling noise (below). Among the eight best designs the ratio runs from about 130 to 200, although their ON − OFF scores differ by less than 0.5 points. The difference ON − OFF stays on a 0 to 100 scale in the same units as the noise, so it separates designs only where the difference is real.
With only A present, hairpin A is supposed to open. The smaller fraction is therefore high only if hairpin B also opens. That is cross-talk, and it counts as OFF. Each hairpin is measured against its own stem length, so a short stem cannot hide a half-open longer one.
Controls
To check that the gate answers only to its own triggers, each design is also folded with five wrong trigger pairs. A wrong trigger is a real trigger of another design that shares at most 8 nucleotides in a row with either real trigger. The control value is the largest Open among them.
Screens before folding, and the tied group
We drop a pair of triggers when they share a stretch longer than 8 nucleotides, because one could then open the other’s hairpin. We drop a construct when it has an extra AUG ahead of the payload, because the small subunit could start translating at the wrong AUG. An optional spacer is the best of a seeded pool of 150 random A/U-rich sequences, 15 to 20 nucleotides long.
Two designs whose scores differ by less than the noise of the method cannot be told apart. We measured that noise by sampling every design twice, with different seeds. A design belongs to the tied group (marked *) when its score is within τ95 of the best, as in Equation 3:
Equation 3. Here (ON − OFF)i is the score of design i; (ON − OFF)best is the highest score; τ95 is the 95th percentile, over all designs, of the seed-to-seed change, the absolute difference of ON − OFF between the two runs. Here τ95 = 0.50 points.
We take the 95th percentile so that the band covers almost all of the noise. The median would be too narrow: half of the designs change by more than 0.14 points on a repeat, so differences well within the noise would be called real. The 5th percentile would be narrower still. The 95th is a conventional choice, not derived from the data; a higher percentile would make the tied group larger.
Inside the tied group the designs are listed by ΔG, the free energy gained when both triggers bind:
Equation 4. Here Galone is the free energy of the switch with no trigger; G+A and G+B that of the switch with trigger A or trigger B bound; G+A+B that of the switch with both bound; GA and GB that of trigger A or trigger B folded alone. Each is the free energy of the whole ensemble in kcal/mol (G is defined in Equation 5). The min picks the most stable arrangement with at most one trigger bound: nothing bound, only A bound or only B bound. ΔG is negative when binding both triggers is favourable; the more negative, the stronger the pull towards the open state.
Table 2. What each quantity measures.
Quantity
Definition
How obtained
Open
Mean over structures of min(rA/LA, rB/LB): both stems open at once, each relative to its own length.
2000 sampled structures per state.
ONmin
100 · Open of the +A+B state.
Sampled.
OFF
100 · the largest Open over alone, +A, +B and the controls.
Sampled; the same rule as ON.
E[k]
Exact mean number of open nucleotides of one hairpin, L − Σ p(i, j) over stem↑ × stem↓.
Exact pair-probability matrix; used only to check the sampler.
How one state is sampled and measured. The dashed box is only a consistency check and never enters a score.
Equation 1 is an average over structures, so we need the structures themselves. A table of pairing probabilities cannot give it, because it does not say whether two events happen together. We therefore draw whole structures from the equilibrium and measure each one, in the five steps of Figure 8.
1. Strands
A state is a set of molecules folded together. The strands are written with “&” between them, which tells ViennaRNA they are separate molecules. The order in which they are written changes how well the sampler works: for some complexes one order draws structures of far too high energy. So we write the strands so that each trigger sits next to the hairpin it targets, and we map every structure back to the normal order afterwards (Table 4).
Table 4. Strand order used to sample each state.
State
Strands
Written first
Why
alone
fused
fused
A single strand.
+A
fused & trigger A
trigger A
Hairpin A is the 5′ hairpin.
+B
fused & trigger B
fused
Hairpin B is the 3′ hairpin.
+A+B, controls
fused & trigger B & trigger A
trigger A
The other order, fused & A & B, makes the two duplexes cross (a pseudoknot) and trigger B cannot bind.
2. The partition function
ViennaRNA adds up the weight of every structure the strands can take. This sum is the partition function Z. It uses the same energy model, temperature (37 °C) and salt (0.1 M, no magnesium) as every other fold in the pipeline. One extra ViennaRNA option is switched on only for sampling: it makes the sampler count each structure once. It changes no energy.
3. Drawing structures
ViennaRNA draws a structure s with probability:
\displaystyle P(s) = \exp\left(-\frac{E(s) - G}{RT}\right),\qquad G = -RT\ln Z
(5)
Equation 5. Here E(s) is the energy of structure s (kcal/mol); Z is the partition function, the sum of exp(−E/RT) over all structures the strands can form; G is the free energy of the whole ensemble; R is the gas constant (0.001987 kcal mol⁻¹ K⁻¹) and T the temperature (310.15 K, 37 °C).
We draw 2000 structures per state. Each draw is independent, so a plain average over the draws estimates the ensemble average. Rarely ViennaRNA skips a draw, so every average divides by the number of structures it actually returned.
ViennaRNA’s random numbers are shared by the whole process. The pipeline sets the seed and draws under a lock, so the same seed always gives the same draws. Seed 1 gives the reported values. A second run with seed 1001 measures the noise: ON − OFF changes by 0.14 points (median) and 0.50 points (95th percentile). That band defines the tied group.
4. Measuring each structure
Each structure is read as a dot-bracket string. For each stem↑ we count the open nucleotides and find the longest open run (Section 2), and take the smaller of the two run fractions, which is 1 only when both stems are fully open.
5. Expectation
Open is the expected value 𝔼[·] of that value over the structures (Equation 1). The mean over the draws is our estimate of it. ON and OFF follow from the Open of the relevant states (Equation 2).
Check, outside the score
The same partition function also gives the exact chance that each nucleotide is paired. From it we know the exact mean number of open nucleotides in a stem:
Equation 6. Here kh is the number of open nucleotides of stem↑ of hairpin h; Lh its length; p(i, j) the probability that nucleotide i of stem↑ is paired with nucleotide j of the stem↓ of the same hairpin. The sums run over stem↑ and stem↓ of that hairpin.
The sampled mean of kh must agree with it within a tolerance that shrinks with the number of draws:
Equation 7. Here k̄h is the mean of kh over the N structures actually drawn and sdh their standard deviation; σv = 4 and ε = 0.02 nucleotides are the declared tolerance settings. ε stops a nearly closed state, whose draws have sd = 0, from failing on one rare opening.
A state passes when both hairpins satisfy Equation 7 and the sampled Open does not exceed its bound from the exact matrix. In this run 126 of 126 designs passed in every state, and 629 of 630 control states. We only report the check. Nothing is dropped, corrected or redrawn when it fails. The exact table cannot give Open itself, so the check covers single nucleotides, not runs.
4. Method: the algorithm
Part 1 of Algorithm 1 ranks single switches and part 2 fuses the best of them into AND constructs. Every name in monospace is a setting of the run, and the value in brackets is the value used. With the same inputs, settings and seeds the run gives the same numbers.
Algorithm 1 · From a table of single switches to ranked AND constructs
Input: the NucSyn [5] ranked table of eukaryotic toehold-switch designs for the target gene (SELE here); seeds σ = 1 and σ + 1000; the settings below. Output: AND constructs ranked by ON − OFF, each with ON, OFF, ΔG, the sampler checks and a tied-group flag.
Load. Take the first N_DESIGNS rows of the table. Each row is a switch sequence, the position of each of its domains (toehold, stem↑, loop, stem↓, Kozak) and its trigger.
Sample. For each design, draw N structures with seed σ for the switch alone and for the switch with its trigger. With one hairpin, Open = 𝔼[r]/L (Equation 1 with a single hairpin).
ON and OFF. ON = 100 Open(switch + trigger). Wrong triggers: pick N_CONTROLS real triggers of other designs in the table that share at most CONTROL_MAX_OVERLAP_NT nucleotides of identical sequence with the true trigger, and sample the switch with each. Control = the largest of their Open values, ×100. OFF = max(100 Open(alone), Control).
Check and noise. Check every sampled state against Equations 6 and 7. Repeat steps 2 and 3 with seed σ + CHECK_SEED_OFFSET; the change of ON − OFF between the two seeds is the noise. Rank by ON − OFF, with the tied group (Equation 3) first.
Part 2 · AND constructs
Pool. Take the top AND_TOP_N single switches of the part 1 ranking.
Pairs. Form every ordered pair (first = hairpin A, second = hairpin B), without pairing a design with itself. Reject a pair when the longest identical run, or the longest complementary run (G·U wobble allowed up to WOBBLE_MAX_FRACTION), between its two triggers is longer than FAKE_MAX_SEQ_OVERLAP_NT.
Fuse. For each remaining pair and each variant (no spacer, spacer): cut hairpin A just before its Kozak and hairpin B just after its prefix, and join them, with the spacer between them for the spacer variant. The spacer is the sequence of a seeded pool (SPACER_CANDIDATE_POOL_SIZE random, A/U-rich sequences of SPACER_MIN_LENGTH to SPACER_MAX_LENGTH nucleotides, none containing AUG) with the smallest complementary run against both toeholds and both triggers; ties go to the lower GC, then to pool order. Check that every moved domain still reads its original sequence.
Start-codon screen. Drop every construct that has an AUG before the start of the second hairpin’s stem↓ (EXCLUDE_UPSTREAM_AUG), because it would compete with the payload’s start codon.
Measure each remaining construct.
For each state in {alone, +A, +B, +A+B}: write the strands as in Table 4 and draw N structures with seed σ. For each structure and each hairpin h, count the open nucleotides kh and the longest open run rh (open: stem↑ nucleotide not paired to a stem↓ nucleotide of its own hairpin). Openstate is the mean of min(rA/LA, rB/LB) over the structures actually returned (Equation 1).
Wrong triggers: N_CONTROLS control states, each with two mismatched triggers (real triggers of other designs sharing at most CONTROL_MAX_OVERLAP_NT nucleotides with the true ones), folded in the +A+B layout and sampled like the other states. Control is the largest Open among them.
ON = 100 Open+A+B and OFF = 100 max(Openalone, Open+A, Open+B, Control) (Equation 2).
Check every sampled state against Equations 6 and 7. Record the result; never change a value because of it.
Repeat a to c with seed σ + CHECK_SEED_OFFSET. The seed-to-seed change is the difference of the two ON − OFF values.
Compute ΔG (Equation 4) from the partition functions of the states and of the two triggers alone.
Rank and tie. Rank the constructs by ON − OFF. Take τ95 over all constructs, mark every construct that satisfies Equation 3 as tied, and list the tied group by ΔG, most negative first.
5. Example: the gene SELE
As a worked example we ran the method on SELE, the gene we are currently testing in the lab. In this development run both triggers are windows of SELE (Section 8 lists the limits). The single switches come from the NucSyn [5] table for SELE; the 150 best of them are scored first and the 20 best of those are fused in pairs (Algorithm 1).
The accessibility of SELE
A trigger can open a hairpin only if it is itself free to pair. We therefore start from the accessibility of the SELE mRNA: for a window of 30 nucleotides, the mean probability that its nucleotides are unpaired, from local folding of the whole mRNA with ViennaRNA (RNAplfold, window 200 nucleotides, 37 °C). Figure 9A shows it along the mRNA, with the windows of the 20 best single switches in red. 18 of the 20 lie above the mean accessibility of SELE (0.44), but not always on the highest peaks (the maximum is 0.76, the highest of the 20 is 0.61), because the single switches are ranked by ON − OFF and not by accessibility. Figure 9B shows this for the 150 best single switches: accessibility and rank are not correlated (Spearman ρ = 0.03), the 20 best have a mean accessibility of 0.524 against 0.516 for the others, and the 9 switches with an accessibility above 0.65 rank between 48 and 128.
Figure 9 · Accessibility of SELE
The best switches are not at the highest accessibility peaks
A
B
A, accessibility along the SELE mRNA (mean probability of being unpaired over the 30-nucleotide window that starts at each position). Red dots: the windows of the 20 best single switches; some switches share a window. B, accessibility of the trigger window of each of the 150 best single switches against the rank of the switch by ON − OFF (1 = best, NucSyn run T3); the 20 best are red.
How the designs were obtained
We started from 800 possible constructs. 40 paired a trigger with itself, 184 had triggers that were too alike, and the extra-AUG screen removed 450 of the 576 that were left. The remaining 126 designs were sampled and scored as in Sections 2 and 3.
126designs scored
8in the tied best group
99.7%median ONmin
1.6%median OFF
These are predictions from one development run, with both triggers taken from SELE (Section 8 lists the limits). ON and OFF rank designs; they are not measured expression.
Most designs open fully and stay shut
116 of the 126 designs score 95 or more (Figure 10). With both triggers the stems open together in 99.7% of structures (median); without them they stay almost shut (median OFF 1.6%).
Figure 10 · ON against OFF
117 of 126 designs have ON above 99%; OFF is below 3% for 113
All designs; each axis is zoomed on the bulk, with a break where needed.
Counts behind the plot
Group
Designs
ONmin − OFF ≥ 95
116 / 126
ONmin − OFF < 95
10 / 126
lowest ONmin
55.2%
highest OFF
12.6%
Each circle is one design. A few have a high OFF. Red circles are the tied best group.
A spacer makes little difference
59 of the 126 designs have a spacer. The median ONmin − OFF is 97.9 with one and 98.1 without, and 2 of the 8 tied designs have one (Figure 11). A spacer is not needed to reach the top.
Figure 11 · Spacer
Designs with and without a spacer are almost the same
Median ON, OFF and ON − OFF.
Exact values shown above
Variant
Designs
In tied group
Median ONmin, %
Median OFF, %
Median ONmin − OFF
no spacer
67
6
99.7
1.55
98.1
spacer
59
2
99.7
1.62
97.9
Bars: median of the designs without and with a spacer; whiskers: interquartile range.
The best designs cannot be told apart
8 designs lie within τ95 = 0.50 points of the best (99.37 points), so they form the tied group (Equation 3). They use 6 different hairpin pairs (6 designs without a spacer, 2 with one). By this score any of them is as good as the others (Figure 12). Inside the group the order follows ΔG (Equation 4), which only breaks ties.
Figure 12 · Ranking
The curve is flat at the top and drops in the last designs
ONmin − OFF of all designs, best first.
Summary of the curve
ONmin − OFF
Value, points
best
99.37
median
98.03
worst
54.24
noise band (95th percentile)
0.50
designs ≥ 95
116 / 126
The red band is the noise. Designs inside it are not clearly worse than the best.
What sets OFF: one input opens the other hairpin
In none of the 126 designs is OFF set by the bare construct or by a wrong trigger. In 56 designs it is set by +A (trigger A also partly opens hairpin B) and in 70 by +B (trigger B partly opens hairpin A). The wrong triggers reach at most 1.8% (median 0.15%). So the hairpins are well protected from unrelated RNAs. The weak point is a pair’s own triggers acting on each other’s hairpin (Figure 13).
Figure 13 · What sets OFF
One trigger opening the other hairpin is the leak
Number of designs whose OFF is set by each state.
Exact counts shown above
State setting OFF
Designs
Share
+A: trigger A also opens hairpin B
56 / 126
44.4%
+B: trigger B also opens hairpin A
70 / 126
55.6%
a wrong-trigger control
0 / 126
0.0%
alone (no trigger)
0 / 126
0.0%
Wrong-trigger controls are folded the same way but never held the maximum.
The ten best designs
Table 5. The ten best designs. * marks the tied group. ΔG orders the tied group only.
#
Single ranks A + B
Spacer
LA / LB, nt
ONmin, %
OFF, %
ONmin − OFF
ΔG, kcal/mol
1
1 + 5 *
none
18 / 18
99.5
0.52
98.95
-17.6
2
4 + 5 *
none
12 / 18
99.5
0.63
98.91
-16.5
3
20 + 5 *
spacer
12 / 18
99.8
0.63
99.20
-16.2
4
20 + 5 *
none
12 / 18
99.9
0.50
99.37
-16.1
5
19 + 11 *
spacer
12 / 12
99.9
0.75
99.19
-14.3
6
5 + 11 *
none
18 / 12
99.9
0.79
99.09
-14.3
7
5 + 13 *
none
18 / 18
99.7
0.52
99.22
-13.7
8
13 + 5 *
none
18 / 18
99.5
0.60
98.94
-13.6
9
5 + 7
none
18 / 21
99.7
0.85
98.87
-16.2
10
20 + 7
none
12 / 21
99.8
0.91
98.86
-16.7
Structure of the top design
In the top design, binding of both triggers turns two closed stems into two open ones (Figure 14).
Figure 14 · Structures
Design 1: singles 1 + 5, no spacer
Predicted structure of the top design, alone and with both triggers.
Top: the fused switch alone, both stems closed (OFF). Bottom: both triggers bound, both stems open (ON). Each circle is a nucleotide coloured by domain.
All 126 designs
Table S1. All designs, best first. “OFF set by” names the state with the largest Open.
#
Single ranks A + B
Spacer
LA / LB, nt
ONmin, %
OFF, %
ONmin − OFF
ΔG, kcal/mol
OFF set by
1
1 + 5 *
none
18 / 18
99.5
0.52
98.95
-17.6
+B
2
4 + 5 *
none
12 / 18
99.5
0.63
98.91
-16.5
+B
3
20 + 5 *
spacer
12 / 18
99.8
0.63
99.20
-16.2
+A
4
20 + 5 *
none
12 / 18
99.9
0.50
99.37
-16.1
+A
5
19 + 11 *
spacer
12 / 12
99.9
0.75
99.19
-14.3
+A
6
5 + 11 *
none
18 / 12
99.9
0.79
99.09
-14.3
+A
7
5 + 13 *
none
18 / 18
99.7
0.52
99.22
-13.7
+A
8
13 + 5 *
none
18 / 18
99.5
0.60
98.94
-13.6
+B
9
5 + 7
none
18 / 21
99.7
0.85
98.87
-16.2
+A
10
20 + 7
none
12 / 21
99.8
0.91
98.86
-16.7
+A
11
5 + 7
spacer
18 / 21
99.7
0.90
98.84
-14.0
+A
12
20 + 11
none
12 / 12
99.6
0.80
98.83
-14.3
+A
13
20 + 13
none
12 / 18
99.3
0.48
98.82
-13.7
+A
14
5 + 11
spacer
18 / 12
99.8
0.99
98.80
-14.0
+A
15
1 + 7
none
18 / 21
99.7
0.89
98.78
-16.5
+A
16
4 + 7
none
12 / 21
99.8
1.11
98.70
-15.8
+B
17
5 + 13
spacer
18 / 18
99.2
0.57
98.66
-13.6
+A
18
20 + 14
none
12 / 21
99.5
0.88
98.64
-13.1
+B
19
5 + 3
spacer
18 / 12
99.8
1.21
98.63
-16.1
+A
20
1 + 7
spacer
18 / 21
99.4
0.84
98.61
-15.2
+B
21
20 + 4
spacer
12 / 12
99.8
1.25
98.57
-19.1
+A
22
5 + 14
none
18 / 21
99.5
0.90
98.56
-13.1
+A
23
20 + 3
none
12 / 12
99.9
1.34
98.56
-20.1
+A
24
20 + 7
spacer
12 / 21
99.8
1.29
98.54
-16.2
+B
25
4 + 3
spacer
12 / 12
99.7
1.15
98.51
-14.4
+A
26
13 + 5
spacer
18 / 18
99.8
1.37
98.44
-17.9
+B
27
5 + 19
spacer
18 / 12
99.8
1.39
98.43
-16.1
+A
28
18 + 5
spacer
12 / 18
99.8
1.39
98.42
-10.9
+B
29
5 + 8
spacer
18 / 12
99.8
1.42
98.40
-15.2
+A
30
13 + 1
none
18 / 18
99.5
1.11
98.38
-14.1
+A
31
1 + 11
none
18 / 12
99.6
1.19
98.37
-14.3
+B
32
4 + 20
none
12 / 12
99.7
1.34
98.35
-18.6
+B
33
20 + 4
none
12 / 12
99.7
1.35
98.35
-19.3
+A
34
5 + 4
none
18 / 12
99.6
1.27
98.33
-15.8
+A
35
1 + 4
none
18 / 12
99.5
1.15
98.33
-19.3
+A
36
1 + 8
none
18 / 12
99.7
1.37
98.33
-16.1
+A
37
20 + 8
spacer
12 / 12
99.9
1.62
98.31
-16.1
+B
38
5 + 3
none
18 / 12
99.7
1.43
98.29
-16.3
+A
39
5 + 8
none
18 / 12
99.8
1.55
98.28
-15.5
+A
40
4 + 19
none
12 / 12
99.7
1.44
98.28
-18.7
+B
41
20 + 18
spacer
12 / 12
99.7
1.47
98.28
-13.3
+A
42
20 + 8
none
12 / 12
99.9
1.66
98.28
-16.1
+A
43
19 + 4
none
12 / 12
99.8
1.53
98.27
-19.4
+B
44
13 + 20
none
18 / 12
99.8
1.56
98.27
-14.4
+B
45
17 + 11
spacer
15 / 12
99.8
1.55
98.26
-14.3
+B
46
4 + 8
spacer
12 / 12
99.5
1.26
98.24
-15.9
+B
47
20 + 3
spacer
12 / 12
99.9
1.64
98.23
-19.2
+A
48
20 + 17
none
12 / 15
99.9
1.64
98.23
-15.7
+A
49
13 + 4
spacer
18 / 12
99.8
1.55
98.23
-14.8
+B
50
20 + 19
spacer
12 / 12
99.8
1.59
98.22
-19.2
+A
51
19 + 11
none
12 / 12
99.7
1.45
98.22
-14.3
+B
52
13 + 4
none
18 / 12
99.4
1.23
98.21
-13.7
+A
53
4 + 19
spacer
12 / 12
99.6
1.35
98.20
-14.4
+A
54
17 + 18
spacer
15 / 12
99.8
1.62
98.16
-14.1
+A
55
20 + 19
none
12 / 12
99.7
1.57
98.16
-20.1
+A
56
5 + 18
spacer
18 / 12
99.8
1.62
98.15
-13.8
+A
57
4 + 18
none
12 / 12
99.4
1.26
98.15
-12.9
+B
58
1 + 13
none
18 / 18
99.4
1.22
98.14
-13.7
+B
59
1 + 3
none
18 / 12
99.6
1.45
98.12
-20.1
+A
60
5 + 18
none
18 / 12
99.9
1.80
98.10
-13.8
+A
61
4 + 8
none
12 / 12
99.7
1.62
98.07
-15.4
+B
62
19 + 5
none
12 / 18
99.8
1.74
98.05
-17.7
+B
63
20 + 17
spacer
12 / 15
99.7
1.69
98.04
-15.5
+A
64
20 + 11
spacer
12 / 12
99.4
1.37
98.02
-13.1
+B
65
5 + 20
none
18 / 12
99.7
1.69
98.01
-17.0
+A
66
5 + 20
spacer
18 / 12
99.8
1.82
98.00
-15.3
+A
67
5 + 17
spacer
18 / 15
99.9
1.88
98.00
-15.4
+A
68
1 + 17
none
18 / 15
99.5
1.54
97.97
-15.7
+A
69
13 + 1
spacer
18 / 18
99.6
1.61
97.97
-15.9
+B
70
4 + 18
spacer
12 / 12
99.5
1.53
97.95
-11.6
+A
71
1 + 19
none
18 / 12
99.5
1.59
97.91
-20.0
+A
72
5 + 17
none
18 / 15
99.8
1.90
97.91
-15.5
+A
73
4 + 7
spacer
12 / 21
99.5
1.64
97.88
-15.7
+B
74
1 + 14
none
18 / 21
99.0
1.13
97.87
-13.1
+B
75
5 + 19
none
18 / 12
99.7
1.80
97.85
-16.3
+A
76
18 + 17
spacer
12 / 15
99.7
1.89
97.85
-12.4
+A
77
5 + 14
spacer
18 / 21
99.0
1.14
97.82
-12.9
+A
78
4 + 3
none
12 / 12
99.4
1.62
97.79
-18.7
+B
79
4 + 11
none
12 / 12
99.2
1.44
97.78
-14.3
+B
80
20 + 18
none
12 / 12
99.8
2.00
97.78
-14.4
+A
81
4 + 17
none
12 / 15
99.5
1.69
97.77
-15.0
+A
82
5 + 1
none
18 / 18
99.5
1.79
97.71
-17.0
+A
83
17 + 5
spacer
15 / 18
99.9
2.17
97.69
-15.8
+B
84
17 + 4
spacer
15 / 12
99.9
2.20
97.68
-15.8
+B
85
18 + 5
none
12 / 18
99.5
1.87
97.68
-13.6
+B
86
18 + 4
none
12 / 12
99.3
1.67
97.65
-13.6
+B
87
4 + 17
spacer
12 / 15
99.6
1.92
97.65
-14.4
+A
88
19 + 18
spacer
12 / 12
99.8
2.23
97.59
-13.7
+B
89
4 + 1
none
12 / 18
99.4
1.85
97.58
-19.0
+B
90
1 + 18
none
18 / 12
99.4
1.87
97.55
-14.2
+A
91
1 + 18
spacer
18 / 12
99.5
2.05
97.44
-12.3
+A
92
4 + 13
none
12 / 18
99.0
1.66
97.34
-13.6
+B
93
18 + 8
none
12 / 12
99.7
2.45
97.23
-13.8
+B
94
17 + 4
none
15 / 12
99.8
2.57
97.22
-15.9
+B
95
18 + 8
spacer
12 / 12
99.9
2.70
97.20
-14.5
+B
96
18 + 19
spacer
12 / 12
99.8
2.65
97.13
-14.5
+B
97
18 + 3
none
12 / 12
99.9
2.74
97.11
-13.8
+B
98
17 + 5
none
15 / 18
99.7
2.58
97.10
-15.9
+B
99
1 + 8
spacer
18 / 12
99.7
2.73
97.01
-16.1
+B
100
4 + 14
none
12 / 21
98.6
1.68
96.96
-12.9
+B
101
18 + 17
none
12 / 15
99.6
2.65
96.90
-13.8
+B
102
18 + 19
none
12 / 12
99.7
2.89
96.80
-13.8
+B
103
1 + 17
spacer
18 / 15
99.5
2.74
96.79
-15.5
+B
104
19 + 18
none
12 / 12
99.8
3.04
96.77
-13.9
+B
105
1 + 3
spacer
18 / 12
99.5
2.70
96.77
-20.0
+B
106
18 + 4
spacer
12 / 12
99.6
2.87
96.76
-11.7
+B
107
18 + 3
spacer
12 / 12
99.6
2.88
96.72
-14.5
+B
108
18 + 1
spacer
12 / 18
99.6
2.94
96.65
-15.1
+B
109
19 + 4
spacer
12 / 12
99.8
3.15
96.64
-19.1
+B
110
1 + 19
spacer
18 / 12
99.4
2.82
96.63
-19.9
+B
111
19 + 5
spacer
12 / 18
99.7
3.13
96.62
-17.4
+B
112
19 + 1
none
12 / 18
99.5
3.12
96.41
-20.7
+B
113
17 + 11
none
15 / 12
99.7
3.60
96.15
-14.3
+B
114
18 + 1
none
12 / 18
99.5
3.88
95.62
-14.1
+B
115
4 + 11
spacer
12 / 12
99.5
4.09
95.41
-14.2
+B
116
4 + 13
spacer
12 / 18
99.5
4.32
95.15
-13.5
+B
117
17 + 1
none
15 / 18
99.7
4.83
94.85
-16.4
+B
118
17 + 18
none
15 / 12
99.7
4.89
94.85
-14.4
+B
119
4 + 14
spacer
12 / 21
99.0
4.19
94.78
-12.9
+B
120
20 + 13
spacer
12 / 18
95.7
1.44
94.27
-12.5
+B
121
19 + 1
spacer
12 / 18
99.5
5.30
94.20
-16.7
+B
122
20 + 14
spacer
12 / 21
93.0
1.27
91.73
-12.0
+B
123
1 + 11
spacer
18 / 12
90.0
0.98
89.00
-10.9
+B
124
17 + 1
spacer
15 / 18
99.7
12.61
87.04
-10.9
+B
125
1 + 13
spacer
18 / 18
71.1
0.94
70.17
-10.4
+B
126
1 + 14
spacer
18 / 21
55.2
0.94
54.24
-10.0
+B
6. Try it: input in, gate out
Interactive simulation
Pick a candidate, add the inputs. Each bar is a stored result from the run for the chosen candidate; nothing is computed in your browser. Toggle the two trigger RNAs and read the joint opening of the stems.
7. Development of the model
Each definition on this page replaced an earlier version that gave a plausible but wrong number.
The order of the strands. The wrong order gave draws with energy far above the ensemble’s. The strands are now ordered so that each trigger sits next to its hairpin, and every state is checked against the exact table.
A sum hides a half-open gate. An earlier ON added the two open runs and divided by both stems. It gave 50% when only one hairpin opened, which is not an AND. We now take the smaller of the two in every structure and divide each by its own stem. The sum is still listed. The two orders agree here (rank correlation 0.985, 19 of the top 20 in common).
Competing start codons. A construct with an AUG before the second hairpin has a start signal ahead of the payload’s. The screen removed most of the possible pairs (Section 5).
8. What we can conclude, and what is open
The designs have not been tested. The run shows useful trade-offs and a shortlist of 8. It is not an experimental demonstration of an AND gate.
Model and sampling
The model predicts structure at equilibrium only. It has no kinetics, no trigger concentration and no translation. Open is a structural stand-in for “the small subunit can scan through to the payload’s AUG”. It assumes the two-trigger complex has formed, and that hairpin A gates the payload, without modelling it.
Open assumes that the small subunit can scan through the opened region while the trigger is still paired to it, and that hairpin A acts as a barrier. Neither is established.
The sampler check covers single nucleotides, not the longest runs. The tie band counts only sampling noise. Model error is larger, so designs just outside the group are not clearly worse.
Evidence and scope
No experiment, and no sensitivity analysis over temperature, salt, the number of controls or the 8-nucleotide cap. Each design has at most 5 wrong-trigger pairs as controls, with no scrambled triggers and no known reference construct. We did not assess trigger self-structure, cross-talk between the triggers themselves, or the openness of the stem↓ sides.
The designs recombine a few hairpins from a pre-selected pool, at 37 °C and 0.1 M salt without magnesium, and are not calibrated to a cell. The CERNAL application generates its own single switches, so its numbers are not expected to match this run on the same genes.
One gene stands in for two. In this development run both triggers are windows of the same gene. Two windows of one transcript can share sequence context that two different genes would not, so the cross-talk between the inputs, and the ranking, may change with two genes.
Next steps
Next, we will test the designs experimentally and repeat the design with two different input genes (Table 6).
Table 6. Next steps.
Step
What it will tell us
Run the pipeline on two different input genes
Whether the ranking, the tied group and the main leak hold when the two triggers come from separate transcripts.
Build the tied designs and measure ON and OFF in cells
Whether the predicted ranking, and our claim that the best designs are interchangeable, hold in the cell.
Test whether a bound trigger lets the subunit through
Whether translation still starts while a trigger is paired in the 5′ UTR.
Repeat the scoring under other conditions
Which conclusions depend on the settings we chose: temperature, salt concentration, number of controls and the overlap limit.
Screen trigger pairs for cross-talk before folding
Whether the main leak, one trigger opening the other hairpin, can be designed out.
9. Tools and references
Table 7. Tools and sources.
Tool or source
Role
Interpretive boundary
ViennaRNA
Partition function, stochastic backtracking, base-pair probabilities and free energies.
Thermodynamic prediction at 37 °C and 0.1 M salt; no kinetics.
Eukaryotic open-5′ toehold switch designs for SELE, designed with the NucSyn platform.
Its own metrics are carried through, not re-derived.
Python / NumPy
Parallel sampling, measurement and the report.
Reproduction needs the same inputs, seeds and settings.
References
[1] Green, A. A., Silver, P. A., Collins, J. J., & Yin, P. (2014). Toehold switches:
de-novo-designed regulators of gene expression. Cell, 159(4), 925–939. https://doi.org/10.1016/j.cell.2014.10.004
[2] McCaskill, J. S. (1990). The equilibrium partition function and base pair binding probabilities
for RNA secondary structure. Biopolymers, 29(6–7), 1105–1119. https://doi.org/10.1002/bip.360290621
[3] Lorenz, R., Bernhart, S. H., Höner zu Siederdissen, C., Tafer, H., Flamm, C., Stadler, P. F.,
& Hofacker, I. L. (2011). ViennaRNA Package 2.0. Algorithms for Molecular Biology, 6, 26. https://doi.org/10.1186/1748-7188-6-26
[4] Kozak, M. (1987). An analysis of 5′-noncoding sequences from 699 vertebrate messenger RNAs.
Nucleic Acids Research, 15(20), 8125–8148. https://doi.org/10.1093/nar/15.20.8125
[5] Landau, Y., Arbel, M., Benarroch, D., Klein, J. Y., Moree, E., & Tuller, T. (2025).
Computational design of toehold switches in eukaryotes and prokaryotes for efficient post-transcriptional
control. bioRxiv. https://doi.org/10.1101/2025.01.15.633215
[6] Neumann, T., & Tuller, T. (2022). Modeling the ribosomal small subunit dynamic in
Saccharomyces cerevisiae based on TCP-seq data. Nucleic Acids Research, gkac021. https://doi.org/10.1093/nar/gkac021
[7] Wang, J., Shin, B.-S., Alvarado, C., Kim, J.-R., Bohlen, J., Dever, T. E., & Puglisi, J. D. (2022).
Rapid 40S scanning and its regulation by mRNA structure during eukaryotic translation initiation.
Cell, 185(24), 4474–4487. https://doi.org/10.1016/j.cell.2022.10.005
Proof of concept: NOT gate repressed GFP in 7 of 8 designs in E. coli
Four layouts on two mCherry windows passed every model criterion. Across 569 bacterial variants, strong average binding was common, but an uninterrupted block over the initiation region was much harder to achieve. Two of the four passing layouts sit within sampling noise of the ON threshold.
569variants scored
20designs exported
8designs ordered
4variants passing all three tests
These are results reported in the supplied design document. The values rank computational designs, and this page does not independently reproduce the run. In E. coli the eight built designs were then measured: the trigger repressed GFP in 7 of 8, a proof of concept that the NOT gate works (Results, Figure 7C). mCherry is a stand-in target, not an endogenous E. coli sensing demonstration.
Select an input state to explore the intended gate behavior.
The gate mRNA contains a UTR arm, RBS, paired spacer, AUG, post-AUG recognition arm and GFP reporter. The trigger pairs with the UTR arm, spacer and post-AUG arm around the fixed initiation elements. Illustrative domain geometry, not a predicted tertiary structure. Drag or use arrow keys to rotate; use +/− keys to zoom. Domain order follows the supplied NOT-gate report. The illustration represents the intended mechanism; it does not display a scored candidate fold.
A translational inverter built from antisense recognition
A classifier that must respond when a marker falls needs an inverting element. This switch is intended to translate its reporter when the trigger is absent and repress it when the trigger is present. Placing the logic at translation avoids adding a transcriptional regulator or protein intermediate. The challenge moves into sequence selection: a natural trigger cannot be redesigned, so the adjustable variables are the trigger window’s position, length and partition, together with the RBS–AUG spacer width.
The bacterial switch is 5′ UTR arm → RBS → spacer → AUG → post-AUG arm → GFP. Complementary segments recognize disjoint slices of one trigger window in antiparallel orientation; the switch’s 5′ arm recognizes the trigger window’s 3′ end. The intended duplex restricts internal 30S binding around the Shine–Dalgarno site and start codon. RBS AGGAGGA and AUG are fixed; the intervening spacer is complementary to the trigger, so its width is a design variable.
Figure M33
Figure 1b · E. coli
One switch, two intended states
Antisense arms and the paired spacer surround the RBS and start codon.
Trigger presentOFF
E. coli switch: trigger present, translation intended to be OFFThe switch runs from 5 prime at left to 3 prime at right. Its trigger runs antiparallel, from 3 prime at left to 5 prime at right. The trigger pairs with the UTR arm, spacer and post-AUG arm. The RBS and AUG are gaps in the intended duplex. This is an architectural illustration, with arbitrary domain widths, not a predicted or measured RNA structure.
Trigger absentON
E. coli switch: trigger absent, translation intended to be ONThe switch runs from 5 prime at left to 3 prime at right. The trigger is absent. A schematic ribosome at the initiation region indicates intended reporter translation. This is an architectural illustration, with arbitrary domain widths, not a predicted or measured RNA structure.
Intended antisense-occlusion mechanism, redrawn from source Figure 1b. Domain widths are illustrative. Pairing marks show the designed register, not a folding prediction or measured structure. RBS and AUG are gaps in the intended duplex; the spacer is complemented and can pair with the trigger. The designs await experimental testing.
The source describes a continuous antisense register interrupted by fixed initiation elements, which occupy internal gaps held by flanking recognition segments. This is a proposed architecture. The exact relationship between these gaps and the computational contiguity criterion is discussed under source limitations.
From a natural transcript to a ranked shortlist
Geometry notation: W is the recognition-window length in nucleotides; LUTR is the upstream recognition-arm length, Llink the human linker length, Lsp the bacterial spacer length, and Lpost the bacterial post-AUG arm length. Here W describes a recognition footprint, not RNAplfold's folding-window parameter.
Windows slide along the 711 nt mCherry CDS in 3 nt steps, using lengths of 40, 50, 70 and 100 nt. Each is partitioned exactly into a leader arm, the 7 nt RBS, a 5–9 nt spacer, the 3 nt start codon and an in-frame post-AUG arm. The RBS and AUG consume 10 nt of the window without being designed as complementary segments.
The post-AUG arm is a multiple of 3 nt, and leftover nucleotides go to the leader arm. Two sequence failures are fatal and checked first: an AUG inside the spacer, where appropriate Shine–Dalgarno spacing could capture initiation, and an in-frame stop in the post-AUG arm.
An AUG upstream of the RBS carries no penalty, because bacterial initiation is directed by the Shine–Dalgarno site rather than scanning. Leader–RBS complementarity is deliberately not rejected with a string-match test: the report estimates that a random 25 nt leader matches at least five of seven SD positions about 56% of the time. RBS occlusion is instead evaluated by folding.
The scan builds 99, 88, 72 and 58 surviving windows at lengths 40, 50, 70 and 100 nt: 317 in total. Cumulative rejections are 113 for an in-frame stop and 61 for an AUG in the spacer. Stage 1 keeps up to three windows per length, at most 12, before expanding their layouts into 569 scored variants.
The shared pipeline figure, complete host comparison, hard-filter table and cross-target survival chart appear in the human NOT-gate panel. The scoring and reference methods below apply to this bacterial run as well.
One state for the switch alone, another for switch plus trigger
The same ViennaRNA engine at 37 °C evaluates both hosts. ON is the switch folded alone. OFF is the switch cofolded with its trigger window. The report assumes one antiparallel register across the footprint: fixed initiation elements consume their corresponding positions in the window rather than being skipped. Intended recognition arms use disjoint trigger slices, so they do not compete for the same nucleotides.
The minimum free energy (MFE) structure is one most-stable fold. Ensemble scoring instead weights possible folds by their Boltzmann probabilities. A large average pairing probability can arise from many different partial contacts without a continuous duplex ever forming; this motivates a separate contiguity test. The model is at equilibrium and does not include kinetics, helicase unwinding, ribosome occupancy or competition with the native transcript’s own structure.
Stage 1: rank a single layout, then retain diverse windows
After hard filtering, each surviving window is folded once on a default layout: a 6 nt linker in human designs, or an 8 nt spacer with the remaining sequence split evenly in E. coli. The folded slice contains the leader, fixed core and first 30 nt of coding sequence. Within each window length, a less-negative MFE ranks as a more open start region.
A greedy overlap rule permits at most 0.50 overlap with an already retained window of the same length. The human run retains up to 12 windows per length: 43 for AREG and 48 for SELE. The bacterial run retains up to 3 per length, a cap of 12 windows in total. This computational cap causes the largest reduction in the search; it is not a pass/fail judgment.
Stage 2: enumerate layouts and score every variant
Each selected window expands into every legal layout: all allowed linker lengths for human switches, and a sweep of leader-arm and spacer lengths for bacterial switches. Nothing is discarded at this scoring stage. Each variant is folded alone and with its trigger, using the actual reporter sequence but only through the first 60 nt of coding sequence. The report assumes more distant reporter structure has little influence on initiation; this truncation has not been tested.
Observable
Definition
How obtained
pbound
Mean probability that a base of the designed footprint pairs specifically to the trigger in OFF. Only inter-strand terms count; switch self-pairing contributes nothing.
Exact partition-function probabilities; no Monte Carlo sampling noise.
popen
Mean probability that a footprint base is unpaired in the switch-alone ON state.
Exact partition-function probabilities.
fON
Fraction of ON samples with one uninterrupted open initiation run: all 9 Kozak + AUG bases in humans, or at least 10 bases inside the 15–19 nt bacterial core.
500 Boltzmann samples of the ON state.
fOFF
Fraction of OFF samples with a long trigger-paired run on both human arms, or a run of at least 10 bases across the bacterial core. Self-pairing scores zero.
500 Boltzmann samples of the OFF state. The human run-length threshold is not specified in the source.
off_run_nt
Median longest inter-strand run inside the bacterial core. It distinguishes scattered contacts from a run just short of the cutoff.
Sampled OFF structures; its distribution has not been tabulated in the report.
ΔGbind
Ensemble free energy of the complex minus those of the separate switch and trigger, in kcal/mol.
Computed from the same ensemble; compared after normalization within each window length.
In the equations below, Gcomplex, Gswitch and Gtrigger are ensemble free energies of the paired complex and the two separate RNAs. Nopen and Ntrigger-paired run count sampled structures meeting the host-specific ON and OFF criteria above; 500 is the number of computational samples per state.
The event counted in each fraction is host-specific. Average pairing reports how much of the footprint is held; the run fraction reports how often an uninterrupted block occurs. A switch that folds shut by itself could have low translation even without trigger, defeating the intended inversion. The model therefore treats strong but scattered contacts as insufficient evidence of initiation blocking.
Binding energy scales with window length: the report gives roughly −150 kcal/mol for a 100 nt trigger and −60 kcal/mol for a 40 nt trigger. Its ranking compares normalized binding within each length class; it does not supply the normalization formula. Binding strength alone cannot establish a functional switch: the source gives −72 kcal/mol as an example of favorable binding that may still consist of scattered contacts.
Three pass/fail tests, followed by a strict ranking
The number of tests passed defines tier 0–3. A failure flags a variant; it does not remove it. The asymmetric thresholds intentionally prioritize a reliable OFF state, while allowing a partly open ON state at the cost of dynamic range. Giving ON more weight is a planned refinement.
The indicator 1[condition] contributes one when its condition is met and zero otherwise.
Rows are sorted by tier first, then by popen, then by binding energy normalized within window length. This is a priority sequence, not a weighted blend. Openness also has a configured floor of 15%, but it is in ranking mode: it contributes no tier point and excludes no design. The floor was calibrated on the +30 nt percentile and is a stale reference for the four-distance average now reported.
Exported is different from scored or ordered
“Scored” means every variant was folded and evaluated. “Exported” means selected from the ranking. “Ordered” means selected for synthesis and wet-lab testing. The human export uses a second greedy pass: at most five rows per window length, no overlap above 0.50 with an already retained trigger across any length, and no linker above 24 nt. This leaves 66 rows, sometimes fewer than five in a length class. The bacterial export contains the top 20 overall, without a per-length cap; its ordered candidates 1–4 come from that export, while 5–8 were selected from all 569 variants to cover other positions and lengths.
Length-matched openness, averaged across four distances
An absolute folding energy alone does not define an open initiation region. At each of +30, +40, +50 and +60 nt past AUG, the candidate’s initiation-region MFE is compared with expressed reference genes of the same host and matched leader length. Its percentile is the share of reference genes that fold more tightly than the design. The four percentiles are averaged without weighting; the report includes several distances because expression predictors use regions wider than the start codon and no single distance is assumed correct.
Here Pd denotes the reference-gene percentile for a fold extending d nucleotides past AUG. These percentiles are distinct from joint opening probabilities such as P20 in the trigger-selection model.
The human reference joins PaxDb whole-organism abundance, taxon 9606, to GENCODE v50 protein-coding transcripts. It drops transcripts whose CDS does not begin with ATG, keeps one transcript per gene with MANE Select preferred, and takes the top 80% by expression: 15,156 transcripts. Leader lengths are rounded into 5 nt buckets; MFEs are cached for each bucket and coding distance.
The bacterial reference is built similarly from PaxDb abundance and genome annotation, requiring an upstream gap at least as long as the candidate’s leader. Longer leaders therefore have fewer available reference genes; 100 nt candidates are compared with fewer genes than 50 nt candidates. In the human run, the 65 nt prefix creates leader buckets of roughly 85–125 nt that were folded specifically for the project, and its sequence effect is not separated from its effect on the comparison bucket.
A synonymous negative control remains a computational check to finish
Each target is recoded synonymously: the protein stays the same while its nucleotides change. A specific switch should not bind the corresponding recoded window. In the human run the implemented check is only a Hamming-identity filter at 0.70. The folding-based, wobble-aware rescore has not been run; a window at identity 0.69 could still engage its control through, for example, G·U pairing. The filter removes 0 AREG and 51 SELE windows.
Folding-based negative controls and screens against other host transcripts remain to be completed for both hosts. mCherry is not an endogenous E. coli transcript; this run demonstrates the search rather than a completed sensing circuit.
The bacterial bottleneck is a continuous OFF block
In 379 of 569 variants, 67%, fOFF is exactly zero, even though mean binding is often near 0.90. The remaining 190 have a nonzero OFF fraction; this does not mean they pass the 0.90 OFF threshold. Average binding and an uninterrupted initiation block answer different questions.
Figure M34
Figure 4b · E. coli OFF contiguity
Two thirds have no qualifying OFF run in the samples
Among all 569 scored variants, this split distinguishes zero from nonzero fOFF.
379 of 569 E. coli variants have an OFF fraction of zeroA 100 percent stacked bar shows 379 variants, 66.6 percent, with f OFF equal to zero, and 190 variants, 33.4 percent, with f OFF greater than zero. The latter category is not the number passing the f OFF threshold of 0.90.
Exact counts shown above
Sampled OFF fraction
Variants
Share
fOFF = 0
379 / 569
66.6%
fOFF > 0
190 / 569
33.4%
Redrawn from source Figure 4b. A nonzero OFF fraction does not establish a pass at fOFF ≥ 0.90. The report describes mean binding near 0.90 while contiguous pairing often fails; it provides no aggregate count passing the bacterial binding threshold. These are computational observations from 500 samples per state.
The source proposes a structural explanation: the 15–19 nt core contains the fixed RBS and AUG segments, which interrupt its deliberately complementary spacer. This could make a 10 nt continuous paired run hard to form. That interpretation has not been tested, and the off_run_nt distribution needed to examine it has not been tabulated.
The eight ordered candidates expose the trade-off
Table 4. All eight ordered E. coli candidates against mCherry. Layout is UTR arm / RBS / spacer / AUG / post-AUG arm, in nt. ON% = fON; OFF run% = fOFF.
#
Reported CDS position
W, nt
Layout, nt
ON%
popen
pbound
OFF run%
open% at +30 / +40 / +50 / +60 nt
ΔG, kcal/mol
1
156
50
22 / 7 / 9 / 3 / 9
56
0.51
0.93
100
2.3 / 1.6 / 6.2 / 18.4
−66
2
159
100
75 / 7 / 9 / 3 / 6
21
0.40
0.97
100
2.4 / 4.4 / 10 / 20.1
−154
3
156
50
24 / 7 / 7 / 3 / 9
21
0.45
0.94
100
4.0 / 1.5 / 5.7 / 17.4
−68
4
156
50
23 / 7 / 8 / 3 / 9
64
0.49
0.93
96
3.8 / 1.6 / 6.2 / 18.4
−64
5
174
50
16 / 7 / 6 / 3 / 18
35
0.57
0.90
0
19.7 / 25 / 27.5 / 54.6
−69
6
240
40
12 / 7 / 9 / 3 / 9
33
0.59
0.84
100
42.2 / 28.7 / 58.8 / 81.7
−57
7
297
100
78 / 7 / 6 / 3 / 6
38
0.35
0.90
0
1.0 / 2.2 / 4.0 / 8.6
−131
8
312
70
30 / 7 / 6 / 3 / 24
1
0.40
0.94
100
4.5 / 4.2 / 6.9 / 14.4
−107
Candidates 1–4 pass all three tests. Candidates 1, 3 and 4 are layouts of the same 50 nt window at reported position 156: their leader/spacer partitions are 22/9, 24/7 and 23/8 nt, producing ON fractions of 56%, 21% and 64%. Candidate 2 uses a 100 nt window at position 159; it binds most strongly in this set, at −154 kcal/mol and pbound = 0.97, while opening only 21% of the time. Both 21% results are within a percentage point of the 20% floor and inside the reported sampling variation.
Candidates 5–8 each pass two tests and were ordered to map alternative compromises. Candidates 5 and 7 bind adequately under the mean-pairing test but never meet the contiguous OFF event in the samples. Candidate 6 has a 100% OFF fraction but mean binding of 0.84. Candidate 8 has pbound = 0.94 and a 100% OFF fraction, yet just 1% ON: a mostly closed switch can score well for OFF without useful inversion.
Candidates 7 and 8, at positions 297 and 312, illustrate later-region alternatives: opening with poor contiguity, or contiguity with almost no opening. Scored windows extend only through position 397 of the 711 nt target; the source provides no evidence about farther 3′-proximal triggers. Positions are reproduced as reported, without assuming an unspecified zero- or one-based coordinate convention.
Reference openness and the ON test also diverge in bacteria
Averaged over the four coding distances, candidate open% values are 7.1, 9.2, 7.1, 7.5, 31.7, 52.9, 4.0 and 7.5. Six of eight fold more tightly than over 90% of their length-matched references, while seven of eight pass the ON test. Candidate 7, for example, passes ON despite percentiles of only 1.0–8.6. None is excluded by openness in the reported ranking mode; making 15% a hard test would remove six of these eight candidates.
For the corresponding AREG and SELE results, candidate table and full cross-host run counts, see the human NOT-gate panel.
The partition changes the prediction
One 50 nt window at mCherry position 156 yields ON fractions from 21% to 64% when only the leader/spacer partition changes.
The bacterial run therefore reinforces the human result: the trigger window alone does not determine the ON prediction. For AREG, shortening the UTR arm by increasing the linker to the permitted maximum changes a nearly closed start into a tier-3 design. Both hosts motivate a new search that relaxes the layout rules chosen in advance.
Early bacterial designs appeared favorable on average pairing, while the ribosome’s RBS and AUG remained similarly open with and without trigger. The reported scoring approach consequently adds an uninterrupted-run requirement and exact pairing probabilities. In the completed run, OFF contiguity is more selective than mean binding and is the next feature to optimize.
Next computational and experimental steps
Relax layout constraints and rerun. Remove the human UTR-longer-than-linker rule and the 8 amino acid linker cap. Let stage 1 evaluate a layout capable of passing the ON test, and place more emphasis on the ON state.
Evaluate specificity by folding. Cofold both candidate sets against their synonymous negative controls, accounting for wobble pairing, and screen the host transcriptomes.
Rescore the full constructs. Fold the complete reporter for tier-3 designs so the computationally evaluated sequence matches the construct intended for testing.
Measure an ON/OFF ratio in each host. This is the evidence needed to relate the ranking metrics to biological performance.
These are proposed next steps in the source document, not completed results. No measured translation rate establishes whether a human fON of 0.308, or any bacterial sample fraction, is sufficient for the intended classifier.
What the model can establish today
The designs have been ordered and await wet-lab testing. The report supplies no measured expression, no measured dynamic range and no external benchmark dataset. Its one completed run per host identifies useful computational trade-offs; it is not a parameter-sensitivity study or an experimental demonstration of repression.
Sampling and sequence context
The sampled fractions use 500 random structures per state and may shift by about 2–3 percentage points on rerunning. Two bacterial layouts changed from 54% and 61% to the reported 56% and 64%. Borderline 21% ON values may therefore change tier. Exact partition-function pbound and popen do not have this Monte Carlo noise.
Only the first 60 coding nucleotides were scored. In the cited human example, that is 171 nt folded versus an 852 nt built construct. This example is not a universal length for every design. Full-reporter effects and native-trigger structural competition remain unevaluated.
Specificity and relative openness
A Hamming-identity screen does not exclude G·U-mediated binding to a synonymous control. Folding-based controls and host-transcriptome screening are still pending. The long human prefix affects both sequence and comparison-bucket length; longer bacterial leaders reduce reference-set size.
High mean binding, high open% and a high OFF fraction each describe different model events. None is itself a measured translation rate, and a constitutively closed switch can satisfy an OFF criterion while failing the intended logic.
Fixed gaps and contiguous pairing. The document calls the RBS/AUG and human initiation elements “unpairable by construction,” while its bacterial OFF criterion requires a continuous 10 nt paired run across a core whose deliberately complementary spacer is only 5–9 nt. Whether incidental pairing of fixed bases is allowed, or whether the implemented run spans another set of positions, is not resolved in the source. The reported candidate values are preserved here; a schematic cannot resolve this scoring ambiguity.
Footprint and human run definition. The exact bases included in the mean-probability denominator are not specified. Including bases that are strictly prohibited from pairing would affect whether near-one pbound values are possible. The human both-arm OFF run has no numerical length threshold in the supplied report. These definitions require implementation evidence before an independent reproduction.
Two corrections of presentation. The original pipeline image gives three windows per length without distinguishing hosts; the methods specify up to 12 for humans and three for bacteria, used here. The source discussion calls 595 human variants adequately repressed; that count actually identifies mean-binding passes. This page distinguishes the 595 mean-binding passes, 401 OFF-contiguity passes and two all-test passes.
Ranking and table wording. A tier counts all three criteria equally; a candidate failing OFF can share a tier with one failing ON, so tier sorting alone does not guarantee that every OFF failure ranks below every ON failure. The report gives neither the within-length binding normalization formula nor a complete explanation of openness “ranking mode” beyond its lack of a tier or exclusion effect. The final sentence of its Table 2 caption is truncated; no missing continuation has been reconstructed.
Missing reproducibility inputs. The document does not supply complete candidate, prefix, target, control or reporter sequences; transcript accession identifiers; the complete list of 20 human orders; the actual bacterial stage-1 count beyond its cap; raw variant outputs; code paths; a ViennaRNA version or parameter set; sampling seed or replicate uncertainty; the exact soft-penalty weights; or a complete bacterial layout grid. It also omits the bacterial genome/strain and PaxDb release, reference counts per leader bucket, cofold concentration assumptions, and the method used to force the human +4 G. This page does not fill these gaps with invented parameters.
Notation and source
Appendix A. Notation from the supplied report, with the bacterial run-length diagnostic included for clarity.
In-frame arm after AUG: human coding linker or bacterial post-AUG arm.
nt; a multiple of 3
Lsp
Bacterial RBS–AUG spacer length.
5–9 nt
ΔGbind
Binding free energy of switch–trigger complex, computed from the ensemble.
kcal/mol
fON
Sample fraction with an uninterrupted open start region.
0–1
fOFF
Sample fraction with the required trigger-paired run.
0–1
pbound
Exact mean probability of footprint pairing to trigger in OFF.
0–1
popen
Exact mean probability of an unpaired footprint base in ON.
0–1
off_run_nt
Median longest inter-strand run in the bacterial initiation core.
nt
open%
Share of length-matched reference genes folding more tightly, averaged at +30 / +40 / +50 / +60 nt.
0–100
tier
Number of the three pass/fail tests passed.
0–3
A 30 nt human window admits only a 6 nt linker: a 9 nt linker would leave a 12 nt UTR arm, below the 15 nt minimum. The bacterial run requirement is 10 nt inside a 15–19 nt core, so the stated cutoff does not exceed the core length; whether its fixed segments may participate in pairing needs clarification.
All NOT-gate run counts, candidate values and interpretations on this page are attributed to Supplied NOT-gate report (DOCX). The document names ViennaRNA, PaxDb, GENCODE v50 and MANE Select but supplies no formal bibliography or external benchmark. Its results have not been independently reproduced for this page.
Computational design study · wet-lab tests pending
One AREG window passed every model criterion, once with each 5′ prefix. Across 631 human variants targeting AREG and SELE, the main difficulty was keeping the switch’s own start region open when its trigger was absent. Changing the arm partition rescued the AREG design; SELE produced no variant that passed all three tests.
631variants scored
66designs exported
20designs ordered
2variants passing all three tests
These are results reported in the supplied design document. The values rank computational designs, and this page does not independently reproduce the run. No measured expression or ON/OFF ratio is available for the human gate.
Select an input state to explore the intended gate behavior.
The human gate mRNA contains a prefix, UTR recognition arm, contiguous Kozak context and AUG, coding recognition linker and GFP reporter. Trigger pairing around the initiation core is intended to repress translation. Illustrative domain geometry, not a predicted tertiary structure. Drag or use arrow keys to rotate; use +/− keys to zoom. Domain order follows the supplied NOT-gate report. The illustration represents the intended mechanism; it does not display a scored candidate fold.
A translational inverter built from antisense recognition
A classifier that must respond when a marker falls needs an inverting element. This switch is intended to translate its reporter when the trigger is absent and repress it when the trigger is present. Placing the logic at translation avoids adding a transcriptional regulator or protein intermediate. The challenge moves into sequence selection: a natural trigger cannot be redesigned, so the adjustable variables are the trigger window’s position, length and partition.
The human switch is 5′ prefix → UTR arm → GCCACC AUG → coding linker → GFP. The upstream arm and coding linker are complementary to disjoint slices of one trigger window; because the strands are antiparallel, the switch’s 5′ arm recognizes the trigger window’s 3′ end. The intended duplex surrounds the Kozak context and start codon, restricting cap-dependent scanning and initiation. The cap, prefix, Kozak context and +4 G are fixed.
Figure M36
Figure 1a · Human
One switch, two intended states
Antisense arms surround the Kozak context and start codon.
Trigger presentOFF
Human switch: trigger present, translation intended to be OFFThe switch runs from 5 prime at left to 3 prime at right. Its trigger runs antiparallel, from 3 prime at left to 5 prime at right. The trigger pairs with the UTR arm and coding linker around the fixed Kozak context and AUG. The cap, prefix and plus-four G are also fixed. This is an architectural illustration, with arbitrary domain widths, not a predicted or measured RNA structure.
Trigger absentON
Human switch: trigger absent, translation intended to be ONThe switch runs from 5 prime at left to 3 prime at right. The trigger is absent. A schematic ribosome at the initiation region indicates intended reporter translation. This is an architectural illustration, with arbitrary domain widths, not a predicted or measured RNA structure.
Intended antisense-occlusion mechanism, redrawn from source Figure 1a. Domain widths are illustrative. Pairing marks show the designed register, not a folding prediction or measured structure. The cap, prefix, GCCACC–AUG core and +4 G are fixed; the UTR arm and coding linker are derived from the trigger window. The designs await experimental testing.
The source describes a continuous antisense register interrupted by fixed initiation elements, which occupy internal gaps held by flanking recognition segments. This is a proposed architecture. The exact relationship between these gaps and the computational contiguity criterion is discussed under source limitations.
From a natural transcript to a ranked shortlist
Geometry notation: W is the recognition-window length in nucleotides; LUTR is the upstream recognition-arm length, Llink the human linker length, Lsp the bacterial spacer length, and Lpost the bacterial post-AUG arm length. Here W describes a recognition footprint, not RNAplfold's folding-window parameter.
Windows slide along AREG’s 759 nt CDS and SELE’s 1,833 nt CDS in 3 nt steps. The human scan uses 30, 40, 50 and 70 nt windows, and repeats the selected layouts with long (65 nt) and short (8 nt) 5′ prefixes. Each window is partitioned into a UTR arm, the 9 nt Kozak + AUG core, and an in-frame linker.
The UTR arm must be at least 15 nt and longer than the linker, reflecting the initial choice to place most complementarity upstream of initiation. A 30 nt window therefore permits one layout and a 70 nt window seven. The linker’s first base is forced to G to retain the +4 initiation context.
Before folding, a candidate is rejected for a run of at least five A bases in its trigger window, greater than 0.70 Hamming identity to the synonymous control, invalid geometry or an in-frame linker stop, or any upstream AUG in the prefix, UTR arm or Kozak context. Upstream AUGs could initiate an open reading frame and consume scanning ribosomes. The poly-A filter targets switch poly-U as a proposed cross-reactivity risk; it is the dominant filter in both human targets and the rule with the least empirical support. AUG count and GC content also receive soft ranking penalties.
Table 1. What changes between hosts; the architecture, testing framework and ranking approach are shared.
Feature
Human
E. coli
Target
AREG CDS, 759 nt; SELE CDS, 1,833 nt.
mCherry CDS, 711 nt; a stand-in, not endogenous.
Initiation
Cap-dependent scanning by the 43S complex.
Internal 30S binding at a Shine–Dalgarno site.
Fixed elements
Contiguous GCCACCAUG, 9 nt.
RBS AGGAGGA, 7 nt, and AUG, 3 nt; separated by a complementary 5–9 nt spacer.
5′ leader
A 65 nt long or 8 nt short prefix, followed by the UTR arm.
UTR arm only; no prefix.
Downstream arm
Coding linker of 6–24 nt, at most 8 amino acids; first base forced to G for the +4 rule. UTR arm must be longer.
Post-AUG arm in frame and a multiple of 3 nt; leftover nucleotides go to the UTR arm.
Window lengths
30, 40, 50 and 70 nt.
40, 50, 70 and 100 nt.
Hard filters
Poly-A run; identity to the synonymous control; geometry or in-frame linker stop; any upstream AUG.
AUG inside the spacer; in-frame stop in the post-AUG arm.
ON event
All 9 Kozak + AUG bases unpaired in one run.
At least 10 unpaired bases in one run inside the 15–19 nt RBS–spacer–AUG core.
OFF event
A long trigger-paired run on both arms; the numerical run-length threshold is not supplied.
At least 10 trigger-paired bases in one run inside the core, as defined by the reported scoring rule.
Openness reference
Top 80% expressed human genes from PaxDb, GENCODE v50 and MANE Select: 15,156 transcripts, one per gene.
Top 80% expressed E. coli genes from PaxDb and genome annotation, subject to available upstream space.
Table 2. Windows surviving hard filters, by ascending window length. Rejection counts accumulate across all lengths in one scan.
Target
Windows by length; total
In-frame stop
Poly-A
Identity > 0.70
AUG in spacer
AREG
159 / 137 / 117 / 86; 499 30 / 40 / 50 / 70 nt
26
176
0
Not applicable
SELE
434 / 363 / 292 / 187; 1,276 30 / 40 / 50 / 70 nt
26
105
51
Not applicable
mCherry
99 / 88 / 72 / 58; 317 40 / 50 / 70 / 100 nt
113
Not applied
Not reported
61
The original table places the bacterial spacer-AUG count in its final column; it is separated here from the human identity test. These totals are not per-length rejection counts.
Targets: AREG, 759 nt · SELE, 1,833 nt · mCherry, 711 nt.
Scan windows and apply hard filters
Move in 3 nt steps. Human windows: 30, 40, 50 or 70 nt. E. coli windows: 40, 50, 70 or 100 nt. Apply the host’s sequence and geometry rules before folding.
Filter
Preselect windows on one default layout
Rank start-region openness within each window length; limit overlap to 0.50. Keep up to 12 windows per length in human and 3 per length in E. coli.
Rank + cut
Enumerate layouts and score both states
Fold the switch alone and with its trigger at 37 °C. Read exact mean probabilities from the partition function; estimate contiguous-run fractions from 500 Boltzmann samples per state.
fON · fOFF · pbound · popen · ΔGbind
Score
Compare openness with expressed genes
Calculate length-matched percentiles at +30, +40, +50 and +60 nt past AUG, then average them. Reference: 15,156 human transcripts, or the top 80% of expressed E. coli genes with sufficient upstream space.
Context
Assign a tier, rank and export
Three tests: pbound ≥ 0.90, fOFF ≥ 0.90 and fON ≥ 0.20. Rank by tests cleared, then popen, then binding energy normalized within window length. Failing tests flags a variant.
Rank + cut
Scored variants
1,200
Exported designs
86
Ordered designs
28
Tier-3 variants
6
Redrawn from source Figure 2 with the host-specific stage-1 limits stated in §3.2. Totals combine human (631 scored, 66 exported, 20 ordered, 2 tier-3) and E. coli (569 scored, 20 exported, 8 ordered, 4 tier-3). Synthesis selection was a separate decision: bacterial ordered candidates 5–8 came from the full scored table, rather than the exported top 20. Tier-3 means all three computational tests passed.
One state for the switch alone, another for switch plus trigger
The same ViennaRNA engine at 37 °C evaluates both hosts. ON is the switch folded alone. OFF is the switch cofolded with its trigger window. The report assumes one antiparallel register across the footprint: fixed initiation elements consume their corresponding positions in the window rather than being skipped. Intended recognition arms use disjoint trigger slices, so they do not compete for the same nucleotides.
The minimum free energy (MFE) structure is one most-stable fold. Ensemble scoring instead weights possible folds by their Boltzmann probabilities. A large average pairing probability can arise from many different partial contacts without a continuous duplex ever forming; this motivates a separate contiguity test. The model is at equilibrium and does not include kinetics, helicase unwinding, ribosome occupancy or competition with the native transcript’s own structure.
Stage 1: rank a single layout, then retain diverse windows
After hard filtering, each surviving window is folded once on a default layout: a 6 nt linker in human designs, or an 8 nt spacer with the remaining sequence split evenly in E. coli. The folded slice contains the leader, fixed core and first 30 nt of coding sequence. Within each window length, a less-negative MFE ranks as a more open start region.
A greedy overlap rule permits at most 0.50 overlap with an already retained window of the same length. The human run retains up to 12 windows per length: 43 for AREG and 48 for SELE. The bacterial run retains up to 3 per length, a cap of 12 windows in total. This computational cap causes the largest reduction in the search; it is not a pass/fail judgment.
Stage 2: enumerate layouts and score every variant
Each selected window expands into every legal layout: all allowed linker lengths for human switches, and a sweep of leader-arm and spacer lengths for bacterial switches. Nothing is discarded at this scoring stage. Each variant is folded alone and with its trigger, using the actual reporter sequence but only through the first 60 nt of coding sequence. The report assumes more distant reporter structure has little influence on initiation; this truncation has not been tested.
Observable
Definition
How obtained
pbound
Mean probability that a base of the designed footprint pairs specifically to the trigger in OFF. Only inter-strand terms count; switch self-pairing contributes nothing.
Exact partition-function probabilities; no Monte Carlo sampling noise.
popen
Mean probability that a footprint base is unpaired in the switch-alone ON state.
Exact partition-function probabilities.
fON
Fraction of ON samples with one uninterrupted open initiation run: all 9 Kozak + AUG bases in humans, or at least 10 bases inside the 15–19 nt bacterial core.
500 Boltzmann samples of the ON state.
fOFF
Fraction of OFF samples with a long trigger-paired run on both human arms, or a run of at least 10 bases across the bacterial core. Self-pairing scores zero.
500 Boltzmann samples of the OFF state. The human run-length threshold is not specified in the source.
off_run_nt
Median longest inter-strand run inside the bacterial core. It distinguishes scattered contacts from a run just short of the cutoff.
Sampled OFF structures; its distribution has not been tabulated in the report.
ΔGbind
Ensemble free energy of the complex minus those of the separate switch and trigger, in kcal/mol.
Computed from the same ensemble; compared after normalization within each window length.
In the equations below, Gcomplex, Gswitch and Gtrigger are ensemble free energies of the paired complex and the two separate RNAs. Nopen and Ntrigger-paired run count sampled structures meeting the host-specific ON and OFF criteria above; 500 is the number of computational samples per state.
The event counted in each fraction is host-specific. Average pairing reports how much of the footprint is held; the run fraction reports how often an uninterrupted block occurs. A switch that folds shut by itself could have low translation even without trigger, defeating the intended inversion. The model therefore treats strong but scattered contacts as insufficient evidence of initiation blocking.
Binding energy scales with window length: the report gives roughly −150 kcal/mol for a 100 nt trigger and −60 kcal/mol for a 40 nt trigger. Its ranking compares normalized binding within each length class; it does not supply the normalization formula. Binding strength alone cannot establish a functional switch: the source gives −72 kcal/mol as an example of favorable binding that may still consist of scattered contacts.
Three pass/fail tests, followed by a strict ranking
The number of tests passed defines tier 0–3. A failure flags a variant; it does not remove it. The asymmetric thresholds intentionally prioritize a reliable OFF state, while allowing a partly open ON state at the cost of dynamic range. Giving ON more weight is a planned refinement.
The indicator 1[condition] contributes one when its condition is met and zero otherwise.
Rows are sorted by tier first, then by popen, then by binding energy normalized within window length. This is a priority sequence, not a weighted blend. Openness also has a configured floor of 15%, but it is in ranking mode: it contributes no tier point and excludes no design. The floor was calibrated on the +30 nt percentile and is a stale reference for the four-distance average now reported.
Exported is different from scored or ordered
“Scored” means every variant was folded and evaluated. “Exported” means selected from the ranking. “Ordered” means selected for synthesis and wet-lab testing. The human export uses a second greedy pass: at most five rows per window length, no overlap above 0.50 with an already retained trigger across any length, and no linker above 24 nt. This leaves 66 rows, sometimes fewer than five in a length class. The bacterial export contains the top 20 overall, without a per-length cap; its ordered candidates 1–4 come from that export, while 5–8 were selected from all 569 variants to cover other positions and lengths.
Length-matched openness, averaged across four distances
An absolute folding energy alone does not define an open initiation region. At each of +30, +40, +50 and +60 nt past AUG, the candidate’s initiation-region MFE is compared with expressed reference genes of the same host and matched leader length. Its percentile is the share of reference genes that fold more tightly than the design. The four percentiles are averaged without weighting; the report includes several distances because expression predictors use regions wider than the start codon and no single distance is assumed correct.
Here Pd denotes the reference-gene percentile for a fold extending d nucleotides past AUG. These percentiles are distinct from joint opening probabilities such as P20 in the trigger-selection model.
The human reference joins PaxDb whole-organism abundance, taxon 9606, to GENCODE v50 protein-coding transcripts. It drops transcripts whose CDS does not begin with ATG, keeps one transcript per gene with MANE Select preferred, and takes the top 80% by expression: 15,156 transcripts. Leader lengths are rounded into 5 nt buckets; MFEs are cached for each bucket and coding distance.
The bacterial reference is built similarly from PaxDb abundance and genome annotation, requiring an upstream gap at least as long as the candidate’s leader. Longer leaders therefore have fewer available reference genes; 100 nt candidates are compared with fewer genes than 50 nt candidates. In the human run, the 65 nt prefix creates leader buckets of roughly 85–125 nt that were folded specifically for the project, and its sequence effect is not separated from its effect on the comparison bucket.
A synonymous negative control remains a computational check to finish
Each target is recoded synonymously: the protein stays the same while its nucleotides change. A specific switch should not bind the corresponding recoded window. In the human run the implemented check is only a Hamming-identity filter at 0.70. The folding-based, wobble-aware rescore has not been run; a window at identity 0.69 could still engage its control through, for example, G·U pairing. The filter removes 0 AREG and 51 SELE windows.
Folding-based negative controls and screens against other host transcripts remain to be completed for both hosts. mCherry is not an endogenous E. coli transcript; this run demonstrates the search rather than a completed sensing circuit.
The human bottleneck is the ON state
AREG proceeds from 499 surviving windows to 43 retained windows, 265 scored variants and 27 exports. SELE proceeds from 1,276 to 48, 366 and 39. SELE starts with about 2.6 times the search space but yields only about 1.4 times as many exports; the final cross-length overlap rule limits the shortlist, while failed tests merely flag candidates.
Figure M38
Figure 3 · Counts through the pipeline
Windows expand into layouts before designs are exported
Each panel has its own count scale. Windows and variants are different units.
AREGhuman
AREG pipeline counts499 windows built after hard filters; 43 windows kept; 265 variants scored; 27 designs exported. The vertical axis runs from zero to 600.
SELEhuman
SELE pipeline counts1,276 windows built after hard filters; 48 windows kept; 366 variants scored; 39 designs exported. The vertical axis runs from zero to 1500.
mCherryE. coli
mCherry pipeline counts317 windows built after hard filters; at most 12 windows allowed by the stage-1 cap; 569 variants scored; 20 designs exported. The vertical axis runs from zero to 600.
Exact counts shown above
Target
Windows built
Windows kept
Variants scored
Designs exported
AREG
499
43
265
27
SELE
1,276
48
366
39
mCherry
317
≤12 (cap)
569
20
Redrawn from source Figure 3. Built windows have survived the hard filters; stage 1 limits how many windows proceed. Layout enumeration then increases the count. Human scored totals include both prefixes. For mCherry, 12 is the maximum permitted by the selection rule, not a reported retained-window count. The outline bar marks that cap.
Of 631 scored human variants, 595 pass the mean-binding test, 401 pass the both-arm OFF-contiguity test, and only four pass the ON test. All 631 pass the configured openness floor, so that threshold does not distinguish them. The median fON is zero in every gene, prefix and linker-length block.
Figure M39
Figure 4a · Human test outcomes
The ON state is the bottleneck
Bar length shows the percentage passing each criterion; labels show the number of variants.
Human test outcomes across four target and prefix groupsAcross 631 variants, 595 pass mean binding, 401 pass OFF contiguity and 4 pass the ON test. All 631 exceed the openness floor, which does not count toward tier. Per-group counts and denominators follow in the data table.
AREG · longn = 131
AREG, long prefix: test-pass ratesOf 131 variants, 121 pass mean binding, 83 pass the OFF test, 2 pass the ON test, and 131 exceed the openness floor. Horizontal bars use a shared zero to 100 percent scale.
AREG · shortn = 134
AREG, short prefix: test-pass ratesOf 134 variants, 129 pass mean binding, 82 pass the OFF test, 1 pass the ON test, and 134 exceed the openness floor. Horizontal bars use a shared zero to 100 percent scale.
SELE · longn = 182
SELE, long prefix: test-pass ratesOf 182 variants, 171 pass mean binding, 113 pass the OFF test, 0 pass the ON test, and 182 exceed the openness floor. Horizontal bars use a shared zero to 100 percent scale.
SELE · shortn = 184
SELE, short prefix: test-pass ratesOf 184 variants, 174 pass mean binding, 123 pass the OFF test, 1 pass the ON test, and 184 exceed the openness floor. Horizontal bars use a shared zero to 100 percent scale.
pbound ≥ 0.90
fOFF ≥ 0.90
fON ≥ 0.20
open% ≥ 15 · outside tier
Passing variants / scored variants
Target · prefix
pbound ≥ 0.90
fOFF ≥ 0.90
fON ≥ 0.20
open% ≥ 15
AREG · long
121 / 131
83 / 131
2 / 131
131 / 131
AREG · short
129 / 134
82 / 134
1 / 134
134 / 134
SELE · long
171 / 182
113 / 182
0 / 182
182 / 182
SELE · short
174 / 184
123 / 184
1 / 184
184 / 184
All human
595 / 631
401 / 631
4 / 631
631 / 631
Redrawn from source Figure 4a. Each bar is a separate criterion’s pass count, not cumulative survival through successive filters. Openness is configured in ranking mode and contributes no tier point. The four ON passes include two variants that clear all three tier tests.
The maximum fON is 0.454 for AREG with the long prefix and 0.288 with the short prefix; for SELE it is 0.188 and 0.206. SELE has no tier-3 design among 366 variants. Its long-prefix set has no ON pass among 182 variants; its best short-prefix ON fraction, 0.206, fails the both-arm OFF test.
One passing window, scored with two prefixes
Both tier-3 rows use the same AREG window at reported CDS position 630: 70 nt in total, a 24 nt linker encoding 8 amino acids, and a 37 nt UTR arm. They differ in the prefix. This is one successful window under the model criteria, not two independent target regions.
Table 3. Best reported human designs. The two AREG rows are the only tier-3 variants; omitted values were not reported.
Design, reported CDS position
fON
fOFF
pbound
open%
ΔGbind, kcal/mol
Tier
AREG 630 · W = 70 nt · long prefix
0.308
1.000
0.9972
91.4
−67.88
3
AREG 630 · W = 70 nt · short prefix
0.288
1.000
0.9974
Not reported
Not reported
3
SELE 186 · W = 70 nt · short prefix
0.206
0.734
Not reported
Not reported
Not reported
2
The report identifies 20 human designs as ordered but does not provide their complete identities. The table above preserves its three highlighted rows, including the SELE comparison. Positions are reproduced as reported; the source does not specify whether its coordinate convention is zero- or one-based.
High reference openness does not guarantee an open start codon
Human open% medians are 93.3 for both long-prefix gene sets and 84.0–84.8 for the short-prefix sets; the full range is 51.5–98.5. The long prefix raises the percentile by about nine points without adding a distinct tier-3 window, but this comparison is confounded by the leader-length reference buckets.
In 627 of 631 human designs, the percentile passes while the ON run test fails. These measurements use different coordinates: open% summarizes the MFE of a linear slice across the leader and coding start, while fON asks whether the nine Kozak + AUG bases are jointly unpaired in sampled structures. A broadly unstructured initiation slice can still have its start codon paired in most of the ensemble.
The partition changes the prediction
At AREG position 630, changing the linker from shorter layouts to 24 nt raises the reported ON fraction from 0–0.002 to 0.308. The trigger window stays the same.
For this window, linkers of 6, 9, 12, 18 or 21 nt give fON of 0 or 0.002. With 24 nt, the UTR arm shrinks from the 55 nt of the 6 nt-linker layout to 37 nt, and fON reaches 0.308. The source does not give an individual value for the 15 nt linker in this comparison.
Although the median ON fraction remains zero at every linker length, the report places all human ON passes at the 24 nt cap. Stage 1 nevertheless selects windows using a 6 nt linker. The resulting concern is that a window could be rejected at preselection before a favorable partition is tried. A longer UTR arm folding back onto the start codon is a plausible explanation, drawn from stratifying this run rather than a dedicated parameter sweep.
Target choice also matters: SELE provides a much larger initial search but no tier-3 design, suggesting a sequence-dependent limitation. The UTR-longer-than-linker rule and the eight-amino-acid cap were chosen before the run, making them direct candidates for revision.
Next computational and experimental steps
Relax layout constraints and rerun. Remove the human UTR-longer-than-linker rule and the 8 amino acid linker cap. Let stage 1 evaluate a layout capable of passing the ON test, and place more emphasis on the ON state.
Evaluate specificity by folding. Cofold both candidate sets against their synonymous negative controls, accounting for wobble pairing, and screen the host transcriptomes.
Rescore the full constructs. Fold the complete reporter for tier-3 designs so the computationally evaluated sequence matches the construct intended for testing.
Measure an ON/OFF ratio in each host. This is the evidence needed to relate the ranking metrics to biological performance.
These are proposed next steps in the source document, not completed results. No measured translation rate establishes whether a human fON of 0.308, or any bacterial sample fraction, is sufficient for the intended classifier.
What the model can establish today
The designs have been ordered and await wet-lab testing. The report supplies no measured expression, no measured dynamic range and no external benchmark dataset. Its one completed run per host identifies useful computational trade-offs; it is not a parameter-sensitivity study or an experimental demonstration of repression.
Sampling and sequence context
The sampled fractions use 500 random structures per state and may shift by about 2–3 percentage points on rerunning. Two bacterial layouts changed from 54% and 61% to the reported 56% and 64%. Borderline 21% ON values may therefore change tier. Exact partition-function pbound and popen do not have this Monte Carlo noise.
Only the first 60 coding nucleotides were scored. In the cited human example, that is 171 nt folded versus an 852 nt built construct. This example is not a universal length for every design. Full-reporter effects and native-trigger structural competition remain unevaluated.
Specificity and relative openness
A Hamming-identity screen does not exclude G·U-mediated binding to a synonymous control. Folding-based controls and host-transcriptome screening are still pending. The long human prefix affects both sequence and comparison-bucket length; longer bacterial leaders reduce reference-set size.
High mean binding, high open% and a high OFF fraction each describe different model events. None is itself a measured translation rate, and a constitutively closed switch can satisfy an OFF criterion while failing the intended logic.
Fixed gaps and contiguous pairing. The document calls the RBS/AUG and human initiation elements “unpairable by construction,” while its bacterial OFF criterion requires a continuous 10 nt paired run across a core whose deliberately complementary spacer is only 5–9 nt. Whether incidental pairing of fixed bases is allowed, or whether the implemented run spans another set of positions, is not resolved in the source. The reported candidate values are preserved here; a schematic cannot resolve this scoring ambiguity.
Footprint and human run definition. The exact bases included in the mean-probability denominator are not specified. Including bases that are strictly prohibited from pairing would affect whether near-one pbound values are possible. The human both-arm OFF run has no numerical length threshold in the supplied report. These definitions require implementation evidence before an independent reproduction.
Two corrections of presentation. The original pipeline image gives three windows per length without distinguishing hosts; the methods specify up to 12 for humans and three for bacteria, used here. The source discussion calls 595 human variants adequately repressed; that count actually identifies mean-binding passes. This page distinguishes the 595 mean-binding passes, 401 OFF-contiguity passes and two all-test passes.
Ranking and table wording. A tier counts all three criteria equally; a candidate failing OFF can share a tier with one failing ON, so tier sorting alone does not guarantee that every OFF failure ranks below every ON failure. The report gives neither the within-length binding normalization formula nor a complete explanation of openness “ranking mode” beyond its lack of a tier or exclusion effect. The final sentence of its Table 2 caption is truncated; no missing continuation has been reconstructed.
Missing reproducibility inputs. The document does not supply complete candidate, prefix, target, control or reporter sequences; transcript accession identifiers; the complete list of 20 human orders; the actual bacterial stage-1 count beyond its cap; raw variant outputs; code paths; a ViennaRNA version or parameter set; sampling seed or replicate uncertainty; the exact soft-penalty weights; or a complete bacterial layout grid. It also omits the bacterial genome/strain and PaxDb release, reference counts per leader bucket, cofold concentration assumptions, and the method used to force the human +4 G. This page does not fill these gaps with invented parameters.
Notation and source
Appendix A. Notation from the supplied report, with the bacterial run-length diagnostic included for clarity.
In-frame arm after AUG: human coding linker or bacterial post-AUG arm.
nt; a multiple of 3
Lsp
Bacterial RBS–AUG spacer length.
5–9 nt
ΔGbind
Binding free energy of switch–trigger complex, computed from the ensemble.
kcal/mol
fON
Sample fraction with an uninterrupted open start region.
0–1
fOFF
Sample fraction with the required trigger-paired run.
0–1
pbound
Exact mean probability of footprint pairing to trigger in OFF.
0–1
popen
Exact mean probability of an unpaired footprint base in ON.
0–1
off_run_nt
Median longest inter-strand run in the bacterial initiation core.
nt
open%
Share of length-matched reference genes folding more tightly, averaged at +30 / +40 / +50 / +60 nt.
0–100
tier
Number of the three pass/fail tests passed.
0–3
A 30 nt human window admits only a 6 nt linker: a 9 nt linker would leave a 12 nt UTR arm, below the 15 nt minimum. The bacterial run requirement is 10 nt inside a 15–19 nt core, so the stated cutoff does not exceed the core length; whether its fixed segments may participate in pairing needs clarification.
All NOT-gate run counts, candidate values and interpretations on this page are attributed to Supplied NOT-gate report (DOCX). The document names ViennaRNA, PaxDb, GENCODE v50 and MANE Select but supplies no formal bibliography or external benchmark. Its results have not been independently reproduced for this page.
Select an input state to explore the intended gate behavior.
CRISPR uses a guide RNA to regulate transcription. A trigger-binding extension and the SBE control the DNA-targeting spacer; the Cas-binding scaffold is shown separately. Illustrative domain geometry, not a predicted tertiary structure. Drag or use arrow keys to rotate; use +/− keys to zoom.
A CRISPR guide is normally always on: deliver it and dCas9 follows wherever its spacer points.
This gate makes that conditional. The guide carries a sequence that folds back and pairs with its own
spacer, and a trigger RNA out-competes the spacer for that sequence, releasing it.
Two engineering cycles established where the leak was, and the result reported here is the
optimisation framework that follows from it, stated for two architectures, endogenous and
plasmid-targeted.
3design generations
17guides built and tested
2cycles closed
2architectures specified
Generations 1 and 2 were built and tested on the yeast CRISPRa platform;
generation 3 and the plasmid framework are specified and not yet built, so the second cycle is still
open at its test step. All folding is carried out at 30 °C.
A native single-guide RNA has two parts: the spacer, 20 nt of targeting sequence, and
the scaffold, the constant structured remainder dCas9 grips. Sequence match alone is not
enough: a protospacer-adjacent motif must sit beside the matching DNA or the site is invisible to the
protein. This work uses SpCas9 throughout, whose PAM is 5′-NGG-3′, so PAM availability is what
decides where a spacer may be chosen at all.
Four engineered modules make that guide conditional. The SBE, the spacer-blocking
element, is written to pair with the spacer and hold it shut: it is the lock. An
extension and anti-extension form a second stem closed by a loop; that stem carries two
deliberate bulges, which is what makes it weak enough to be opened. The anti-scaffold is
complementary to a window of the constant scaffold and pairs it in cis, a second independent lock
that weakens dCas9 loading while the gate is shut. BT, the
trigger-binding extension at the 5′ end, pairs the trigger perfectly and lengthens the trigger interface.
The scaffold itself is never mutated: its sequence is fixed by the protein interface, so all modulation
happens through these separate, displaceable modules.
Figure M41
Guide anatomy · OFF and ON
One molecule, two states
Every engineered module labelled, in the closed and the opened conformation.
The trigger pairs the trigger-binding region, the SBE, the anti-extension and the loop in one
continuous window, bridging over the anti-scaffold. The spacer is released without ever being
contacted.
What competes with what
The trigger never pairs with the spacer. What the trigger and the spacer compete for is the
SBE. With no trigger in the cell the SBE is held by the spacer and the gate is shut. When the
trigger arrives, the trigger·SBE duplex is thermodynamically preferable to the spacer·SBE duplex, so the
SBE lets the spacer go and pairs the trigger instead, and the spacer, having lost its partner, is free to
load dCas9. The lock is not picked; it is outbid.
The loop is the only part of the closed molecule left fully unpaired, and that is where the trigger
nucleates. The anti-extension next to it is paired, with the extension, but that stem carries
two bulges and is correspondingly weak, and the anti-extension is the reverse complement of the trigger
over exactly that stretch. So once the trigger has landed on the loop, opening the extension stem and
pairing the anti-extension instead is the thermodynamically preferable arrangement. From there the trigger
keeps pairing inward along the SBE, and BT anchors it at the 5′ end.
Figure M42
Strand displacement · three steps
The trigger nucleates on the loop and migrates inward
The spacer lies outside the trigger footprint throughout.
One trigger binds one continuous window, not two sensing sites. The anti-scaffold lies inside
that window but is already paired with the scaffold, so the trigger skips it as a single long bulge. The
gate is a conditional YES/NOT element, not a two-input gate.
That exchange is the entire design problem. A gate has to be shut enough to
stay shut while its trigger is absent, and still lose the competition the moment the trigger appears.
Everything below is about finding the sequence that does both.
The effector decides the direction of the output and nothing else changes. Fused to an activator, dCas9
raises the target gene when the trigger is present, YES logic at the level of gene expression. Fused to a
repressor, it lowers it, NOT logic. The RNA design is identical in both cases; the inversion is in the
readout.
Two build–test cycles produced the algorithm
The framework below was not designed in the abstract. It is the output of two complete
design–build–test cycles, each closing on a measurement that changed the next design. The architecture we
started from originates with Ferry et al. and was developed by Pelea et al.; both our
cycles were built and tested on the team's yeast CRISPRa platform.
Generation 1: reproduce it, and put it between two reference points
The first question was narrow: rebuilt in our hands, on our own spacer and our own trigger, does the
published switch work? That question cannot be answered by building the switch alone. A construct showing
little activity might be properly shut or simply broken; one showing a lot might be properly open or merely
leaky; and neither reading turns into a fold-change without something to measure it against.
So generation 1 built three constructs differing only in the 20-nt SBE, which places them
on a single axis: how tightly the hairpin can close. The source switch is the published
design reproduced, its SBE a near-complement of the spacer carrying four deliberate bulges: the gate under
test. The fully-closed gate is ours, its SBE the exact reverse complement of the spacer
with no bulges at all: the tightest OFF state the architecture permits, and the floor. The
fully-open control is also ours, its SBE sharing no complementarity with the spacer, so
the hairpin never forms and the spacer is always available: the ceiling. Those two controls are generation
1's contribution, and they are what make any later measurement readable.
Figure M43
Generation 1 · three designs as folded
A 40 kcal/mol spread from a single 20-nt change
One design per category, ordered by how firmly the spacer is held shut.
Folds and energies computed with our ViennaRNA-based visualiser at 30 °C; the spacer is
highlighted in each panel. Three of the nine designs carried forward are shown.
Tested, the three constructs did not separate from one another. A gate built to be as shut as possible, a
gate built so it cannot shut, and the published switch between them all behaved alike, which says the
problem is in closing, not in sensing.
Loop length is the principal tunable parameter, since it sets the size of the single-stranded
window offered to the trigger: too short and the trigger cannot nucleate, too long and the OFF state
leaks. Ten lengths were swept (14 to 32 nt, even) as parallel design classes. For each length a
window of the matching size was slid one nucleotide at a time across the whole trigger transcript,
so every register is tested and the choice deferred to thermodynamics.
Four conditions then act as vetoes rather than scores: the minimum-free-energy structure must equal
the intended fold exactly; the sequence must contain no TTTT, since the constructs are
transcribed from a human U6 promoter and four consecutive T residues terminate polymerase III; the
intended fold must hold at least 40 % of the equilibrium ensemble; and the trigger interaction must
be independently re-derivable. Survivors were ranked on four multiplied terms: folding probability
entering as a cube, spacer identity, trigger identity, and the openness of the sensed window inside
the trigger's own structure, so a near-zero value on any axis vetoes a design instead of being
compensated elsewhere.
The fully-open control could not come from that pipeline, because its design problem is the
inverse: not to find a sequence that folds into a specified structure but one that reliably fails
to. It was produced by a two-stage screen: sequence filters first (no TTTT, a GC
ceiling, and no short tract complementary to the spacer), then a thermodynamic screen requiring at
least 80 % of the spacer unpaired before the costlier partition-function step was run.
Nine designs were taken forward for synthesis: four source switches, two fully-closed and three
fully-open.
Generation 2: a second lock
Generation 1 had varied only how firmly the spacer stem closes. In all three designs the scaffold was left
entirely free, and one suspicion we carried forward was that dCas9 binding to that scaffold is itself enough
to pull the closed structure apart, so a guide could be correctly folded and still leak. Generation 2 added
two modules at the 5′ end, acting on the two states separately: the anti-scaffold, which
pairs the scaffold in cis so that a shut gate also cannot assemble a working ribonucleoprotein, and
BT, which lengthens the trigger interface to pay for the extra
displacement the trigger now has to do.
Table 1. The anti-scaffold panel. Each module is the exact reverse complement of a window of the
80-nt constant scaffold. Designs 1 and 2 form a graded depth series within the first stem; designs 3
and 4 reach across into the second, smaller stem.
Design
Sequence (RNA, 5′→3′)
Length (nt)
Scaffold window
Invasion
anti_scaffold_1
CUCUAAAAC
9
1–9
Medium, first stem
anti_scaffold_2
AUUUCUAGCUCUAAAAC
17
1–17
Deepest, first stem
anti_scaffold_3
AACGGACUAGCCUU
14
31–44
Bridge into the second stem
anti_scaffold_4
CACUUUUUCAAGUUGAUAACGGACUAGCCUU
31
31–61
Deeper bridge into the second stem
Each of the four was applied to both gated backbones from generation 1: eight guides, with the hairpin
held constant so the new modules were the only variable. Folding each construct twice, with the module and
without it, shows what it is meant to do to the scaffold.
Figure M44
Generation 2 · the scaffold, with and without the module
Left alone the scaffold folds intact; the anti-scaffold opens it out
Anti-scaffold version 3 (AACGGACUAGCCUU, 14 nt) on both generation-1 backbones.
The same comparison on both backbones. Without the module the scaffold reaches its intended
fold; with it, the scaffold is opened out and the module is paired into it. The effect does not depend on
the stem underneath, which is bulged on the source switch and perfectly paired on the fully-closed
gate.
All four designs were predicted to pair with the scaffold completely and at exactly their intended windows.
That check is structural, not functional: it shows the anti-scaffold occupies the scaffold, not that doing so
weakens dCas9 loading, since no protein appears in the folding model.
In the laboratory the outcome was asymmetric, and the asymmetry is the informative part. On the fully-closed gate the second
lock did what it was designed to do and the OFF state tightened measurably, so the mechanism works. On the
source switch it did not: without its trigger, that gate was still too open.
The two backbones differ in exactly one respect: the fully-closed gate has a
perfectly paired stem, the source switch carries four bulges across it. The same module fixed the first and
not the second, so the remaining leak sits in the hairpin, not the scaffold. And the
hairpin is the one part neither cycle had varied: its bulge pattern was inherited from a design built for a
different spacer and a different trigger, and nothing ties those positions to ours.
The endogenous algorithm: one sequence, two templates
Rather than adjust the inherited hairpin by hand a third time, generation 3 states the design problem and
solves it. One sequence is asked to satisfy two templates at once: the SBE must be the reverse complement
of the spacer in order to lock it, and the reverse complement of the trigger in order to
lose it again. Those are unrelated sequences, so no SBE satisfies both and
every design is a position on that trade-off.
The conflict is not uniform along the molecule. In the overlap, the same SBE bases that lock the spacer are
the ones the trigger must take. The free zone and BT are never occupied by the spacer,
so they can be matched to the trigger at no cost to the lock, and that is where most of the drive to open is
bought.
Figure M45
Where the conflict sits
Only the SBE is contested
The trigger covers one continuous window; the rest of it answers to the trigger alone.
The overlap is where the lock and the sensor want the same bases.Figure M46
The disagreement set
Where the two templates differ, one base cannot do both
Illustrative: how many positions disagree, and where, depends entirely on the chosen spacer and trigger.
At every disagreeing position the algorithm tries both bases, so k disagreements give
2k candidate SBEs. The size of the search is set by the pair itself.
So the algorithm does not resolve the trade-off by a rule; it enumerates it. Where spacer and trigger
agree, both demands name the same base and there is nothing to decide. Where they disagree, both are tried.
The search space is emergent: its size is set by how much the chosen spacer and trigger
happen to disagree, not fixed in advance, and the trade-off is settled by the objective rather than
assumed.
A bilevel search
Scanning the target DNA gives many candidate spacers and scanning the biomarker transcripts many candidate
trigger windows, so the outer problem is which pair to use. For a fixed pair, the inner problem is what the
best guide for it is. A pair cannot be judged without knowing how good a guide can be built for it, so the
inner problem is solved for every candidate pair and its optimum becomes a factor in the outer score. That
dependency is what makes the formulation bilevel rather than a single ranked list.
Figure M47
The algorithm in one view
Pair quality multiplied by the best switch that pair allows
From a target gene and a set of candidate marker transcripts to a ranked list of designs.
A design wins only if the target is worth hitting and the molecule actually
switches.
Equation 2. Outer problem: rank the pairs, with the inner optimum as a multiplicative gain.
Here S is a candidate spacer and T a candidate trigger window, g a
complete guide design, and F(S,T) the set of designs passing the
feasibility gates: the OFF state locked, the ON state open, and the scaffold intact in the ON state. There
is deliberately no OFF-state scaffold gate: the spacer is already occluded there, and the anti-scaffold may
be disrupting the scaffold on purpose, so imposing fidelity would reject exactly the designs that module
exists to produce.
What is scored
Every quantity is read from the equilibrium ensemble of the molecule rather than from a
single predicted structure, in two tubes at 30 °C: the guide alone, and the guide with its trigger in
excess. Spacer accessibility is the central observable, and it is not whether the most stable structure has
an open spacer but what fraction of the whole ensemble could load dCas9: the ratio of the partition function
restricted to spacer-accessible structures to the partition function over the whole ensemble.
Equation 3. A structure counts as accessible when all 20 spacer nucleotides are unpaired.
That criterion is deliberately conservative and relaxable during calibration if partial exposure proves
sufficient for dCas9 function. A good design has Aoff near zero and
Aon near one. Designs that pass the gates are then scored on a
structural component, rewarding ON-state accessibility and penalising residual OFF-state
accessibility, and a thermodynamic component rewarding favourable trigger binding. The two
are kept separate because they capture different things: one asks whether the molecule ends up open, the
other whether the trigger is held strongly enough to get it there.
Equation 6. Inner objective. λ rescales the dimensionless structural term onto the energy scale.
A spacer is scored on how well it directs dCas9 to the intended site and how little it resembles anywhere
else in the genome, with ηon and ηoff the predicted on-target
activity and off-target risk. Subtracting the risk from one turns it into a specificity reward, so both
terms point the same way and the score lies genuinely in [0,1].
Equation 7. Spacer quality. Both metrics are method-agnostic; CRISPOR is one implementation.
In Equation 2 the inner optimum enters multiplicatively, not
as another addend. A promising target cannot buy back a molecule that does not switch: a good pair leaves
the inner score largely intact, a poor one scales it down, and a pair whose switch is not net-positive ranks
last. This is where the earlier approach failed: the generation-1 score rewarded OFF-state folding, spacer
identity and window openness, none of which asks whether the trigger can actually open the molecule. A
design could rank first while being effectively unopenable, which is consistent with what the lab saw.
Weights and thresholds are carried as free parameters rather than fixed by assumption. The values
below are defaults and chosen settings, not calibrated ones; the four inner weights
sit at 0.5 as neutral placeholders and are exactly what calibration against measured designs is
meant to replace.
Table 2. Free parameters, with the values the implementation currently carries.
Parameter
What it controls
Current value
won, woff
Opening versus staying shut
0.5, 0.5
wE, wA
Thermodynamic against structural evidence
0.5, 0.5
λ
Unit scaling between the two components
computed per batch
τoff, τon
How locked the OFF and how open the ON state must be
0.05, 0.50
ε
Permitted scaffold deviation in the ON state
0.10
von, voff
On-target activity against genomic specificity
0.4, 0.6
WS, WT
Spacer quality against trigger quality
0.6, 0.4
omax
Maximum tolerated off-target risk
0.2
Loop lengths
Admissible loop lengths
14–32 nt, even
BT lengths
Admissible trigger-tail lengths
10, 15, 20 nt
The output score carries an energy scale from the thermodynamic term, while structural
accessibility, spacer quality and trigger quality enter through calibrated dimensionless factors. It
should be read as an energy-scaled composite ranking score, not a physical free-energy difference, which is what lets the CRISPR gate be ranked against CERNAL's other gate models on the same
scale.
The plasmid algorithm: writing the target removes the compromise
The DNA target can be a site in the host genome or a site on a synthetic plasmid we deliver, and that
choice decides whether the spacer is an output of the pipeline or an input to it. With an
endogenous target the sequence cannot be changed, so the spacer is imposed from outside and the pipeline
must find it. Write the target yourself and the central conflict disappears: the SBE can be made perfectly
complementary to the trigger, with nothing conceded on the trigger side, and the DNA site is written
afterwards to match whatever spacer results.
Figure M48
Two architectures
Information collides on the left and flows one way on the right
What is fixed and what is free, in the endogenous and the plasmid case.
This architecture removes the compromise rather than managing it.
The lock must still open, so it must still be imperfect, but the imperfections move. They are written into
the spacer instead of the SBE: a few deliberate mismatches that weaken the closed hairpin
and leave the trigger duplex untouched. They cost nothing at the target, because the target is written to
match the changed spacer. The chain runs one way and nothing feeds backwards: the trigger fixes the SBE,
the SBE fixes the trigger-derived spacer, the mismatch pattern turns that into the built spacer, and the
built spacer fixes the plasmid site. The target site is never searched for; it is an
output.
Figure M49
The design chain
Mismatches break the lock without touching the trigger duplex
A ten-base worked example, from trigger to written plasmid site.
The guide stays a perfect match on target, because the target is written to match it.
Because the spacer is derived rather than chosen, there is no search over spacer–trigger pairs at all.
There is one optimisation per trigger, repeated across the candidate set, over four design
variables: the mismatch pattern, the length of BT, the loop length, and the choice of
anti-scaffold. The observables are the same as before, with one term added: the spacer is produced by this
optimisation rather than selected outside it, so its on-target quality has to be scored where it is decided.
Without that term the optimiser would place mismatches for switching alone and accept whatever targeting
happened to result.
Equation 9. Plasmid outer objective. α is the trigger's quality as an input, ρ the cognate risk.
Where the opening drive comes from
In the endogenous gate, part of the stem is a stretch the spacer never touches, so it can be matched to the
trigger for free. Here there is no such stretch: the stem is the SBE, end to end, and the SBE is
already perfect against the trigger. The lock cannot be loosened from the trigger's side at all. Two things
loosen it instead, and neither costs anything on the trigger's side.
BT sits outside the stem, so the spacer never reaches it and making it longer gives
the trigger more to hold on to without touching the lock. The mismatches sit in the spacer, and the trigger
never pairs with the spacer, so a mismatched base there weakens the hairpin while leaving the trigger duplex
exactly as strong as it was. In short: the trigger's grip is strengthened at one end, and the hairpin is
weakened from the side the trigger does not use.
Figure M50
The mismatch budget
Leakage and opening drive rise together
Schematic of the trade-off, not measured data.
The feasible window lies between a hairpin too stable to open and one too weak to stay shut.
Neither requirement can be set alone, so the balance is computed rather than guessed.
That makes the mismatch budget the variable that decides whether the gate works at all. Too few mismatches
and the hairpin never opens; too many and it falls open without the trigger. Which positions are edited
matters as much as how many, which is why the mismatch pattern carries both.
A risk specific to this architecture
The spacer is a near-copy of the trigger, and the trigger was transcribed from somewhere, so the gene
encoding it carries DNA that nearly matches our spacer. That site is the cognate locus, and
we know it exists before looking at any reference genome, simply from how the spacer was built.
Figure M51
The cognate locus
Identical sequence match, three different outcomes
Only the three bases beside the site differ.
A full PAM makes the locus engageable, a degenerate one leaves it borderline, and no PAM makes
it unreachable.
It is scored as a penalty rather than a gate: a strong trigger with an engageable cognate site may still
beat a weak one with a dead site. The weight deserves care, because engaging that locus couples the gate
onto its own input, suppressing the trigger's production with a repressing effector and amplifying it with
an activating one. That is a circuit-level failure, not an isolated off-target event.
What the model can establish today
Two design–build–test cycles are complete. Both algorithms are specified in full and neither has been
built, so the second cycle is still open at its test step. The diagnosis the framework rests on (that the
residual leak is in the hairpin rather than the scaffold) is a prediction, not a result.
The model is an equilibrium one: it describes end states and not rates, so a design that is
thermodynamically open but kinetically slow would look acceptable here. A kinetic treatment of strand
displacement would be added only if that case appeared in practice. The accessibility criterion is strict,
requiring all 20 spacer nucleotides to be unpaired, and can be relaxed during calibration if partial
exposure proves sufficient for dCas9. The weights and thresholds in Table 2 are chosen settings rather than
calibrated ones.
Next computational and experimental steps
Generate candidates for the spacer–trigger pair used in cycles 1 and 2, so the new designs can be
compared against the old ones on equal terms.
Calibrate the weights and thresholds against the published designs, then against our own measured fold
changes once they exist.
Test the generation-3 designs against the fully-closed and fully-open controls, which remain the floor
and the ceiling.
Sweep the mismatch budget on a small plasmid panel to locate the feasible window experimentally.
Build the first ranked plasmid output as a pair: guide and written target together.
The current circuit stage takes selected genes and available switch designs, proposes conjunctions up to the configured max_circuit_gates (default 2), and represents expression directions using positive or NOT terms. It uses the best-ranked available switch for each gene. Logic is held as a structured expression tree so it can be rendered, inspected and counted; it is not stored only as a caption.
This is a narrower implementation than the full design goal of enumerating equivalent Boolean expressions, considering OR and nested forms, and evaluating their behavior across samples. A conjunction of separately designed sequence components does not establish a molecular AND mechanism. In particular, a displayed NOT term does not implement the unavailable antisense route by itself.
For multi-gene combinations, current ranking aggregates the worst member value in the relevant metric direction and includes a complexity penalty. In the direct one-transcript example there is one component, so \text{circuit\_complexity} = 1 is computed. Older descriptions saying the entire circuit stage is a stub or that complexity is always missing no longer describe this snapshot.
The sample-level evaluation still missing
The intended evaluator would compare a circuit's predicted state against each labeled sample and report true positives, true negatives, false positives and false negatives. Sensitivity is \frac{\mathrm{TP}}{\mathrm{TP} + \mathrm{FN}}, specificity is \frac{\mathrm{TN}}{\mathrm{TN} + \mathrm{FP}}, and Youden's J is \text{sensitivity} + \text{specificity} - 1. A rule that fires on every sample has sensitivity 1 but specificity 0 and J = 0, illustrating why sensitivity or raw accuracy alone can obscure poor separation.
There is currently no count matrix from the product and the confusion evaluator is unfinished. An empty internal confusion object is therefore not a measured result. Even a future evaluation against expression samples would validate the logical classifier under its assumptions, not prove that an RNA construct implements that logic. Large expressions can overfit small datasets; complexity limits and held-out evaluation are needed. The practical cost of false positives and negatives also depends on the output and application.
Assembling the expression record
Assembly takes the design or candidate circuit, a desired output and an optional backbone. The single-switch arrangement is promoter → switch → payload → terminator → optional backbone. Each segment retains its identity and coordinates. Multi-switch records contain the corresponding promoter/switch components and shared output arrangement, but biological integration remains to be demonstrated.
Figure M52Inspect the complete assembled record
Junction motifs
Why a part-by-part check is insufficient
Two individually acceptable parts can create a prohibited restriction site across their join. The whole assembled sequence is scanned.
Circular join
Why a part-by-part check is insufficient
A site can span the last/first bases of a circular sequence and disappear from a linear-only scan. The current assembly checker evaluates the circular join.
Frame continuity
Why a part-by-part check is insufficient
The switch start codon must remain in frame through the payload, without an intervening premature stop. A valid isolated coding sequence does not establish a valid fusion.
RNA/DNA representation
Why a part-by-part check is insufficient
Folding uses RNA; assembled DNA records and restriction motifs require consistent T/U conversion. Conversion is explicit at the boundary.
Violations are recorded rather than silently “fixed” by changing a switch nucleotide, because that would invalidate the structure calculations that justified it. No codon optimization runs in this pinned engine. Payload validation requires a complete in-frame coding sequence; the built-in GFP's trailing stop-codon run is handled as its terminal stop rather than multiple premature stops.
GenBank and SBOL 3 serialization are implemented, with segment annotations and recorded checksums. A construct record is a computational composition, not a cloning protocol or proof of expression. A request with no backbone, including the 973 bp worked example, has not created a complete cloning vector. Release is also a separate gate: the example's sequence files were held with HOLD_SYSTEM because a screening adapter was unavailable. Software output and release details.
Gate families return raw measurements. One scoring layer assigns directions, intervals, weights and hard filters, so each candidate has an inspectable decomposition. This supports consistent calculation across designs; it does not, by itself, establish that a common score is equally predictive for every chemistry.
Figure M53
Keep raw quantities
Preserve units and missing values from the gate evaluation.
Apply hard filters
A reported value beyond a cutoff rejects the candidate, with a reason.
Normalize and combine
Use the profile’s ranges, directions, weights and missing-value policy.
Rank and explain
Accepted candidates receive a rank; rejected candidates remain inspectable.
Scientific scoring and sequence-file release are separate decisions. A high-ranked candidate can still have its sequence exports held, as in the recorded example.
Compare recorded designs
What makes one gate rank above another?
Explore the mCherry run: choose two designs, compare their score components, and inspect the trade-off between leakage and dynamic range.
Loading recorded measurements. The top design, cand-000015, scored 0.7858; 21 designs were ranked and one was rejected.
Overall ranking
Score from 0 to 1 under default-v2. Select a bar to compare that gate as design B. Rejected designs have no final score and remain available in the selectors.
Metric comparison
Leakage and dynamic range
Each point is one scored design. Lower leakage and higher dynamic range lie toward the upper left. Select a point to compare it as design B; the selectors also let you inspect overlapping points.
All values come from the recorded single-input toehold run. This dataset compares gate designs; it contains no measurements comparing multi-gate circuits or different gate families. Missing measurements remain marked “Not measured.” Leakage and dynamic range are structural proxies, and the final score is a ranking rather than a probability of biological success.
Candidate CSV · Full run JSON.
Nine declared metrics
The current default-v2 profile uses the weights and normalization intervals below. These intervals are scoring conventions; they are not experimentally established biological operating ranges. Arrows show which direction the profile rewards.
Metric
Weight
Interval / direction
Meaning in this example
State separation
3.0
0–10 log2 fold ↑
Absent for a pasted sequence; skipped.
Trigger accessibility
2.0
0–1 ↑
Minimum marginal openness within the window; distinct from shortlist P8.
Gate folding energy
2.0
−60–0 kcal/mol ↓
Minimum free energy of the unbound switch.
Predicted leakage
2.5
0–1 ↓
Mean start-codon openness in the OFF ensemble for this layout.
Orthogonality
1.5
0–1 ↑
Inter-gate independence; absent and skipped here.
GC content
0.5
30–70% ↑
Switch GC percentage; the profile rewards higher values within this interval.
A binding-energy sigmoid, not a calibrated success probability.
Circuit complexity
1.0
1–10 components ↓
One component in this single-input example.
Normalization and missing values
Clamp a raw value to its interval [L, H] and calculate z = \frac{x-L}{H-L}; use 1 - z for lower-is-better metrics. The score is \frac{\sum_i w_i z_i}{\sum_i w_i}. Missing state separation and orthogonality are skipped; other missing metrics retain their weight and contribute zero to the normalized score. Their raw values remain missing.
Reported leakage above 0.85 or state separation below 0.5 rejects a candidate. An absent metric does not trigger these filters. The mCherry top candidate has no state-separation or orthogonality measurement; its remaining metrics produce the recorded 0.7858 score.
The proxy called “predicted success rate”
Binding energy is \Delta G = G_{\mathrm{complex}} - G_{\mathrm{switch}} - G_{\mathrm{trigger}}. The reported proxy is \frac{1}{1 + \exp\left(\frac{\Delta G + 15}{2}\right)}, with energies in kcal/mol. The midpoint and slope are chosen parameters. A value close to 1 indicates a favorable energy under this transform, not demonstrated reliability in a cell.
Leakage depends on the switch architecture; the formula above describes the bacterial example. Other layouts inspect different regions. Shared components in the score can be correlated, and a low-energy OFF structure may also be difficult to open. Those trade-offs require calibration.
A missing raw measurement stays missing. Returning raw zero after a failed lower-is-better calculation can create an apparently perfect result. A deliberately assigned worst normalized contribution is a different operation, governed by the profile. The raw record must preserve the distinction.
One definition per quantity. Shared folding, accessibility and motif tools use the run's recorded settings. Separate instances with different temperatures or metric conventions would make their values incomparable, even if a weighted mean can still be calculated.
Gate families report raw values. Normalization and weighting occur centrally. Adding a family must also define the biological meaning of each metric and test whether comparison is justified.
Keep reasons with rejected scored candidates. The application requires a rejection reason rather than dropping the scored row. Earlier generation failures are a separate category; preserving one scored rejection does not document every lost window.
Missing biological parts remain missing. An unverified backbone or absent coding sequence is not replaced with a plausible-looking sequence. The run must say why an output cannot be built.
Names do not turn proxies into observations. Leakage, dynamic range and success-related fields require their computational definitions beside them. The machine field predicted_success_rate remains a binding transform, regardless of its probability-like name.
Changing the profile without losing comparability
A caller can change metric weights, add hard-filter thresholds and request tie-breakers through a derived profile. The implementation holds metric directions and normalization intervals fixed through that interface. These intervals are deliberate scoring conventions, not universal bounds imposed by physics, and future revisions may need different choices after calibration.
Tie-breaker preferences are accepted and recorded in the derived profile, but this snapshot's final ranking does not apply them: equal scores are ordered by candidate reference. Changing that preference alone therefore does not change the current ranking.
A deterministic custom-profile label records the overrides. Comparisons still require compatible source versions, tool settings, inputs and reference data. The pinned normalization/ranking code applies stable ordering; scientific changes that alter rankings require a new recorded profile or engine revision. The current default is default-v2, despite a historical constant name in the source retaining “V1.”
Performance prediction needs measured switches as well as folding calculations.
Peleg Bazak and Tamir Tuller's GROOT study
(Generalized Ranking Of toeholds via Optimal Transport)
[17] investigates interpretable rankings across experimental
switch libraries. Its supplied manuscript identifies the original studies below as
sources for model development and evaluation.
Original measurements and their roles in the GROOT study. The two 2020 papers
describe a shared high-throughput research effort and are credited together.
RNA prediction and design informed by sequence and secondary structure, including tested toeholds.
Additional measured-switch evaluation context.
For its competitor-RNA features, the GROOT manuscript also cites
EcoCyc for reference-genome information [18]
and the RNA-expression dataset RNA-seq analysis of BL21 (DE3) cells for AcK biosynthesis[19]. These supply background sequence and expression
context for that study's competition analysis.
The computational result carries candidate identity, rank, raw and normalized metrics, profile weights, selected transcript coordinates, warnings and scored rejection reasons. The candidate CSV and recorded JSON make the worked example inspectable. Sequence-format serializers support FASTA, GenBank and SBOL 3 when release is permitted. Every emitted artifact is associated with its run and checksum.
Generated scientific structure figures and an assembled PDF report remain unfinished in the reporting stage. Browser visualizations of stored sequence/logic records are distinct from generated scientific report artifacts. In this example, the actual output consists of the candidate table and screening audits; no sequence-format download is claimed. See how to read and retrieve the results.
7. Results, audits and validation
We distinguish three kinds of evidence: whether the pipeline produces inspectable designs, whether its sequence checks find construction problems, and whether structural predictions agree with experiments. Only the third uses experimental structure measurements; none tests a CERNAL-designed switch in a cell.
Execution
A recorded end-to-end example
The mCherry run above produced ranked designs with traceable windows and scores. It demonstrates the computational path.
Design checks
Assembled sequences matter
An earlier window-only screen missed most construction failures. The audit changed where we screen.
Structure agreement
The result depended on the study
Marginal openness led in 15 of 20 E. coli bins; the composite led in the remaining 5.
The example output: an annotated construct map
The highest-ranked mCherry candidate, cand-000015, assembles a 973 bp expression cassette. The purple region encodes the single-input RNA logic switch; the green region encodes the intended GFP output. The mCherry transcript is the recognition input and is not encoded in this output cassette.
Figure M54
Rank 1 · cand-000015 · E. coli · GFP output
Example output construct · 973 bp
Linear map of the example output cassette, with an expanded toehold switchIn the direction of transcription: J23119 promoter at bases 1–35, single-input toehold switch at 36–124, GFP coding sequence at 125–844, and B0015 terminator at 845–973. The expanded 89-base switch shows a 3-base leader, 18-base toehold, 18-base recognition arm, 11-base RBS loop, 18-base return arm containing the start codon, and 21-base linker. ATG is at cassette bases 92–94. Both maps are proportional within their own scales. No backbone was supplied, so this is not a complete circular plasmid.
Promoter · 1–35
J23119 · 35 bp. Drives transcription of the switch and output.
Logic switch · 36–124
89 bp. Intended to allow translation when the mCherry trigger binds; the loop carries the ribosome-binding site (RBS).
GFP output · 125–844
BBa_E0040 · 720 bp. Encodes the fluorescent reporter; the switch's start codon and linker precede this payload.
Terminator · 845–973
B0015 · 129 bp. Ends the expression cassette.
This example is an expression cassette, not a complete cloning plasmid: no backbone, replication origin or selection marker was supplied. Coordinates are 1-based and inclusive; feature boundaries are reconstructed from the preserved assembly template, default part lengths and the recorded candidate's 973 bp total. The switch expansion shows template domains, not measured RNA structure or validated logic function. Sequence-file release remained held in this run.
Recorded candidate and rank ·
Assembly and default parts ·
Switch architecture.
Current run and historical milestones
The 7 October 2026 example above is a new, reproducible native-engine run from the preserved source snapshot. The following older results remain part of the development record. They show what specific revisions produced; candidate counts can change with geometry, scoring, filtering and default parameters.
Figure M55
E. coli DE route · September 2026
3,000 rows from BV-BRC experiment 88048 / bioset 42635036; 730 accepted candidates in 34 s.
Historical execution evidence. The manifest's comparison is “0 min after ampicillin / 0 min before treatment,” and the table has no p-values; it is not persuasive evidence of biological state discrimination.
Yeast DE route · September 2026
The development record reports 110 accepted candidates from real catalog genes.
Historical integration result; it is not a current replay or a measured yeast switch response.
Direct-sequence regression · September 2026
The 711 nt mCherry submission went from 0 candidates to 41 after transcript scanning was introduced.
Evidence that input interpretation changed: candidates acquired the window offsets they were designed against.
Recorded example · 7 October 2026
Same 711 nt input, current snapshot: 21 accepted and 1 scored rejection; 2.537 s in the local environment.
Current ranking and audit output, with sequence-file release held. It is not a speed benchmark against the older runs.
Development milestones, not matched performance benchmarks. Counts retain the input and revision context.
The milestone dates refer to the September development records, not standardized benchmark sessions. Exact timing conditions and revision-level differences are not recoverable from every historical table. DE development record · Direct-sequence regression.
What the constructibility audit revealed
The constructibility audit. In the documented mCherry development audit, 337 of 676 windows of length 36 could not produce a valid switch under the rules tested. A window-level motif screen caught 31 and missed 306, about 91% of those failures. Additional start codons in the assembled switch were the dominant issue. This motivated checking construction feasibility, rather than relying on the trigger sequence alone. These historical counts describe that audit, not the current run above. Audit methods and development record.
Figure M56How many unusable windows did the early screen find?
Of 676 audited windows, 337 could not make a valid switch under the tested rules. The early
window screen identified 31 of those 337.
31 caught306 missed
The bar's denominator is the 337 unusable windows, not every window
screened. It shows why the assembled switch also needs validation.
The window screen's 31 rejections were all among the 337 unusable windows in that audit: it had no observed false positives there, but very low recall for assembled-switch failures. The following counts concern violations across 676 \times 3 design attempts, not 676 unique windows; a window can produce several variants and failures.
Figure M57Violations across design attempts · counts can include several variants per window; categories are not a partition of unique windows.
Expected exactly one start codon1,026
PstI restriction site99
A run of six G bases51
In-frame stop codon38
A related historical timing experiment covered 1,358 windows across the two length classes used at that time. Profiling the 711 nt transcript once took 0.041 s; screening, folding and GC calculation across the windows took 0.181 s; constructing and applying the implemented sequence validations to candidate switches took 0.042 s. The latter total was about 4.3 times smaller than 0.181 s. These timings supported moving inexpensive feasibility checks earlier. They do not imply that every future structural validation is a string operation or that the same timings apply to the current three-length scan.
The compute budget and the cost of combinations
The development roadmap recorded the following ViennaRNA 2.7.2 timings on a development machine. The original table does not identify sufficient hardware detail for a portable performance claim; it is useful as a planning estimate.
Figure M58Recorded time per call · milliseconds · development-machine estimates, not a portable benchmark.
Fold · ~92 nt switch2.76 ms
Fold · ~150 nt concatenated sequence9.09 ms
Cofold · switch + trigger as separate strands6.89 ms
Partition function · ~92 nt accessibility4.99 ms
The concatenated-sequence row measures an operation's cost, not a biologically appropriate ON-state model. A fold + cofold + partition estimate totals 14.64 ms, rounded to 15 ms per design on one core. At that rate, 12,000 designs require about 180 seconds (3 minutes), and 13 million require about 54 hours. These are arithmetic projections; caching, sequence lengths and parallelism change actual runtime.
Fifty genes generate 1,225 unordered pairs; allowing roughly ten designs per pair gives about 12,000 evaluations. Two hundred genes generate 1,313,400 triples; ten designs each gives roughly 13 million. The triple example is a growth illustration, not a claim that this pipeline enumerates three-input gate designs. Gene limits, 50-window shortlists, trigger arity and circuit-component caps constrain different stages of this growth. Pruning before combinations avoids paying for alternatives that would fail cheap checks later.
The timings and search-space examples are preserved in docs/ROADMAP.md within the source archive; the three-length current run has its own recorded runtime.
Validation against experimental RNA structure
Prediction against biological measurements
The direct comparison pairs each 20-nt RNA window's pipeline score with its mean measured
in-cell SHAPE reactivity at observed positions only, without imputation, using published E. coli MG1655 data from Mustoe et al. [3].
Larger SHAPE values indicate greater structural accessibility. The score is a ranking heuristic;
SHAPE reactivity is an experimental proxy, with a different scale.
We reconstructed the individual pairs from the published RNA availability archive
using its recorded code, ViennaRNA 2.7.2 and run settings, then checked each usable gene against
its saved checkpoint. The reconstruction and source checks are documented in the
comparison manifest.
Explore prediction against biology
Pipeline predictions and biological measurements
Compare predictions with measurements for the same RNA windows, then explore their average
values across best-seed probability bins. Choose one RNA sequence or the overall comparison;
selecting a bin highlights its windows in the scatter plot.
The paired values and seed-bin means are
available through the downloads below.
The seed-bin curves always summarize the full dataset.
Figure M59Prediction vs biological measurement
Linear fit · least squares
Each point is one matched RNA window. Pipeline scores and SHAPE measurements use
different units. The scatter shows a deterministic sample of
up to 150 windows per seed bin; all matched windows contribute to the curves.
Spearman’s ρ measures agreement between ranks, with tied values
assigned average ranks. The dashed line is a separate linear fit of pipeline score against
measured SHAPE. Both use every paired window in the selected scope, including points omitted
from the overall scatter sample.
Figure M60Prediction and biology across seed bins
Pipeline prediction · left axisBiological measurement · right axis
Each point is the arithmetic mean of all matched windows in that bin.
The two curves use separate y-axes; their heights do not imply equal values.
Best-seed P8 bins have width 0.05 and include their lower edge;
the final bin also includes 1. Empty bins have no plotted mean. Bins group windows by predicted
P8, which also contributes to the pipeline score. The accessibility pipeline score
is distinct from CERNAL's final nine-metric candidate score. Overlapping windows are not independent
biological replicates, and these measurements do not test switch activation.
The protocol scans 20-nt windows at a 1-nt step and requires at least
80% measured-base coverage. Of 4,497 gene records, 450 passed the record-level minimum of 20
measured bases; the remaining 4,047 had insufficient measurements. Annotated gene intervals do
not reconstruct every polycistronic transcript.
This earlier analysis compared two predictors with the same experimental measurements. The
views above show the pipeline score and experimental reactivity directly; this table reports
correlations for the pipeline score and a separate RNAplfold marginal predictor.
Living-cell probing in E. coli. We processed 4,497 records from the Mustoe E. coli SHAPE study, retaining 450 after mapping and coverage checks. Within matched windows and seed-probability bins, we compared the accessibility pipeline’s composite score with mean marginal openness at the positions actually observed by the assay.
The completed living-cell report was recorded on 20 September 2026. The E. coli comparison uses original, non-imputed processed tracks from RASP v2 for the Mustoe SHAPE study. The assay was direction-normalized so larger experimental values represented greater accessibility. The mean marginal predictor uses exactly the positions observed by each assay; model-only positions are not treated as measurements.
Both predictors use the same matched E. coli windows. Best-seed P8 defines 20 bins from 0 to 1, with width 0.05. Pearson correlation is calculated separately within each bin. This asks whether window-level predictor variation tracks assay variation in that cohort; it does not directly test whether P20 is a calibrated joint probability.
Figure M61
E. coli living-cell SHAPE benchmark[3] 4,497 records processed → 450 retained. Pearson correlation ranges across 20 seed-probability bins.
Accessibility pipeline score · 0.149–0.327
Mean marginal openness · 0.188–0.445
00.51
Pearson r · dimensionless · displayed axis 0–1 (the full possible range is −1 to 1).
These ranges describe variation between bins, not confidence intervals.
Correlations use matched windows within each E. coli bin. “Retained” means records meeting mapping,
coverage and analysis rules; it does not mean experimentally validated designs. The accessibility pipeline
score is distinct from CERNAL’s final nine-metric candidate score.
All bin values and window counts ·
Protocol, hashes and complete summary.
The retained E. coli records yield 368,072 matched windows. These are overlapping windows, not independent experimental replicates. Assay coverage, mapping exclusions, conditioning on predicted seed probability and irregular per-bin trajectories all limit generalization.
// Note
What we learned: marginal openness had the higher correlation in 15 of 20 E. coli bins; the composite score led in the remaining 5. This result does not establish a universal advantage for either predictor. These are descriptive paired comparisons, not significance tests: overlapping windows and bins are not independent replicates, and none measures switch function.
What changed: the team specified a comparison of RNAplfold, RNAfold, RNAstructure, CONTRAfold, LinearPartition-C and EternaFold with analysis rules fixed in advance, equal study weight and predefined winner criteria. That comparison remains incomplete. We report no six-tool winner and no calibrated probability of switch success.
8. What we can conclude, and what remains open
Conclusions from the completed work
The computational workflow runs on real sequence and expression inputs. The recorded example exposes its input, coordinates, measurements, ranks and release status. Historical DE runs establish additional integration milestones, not prospective biological performance.
Explicit geometry makes the predictions interpretable. Exact footprints, defined seed and hypothesis regions and stable length allocation identify what was evaluated. Their biological ranking advantage remains to be demonstrated.
Construction feasibility belongs early in the search. The audit found a dominant sequence-level failure that did not require folding to detect. Early screening saves work while final assembled checks remain necessary.
Missing evidence changes the question a score can answer. Public-table gaps, absent sample counts and missing specificity references cannot be repaired with numerical defaults. The profile must disclose which axes contributed.
The structural benchmark challenges a universal scoring advantage. Marginal openness led in 15 of 20 E. coli bins; the composite led in the remaining 5. The result motivates comparison and calibration instead of a claim that added complexity is automatically better.
No generated construct is functionally validated here. A high rank explains preference under stated assumptions. It is not a guarantee of binding, activation or correct behavior in a cell.
Assumptions and their consequences
Figure M62Follow each assumption to its possible failure
A1 · Sequence thermodynamics
What the model uses
Base-pairing energetics help compare RNA interactions within specified conditions.
What failure would mean
Host-specific machinery and cellular context can alter function; sequence-based modeling does not establish organism independence.
A2 · Local equilibrium
What the model uses
RNAplfold's local ensemble at the recorded temperature approximates regional accessibility.
What failure would mean
Long-range interactions, proteins, ribosomes and folding history can shift the ranking.
A3 · Structural proxies for switching
What the model uses
OFF/ON structure and energy are treated as informative about intended switching behavior.
What failure would mean
A thermodynamically favorable candidate may be kinetically trapped. The default score does not establish switching rates.
A4 · Declared contrast direction
What the model uses
Positive log2FC means increased expression in the target condition.
What failure would mean
A reversed contrast reverses the desired input logic; the engine cannot infer the researcher's intended label semantics.
A5 · Abundance is not local availability
What the model uses
Bulk expression is used only where supplied and relevant constraints are configured.
What failure would mean
A transcript can be abundant in bulk yet unavailable at the location, concentration or time needed for interaction.
A6 · Different screening questions
What the model uses
Restriction sites, frame checks and motif rules assess sequence/assembly conditions.
What failure would mean
Passing those checks is not a biological hazard assessment or a release decision; Safety and export audits address their separate scope.
Present scientific and implementation limits
Functional validation remains incomplete: the first-generation bacterial panel has measured reporter responses and yeast has partial guide suppression. The archived worked example is not linked to a validated cellular truth table. Correlation with structure does not calibrate activity.
No transcriptome-wide specificity search: off-target effects remain unknown; inter-gate orthogonality is also missing from the example.
No sample-level circuit assessment: conjunction records exist, but the product supplies no count matrix and the confusion evaluator remains unfinished.
Limited integrated gate families: single-input toehold generation is operational in the archived pipeline; two-input gate integration, the antisense route and CRISPR remain unavailable there. The 16 October source update records the subsequently merged selectable AND path; it does not change the archived run or establish experimental function. The separate NOT-gate study reports completed computational runs for both hosts.
Equilibrium scope: the default calculation omits explicit concentration, kinetics, cotranscriptional folding, competition, localization and degradation. Auxiliary quantities do not replace a calibrated kinetic model.
Host and sequence coverage: the archived discovery pipeline bundles references and regulatory parts for E. coli and yeast. The separate human NOT-gate study uses its own expressed-transcript reference and initiation geometry; that study does not establish general human discovery and assembly support in the archived pipeline.
Provisional parameters: gene weights, final-score weights, margin shapes and hard cutoffs are starting choices. Related score terms can double-count the same structural information.
Statistical provenance: the raw-p coverage heuristic cannot prove a table is unfiltered. Incorrect multiple-testing scope can make an apparently precise adjusted value misleading.
Incomplete sequence adaptation: the pinned codon optimizer is not operational, and GFP is the only built-in payload sequence. A custom input requires its own validation.
Reporting and release: generated scientific reports are unfinished, and a ranking pass does not imply sequence files are releasable. The worked example records this distinction explicitly.
Next work and the decision each step resolves
Complete the frozen six-tool structural benchmark. Verify the toolchain and adapters, run all three living-cell studies and use the predefined equal-study comparison and winner criteria. Report a tie when those criteria do not separate methods.
Measure functional switching prospectively. Freeze a panel before collecting outcomes, span footprint lengths and structural regimes, include appropriate controls and quantify output with and without trigger. This tests whether the shortlist predicts useful biology.
Compare ranking strategies on held-out results. Evaluate joint-opening selection against marginal-openness selection and simpler baselines using the same functional panel. Calibrate score weights and thresholds only with a clear training/evaluation split.
Add specificity evidence with reference provenance. Implement off-target searches against an identified reference build and report the interaction evidence. Avoid converting an unvalidated match statistic into a claimed biological probability.
Complete sample-level circuit evaluation. Collect or accept appropriate count matrices, implement the confusion evaluator and test generalization. Extend beyond conjunctions only with an explicit biological implementation and complexity control.
Integrate two-input and inverting gates. For AND, inspect both single-trigger intermediate states. Bring the separate NOT-gate design work into the integrated route while retaining its reversed default behavior, host-specific initiation rules and payload dependence.
Expand host and payload support deliberately. Verify parts, assembly constraints and any synonymous rewriting, then re-evaluate structural predictions after sequence changes. Test portability instead of assuming it from base-pairing chemistry.
The current output is a traceable shortlist for investigation. These next steps connect each modeling assumption to an observation capable of supporting or challenging it.
9. Safety
CERNAL raises two safety questions: what a designed RNA circuit does if it misbehaves, and what the design platform could produce if it were misused. Both are handled in the model and in the way we work. The wet-lab practices and the full biosecurity assessment are on the Safety and Security page.
Risks the model must address
Unintended activation, OFF-state leakage and recognition of other transcripts could produce an output in the wrong cellular state. Conversely, a predicted switch may fail to activate. The consequences depend on the host, payload and gate architecture, including whether loss of regulation leaves the output ON or OFF. Transcriptome-wide specificity and inter-gate orthogonality remain unassessed in the worked example, and complete sequence-specific gate validation remains unresolved despite the component and reporter measurements described above.
Biosecurity checks before a design is released
Sequence and assembly checks. Every design is checked for prohibited motifs, including those spanning part junctions, and for reading-frame problems.
Sequence screening. The final switch sequence and the assembled construct of every accepted candidate are screened with commec, the Common Mechanism software of the International Biosecurity and Biosafety Initiative for Science (IBBIS), after optimization.
Release is held, not assumed. Unresolved warnings or flags, and missing or inconsistent screening evidence, block the FASTA, GenBank and SBOL exports. In the recorded mCherry run the exports were held (HOLD_SYSTEM) because the screening service was unavailable. This shows the safeguard working; it is not a completed hazard screen.
These checks do not establish that a sequence is harmless. A candidate's score cannot replace reviewing the complete construct and its intended use, and a person reviews a design before it is synthesized or used in the lab. The screening backend was tested in an isolated benchmark, and live deployment has not been verified. How the screening works.
Statistical sequence models add a biosecurity checkpoint
We integrate IBBIS Common Mechanism (commec) to screen
final switch and assembled-construct sequences. Its hidden Markov models
are statistical profiles used to recognize sequence families of concern. Protein and
nucleotide similarity searches add best-match evidence, while low-concern matches help
resolve findings. This is an existing screening tool incorporated into CERNAL's workflow.
Screening mechanism, integration and evidence ·
Official Common Mechanism implementation.
CERNAL binds screening evidence to the sequence, software and database versions, and
withholds sequence-bearing exports when findings remain unresolved or screening is
unavailable. These checks complement structural ranking and human biological review.
The Safety page distinguishes implementation tests from verified deployment and
biological screening performance.
Release policy and reproducibility.
In the lab: low risk by design
All wet-lab work was done at Tel Aviv University under the university's biosafety rules and iGEM's Safety Policies. The microbial strains (E. coli DH5α and BL21, S. cerevisiae W303-1A) are Risk Group 1, and the HEK293T line is handled at BSL-2 in a biological safety cabinet. The constructs we characterized express fluorescent reporters only. The therapeutic payload is a design target that we did not build, and nothing engineered left containment. Why the project is low risk.
What remains open
Evidence on leakage, unintended activation and off-target recognition, with explicit limits on what each experiment or prediction supports.
The CERNAL implementation and worked example on this page use archived source revision 9a5ca657.
The direct E. coli comparison uses the RNA availability evidence archive at 50f9501,
with its own reconstruction manifest.
The worked example uses Python 3.13.15, ViennaRNA 2.7.2 and default-v2. Its metadata, request and recorded measurements identify the actual computation. The source snapshot preserves code and development records independently of a moving repository branch.
The human and E. coli NOT-gate sections use the supplied NOT-gate design report.
Its original document, figure counts and interpretation notes are preserved in a separate source manifest.
That report specifies ViennaRNA at 37 °C but does not supply a software version, complete sequences or raw variant outputs. The wiki presents its reported results without claiming an independent rerun.
Figure M63Tools connect calculations to traceable sources
ViennaRNA 2.7.2
Role
Minimum-free-energy folding, partition functions, base-pair probabilities, dimer folding and local RNAplfold profiles.
Interpretive boundary
Thermodynamic prediction, with recorded temperature and parameters.
NucSyn Platform (Landau et al.)
Role
RNA inverse-design toolkit supplying ranked single-input switches for the eukaryotic AND research workflow.
Upstream software ·
Landau et al. [9].
Interpretive boundary
CERNAL reads the exported designs offline and retains their upstream scores separately from its four-state evaluation.
Research workflow and provenance.
Biopython
Role
GenBank parsing and annotated sequence export.
Interpretive boundary
Valid serialization does not establish a validated construct.
sbol3
Role
SBOL 3 serialization of the assembled design.
Interpretive boundary
An interoperable design representation; subject to release checks.
NCBI RefSeq
Role
Bundled E. coli and yeast coding-sequence references.
Interpretive boundary
Reference completeness and build identity constrain target coverage.
iGEM Registry API
Role
Recorded verification of bundled biological parts, with offline consistency checks.
Interpretive boundary
Part provenance is separate from performance in a new context.
Expression Atlas / BV-BRC
Role
Curated public differential-expression comparisons, synchronized offline.
Interpretive boundary
Each comparison retains its own statistical and experimental limitations.
Python / NumPy
Role
Scientific pipeline, numerical processing and recorded outputs.
Interpretive boundary
Reproduction also needs the same libraries, references and settings.
RASP v2 processed tracks
Role
Living-cell experimental probing inputs used in the recorded benchmark.
Interpretive boundary
Assay-specific coverage, mapping and direction must remain explicit.
Published pipeline for mRNA-trigger selection and toehold design in prokaryotes and eukaryotes, credited as a foundation for the switch-design workflow.
Interpretive boundary
A design precedent rather than a result reproduced here; the validation on this page is our own.
Host selection determines the transcript reference and assembly parts. The reference data are bundled, so a run does not depend on a provider responding in real time. The following inventory describes the pinned source revision used for this page. The human expression catalog is not evidence that human construct generation is supported.
Figure M64Reference inputs and their boundaries
Transcript references
What is supplied
NCBI RefSeq: E. coli K-12 MG1655, 4,308 coding sequences; S. cerevisiae S288C, 6,027 coding sequences across 16 chromosomes and the mitochondrion.
Scope or missing evidence
CDS references, not complete transcript isoform/UTR collections; no bundled human transcriptome.
Registry parts
What is supplied
15 bundled iGEM Registry parts with recorded API verification and offline consistency tests.
Scope or missing evidence
Verification of a part's identity or length does not establish function in this construct.
Promoters and terminators
What is supplied
J23119 and B0015 for E. coli; GPD/TDH3 and ADH1 for yeast.
Scope or missing evidence
Long homopolymer runs in the AT-rich yeast parts can be informational notes rather than automatic rejection.
Backbones
What is supplied
Ten E. coli BioBrick vectors spanning three resistance markers and three copy-number classes; custom GenBank input is supported.
Scope or missing evidence
No bundled yeast backbone. An assembly without a backbone is an expression cassette, not a complete cloning vector.
Payload
What is supplied
GFPmut3b (BBa_E0040) is the built-in coding sequence; a custom coding sequence may be supplied.
Scope or missing evidence
Other named outputs need a verified sequence. The current engine does not invent missing parts.
Public expression catalog
What is supplied
15 curated comparisons: five each for human, yeast and E. coli, synchronized offline from Expression Atlas and BV-BRC.
Scope or missing evidence
Availability of a comparison and availability of a host's full design workflow are different capabilities.
Codon usage and optimization
What is supplied
The pinned engine contains a codon-optimization interface.
Scope or missing evidence
Its optimization and translation-scoring methods are unimplemented in this snapshot; no codon-optimized output is claimed.
Condition-specificity atlas
What is supplied
No populated atlas is supplied.
Scope or missing evidence
Expression outside the compared conditions is unchecked; that gene-score axis is omitted.
Off-target reference search
What is supplied
No operational transcriptome-wide off-target search.
Scope or missing evidence
The former placeholder scanner/fields were removed. Absence of an off-target result does not mean a clean match.
Human reference-data availability. A verified, versioned download link and checksums for the separate human reference files human.fasta.gz and human.json are pending. The links above document the reviewed snapshot.
References and computational sources
[1] Green AA et al. (2014). Toehold switches: de-novo-designed regulators of gene expression. Cell 159, 925–939. Original switch design.
[2] Lorenz R et al. (2011). ViennaRNA Package 2.0. Algorithms for Molecular Biology 6, 26. Thermodynamic software.
[3] Mustoe AM et al. (2018). Pervasive regulatory functions of mRNA structure revealed by high-resolution SHAPE probing. Cell 173, 181–195.e18. E. coli SHAPE study.
[4] Benjamini Y & Hochberg Y (1995). Controlling the false discovery rate: a practical and powerful approach to multiple testing. JRSS B 57, 289–300. Multiple-testing method.
[9] Landau Y, Arbel M, Benarroch D, Klein JY, Moree E & Tuller T (2025). Computational design of toehold switches in eukaryotes and prokaryotes for efficient post-transcriptional control. bioRxiv, version 1, posted 16 January 2025. Triggate design framework.
doi:10.1101/2025.01.15.633215 ·
Cited preprint version.
[10] Wintenberg ME, Vasilyeva OB & Schaffter SW (2025). Comparative transcriptomic analysis of perfluoroalkyl substances-induced responses of exponential and stationary phase Escherichia coli. BMC Genomics 26, 1016. Source of the PFOA RNA-seq data (GEO GSE288896).
[11] Tan et al. (2022). Single-cell analysis of endometriosis reveals a coordinated transcriptional programme driving immunotolerance and angiogenesis across eutopic and ectopic tissues. Nature Cell Biology 24, 1306–1318. Source of the endometriosis expression data.
[12] Pardee K et al. (2016). Rapid, Low-Cost Detection of Zika Virus Using Programmable Biomolecular Components. Cell 165, 1255–1266.
Cell-free Zika-sensor measurements.
[13] Takahashi MK et al. (2018). A low-cost paper-based synthetic biology platform for analyzing gut microbiota and host biomarkers. Nature Communications 9, 3347.
Microbiota and host-RNA sensor measurements.
[15] Valeri JA et al. (2020). Sequence-to-function deep learning frameworks for engineered riboregulators. Nature Communications 11, 5058.
Companion sequence-to-function study.
[16] Riley AT et al. (2025). Generative and predictive neural networks for the design of functional RNA molecules. Nature Communications 16, 4155.
Structure-informed RNA prediction and design.
[17] Bazak P & Tuller T. Towards Rational Toehold Switch Design: A general model to predict toehold switches performance based on explainable machine learning.
Unpublished GROOT manuscript supplied to the team.
GROOT code repository.
Original experimental sources are cited individually in [1] and [12]–[16].
[19] NCBI Gene Expression Omnibus. RNA-seq analysis of BL21 (DE3) cells for AcK biosynthesis.
GEO GSE278616 ·
BioProject PRJNA1168096.
Expression-context dataset cited by title in the GROOT manuscript.
The example and implementation links are pinned to the CERNAL source revision. Biological references explain the methods; the linked run files and analysis records document what this project actually computed.