Week 9 HW: Genetic Circuit Design

Background

For this homework, we will explore how to biomanufacture genetic-circuit-based cell therapies as well as how genetic circuits can be used for non-therapeutic applications (e.g., material, food, energy, art, design, architectural artifact, or beyond). Draw from your own background and interests for inspiration.

The goal of this assignment is to introduce you to a cutting-edge paradigm of programming cells called neuromorphic programming. In contrast to genetic circuits that program cells with digital logic (e.g., genetic circuits composed of AND/OR/etc. gates), neuromorphic programming involves genetic circuits that mimic artificial neural networks (ANNs).

At a high level, neuromorphic genetic circuits operate using a mechanism where mRNA expressed from DNA parts is degraded by endoribonucleases (ERNs). See video below: Neuromorphic circuit mechanism-11/4/2026, 11:23 AM.mp4

For more information on neuromorphic genetic circuits, see the reading at the bottom of the homework.

Homework questions

Neuromorphic genetic circuits give us the ability to finely tune expression of an output as a function of 1 or more inputs (such as the input/output behavior of the single ERN circuit shown in the video above). One example of how this could be useful is classifying cancer cells from non-cancer cells, where the inputs are the expression of TNSF10 and TRPM1 and the output could be a killer molecule (Figure 1).

Uveal melanoma classification plot with TNFSF10 on the horizontal axis and TRPM1 on the vertical axis. Uveal melanoma classification plot with TNFSF10 on the horizontal axis and TRPM1 on the vertical axis.

Figure 1. Two-input uveal melanoma classifier (no specified output). Dots represent cases and shading represents classification.

Installation guide for NeuromorphicWizard

Before you start

Install Anaconda Distribution.

0. Download and unzip the NeuromorphicWizard folder

From Google Drive, download the entire NeuromorphicWizard folder by clicking the NeuromorphicWizard dropdown menu at the top of the page and clicking Download. Or, click Download all in the top right.

Unzip the .zip folder and continue to Step 1.

1. Open Terminal or Anaconda PowerShell Prompt

Open Terminal on Mac or Anaconda PowerShell Prompt as Administrator on Windows and set the directory to the NeuromorphicWizard folder.

cd <YourPathnameHere>

To find the pathname for the NeuromorphicWizard folder, right-click the folder and on macOS hold down the Option key and select “Copy ‘NeuromorphicWizard’ as Pathname” or on Windows right-click while holding the Shift key and select “Copy as path”.

2. Create a new virtual environment with conda

conda create -n neuro_wiz python==3.10
conda activate neuro_wiz

If you encounter the error “CondaError: Run ‘conda init’ before ‘conda activate’”, then restart your shell using either ‘source ~/.bashrc’ or ‘source ~/.zshrc’ and try again.

Creating the neuro_wiz Conda environment in Terminal. Creating the neuro_wiz Conda environment in Terminal.

3. Install dependencies

pip install -r requirements.txt

4. Run tests (optional)

pytest tests/ -v
NeuromorphicWizard test results in Terminal. NeuromorphicWizard test results in Terminal.

5. Start the application

python3 main.py

If you encounter an error “Python was not found”, then try this command: ‘python main.py’.

The next time you’d like to start the NeuromorphicWizard, type into Terminal or PowerShell:

cd <YourPathnameHere>
conda activate neuro_wiz
python3 main.py

These are the steps I used to install NeuromorphicWizard.

Download the course design template CSV

Question 1. Uveal melanoma

Design a neuromorphic genetic circuit that successfully classifies uveal melanoma from healthy cells. Your design should include TNSF10 and TRPM1 as inputs (e.g., X1 and X2 from the video example) , neuromorphic genetic circuitry that classifies cancer from healthy cells (e.g., an ERN and ERN target), and a molecular output that can treat/cure this cancer (think of strategies to either kill or reprogram the cancer, simulate the immune system, etc). The available neuromorphic genetic parts can be found in this spreadsheet (ignore both of the marker columns for now): HTBAA 2026 Genetic Circuit Part Names. If using the NeuromorphicWizard to complete the homework, use this template to create your genetic circuit so you can use the Predict tab to check your circuit’s input/output behavior: HTBAA 2026 Genetic Circuit Design Template - you will need to specify an arbitrary marker for each input. Wizard tutorial.mp4 [AI use discouraged]

Inputs

TNFSF10 and TRPM1. NCBI Gene

Neuromorphic genetic circuitry

ERNsERNrec_ERNERNrec_output markerMarkers
CasEPgU_rec_Csy4Csy4_rec_mNeonGreenmKO2
Csy4PgU_rec_CasECasE_rec_mNeonGreeneBFP2
PgUCsy4_rec_CasEPgU_rec_mNeonGreenmMaroon1
CasE_rec_Csy4mNeonGreen

Note: PgU_rec_Csy4 means that this DNA molecule will express Csy4 mRNA that has a PgU target site on the mRNA. Thus, the mRNA can be degraded by the ERN PgU.

  • ERN = endoribonuclease
  • rec = recognition site
  • In A_rec_B, A cuts the target site on B’s mRNA, and B is the protein that the mRNA encodes.

I used TNFSF10 for X1 and TRPM1 for X2. X1 drives CasE, which cuts the reporter mRNA. X2 supplies the mNeonGreen transcript with the CasE target site. I used eBFP2 and mMaroon1 as the input markers. The output is highest in the upper left of the heatmap, where X1 is low and X2 is high. Disset et al., Figure 1

Molecular output

Kill the cancer cell.

