Week 9: Neuromorphic Genetic Circuits
Contents
- The assignment
- Q1: uveal melanoma classifier
- Q2: B-cell acute lymphoblastic leukemia
- Q3: holding cellulose crystallinity in a window
- Glossary
- Sources and AI use
The assignment
Three circuit designs. Classify uveal melanoma from healthy cells using TNFSF10 and TRPM1 as fixed inputs; pick a disease treatable by cell therapy, find markers with measured levels, and design a classifier for it; then design a non-medical application of a circuit of my own.
A word on the word. Neuromorphic is doing double duty here. In computing it usually means hardware that mimics spiking neurons. In this course it means an artificial neural network abstracted into biomolecules inside a living cell: no spikes, no temporal dynamics, steady-state titration instead. Both uses are legitimate and they are not the same thing. What is novel here is the substrate rather than the architecture.
The architecture is built from endoribonucleases (ERNs), which bind a target site on an mRNA and trigger its degradation. Because binding is one-to-one and non-catalytic, the node computes a difference with a floor at zero, which is a ReLU activation arrived at by stoichiometry rather than by design.
Q1: uveal melanoma classifier
The circuit fires where TNFSF10 is low and TRPM1 is high, which is where the melanoma cases sit, and the therapeutic output is apoptosis in the cell that made the call.
The target is Figure 1 of the assignment: 39 uveal melanoma cases plotted against healthy cells on TNFSF10 and TRPM1 expression, separated by a single straight boundary, with the cancer region in the upper left. It reports 0 percent of cases missed and 0.5 percent of the rest flagged.

Figure 1, reproduced from the Week 9 HTBAA assignment. Dots are cases, shading is classification.
Design. Five transcription units across three transfection groups, 650 ng total, inside the 800 ng cap, at 50 ng/uL throughout.
| Transfection group | Contents | DNA wanted (ng) |
|---|---|---|
| X1 (TNFSF10) | Csy4_rec_CasE | 150 |
| X1 (TNFSF10) | eBFP2 marker | 150 |
| X2 (TRPM1) | Csy4 | 30 |
| X2 (TRPM1) | mKO2 marker | 120 |
| Bias | CasE_rec_mNeonGreen | 200 |
How it computes. The output sits in the bias group as mNeonGreen carrying a CasE target site, so it is transcribed constitutively and destroyed wherever CasE protein is present. X1 carries a CasE source that is itself targeted by Csy4, so rising TNFSF10 produces more CasE and suppresses the output, which gives TNFSF10 a negative weight. X2 carries bare Csy4, which degrades that CasE source, so rising TRPM1 relieves the suppression and gives TRPM1 a positive weight built from two negatives.
That asymmetry is forced by the chemistry rather than chosen. A concentration cannot carry a sign, so the sign of an input is set by whether it adds to the output or removes it, and the only route to a positive input in this parts set is de-repression. Magnitude is a separate parameter, set by co-transfection ratios within each group.
Tuning. Topology places the active region in the correct corner; the ratio inside X2 sets how far that region extends. Holding X1 at 1:1 and sweeping the Csy4 fraction in X2 across four values (0.50, 0.43, 0.30, 0.20) shrank the active region at each step. The effect saturates above about 0.50 and holds most of its resolution between 0.20 and 0.50. The 0.20 circuit came closest to the size and angle of the region shaded in Figure 1 and is the submitted design.
Post-submission note (Nov 24, after the dry lab). The Nov 24 session clarified that functional components can go as low as 1 ng while markers should stay near 100 ng, which opens Csy4 fractions well below the 0.20 floor of the sweep above. I tested five circuits at 0.20, 0.10, 0.05, 0.02 and 0.01 with both markers at 100 ng. The active region does not tighten toward Figure 1 as I expected. Instead the decision boundary rotates toward vertical: by 0.01 the prediction depends on X1 alone and X2 carries almost no information. This follows from the mechanism, since the Csy4 in X2 is what makes X2 an input at all, so starving it collapses the classifier to a single-input threshold. The 0.20 circuit remains the best of the set and the submitted design stands. The run also confirmed that only within-group ratios reach the model: the 0.20 rebuild at 100 ng markers and the submitted circuit at 150 and 120 ng produce the same prediction, because both normalize to 0.50 in X1 and 0.20 in X2.




