Inferensys

Glossary

Spatial Barcoding

A technique that uses spatially indexed oligonucleotide arrays to capture mRNA from tissue sections, enabling the mapping of transcriptomic data back to its original location.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
SPATIALLY INDEXED CAPTURE

What is Spatial Barcoding?

Spatial barcoding is a molecular technique that uses spatially indexed oligonucleotide arrays to capture mRNA from tissue sections, enabling the mapping of transcriptomic data back to its original histological location.

Spatial barcoding is a method that assigns a unique positional identifier—a spatial barcode—to each capture spot on a solid-phase array. When a tissue section is placed on this array, cells are permeabilized, releasing mRNA that binds to nearby probes. The captured transcripts are then sequenced, and the spatial barcode is read out alongside the transcript sequence, linking gene expression directly to an x,y coordinate on the tissue.

This technique enables unbiased, genome-wide spatial transcriptomics without prior knowledge of target genes. The resolution is determined by the density and diameter of the barcoded spots, typically ranging from 2 to 100 microns. Downstream computational analysis involves mapping sequenced reads to a spatial grid, generating a gene-by-spot expression matrix that serves as the foundation for spatial domain detection and cell-type deconvolution.

MECHANISM

Key Features of Spatial Barcoding

Spatial barcoding is a foundational technique for spatially resolved transcriptomics, relying on the precise transfer of positional information onto captured mRNA molecules. The following concepts define its core technical components.

01

Oligonucleotide Array Architecture

The physical substrate is a glass slide patterned with spatially indexed oligonucleotides. Each oligo contains four functional domains: a partial Illumina sequencing handle, a spatial barcode unique to that array coordinate, a unique molecular identifier (UMI) for transcript counting, and a poly(dT) capture sequence to bind mRNA. The barcode sequence directly encodes the X-Y position on the slide.

02

Polyadenylated mRNA Capture

This technique relies on the poly(A) tail present on most eukaryotic mRNAs. When a permeabilized tissue section is placed on the array, mRNA molecules diffuse vertically downward. The poly(dT) capture probes on the surface hybridize specifically to these poly(A) tails, immobilizing the transcripts directly above their original spatial location in the tissue.

03

On-Slide Reverse Transcription

Once captured, the immobilized mRNA acts as a template for reverse transcription (RT) directly on the slide. The RT enzyme synthesizes a complementary DNA (cDNA) strand that incorporates the spatial barcode and UMI from the attached oligonucleotide. This step permanently links the positional information to the transcript's identity before the tissue is removed.

04

Library Preparation and Sequencing

After reverse transcription, the barcoded cDNA is cleaved from the slide and pooled into a single tube. Standard next-generation sequencing (NGS) library preparation is performed. During sequencing, both the transcript insert (identifying the gene) and the spatial barcode (identifying the location) are read, generating a digital map of gene expression across the tissue.

05

Computational Spatial Mapping

Raw sequencing data is processed by a computational pipeline that demultiplexes reads based on their spatial barcode. A spatial expression matrix is generated where each row is a barcoded spot coordinate and each column is a gene. This matrix is then aligned with the histological image of the tissue using fiducial markers, enabling direct visualization of gene expression patterns.

06

Resolution and Spot Size

The spatial resolution is defined by the center-to-center distance and diameter of the barcoded spots. Early technologies featured 100 µm spots with 200 µm spacing, capturing multicellular aggregates. Current iterations achieve 55 µm spots or smaller, approaching single-cell resolution in some tissues, though the signal still represents a transcriptome from a small cellular neighborhood rather than a single cell.

TECHNOLOGY COMPARISON

Spatial Barcoding vs. Imaging-Based Methods

A comparison of spatial barcoding (array-based capture) and imaging-based (in situ) methods for resolving spatial transcriptomic data.

FeatureSpatial Barcoding (e.g., Visium)Imaging-Based (e.g., MERFISH)In Situ Sequencing (e.g., HybISS)

Spatial Resolution

55 µm spots (multicellular)

~100 nm (subcellular)

~0.5 µm (subcellular)

Transcriptome Coverage

Whole transcriptome (unbiased)

Targeted (100-10,000 genes)

Targeted (100-300 genes)

Detection Efficiency

Low (capture limited by diffusion)

High (direct imaging of molecules)

Moderate (amplification bias)

Tissue Morphology Preservation

Good (H&E staining compatible)

Excellent (intact tissue context)

Good (tissue clearing required)

Single-Cell Resolution

Discovery of Novel Genes

Throughput (Samples per Run)

High (1-8 samples per slide)

Low (1 sample per run)

Low (1 sample per run)

3D Volumetric Reconstruction

SPATIAL BARCODING EXPLAINED

Frequently Asked Questions

Clear, technically precise answers to the most common questions about how spatially indexed oligonucleotide arrays capture and map transcriptomic data back to tissue architecture.

Spatial barcoding is a transcriptomic technique that uses spatially indexed oligonucleotide arrays to capture mRNA from tissue sections, enabling the mapping of gene expression data back to its original histological location. The workflow begins by placing a fresh-frozen or formalin-fixed paraffin-embedded (FFPE) tissue section onto a glass slide printed with thousands of capture spots. Each spot contains millions of oligonucleotides with a shared spatial barcode—a unique DNA sequence that encodes the spot's x,y coordinates on the array. The oligonucleotides also include a poly(dT) capture sequence to bind mRNA, a unique molecular identifier (UMI) for transcript counting, and a sequencing adapter. After tissue permeabilization releases mRNA, it diffuses vertically and binds to the capture probes directly beneath it. Reverse transcription generates barcoded cDNA, which is then pooled, sequenced, and computationally mapped back to the original spot locations, producing a spatially resolved gene expression matrix.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.