CNS Open Data
Latest UpdatesOpen DatasetsClinical TrialsResearch GuidesTrend ReportsGlossaryData SourcesAbout
CNS Open Data— Open Science Portal for Central Nervous System Research|Research Guides|Trend Reports|Glossary|Ranking|Open Datasets|About|Privacy Policy
AlzforumOpenNeuroDANDI ArchiveAgora (AMP-AD)
Back to Research Playbooks & Guides
Modality & Pipeline TutorialBroad CNS / NeuroimagingPatch-seq

NWB & DANDI Archive Guide: Cloud Streaming & Analysis of Cellular Electrophysiology & Patch-seq

Working with Neuropixels, intracellular patch-clamp, and optical physiology datasets without downloading terabytes of raw files.

CNS Open Data Electrophysiology & BRAIN Initiative TeamUpdated: 2026-10-1612 min read
Executive Summary

Modern cellular neurophysiology experiments—such as multi-probe Neuropixels recordings, two-photon calcium imaging, and human/mouse cortical Patch-seq—generate datasets ranging from hundreds of gigabytes to tens of terabytes. Hosted on the DANDI Archive in the Neurodata Without Borders (NWB) standard, these datasets can be streamed directly over HTTP in Python.

Table of Contents

  1. 01.1. Understanding the Core NWBFile Data Hierarchy
  2. 02.2. Extracting Intrinsic Membrane Properties in Patch-seq Studies
  3. 03.Reproducible Python Starter Code
  4. 04.Governance & Reproducibility Checklist
SECTION 01

1. Understanding the Core NWBFile Data Hierarchy

Every .nwb file exposes a standardized object hierarchy when opened with PyNWB: (1) nwbfile.acquisition contains raw recorded data streams (e.g., ElectricalSeries from extracellular probes or CurrentClampSeries from intracellular patch-clamp); (2) nwbfile.stimulus holds injected current steps or optogenetic/visual stimulus waveforms; (3) nwbfile.units is a DynamicTable storing spike-sorted single-unit spike times, waveform means, and quality metrics (ISI violations, SNR); and (4) nwbfile.intervals.trials stores behavioral epoch start/stop timestamps.
Key Practical Takeaways
  • Use remfile or fsspec to lazy-load only the specific time slices or Units table needed for your analysis.
  • Always multiply raw integer data arrays by series.conversion and add series.offset to obtain physical units (Volts or Amperes).
  • Filter single units by quality metrics (SNR > 2.5, ISI violations < 0.5%) before computing firing rate correlations.
SECTION 02

2. Extracting Intrinsic Membrane Properties in Patch-seq Studies

In intracellular Patch-seq recordings (such as Allen Institute human and mouse cortical datasets on DANDI), hyperpolarizing and depolarizing current step sweeps are used to quantify input resistance, membrane time constant (tau), rheobase current, action potential threshold, upstroke-to-downstroke ratio, and firing frequency adaptation index.

Python Example: Lazy-Loading Spike Times & Trial PSTH from a Remote DANDI NWB File

Standard Python template ready for integration into local Jupyter notebooks or automated pipelines.

import h5py
import pynwb
import remfile
import numpy as np

# Stream directly from DANDI S3 asset URL via HTTP range requests
s3_url = "https://dandiarchive.s3.amazonaws.com/blobs/example-session.nwb"
remote_file = remfile.File(s3_url)

with h5py.File(remote_file, "r") as h5_f:
    with pynwb.NWBHDF5IO(file=h5_f, load_namespaces=True) as io:
        nwbfile = io.read()
        if nwbfile.units is not None:
            units_df = nwbfile.units.to_dataframe()
            print(f"Total sorted single units: {len(units_df)}")
            # Compute mean firing rate for the first unit
            spike_times = units_df.iloc[0]["spike_times"]
            duration_sec = spike_times[-1] - spike_times[0]
            print(f"Unit 0 Mean Firing Rate: {len(spike_times) / max(duration_sec, 1.0):.2f} Hz")

Research Governance & Reproducibility Checklist

  • Verify timestamp synchronization across multiple probes or behavioral cameras inside the NWB file.
  • Use slice notation (series.data[0:10000]) rather than series.data[:] when streaming over HTTP to avoid loading 50GB into RAM.
  • Include the Dandiset version identifier (e.g., draft or 0.230915.1200) when citing DANDI datasets.

Key Biomarkers & Standards Referenced in This Guide

View Full Glossary
NWB
Neurodata Without Borders (NWB v2.x Neurophysiology Standard)

Unified data standard for cellular neurophysiology, packaging intracellular/extracellular recordings, optical physiology, and behavior into HDF5/Zarr files.

Read entry
Patch-seq
Patch-Clamp Electrophysiology Combined with Single-Cell RNA-seq

Multimodal single-cell technique simultaneously capturing intrinsic electrophysiological properties, 3D axonal/dendritic morphology, and full-length transcriptome from the same neuron.

Read entry
EEG
Electroencephalography & Intracranial EEG (EEG / iEEG / LFP)