Predicted response across the X2 ratio sweep. Csy4 fraction 0.50, 0.43, 0.30 and 0.20. The active region shrinks at each step; 0.20 is the submitted design.
Where it disagrees with Figure 1. The classifier calls the low-low corner cancer, which Figure 1 does not. The cause is structural rather than a matter of tuning. The output construct is supplied constitutively by the bias group, and the only thing that removes it is the CasE produced by X1. TRPM1 acts solely by degrading that CasE, so where TNFSF10 is near zero there is nothing for TRPM1 to act on and the output sits at its ceiling whatever the TRPM1 level. The two inputs are therefore not independent: the influence of X2 is conditional on X1 being present. An independent positive input would have to be built by co-expression onto the shared output rather than by de-repressing the negative input, which is a change of topology rather than of weights. Given the choice I would rather over-call in a sparsely populated corner than miss true positives, so I accepted the false positive here and noted it; removing it would need a second layer.
A related limit: the boundary a single ERN node draws is piecewise rather than straight, because the activation is rectifying. Figure 1’s reference boundary is a single straight line, so an exact match is not reachable with one node.
Output. In the physical build the output is mNeonGreen, which reports classification but does nothing therapeutic. In a therapeutic the same slot carries hBax, a pro-apoptotic Bcl-2 family protein, so a cell classified as uveal melanoma triggers its own apoptosis. The choice follows from the false-positive corner: hBax acts only in the cell that expressed it, so a misclassification costs one cell, where a cytokine or immune-engager output would spread the error into surrounding tissue.
Q2: B-cell acute lymphoblastic leukemia
B-cell acute lymphoblastic leukemia, classified on CD19 and CD22 surface density with CD123 as a third input, and a therapeutic output that acts only on the cell that made the call.
Why this disease. Cell therapy for B-ALL is established rather than hypothetical, and antigen density on both blasts and normal B-lineage cells has been measured per cell by calibrated quantitative flow cytometry, which is the level of characterization the question asks for.
Measured antigen densities. All values are molecules or antigen sites per cell, by calibrated quantitative flow cytometry.
| Population | CD19 | CD22 | CD10 |
|---|---|---|---|
| Normal peripheral blood B cells | 22,000 ± 7,000 (mean, SD; n = 17 donors) | ~10,000 | not reported |
| Normal B-cell precursors, TdT+ | under 10,000 | not reported | under 50,000 |
| Normal stage 1 hematogones | 2,352 (average) | not reported | not reported |
| B-ALL blasts | over 10,000 | median 3,470 (range 349–19,653; n = 160) | over 50,000 |
| B-ALL blasts, CD19-dim subset | 2,086 (average) | not reported | not reported |
| B-ALL blasts, KMT2A-rearranged | not reported | median 1,590 (range 349–3,624; n = 20) | not reported |
What the data forces. The blasts sit between the two normal populations rather than above them. Normal mature B cells carry more CD19 than blasts and roughly three times the CD22, while normal early precursors sit below the blasts and overlap the dim ones closely enough that CD19 alone cannot separate them. No single threshold isolates the blast population, so the classifier has to pass an intermediate band and suppress at both ends. That rules out a single ERN node, which can only place one rectifying boundary. A band-pass needs suppression from above and below, which costs a second and third ERN.
This is also why existing CD19 CAR-T causes B-cell aplasia: the therapy cannot distinguish blasts from normal B cells on these markers, and the field accepts the loss as a cost of treatment. A classifier that could pass the band rather than the half-plane would be a real improvement rather than a restatement.
A note on the data. Published antigen densities for these markers are reported one marker at a time rather than jointly, so the table above compares them per marker, with measured medians and ranges, rather than as a paired per-cell scatter. A true two-marker scatter would need per-cell paired measurements, which exist in the literature only inside figure images rather than as tabulated values.
The circuit. Three nodes, which uses all three orthogonal ERNs and so spends the entire parts budget. 725 ng total, at 50 ng/uL.
| Transfection group | Contents | DNA wanted (ng) |
|---|---|---|
| X1 (CD19) | PgU | 75 |
| X1 (CD19) | eBFP2 marker | 100 |
| X2 (CD22) | PgU_rec_Csy4 | 150 |
| X2 (CD22) | CasE | 25 |
| X2 (CD22) | mKO2 marker | 125 |
| Bias | Csy4_rec_CasE | 200 |
| Bias | CasE_rec_mNeonGreen | 50 |
The intent: the bias carries both the output and a constitutive CasE source, so the default state is off. X2 carries two arms. PgU_rec_Csy4 makes Csy4, which destroys the bias CasE source and lets output through, giving a rising edge. Bare CasE adds CasE directly and shuts output down again at high CD22, giving a falling edge. Because the two arms differ in step count they should saturate differently, and the gap between them should open a band. X1 carries PgU, which degrades the PgU_rec_Csy4 transcript and so gates the rising arm, making CD19 a threshold.
What it actually did. It did not band. Across five variants the predicted response was monotonically falling in CD22, high at low CD22 and fading to near zero at high CD22, with CD19 having no visible effect anywhere on the surface.



