Life Sciences AI · · 9 min read
AI in gel electrophoresis: how to evaluate band detection and quantitation
Acumen Editorial · Updated November 29, 2026
AI in gel electrophoresis uses image models to find lanes and bands on DNA, RNA and protein gels and measure their intensity. To evaluate it, test the model on scientist-annotated reference gels from your own lab, compare its band calls and quantitation with expert consensus, and check that every result traces back to the raw image.
Gel electrophoresis is one of the oldest tools in the lab, and its analysis has barely changed. Scientists still draw lanes by hand, nudge band boundaries, subtract background and copy numbers into a spreadsheet. AI promises to do all of that in seconds. The question for a lab lead is simple: are the numbers right, and can you prove it?
Why is gel analysis a target for AI?
Because the manual work is slow and inconsistent. A team at the University of Edinburgh described manual and semi-automatic gel analysis as tedious and prone to user error when it released GelGenie in 2025. Their framework, published in Nature Communications, was trained on more than 500 human-labelled gel images and segments bands directly from the image. The team reported quantitation that matched or beat conventional tools, and released the models as open-source software that runs on a local machine.
Matthew Aquilina, one of the researchers, called it "the first software platform to investigate universal gel analysis using AI." That claim matters for buyers. A universal model has to handle many gel types, stains and imagers, and that breadth is exactly what you need to test.
The pitch for gel AI is consistent: automatic lane finding, band detection, molecular weight calls and densitometry with no hand editing. Like other AI microscopy image analysis tools, gel AI is only as good as the reference images it was judged against.
Where do gel AI tools break?
Clean demo gels are easy. Real gels are not. These are the conditions that separate a useful model from a liability:
- Faint bands near background. Missing a weak band changes a result from positive to negative.
- Saturated bands. If the imager clipped the signal, any intensity number is wrong. The model should flag it, not measure it.
- Smiling, skewed or curved lanes. Lane detection that assumes straight vertical lanes will assign bands to the wrong sample.
- Overlapping or closely spaced bands. Doublets and smears are where segmentation boundaries drift.
- Torn gels, bubbles and dust. Artifacts that look like bands create false calls.
- Ladder problems. A misread ladder shifts every molecular weight estimate on the gel.
- Your stains and imagers. A model trained on ethidium bromide DNA gels may struggle with Coomassie or silver-stained SDS-PAGE.
A model can score well on average and still fail on the gels you run every week. Test the hard cases on purpose.
How do you evaluate AI gel analysis?
Treat it as a measurement method. Define what it must get right, build a reference set, and score it against expert consensus.
| What to test | How to measure it | Who grades it |
|---|---|---|
| Lane detection | Share of lanes found and correctly bounded | Bench scientists |
| Band detection | Precision and recall of band calls against consensus | Two or more scientists, blinded |
| Band boundaries | Overlap between model and expert band outlines | Scientists with densitometry experience |
| Quantitation | Agreement of relative intensities with expert densitometry, with limits set before testing | Assay owner |
| Saturation and artifact flags | Share of saturated bands and artifacts correctly flagged | Imaging specialist |
| Molecular weight calls | Error against the known ladder and control samples | Bench scientists |
| Repeatability | Same gel imaged twice gives the same answer | Assay owner |
| Data integrity | Raw image kept, every edit logged, results traceable | QA or data steward |
Set acceptance criteria before you see results. If you decide what "good enough" means after the scores arrive, you will talk yourself into whatever the model produced.
How do you build a reference gel set?
The reference set is the whole evaluation. Build it once, build it well, and reuse it for every model update.
- Sample real gels from your own workflows, not vendor demo images.
- Cover each gel type you run: agarose DNA, RNA, SDS-PAGE, native gels.
- Cover each stain and each imager in use across your sites.
- Oversample hard cases: faint bands, saturation, doublets, artifacts, curved lanes.
- Have at least two scientists annotate each gel independently and blind to the model.
- Adjudicate disagreements and record the reason for each final call.
- Measure agreement between annotators before you measure the model.
- Keep the reference set separate from any data used to train or tune the model.
- Version the set and log every change.
Annotator agreement is the ceiling. If two experienced scientists disagree on a band a fifth of the time, no model can be held to perfect agreement with either one. Our guide to inter-rater reliability explains how to measure that ceiling, and our piece on golden datasets covers how to keep a reference set clean over time.
Do GMP rules apply to AI gel analysis?
They can. If gel results feed a quality control decision, such as a purity or identity check on a regulated product, the AI is part of a GMP process.
The EU's draft GMP Annex 22 on artificial intelligence, released for consultation in July 2025, gives the clearest signal of what inspectors will expect. As summarised by Legal500, it limits critical GMP uses to static, deterministic models. It requires test data to be kept entirely separate from training data. It asks companies to document intended use, set clear performance criteria and monitor for data drift after deployment. In noncritical uses, qualified people must confirm outputs are fit for purpose.
For a research lab, none of this is mandatory. It is still a good template. A gel AI that you could defend to an inspector is one you can trust in a paper.
What should you ask gel AI vendors?
- What gel types, stains and imagers were in the training data, and in what proportions?
- How was the training data labelled, and by whom?
- What reference set was used to report accuracy, and was it independent of training?
- How does the model handle saturated signal? Does it flag or measure?
- Is the model static, or does it change with updates? How are versions controlled?
- Is the raw image preserved, and is every automated and manual edit logged?
- Can we run the model locally on our own reference set before we buy?
A vendor that cannot answer the first three questions has not done the evaluation for you. That makes the next steps your job, as it is for other AI lab automation tools.
How Acumen helps
We provide the scientists that make a gel AI evaluation defensible. Acumen sources credential-checked molecular biologists, protein scientists and assay specialists, matches them to your gel types and runs blinded multi-reviewer annotation with adjudication and a full audit trail. We deliver annotated reference gel sets, hard-case libraries, band-level grading and annotator agreement reports.
Our life sciences model evaluation service covers pilot reference sets and re-scoring after each model update.
For related reading, see our guides to AI-ready biology data, evaluating AI in a LIMS and the AI lab notebook.
FAQ
What is AI in gel electrophoresis?
AI in gel electrophoresis uses image models to detect lanes and bands on DNA, RNA and protein gels and to measure band intensity. It replaces manual lane drawing, background subtraction and densitometry. Tools range from open-source frameworks such as GelGenie, published in Nature Communications in 2025, to features inside commercial imaging software.
How accurate is AI gel analysis?
It depends on your gels. The GelGenie team reported quantitation that matched or beat conventional tools across a range of gel images. Accuracy on your own stains, imagers and hard cases is unknown until you test it on a scientist-annotated reference set from your lab, with acceptance criteria set in advance.
How do you build a reference set for gel AI?
Sample real gels from your own workflows across every gel type, stain and imager you use. Oversample faint bands, saturation, doublets and artifacts. Have at least two scientists annotate each gel blind to the model, adjudicate disagreements, and keep the set separate from any data used to train or tune the model.
Can AI quantify saturated bands?
No model can recover signal the imager clipped. A saturated band has no reliable intensity, so a good gel AI should flag it and exclude it from quantitation rather than report a number. Include saturated bands in your reference set and score whether the model flags them correctly.
Does EU GMP Annex 22 apply to gel analysis software?
It can if gel results feed a GMP quality decision. Draft Annex 22, released for consultation in July 2025, limits critical uses to static, deterministic models, requires test data separate from training data and expects drift monitoring. In noncritical uses, qualified people must confirm outputs. Research-only use is not covered.
Who should annotate gels for AI evaluation?
Bench scientists who run and read the same gel types every week, plus an assay owner who sets acceptance limits. Use at least two blinded annotators per gel, record their qualifications and decisions, and measure their agreement first. Annotator agreement sets the realistic ceiling for model performance.