High-temporal-resolution recording of postsynaptic cortical electrical potentials and neural oscillations (delta, theta, alpha, beta, gamma bands).

Read entry
scRNA-seq
Single-Cell & Single-Nucleus RNA Sequencing (scRNA-seq / snRNA-seq)

High-throughput transcriptomic profiling at individual cell or nucleus resolution, enabling identification of disease-associated microglia (DAM), astrocytes, and vulnerable neuronal subtypes.

Read entry

Live Open Datasets & Papers Matching This Guide

Explore all matching resources
DANDI ArchiveBroad CNS / NeuroimagingOpen Dataset
Commercial Use Allowed - CC-BY 4.0

Dandiset 000108: Single-Cell Patch-seq Electrophysiology and Morphometry of Human Neocortical Neurons

Over 1,200 human surgical neocortical pyramidal neurons and interneurons characterized simultaneously with patch-clamp electrophysiology, fluorescent morphological reconstruction, and single-cell RNA sequencing in NWB 2.0 format.

Abstract / Summary
Electrophysiology (NWB)MorphologyscRNA-seq#Patch-seq#NWB#Electrophysiology#Single CellSample Size: 1,240 Cells
Jun 1, 2026
Allen Institute for Brain Science +1
Visit SourceDOIData
View Details
DANDI ArchiveBroad CNS / NeuroimagingOpen Dataset
Commercial Use Allowed - CC-BY 4.0 (Open Data)

Dandiset 001475: NHP patch-seq

BRAIN Initiative neurophysiology dataset deposited to DANDI Archive.

Abstract / Summary
Electrophysiology (NWB)Patch-seq#DANDI#NWB#Neurophysiology
Jun 16, 2025
BRAIN Initiative Investigators
Visit SourceDOIData
View Details
DANDI ArchiveBroad CNS / NeuroimagingOpen Dataset
Commercial Use Allowed - CC-BY 4.0

Dandiset 000108: Single-Cell Patch-seq Electrophysiology and Morphometry of Human Neocortical Neurons

Over 1,200 human surgical neocortical pyramidal neurons and interneurons characterized with patch-clamp electrophysiology, morphological reconstruction, and scRNA-seq.

Abstract / Summary
Electrophysiology (NWB)MorphologyscRNA-seq#Patch-seq#NWB#Electrophysiology#Single CellSample Size: 1,240 Cells
Aug 21, 2026
Allen Institute for Brain Science +1
Visit SourceDOIData
View Details
Allen Brain Map / BICCNBroad CNS / NeuroimagingOpen Dataset
Commercial Use Allowed - Allen Institute Terms of Use (Open Access / CC-BY)

Allen Brain Atlas: Human Brain ISH Autism Study

High-resolution ISH data detailing gene expression with a unique panel of lamina- and cell type- specific markers to phenotype cortical microstructure during the early years after autism onset.... Freely accessible open data product maintained by the Allen Institute for Brain Science.

Abstract / Summary
Spatial ISH#Allen Brain Map#Open Science#Human#Allen Human Brain Atlas
Oct 22, 2026
Allen Institute for Brain Science +1
Visit SourceData
View Details
Allen Brain Map / BICCNAlzheimer's & DementiaOpen Dataset
Commercial Use Allowed - Allen Institute Terms of Use (Open Access / CC-BY)

Allen Brain Atlas: Multi-plane optical physiology during image change detection

Time series of behavioral variables and neural activity measured with multi-plane in vivo 2-photon imaging in mice performing a visual change detection task where mice were trained with image set A and tested with a novel image set B... Freely accessible open data product maintained by the Allen Institute for Brain Science.

Abstract / Summary
2-Photon Calcium#Allen Brain Map#Open Science#Mouse#Allen Brain Observatory
Oct 22, 2026
Allen Institute for Brain Science +1
Visit SourceData
View Details
Allen Brain Map / BICCNBroad CNS / NeuroimagingOpen Dataset

BICCN Whole Human Brain Single-Cell Transcriptomic Cell Type Atlas

Cell atlas spanning >3 million single nuclei across 100+ human brain regions, mapping distinct vulnerable neuronal and glial sublineages.

Abstract / Summary
10x snRNA-seqMERFISH#Allen Brain Map#BICCN#scRNA-seq#Cell AtlasSample Size: 3.2 Million Nuclei
Sep 23, 2026
BICCN Consortium +1
Visit SourceDOI
View Details

More Research Playbooks & Tutorials

Disease Research Playbook

Alzheimer's Disease (AD) Open Data Guide: Integrating Neuroimaging (BIDS), Plasma Biomarkers & Multi-Omics

12 min read
Disease Research Playbook

Parkinson's Disease (PD) Open Data Guide: Alpha-Synuclein Assays, Basal Ganglia LFP & Cohort Harmonization

11 min read
Disease Research Playbook

ALS & Motor Neuron Disease Open Data Guide: TDP-43 Cryptic Exons, NfL Trajectories & ENCALS Models

11 min read