Three of the five attempted band-pass circuits. All produced a monotonically falling response in CD22 with no dependence on CD19, rather than the intended band.
Three things are wrong and they are the same thing. The output stayed high at low CD22 in every variant, including one where the bias suppressor was 80 percent of its group, so the constitutive CasE source never dominated the output construct. With no baseline suppression in place, the rising arm had nothing to relieve and contributed nothing. And because the rising arm was inert, the CD19 gate on it was inert too, which is why the horizontal axis is flat. What the surface shows is the falling arm alone.
What I would change. The two arms currently share a dependency: the rising arm works only by destroying the same construct the falling arm reinforces, so they are not independent and cannot be tuned against each other. A working band almost certainly needs the two edges on separate paths that meet only at the combining node, which is how the lecture’s reference band-pass is wired, rather than one arm relieving the other’s source. Separately, the predictor normalizes DNA within each transfection group and never sees across groups, so there may be no within-group ratio that produces the absolute imbalance between bias and output that this topology requires.
On the negative result. The Q1 single-node classifier verified against the predictor in four iterations, so the tool and the workflow were working. The band-pass did not, after five. That gap is consistent with the central claim of the Disset et al. preprint: component composition in these circuits is nonlinear and hard to anticipate, and the authors built a gradient-based compiler over learned models precisely because hand-designing multi-layer topologies does not reliably work. A single student failing to hand-tune a three-node band-pass in an afternoon is a small data point in favour of that argument.
Output. hBax, as in Q1. Cell-autonomous apoptosis, killing only the cell that expressed it.
Where it would fail. The lower edge is the dangerous one. CD19-dim blasts average 2,086 molecules per cell and normal stage 1 hematogones average 2,352, so on CD19 those populations are not separable at all, and any boundary drawn there will misclassify in both directions. CD123 would resolve exactly that overlap, since it separates blasts from hematogones in MRD flow, but reading a third marker needs a fourth orthogonal ERN and only three exist. That is the real constraint this architecture imposes: a band on two markers and a threshold on a third cannot coexist in one circuit. Given the choice I would accept over-calling into normal B cells, since B-cell aplasia is already an accepted cost of CD19 CAR-T, rather than under-calling and leaving dim blasts alive.
Q3: holding cellulose crystallinity in a window
The circuit holds bacterial cellulose crystallinity inside a target window rather than driving it as high as it will go, because scattering in a white pigment peaks at an intermediate feature size rather than at maximum order.
Why a window rather than a maximum. Pigment grades are milled to a specific size band because scattering falls off on both sides of it, and the same logic should apply to a biologically grown scatterer. The bacterial cellulose literature points the same way from the other direction: crystallinity rises with bcsD expression across a wide range (roughly 74 to 94 percent), while porosity moves against it and drops sharply once bcsD expression falls below about 55 percent. Both crystallite order and porosity feed scattering, and they move in opposite directions, so an interior optimum is likely. That last step is inference rather than a published finding.
This is what makes the problem neuromorphic rather than digital. A threshold gate can express “more” but cannot express “within a range”. Holding a continuous structural variable inside a band is a band-pass response, the same circuit motif the Q2 classifier needs, reached from the opposite direction.
What the circuit senses. Two inputs. c-di-GMP as X1, which is the native allosteric activator of BcsA and therefore the cell’s own running readout of how fast it is currently synthesizing cellulose. Dissolved oxygen as X2, which governs pellicle architecture at the air-liquid interface, varies strongly through a static culture, and is directly controllable in a bioreactor, so it is an experimental variable rather than only a descriptive one.
The circuit. A band on c-di-GMP with oxygen as a permissive threshold: make structured cellulose only when synthesis rate is in the right range and the cell is in the part of the pellicle where structure forms. Three nodes, which uses all three orthogonal ERNs and so consumes the entire parts budget.
- Node A sets the lower edge. Below a threshold c-di-GMP level, synthesis is too slow and the product is amorphous, so the output stays off. Built as a de-repression chain, the same double negative as Q1.
- Node B sets the upper edge. Above a second level, synthesis overshoots into crystallinity higher than the scattering optimum, so the output is pulled back down. Built as direct repression, a single step.
- Node C combines them, so bcsD is expressed only in the window between the two edges. Oxygen gates node C, so the decision is only made where pellicle actually forms.
Output. bcsD held at a graded level, high inside the window and low outside it. Deliberately not the whole operon: BcsA and BcsB are the minimum catalytic core, so tuning them changes how much cellulose is made, while BcsD organizes crystalline fibrils, so tuning it changes structure at roughly constant yield. Since the goal is to move structure rather than productivity, bcsD alone is the correct handle.
Portability. The architecture is mammalian and the chassis is Komagataeibacter, so this is a design on paper rather than a buildable construct. What is not hypothetical is the output half. Huang et al. tuned bcsD across a graded range in G. xylinus using CRISPR/dCas9 and moved crystallinity from roughly 74 to 94 percent without a significant yield penalty. So graded analog control of this exact gene in this exact organism is already published. What ERN logic would add is not the graded output but the multi-input computation in front of it: a dCas9 knockdown is a fixed setting, while a band-pass responds to conditions as they change. Porting the computation would need ERN expression and orthogonality demonstrated in a bacterial cytoplasm, and target sites that do not collide with native RNase activity. If that does not hold, the substitute is a transcription-factor repression cascade, at the cost of the one-to-one stoichiometry that gives the ERN node its rectifying activation.
Glossary
Antigen density. The number of copies of a surface protein on a single cell, measured against calibrated bead standards. Reported as molecules or antigen sites per cell, which is what makes it comparable across studies.
Band-pass. A response that is high across an intermediate range of input and low at both ends. Requires suppression from above and below, so it cannot be built from a single threshold.
De-repression. Building a positive input out of two negatives: an input drives a repressor that silences a second repressor, so the output rises. The only route to a positive weight in a parts set where every element removes rather than adds.
Endoribonuclease (ERN). An enzyme that cuts RNA internally at a specific hairpin target site. The three used here, CasE, Csy4 and PgU, come from bacterial CRISPR machinery and so act orthogonally in human cells.
Neuromorphic genetic circuit. A gene circuit that computes like an artificial neural network, with weighted signed inputs, a nonlinear activation and composable layers, rather than like Boolean logic.
Poly-transfection. Delivering a different combination of input levels to each cell, so that a population samples the whole input space in one sample. This is why a single well produces a response surface rather than a handful of points.
ReLU. Rectified linear unit, f(x) = max(0, x). Output is zero below threshold and proportional above it. Here it arises from stoichiometry: an ERN molecule consumes one mRNA, so only the surplus survives and output cannot go below zero.
Transfection group (X1, X2, Bias). The three DNA pools delivered to a well. X1 and X2 carry the inputs and each needs one fluorescent marker so its level can be read. Bias is delivered equally to every cell and sets the baseline.
Sources and AI use
Primary reading. Disset J, Van De Mark C, Wachter GKA, Kuo S-H, Moorman A, Xu W, Palanques Tost E, Buritica Monroy A, Belta C, Weiss R. Generative Neuromorphic Programming of Mammalian Cells. bioRxiv preprint, September 2026. doi:10.64898/2026.09.18.752793
Antigen density data for Q2.
- Levels of expression of CD19 and CD20 in chronic B cell leukaemias. J Clin Pathol 1998. PMID 9708202
- Quantitative flow cytometry can distinguish between normal and leukaemic B-cell precursors. Br J Haematol 1995. PMID 8555067
- CAR T-cell therapy is effective for CD19-dim B-lymphoblastic leukemia. Blood Advances 2019;3(22):3539.
- Shah NN et al. Characterization of CD22 expression in acute lymphoblastic leukemia. Pediatr Blood Cancer 2015. PMID 25728039
- Anti-CD22 chimeric antigen receptors targeting B-cell precursor acute lymphoblastic leukemia. Blood 2013;121(7):1165.
- Modulation of Target Antigen Density Improves CAR T-cell Functionality and Persistence. Clin Cancer Res 2019. doi:10.1158/1078-0432.CCR-18-3784
- Distinct expression patterns of CD123 and CD34 on normal bone marrow B-cell precursors and B lymphoblastic leukemia blasts. 2009. PMID 19762535
- CD123 expression patterns and selective targeting in acute lymphoblastic leukemia. Haematologica.
- CAR T cells with dual targeting of CD19 and CD22. Nat Med 2021. doi:10.1038/s41591-021-01436-0
Bacterial cellulose data for Q3.
- Huang LH, Li XJ, Sun XW, Wang X, Wang YT, Jia SR, Zhong C. Regulating the structure of bacterial cellulose by altering the expression of bcsD using CRISPR/dCas9. Chin J Biotech 2022;38(2):772-779.
- Omadjela O et al. BcsA and BcsB form the catalytically active core of bacterial cellulose synthase. PNAS 2013. PMC3816479
AI use. The assignment discourages AI for circuit design and encourages it for literature search and plotting. Splitting that honestly:
- Claude Opus (Anthropic) was used for the Q2 marker literature search and for assembling the antigen density comparison, both explicitly encouraged by the assignment.
- Claude Opus was also used for prose editing, page structure, reading the Disset et al. preprint, and explaining the mechanism of ERN-based computation.
- The Q1 circuit was designed without AI. Topology, part selection, transfection group assignment and DNA ratios were chosen by me and verified against the NeuromorphicWizard Predict tab across a four-point ratio sweep, extended after submission by a five-point low-fraction sweep prompted by the Nov 24 dry lab. Where I asked for design help on Q1, the response was a question or a mechanism explanation rather than a design.
- The Q2 and Q3 topologies were worked out in dialogue with Claude Opus. The design decisions were mine, made one at a time in response to questions, but the structuring of those decisions and the diagrams were produced with AI assistance. Stating this rather than implying otherwise.
Prompts, paraphrased. Grouped by purpose rather than listed chronologically.
Understanding the mechanism and the assignment
- Review the Nov 17 lecture notes and slides, summarize the assignment and give me a plan to complete it.
- What are ERNs?
- What is a circuit classifier?
- Explain what this heatmap is telling me.
- What is ReLU math?
- Read the 2026 Disset and Van De Mark preprint and tell me what it says about weights and signs.
Literature and data for Q2 (encouraged by the assignment)
- Is pediatric DMG/DIPG an appropriate disease for Q2? If not, what would you suggest? I want a disease where early detection matters.
- Find quantitative antigen density data for CD19 and CD22 on B-ALL blasts and on normal B cells, with citations.
- Is there paired per-cell CD19 and CD22 data that would support a true two-marker scatter?
- Build a figure comparing the measured densities.
Tooling and troubleshooting
- How do I install the NeuromorphicWizard? What exactly am I downloading from the Anaconda page?
- I am stuck in a terms-of-service prompt loop in Terminal, what do I enter?
- I uploaded the template and Predict returned a 500 error, what is wrong?
- What do I change in the Build grid to affect the prediction, concentration or DNA mass?
- Give me a sweep CSV so I can compare variants.
- Is the marker-ratio hypothesis right or wrong, given these results?
- The dry lab says functional parts can go to 1 ng. Build me a low-fraction sweep CSV to test whether that tightens the Q1 boundary.
Design dialogue (discouraged by the assignment; disclosed above)
- What are my options for the therapeutic output molecule?
- Which ERNs does the Q2 band-pass need?
- Draw me a diagram of the band edges and the wiring.
Write-up
- Draft the sections, build the page in my usual layout, fix the image sizes, and review the published page for inconsistencies.