Week 3: Lab Automation

Python Script for Opentrons Artwork

Question 1

Generate an artistic design using the GUI at opentrons-art.rcdonovan.com.

I first generated a design using an image input of a voxelated ragdoll. The pixels should help simplify the image so that it can be plotted in the dish similarly.

alt text alt textalt text alt text

Because of the lack of contrast and limitations in the range of colors, the image looked different than expected.

Meanwhile at LifeFabs, we only had access to the colors Pink, Blue, and Purple. So I ended up simplifying the number of fluorescent proteins used to three and generated the coordinates appropriately.


Question 2

Using the coordinates from the GUI, follow the instructions in the HTGAA26 Opentrons Colab to write your own Python script which draws your design using the Opentrons.

These were the coordinates generated from the GUI using three fluorescent proteins:

azurite_points = [(-5, 39),(-3, 39),...]
tdtomato_points = [(5, 35),(5, 33),...]
tagrfp_points = [(11, 29),(13, 29),...]

Using the Opentrons Colab document, I successfully integrated the point data into the code:

from opentrons import types

metadata = {
    'author': 'Jenn Leung',
    'protocolName': 'Opentrons Cat',
    'description': 'HTGAA 2026 Opentrons cat drawing',
    'source': 'HTGAA 2026 Opentrons Lab',
    'apiLevel': '2.20'
}

##############################################################################
###   Colour mapping
###   A1 = Blue   โ†’ Azurite (cat outline and body)
###   B1 = Purple โ†’ mCherry + mPlum (shadow and accent details)
###   C1 = Pink   โ†’ tdTomato + tagRFP + mHoneydew (warm fill and face)
##############################################################################

well_colors = {
    'A1': 'Blue',
    'B1': 'Purple',
    'C1': 'Pink',
}

##############################################################################
###   Point data
##############################################################################

azurite_points = [...]
tdtomato_points = [...]
tagrfp_points = [...]

# ... (full code in OpentronsProtocol.py)

# Blue (A1) โ€” Azurite: cat outline and body
paint_layer(azurite_points, 'Blue')

# Pink (C1) โ€” tdTomato + tagRFP + mHoneydew: warm fill and face detail
paint_layer(tagrfp_points, 'Pink')

# Purple (B1) โ€” mCherry + mPlum: shadow accents and deep detail
paint_layer(tdtomato_points, 'Purple')
alt text alt text

This is the result of the final preview on the colab document, using the three colors available.


Post-Lab Questions

Question 1

Find and describe a published paper that utilizes the Opentrons or an automation tool to achieve novel biological applications.

Answer:
‘Fluidic Programmable Gravi-maze Array for High Throughput Multiorgan Drug Testing’ by Wong et al. proposes OrganRX, which is a multi-organ-on-a-chip system that is compatible with automated liquid dispensing robots such as Opentrons, OT2.

The programmable part of the microfluidic architecture uses robotic liquid handlers and automated plate readers, which can help researchers program how much media reaches each organ compartment.

There is also a programmable tilting recirculation mechanism that drives flow between the corner wells of the chip, allowing for directional flow.

The developers developed a Bluetooth-enabled iOS app that allows for remote control of the recirculation system, allowing users to select from multiple shear flow rates, set programmable waiting times between tilt-direction changes, and conduct system reset.


Question 2

Write a description about what you intend to do with automation tools for your final project. You may include example pseudocode, Python scripts, 3D printed holders, a plan for how to use Ginkgo Nebula, and more.

As my research focuses on brains-on-chips and facilitating closed-loop interactions between living substrates and software systems, I’m curious to develop something similar to the OrganRX platform that utilizes Opentrons for chemical I/O with synthetic bioengineered intelligence. The direction is to look into facilitating biochemical feedback loops and designing custom plates for Opentrons via 3D printing.

#pseudo-code for HTGAA final project Assembloid Agency
#design plasmids and custom plate MEA holder > order Twist DNA > 3D print labware > script OT2 protocol > measure spike changes and chemical delivery

prep:
>list type of materials will be needed to facilitate chemical i/o for wetware, e.g. placeholder for neurons, Opentrons OT2, custom labware, Twist order, microfluidic design, media

synbio component:
>design a plasmid in Benchling and identify a chemical 'handshake' between Opentrons and neurons
>synthetic gene for measurable and identifiable chemical signals
>research in DREADD hM3Dq (human M3 muscarinic DREADD coupled to)
>benchling design!

physical system:
>design microfluidics system and composition of the custom labware
>print custom labware for Opentrons OT2, holding an MEA chip, including different wells for cultures and reinforcement agents, waste profusion/filter
>the wells should hold basal media, reinforcement agents, and waste buffer - maybe model after the OrganRX chip to 'tilt' agents into center/substrate.

software:
>develop an API for the OT-2 to detect

assembly:
>test and try to connect the synbio parts, with hardware, and software!
>measure spikes from neurons placeholder after robotic chemical delivery

WIP JSON code for custom labware:

{
  "ordering": [["A1", "A2"]],
  "brand": {"brand": "CorticalLabs-Custom"},
  "metadata": {
    "displayName": "Assembloid Agency Chemical IO Plate",
    "displayCategory": "other",
    "displayVolumeUnits": "ยตL"
  },
  "dimensions": {
    "xDimension": 127.76,
    "yDimension": 85.48,
    "zDimension": 15.0
  },
  "wells": {
    "A1": {
      "depth": 10.0,
      "diameter": 3.0,
      "shape": "circular",
      "x": 20.0, 
      "y": 40.0,
      "z": 5.0
    },
    "A2": {
      "depth": 10.0,
      "diameter": 3.0,
      "shape": "circular",
      "x": 40.0,
      "y": 40.0,
      "z": 5.0
    }
  }
}

Final Project Ideas โ€” DUE BY START OF FEB 24 LECTURE

As explained in this week’s recitation, add 1-3 slides with 3 ideas you have for an Individual Final Project in the appropriate slide deck for MIT/Harvard/Wellesley students or for Committed Listeners. Be sure to put your name on your slide(s); for CLs, also put your city and country on your slide(s) and be sure you’re putting your slide(s) in your Node’s section of the deck.

Assembloid Agency is a bio-digital interface platform designed to facilitate closed-loop biochemical communication between synthetic neural substrates and automated software systems. I will be integrating the Opentrons OT-2 with Multi-Electrode Array to create chemical I/O bridge between neural substrates and software systems.

I’m looking into using DREADDs to allow software-controlled chemical I/O as well as designing custom 3D-printed labware, housing the biological assembly while providing microfluidic channels for automated media exchange, chemical reinforcement signals, and waste management. The aim is to conduct real-time closed-loop chemical communication with the substrate. alt text alt text alt text alt text alt text alt text alt text alt text

Reading & Resources