Bootcamp / Session 2 / 2.3

Session 2.3 · Eric Kercher, RNA Therapeutics Institute, UMass Chan

AI-assisted development of web apps for science.

How a wet-lab postdoc with beginner Python built a research tool his lab now runs, in five months, and how you can start next week. The tool is not the interesting part. The interesting part is that a wet-lab scientist could make it, and how he knows the code is right.

Open the slides Fri Sep 25, 1:00 to 4:00 pm

Recordings

A short bridge on why the statistics and plots matter when AI does the analysis, then Eric's talk.

Why stats and plots matter

Alper Kucukural · 1 minute · Download (3.5 MB)

AI-assisted development of web apps for science

Eric Kercher · 1 hour 11 minutes · Download (170 MB)

The talk in one sentence

“Coding is no longer the bottleneck. Thinking is.”

For science, a sharper version: the bottleneck was never writing code. It was that nobody could afford to own the tool.

What the talk covers

What made his first prompt work

  1. Ask the basic question first, and let it confirm or correct your intuition.Do not dive in headfirst
  2. Describe the workflow in your own domain language.No technical vocabulary needed
  3. Ask for a plan before any code, then work in chunks you can test one at a time.Plan first
  4. End with “ask me questions”, and let it find the holes in your request.Make it interview you
PROMPT Read Eric’s very first prompt, as he wrote it
I want to build a application and toolkit for designing siRNAs. What is the best programming language(s) to accomplish this? List a couple options and list the pros and cons of each. The general workflow should look like this: User defines/or selects a species, gene of interest. The application should then look up all accession numbers associated with that gene and let the user select one. Then the application should download that specific gene and then compute every possible siRNA against that genetic code. The output should be a table of every siRNA and their properties. Help me plan out a work plan to be able to use Claude Code to build this application. Ask me for clarification and context whenever possible.
He did not know Python or GitHub when he wrote this. None of that stopped the first day being productive.

Two cases to think about

CASE 1 The cell counter: what would you tell her to check?
A postdoc with no coding experience builds a tool in one afternoon: drag in folders of fluorescence images, it counts cells and reports the percent GFP-positive per well, with a bar chart. 24 images, 8 wells. Control 11% positive, treatment 42%, p < 0.001. The chart is beautiful, and she wants it in Thursday’s lab meeting.
She ran the treatment folder by itself, without the controls, and treatment dropped from 42% to 29%. The tool set its brightness threshold from the brightest image in whatever folder it was given, so the answer depended on which images were in the folder, not on the biology. A variation test would have caught it.
CASE 2 The extractor: how would you verify it?
A clinical fellow asks AI to read 200 trial reports and extract drug, dose, primary outcome, and whether serious adverse events were reported. Ten minutes later he has a clean spreadsheet: 200 rows, every cell filled.
The talk leaves this one open. Which rows would you check by hand, and what would a positive and a negative control look like here? “Every cell filled” is itself a warning sign.

Take home

  1. Ask for the script, not the answer. That is how a result becomes reproducible.Reproducibility
  2. “Make me a plan” and “ask me questions” are the two highest-value phrases you can learn.Prompting
  3. Work in chunks. Commit after each one.Save points
  4. The AI writes the code. You own whether it is right.Verification

Start on Monday. Pick the smallest annoying thing you already do by hand every week. Open an AI tool, start a project, point it at a folder with a real file in it, and tell it what you want in your own words. Expect a working first version within an hour, and expect to fix it three times.

PROMPT Eric’s starter prompt
I want to build a small tool that does [X]. I'm a biologist with little coding experience. Ask me clarifying questions first, then give me a step-by-step plan in chunks I can test one at a time. Don't write any code until I approve the plan.

Then try it in 2.4 Hands-on: the wrap-up asks Claude for the script rather than only the plots, and the stretch step’s shuffled data is a negative control, noise from noise.

About the speaker

Eric Kercher is a postdoc in the Alterman Lab at the RNA Therapeutics Institute, UMass Chan, where he makes siRNAs. He is not a software engineer: some prior coding, no formal computer science training, and beginner Python when this project started. Five months before this talk he could not build a web app. His lab now runs one he built.

Materials