ABC Atlas: MERFISH Whole Mouse Brain

Section-level spatial transcriptomics data from the MERFISH whole mouse brain experiment. Contains per-section gene expression matrices and cell segmentation results organized by individual tissue sections spanning the entire brain. Useful for section-specific analyses, quality control, and integration with histological images and anatomical annotations.

Category
Neuroscience
Provider
Allen Institute for Brain Science
License
Allen Institute Terms of Use
Hosted on
Amazon S3, bucket allen-brain-cell-atlas/expression_matrices/MERFISH-C57BL6J-638850-sections, us-west-2
Access
Free and public. No account with the data provider is needed.
Source
https://alleninstitute.org/division/brain-science/
Data structure and loading code

Fields

obs index (cell_label)str — e.g. "1018145707100070268", "1018145707100290314"; the join key to every metadata CSV (cell_label)
obs/brain_section_labelcategorical[1]
var index (gene_identifier)str — e.g. ENSMUSG00000026778, ENSMUSG00000026837
var/gene_symbolobject — e.g. Prkcq, Col5a1, Grik3
var/transcript_identifierobject
Xcsr_matrix float64, cells x genes
cell_metadata_with_parcellation_annotation.csv (metadata)cell_label, brain_section_label, cluster_alias, average_correlation_score, feature_matrix_label, donor_label…

Files

The MERFISH-C57BL6J-638850 whole-brain matrix cut into per-section files: 59 coronal sections x {raw, log2} = 118 h5ad files named C57BL6J-638850.<NN>-raw.h5ad (NN = section number 01..69 with gaps). Same 550 genes and cell ids as the parent; uns/parent records the source file. This is the cheapest ABC entry point: one section is ~15k-100k cells.

This row mounts s3://allen-brain-cell-atlas/expression_matrices/MERFISH-C57BL6J-638850-sections/ so the mount root IS the dataset directory:
/mnt/archive/<YYYYMMDD>/<shard>-{raw|log2}.h5ad

Files on the mount (118 objects, 15 GB total):
  20240330/C57BL6J-638850.01-log2.h5ad                          46 MB
  20240330/C57BL6J-638850.01-raw.h5ad                           46 MB
  20240330/C57BL6J-638850.02-log2.h5ad                          46 MB
  20240330/C57BL6J-638850.02-raw.h5ad                           46 MB
  20240330/C57BL6J-638850.03-log2.h5ad                          62 MB
  20240330/C57BL6J-638850.03-raw.h5ad                           62 MB
  20240330/C57BL6J-638850.04-log2.h5ad                          77 MB
  20240330/C57BL6J-638850.04-raw.h5ad                           77 MB
  20240330/C57BL6J-638850.05-log2.h5ad                          78 MB
  20240330/C57BL6J-638850.05-raw.h5ad                           78 MB
  20240330/C57BL6J-638850.06-log2.h5ad                          81 MB
  20240330/C57BL6J-638850.06-raw.h5ad                           81 MB
  20240330/C57BL6J-638850.08-log2.h5ad                          78 MB
  20240330/C57BL6J-638850.08-raw.h5ad                           78 MB
  20240330/C57BL6J-638850.09-log2.h5ad                          98 MB
  20240330/C57BL6J-638850.09-raw.h5ad                           98 MB
  20240330/C57BL6J-638850.10-log2.h5ad                          69 MB
  20240330/C57BL6J-638850.10-raw.h5ad                           69 MB
  20240330/C57BL6J-638850.11-log2.h5ad                          75 MB
  20240330/C57BL6J-638850.11-raw.h5ad                           75 MB
  20240330/C57BL6J-638850.12-log2.h5ad                          82 MB
  20240330/C57BL6J-638850.12-raw.h5ad                           82 MB
  20240330/C57BL6J-638850.13-log2.h5ad                         110 MB
  20240330/C57BL6J-638850.13-raw.h5ad                          110 MB
...

Example file: 20240330/C57BL6J-638850.69-raw.h5ad — 23 MB, X csr_matrix float64; probed shape 14,877 x 550

Load the data

import os
import h5py
with h5py.File(os.path.join(os.environ['SCIGANTIC_MOUNT_PATH'], '20240330/C57BL6J-638850.69-raw.h5ad'), 'r') as f:
    f.visititems(lambda n, o: print(n, getattr(o, 'shape', '')))

Run in a Scigantic notebook on 2026-10-22 against 20240330/C57BL6J-638850.69-raw.h5ad: HDF5 with datasets ['X', 'X/data(1822380,)', 'X/indices(1822380,)', 'X/indptr(14878,)', 'layers', 'obs', 'obs/brain_section_label', 'obs/brain_section_label/categories(1,)'].

Analyze this dataset without downloading it

On Scigantic, ABC Atlas: MERFISH Whole Mouse Brain opens in a hosted JupyterLab notebook with the data already mounted, so you can read files where they are stored instead of copying them first. Each notebook includes an AI assistant that can see the mounted files and write and run analysis code. Open the dataset page to launch a notebook, or browse the full catalog.

Related Neuroscience datasets