ABC Atlas: Developing Mouse Visual Cortex scRNA-seq

Single-cell RNA-seq atlas of the developing mouse visual cortex using 10X Chromium, capturing transcriptomic snapshots across developmental timepoints. Reveals the temporal trajectory of cortical cell type differentiation, layer formation, and circuit maturation. Enables analysis of developmental gene regulatory programs and comparison between mature and developing cell type taxonomies.

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/Developing-Mouse-Vis-Cortex-10X, 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. "AAACCCAAGGATTTAG-898_A02", "
obs/alignment_idint64
obs/barcoded_cell_sample_labelcategorical[91]
obs/cell_barcodecategorical[527176]
obs/library_labelcategorical[91]
var index (gene_identifier)str — e.g. ENSMUSG00000051951, ENSMUSG00
var/gene_symbolcategorical[32245]
Xcsr_matrix uint16, cells x genes
cell_metadata.csv (metadata)cell_label, cell_barcode, barcoded_cell_

Load the data

import h5py, numpy as np, pandas as pd, scipy.sparse as sp

def col(g):
    # anndata string column: plain dataset, or categorical group (codes + categories)
    if isinstance(g, h5py.Dataset): return g.asstr()[:]
    return g["categories"].asstr()[:][g["codes"][:]]

def first_cells(f, n=2000):
    X = f["X"]
    if isinstance(X, h5py.Dataset):          # dense X (Zhuang, imputed MERFISH)
        return X[:n, :], tuple(X.shape)
    shape = tuple(int(s) for s in X.attrs["shape"])   # csr_matrix group
    indptr = X["indptr"][: n + 1]
    stop = int(indptr[-1])
    m = sp.csr_matrix((X["data"][:stop], X["indices"][:stop], indptr), shape=(len(indptr) - 1, shape[1]))
    return m, shape

path = "/mnt/archive/20260131/Developing-Mouse-Vis-Cortex-10X-raw.h5ad"   # 7.3 GB; Developing-Mouse-Vis-Cortex-10X
with h5py.File(path, "r") as f:
    m, shape = first_cells(f, 2000)
    cells = col(f["obs"][f["obs"].attrs["_index"]])[: m.shape[0]]
    genes = col(f["var"]["gene_symbol"])
print("full matrix", shape, "| loaded", m.shape)
tot = np.asarray(m.sum(axis=0)).ravel()
print("top genes in these cells:", list(genes[np.argsort(-tot)[:8]]))

# Cell-level annotations are NOT inside the h5ad. They live in the metadata/ tree of the
# same public bucket (outside this mount) and join on cell_label == obs index.
url = "s3://allen-brain-cell-atlas/metadata/Developing-Mouse-Vis-Cortex-10X/20260131/cell_metadata.csv"
keep = set(cells)
# Stream the CSV in chunks and keep only the rows for the cells loaded above (the table is large; nothing else is held).
parts = [c[c.index.isin(keep)] for c in pd.read_csv(url, usecols=["cell_label","synchronized_age","donor_label","library_label","log.qc.score.cr6"], index_col="cell_label",
                                                     dtype=str, storage_options={"anon": True}, chunksize=500_000)]
meta = pd.concat(parts).reindex(cells)
print(f"{meta.notna().any(axis=1).sum()} of {len(cells)} loaded cells have annotation rows")
lab = next((c for c in ["subclass", "class", "cluster_alias", "cluster_label", "synchronized_age", "donor_age_category", "brain_section_label"] if c in meta.columns), meta.columns[-1])
print(meta[lab].value_counts().head(8))

Written for a Scigantic notebook, where /mnt/archive is the mounted dataset.

Analyze this dataset without downloading it

On Scigantic, ABC Atlas: Developing Mouse Visual Cortex scRNA-seq 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