Home▸Articles▸Molecular Biology

MERFISH Barcode Decoding: A Molecular Detective Tool

A powerful technique for identifying specific mRNA molecules in situ with high spatial resolution.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is MERFISH Barcode Decoding

MERFISH (Multiplexed Error Robust Fluorescence In Situ Hybridization) is a molecular biology technique that allows for the identification and quantification of specific mRNA molecules within complex tissue samples. It works by attaching unique DNA barcodes to each mRNA molecule, which are then read out through sequential hybridization rounds.

The process involves labeling mRNA with multiple fluorophores corresponding to different bits in a barcode sequence. After imaging, these sequences are decoded using error-correcting codes like Hamming codes to ensure accurate identification of the original mRNA molecules.

How Barcode Decoding Works

In each round of hybridization, only a subset of barcodes is interrogated. This combinatorial approach allows for high multiplexing and reduces the complexity of the imaging process. The barcode sequences are designed such that they can be uniquely identified even if some errors occur during the imaging process.

The decoding step involves using algorithms like Hamming error correction to identify and correct any errors in the readout, ensuring accurate identification of the original mRNA molecules.

live demo · related simulation● LIVE

Why It Matters

MERFISH is crucial for understanding gene expression patterns within tissues at single-cell resolution. By identifying specific mRNA molecules, researchers can gain insights into cellular functions and diseases.

The technique has applications in various fields including cancer research, neurobiology, and developmental biology, where understanding the spatial distribution of gene expression is essential.

Real-World Examples

MERFISH has been used to map the spatial transcriptome of brain tissues, revealing detailed patterns of gene expression that are crucial for understanding neural circuits and diseases like Alzheimer's.

In cancer research, MERFISH can help identify specific cell types within tumors and track their evolution over time, providing valuable information for developing targeted therapies.

Frequently asked questions

How does MERFISH improve upon traditional FISH techniques?

MERFISH improves upon traditional FISH by using combinatorial labeling and error-correcting codes to achieve high multiplexing, accurate identification of mRNA molecules, and single-cell resolution.

What is the significance of barcode length in MERFISH?

The length of the barcodes determines the number of unique sequences that can be distinguished. Longer barcodes increase the capacity for multiplexing but also require more rounds of hybridization and imaging, which can affect the overall efficiency and resolution.

How does Hamming error correction work in MERFISH?

Hamming error correction adds redundancy to the barcode sequences so that errors during the imaging process can be detected and corrected. This ensures accurate decoding of the original mRNA molecules, even if some bits are lost or corrupted.

What are the limitations of MERFISH?

MERFISH is limited by the complexity of the hybridization reactions and the need for precise imaging conditions. Additionally, it can be expensive and time-consuming, making it less suitable for large-scale screening applications.

Try it live

Everything above runs in your browser — open MERFISH Barcode Decoding and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open MERFISH Barcode Decoding simulation

What did you find?

Add reproduction steps (optional)