The Q1 circuit in the Wizard Build tab. The Q1 circuit in the Wizard Build tab.Q1 circuit diagram showing CasE and the recognition site on the mNeonGreen transcript. Q1 circuit diagram showing CasE and the recognition site on the mNeonGreen transcript.Q1 prediction heatmap with the strongest output in the upper left. Q1 prediction heatmap with the strongest output in the upper left.

For the treatment version, I would keep the CasE recognition site and replace the reporter protein with human BAX (hBax), an intracellular pro-apoptotic protein. At high enough levels, BAX could trigger apoptosis in the cell expressing it. Xie et al., 2011

Download the Q1 Wizard CSV

Question 2. Pancreatic cancer

Pick a disease that you think could be treated or cured with a cell therapy. Then, research whether there are distinct biological markers (ideally 2 or 3 markers) that distinguish a diseased state from a non-diseased state. It’s important that the levels of these markers are characterized beyond just high/low levels: Look for data that measure the exact levels of the markers you choose. Make an input/output scatterplot or similar graph that incorporates your markers and classifies whether that point is considered diseased or not. [AI use encouraged]

I picked pancreatic cancer. My grandma has this cancer. I focused on pancreatic ductal adenocarcinoma (PDAC).

Markers and expression ranges

I chose MSLN (mesothelin) and CEACAM6. Both proteins can be found on the surface of PDAC cells, so engineered T cells could use them to recognize those cells. MSLN study · CEACAM6 study

The data are from 69 PDAC tissue samples and 61 adjacent non-tumor tissue samples. The values are microarray expression intensities on the $\log_2$ RMA scale. GEO GSE62452 · Sample processing

MarkerPDAC range (median)Adjacent non-tumor range (median)
MSLN3.376-6.687 (4.786)3.274-5.791 (3.923)
CEACAM62.150-10.530 (7.931)2.827-9.550 (5.069)
Scatterplot of MSLN and CEACAM6 expression in PDAC and adjacent non-tumor tissue. Scatterplot of MSLN and CEACAM6 expression in PDAC and adjacent non-tumor tissue.

The model calls a sample PDAC if it falls on or above the dashed line, where $\mathrm{CEACAM6} \ge 17.77 - 2.53 \times \mathrm{MSLN}$.

Q2_GSE62452_Marker_Values.csv (codex help me find data and generate this graph)

Finally, design a neuromorphic genetic circuit that incorporates sensing of your chosen markers, neuromorphic genetic circuitry that classifies disease vs. non-disease, and a molecular output that could treat/cure your disease of choice. [AI use discouraged]

I used MSLN and CEACAM6 as two positive inputs. In Wizard, both inputs supply mNeonGreen mRNA with the CasE target site. A constant CasE bias keeps the reporter low when both inputs are low. The heatmap is darkest toward the upper right.

For the cell therapy idea, I would use two antigen sensors, such as synNotch receptors, to read surface MSLN and CEACAM6. The circuit would drive an anti-MSLN CAR so the engineered T cells could recognize and kill cells displaying MSLN. Roybal et al., 2016 · Beatty et al., 2018

The Q2 circuit in the Wizard Build tab. The Q2 circuit in the Wizard Build tab.Q2 circuit diagram showing two positive inputs and a CasE bias. Q2 circuit diagram showing two positive inputs and a CasE bias.Q2 prediction heatmap with the strongest output toward the upper right. Q2 prediction heatmap with the strongest output toward the upper right.

Download the Q2 Wizard CSV

Question 3. A color test for histamine in fish

So far we’ve only focused on how neuromorphic genetic circuits can be used in medicine. Choose a non-medical application that uses a neuromorphic genetic circuit of your own design. Like the previous questions, specify what your circuit design senses, the neuromorphic genetic circuitry, and the output of your circuit. [AI use discouraged]

In my final project proposal, I use DAO to make $\mathrm{H_2O_2}$, then use HRP and guaiacol to produce a brown color. I wanted to keep the idea of reading histamine concentration by how dark the color gets. For this design, I use a mammalian cell circuit to control how much of the color-producing enzyme is made.

The input is the histamine concentration in a fish extract. Mammalian reporter cells in the test cartridge express the histamine receptor HRH2. Histamine outside the cells activates HRH2 and raises cAMP inside the cells. This activates a CRE-responsive promoter, so the cells transcribe more reporter mRNA. Ausländer et al., 2014

I use one CasE node to control the output. The histamine-responsive branch makes reporter mRNA with a CasE recognition site. A second branch makes CasE all the time, giving the circuit a negative bias. When histamine is low, there is little reporter mRNA, and CasE cleavage helps keep the background low. As histamine goes up, the cells make more mRNA, so more intact transcripts can be translated. That gives a graded response. Disset et al., Figure 1

The output is secreted embryonic alkaline phosphatase (SEAP). In a separate readout chamber, SEAP turns the substrate pNPP into a yellow product. At a fixed readout time and within the calibrated range, a deeper yellow means more reporter output. I could compare the color by eye or measure it from a phone photo. SEAP color assay

In Wizard I used mNeonGreen as the reporter and mMaroon1 as the placeholder marker for X2. The prediction mostly changes along X1, the input that represents histamine.

The Q3 circuit in the Wizard Build tab. The Q3 circuit in the Wizard Build tab.Q3 prediction heatmap with higher output as X1 increases. Q3 prediction heatmap with higher output as X1 increases.Q3 circuit diagram showing the reporter transcript on X1 and CasE in the Bias group. Q3 circuit diagram showing the reporter transcript on X1 and CasE in the Bias group.

Download the Q3 Wizard CSV

AI

I use Codex to aid in literature searches, making plots, improving your understanding of the biological diseases mentioned, and resources related to neuromorphic programming of cells. It also helped organize my notes, polish the English, and format this page.

Readings