Week 9 HW: Neuromorphic Genetic Circuits

HOMEWORK #9

Question 1 — Uveal melanoma classifier

TODO — my own design.

Working notes on the part grammar, so the design is reproducible:

  • A_rec_B means the part expresses B, and its mRNA carries a target site for A. So A degrades B. What comes before _rec_ is the repressor; what comes after is repressed.
  • Bare ERNs (CasE, Csy4, PgU) express the nuclease with no target site on their own mRNA, so nothing degrades them.
  • ERNrec_ERN parts (PgU_rec_Csy4) are how one nuclease is wired to repress another — this is what makes layering, and therefore a hidden layer, possible.
  • ERNrec_output parts (Csy4_rec_mNeonGreen) carry the output under the control of a nuclease.
  • Transfection groups X1, X2 are the inputs. Each carries the parts associated with that input plus a marker reporting its own level.
  • “DNA wanted (ng)” is the weight. More ng of a part means more expression and a larger contribution to the decision. The relative amounts set the slope and intercept of the decision boundary. Sum ≤ 800 ng, concentration always 50 ng/µL.

Two things to carry into the write-up:

  1. The parts list contains only fluorescent outputs, so the circuit that gets built uses a reporter as a stand-in. The therapeutic output has to be named in the design text as a separate thing.
  2. Validate the input/output surface in the NeuromorphicWizard Predict tab before submitting, since the circuit is physically built on the OT-2 and measured on 12/4.

Question 2 — Cutaneous melanoma

Why this disease, and why a cell therapy

Cutaneous melanoma is the disease my final project exists to prevent. The HW1 proposal is a biomanufactured eumelanin UV filter for high-UV-index regions, and the endpoint that filter is trying to avoid is UV-driven melanocyte transformation. It is also a disease where cell therapy is not hypothetical: tumour-infiltrating lymphocyte therapy is an approved treatment for advanced melanoma, so a circuit-based cell therapy has a real clinical precedent to build on.

It also continues directly from Question 1. Uveal and cutaneous melanoma are both melanocytic malignancies, but they are molecularly distinct, and the marker pair that separates cutaneous melanoma from its benign counterpart is a different problem from the uveal one.

Markers, with measured levels

The hard part of this question is the instruction to go beyond high/low. The marker pair below was chosen because its levels are quantified against a defined scoring scale, in a cohort where both markers were scored on the same lesions — which is what makes a two-dimensional classification meaningful rather than two separate one-dimensional claims.

Marker 1 — PRAME (PReferentially expressed Antigen in MElanoma). Scored by immunohistochemistry as a cumulative score: staining intensity (weak 1, medium 2, strong 3) plus extent (none 0, 1–25% 1, 26–50% 2, 51–75% 3, >75% 4), giving a 0–7 scale, positive at score > 4.

Marker 2 — p16 / CDKN2A. Scored as retained (uniform or checkerboard) versus deficient (< 2% of cells). p16 loss is a hallmark of melanoma progression, so this marker runs in the opposite direction to PRAME — a classifier using both is looking for high PRAME and low p16, not two highs.

In a cohort of 165 lesions — 112 cutaneous melanomas and 53 benign nevi:

Melanoma (n=112)Benign nevus (n=53)
PRAME positive92 (82.1%)3 (5.7%)
p16 deficient35 (31.25%)3 (5.7%)

A second, independent cohort (52 melanomas, 93 nevi) gives the PRAME extent distribution directly, and shows how sharply it separates:

PRAME extentMelanoma (n=52)Nevus (n=93)
0%1 (1.9%)86 (92.5%)
1–24%04 (4.3%)
25–49%3 (5.8%)0
50–74%5 (9.6%)2 (2.2%)
≥75%43 (82.7%)1 (1.1%)

At a ≥50% extent cut-off that cohort reports sensitivity 92.3%, specificity 96.8%, AUC 0.945.

The classification plot

Two-marker classification of cutaneous melanoma versus benign nevus Two-marker classification of cutaneous melanoma versus benign nevus

How this plot was built. The source paper reports marginal positivity counts for each marker plus the performance of the combined rule. From those I derived the exact joint distribution — and the derivation is self-checking, because the four recovered cell counts reproduce every published sensitivity and specificity:

PRAME+ / p16−PRAME+ / p16+PRAME− / p16−PRAME− / p16+
Melanoma3161416
Nevus03347

Recomputing from this table: AND rule 31/112 = 27.7% sensitivity and 53/53 = 100% specificity; OR rule 96/112 = 85.7% and 47/53 = 88.7%. All four match the published values exactly. Quadrant membership is measured data; position within a quadrant is jitter for display, since PRAME is reported as an ordinal score and p16 as a binary call.

Choosing where to put the decision boundary

This is the part the data alone does not settle, and it is the design decision.

The uveal melanoma example in the assignment is tuned for sensitivity — 0% of cases missed, 0.5% of the rest flagged — and the figure caption notes it has no specified output. Q2 requires an output that treats or cures. If the output kills the cell it is expressed in, then a false positive is a destroyed healthy melanocyte, and the asymmetry between the two error types is severe. Missing a melanoma cell leaves the patient where they already were; killing a healthy melanocyte causes new harm.

That argues for moving the operating point toward specificity. The PRAME+ and p16− region contains 31 melanomas and zero nevi — 100% specificity in this cohort, at the cost of missing 72.3% of melanomas. For a cytotoxic output I would rather take that trade and accept that the circuit is a debulking agent rather than a cure, than build something that kills normal melanocytes with a 5.7% false-positive rate.

There is a second reason the two-marker requirement matters. PRAME is a cancer–testis antigen, so PRAME expression is not unique to tumours — requiring p16 deficiency as well narrows the killing region to cells that are both antigen-positive and have lost the tumour suppressor.

And here is the thing that makes this a neuromorphic problem rather than a logic problem. AND and OR are the two corners of this decision space. A perceptron does not give me either — it gives me a line, positioned by the relative DNA amounts. The whole segment between the AND corner (27.7% / 100%) and the OR corner (85.7% / 88.7%) is reachable, and intermediate positions that neither Boolean rule can express are reachable too. Choosing where on that trade-off to sit, and then realising it in nanograms, is the actual design work.

Circuit design

Question 3 — A non-medical application

References

[1] Combined immunohistochemistry of PRAME and p16 in the differentiation of melanocytic neoplasms, with a detailed focus on acral lesions. Diagnostic Pathology (2024). https://doi.org/10.1186/s13000-024-01586-y

[2] Diagnostic utility of PRAME expression in melanocytic lesions: cut-off threshold analysis. https://pmc.ncbi.nlm.nih.gov/articles/PMC12564562

[3] Kunc, M., et al. Diagnostic test accuracy meta-analysis of PRAME in distinguishing primary cutaneous melanomas from benign melanocytic lesions. Histopathology (2023). https://onlinelibrary.wiley.com/doi/abs/10.1111/his.14904

[4] Disset, J., Van De Mark, C., Wachter, G. K., et al. (2026). Generative Neuromorphic Programming of Mammalian Cells. https://doi.org/10.64898/2026.09.18.752793