FlyEM Hemibrain

Provider
Janelia FlyEM Team (HHMI Janelia Research Campus)
License
Creative Commons Attribution 4.0 International (CC BY 4.0)
Size
14.6 GB across 15 objects under v1.2/ (13.1 GB without tmp/)
Records
21,739 uncropped traced neurons in exported-traced-adjacencies-v1.2 (3,550,403 edges, 14,329,229 synapses summed over weight); 93,629 traced bodies
Stored at
Google Cloud Storage, gs://hemibrain/v1.2
Access
Free and public. No account with the data provider is needed.
Category
Neuroscience
Source
https://www.janelia.org/project-team/flyem/hemibrain

About FlyEM Hemibrain

The Janelia FlyEM hemibrain: a dense synapse-level reconstruction of roughly half the Drosophila melanogaster central brain, imaged by FIB-SEM at 8 nm isotropic. It contains ~25,000 traced neurons and ~20 million synapses, and is the dataset that made whole-circuit fly connectomics routine. Unlike most EM volumes, the release ships the CONNECTIVITY as flat tables — traced adjacency lists, per-body neurotransmitter predictions and neuPrint exports — so you can do graph analysis without touching a voxel. Versions v1.0, v1.1 and v1.2 are all present; v1.2 is current.

How to load FlyEM Hemibrain in Python

# Hemibrain v1.2: the connectome as a graph, no EM reading required.
import glob, tarfile, pandas as pd

# The archive is FUSE-mounted read-only at /mnt/archive (pinned to v1.2).
print(sorted(p.split("/")[-1] for p in glob.glob("/mnt/archive/*"))[:8])

# The traced-adjacency tarball unpacks to CSV edge lists.
hits = (glob.glob("/mnt/archive/exported-traced-adjacencies*.tar.gz")
        or glob.glob("/mnt/archive/**/exported-traced-adjacencies*.tar.gz", recursive=True))
tp = hits[0] if hits else "https://storage.googleapis.com/hemibrain/v1.2/exported-traced-adjacencies-v1.2.tar.gz"
with tarfile.open(tp) as tf:
    names = [m.name for m in tf.getmembers() if m.name.endswith(".csv")]
    print(names)
    edges = pd.read_csv(tf.extractfile(names[0]))
print(edges.head())   # bodyId_pre, bodyId_post, weight

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

Data structure

Fields

bodyIdint64 in the CSV exports; the feather files call it `body` (uint64, the index column) and the synapse-partners table…
bodyId_pre / bodyId_postint64 — presynaptic and postsynaptic partner in the adjacency export
weightint — number of synapses between that ordered pair; the edge weight
predicted_ntstring, argmax transmitter per body in hemibrain-v1.2-body-mean-neurotransmitters.feather; plus one float64…
type / instancestring — cell-type name and per-cell instance label, where assigned

Files

gs://hemibrain/ has three release directories: v1.0/, v1.1/, v1.2/.
This archive is pinned to v1.2 (current), mounted at /mnt/archive.
Listed 2026-10-02: 12 top-level objects plus a tmp/ prefix, 14.6 GB in all.

  exported-traced-adjacencies-v1.2.tar.gz                 45,872,577 B
      the connectivity edge list, uncropped traced neuron -> traced neuron
      with synapse weights (21,739 neurons). Unpacks to traced-total-connections.csv,
      traced-roi-connections.csv, traced-neurons.csv (bodyId,type,instance) and a README.
      This is the file most analyses actually want.
  hemibrain-v1.2-all-traced-adjacencies.tar.gz             80,815,554 B
      fuller adjacency export: total-connections.csv (6,411,692 rows),
      roi-connections.csv (7,356,539 rows), neurons.csv (93,629 bodies, includes
      cropped Traced bodies)
  hemibrain-v1.2-body-mean-neurotransmitters.feather       45,591,786 B
      per-body predicted neurotransmitter (predicted_nt plus per-transmitter means)
  hemibrain-v1.2-neuprint-mito-stats-filtered-20201207.feather  603,428,186 B
      mitochondria statistics
  hemibrain-v1.2-ftr.tar.gz                                6.3 GB
      the largest file; contents not characterized
  hemibrain-v1.2-skeletons.tar.gz                          1.9 GB
      the only morphology in v1.2
  hemibrain-v1.2-synapse-points-with-body-roi-type-status.feather  1.8 GB
      per-synapse coordinates (z,y,x int32, kind, conf float32, sv uint64, body uint64, roi_label, ...)
  hemibrain-v1.2-synapse-partners.feather                  859,399,658 B
      pre_id / post_id (uint64) synapse pairs
  hemibrain-v1.2-tbar-neurotransmitters.feather.bz2        442,710,628 B
      per-T-bar NT predictions; bz2, not readable by pandas.read_feather directly
  hemibrain-v1.2.1-traced-synapse-to-nearest-mito-distances.feather  632,698,434 B
      note the v1.2.1 in the name
  roi-meshes.tar.gz                                        193,047,019 B
...

Example file: exported-traced-adjacencies-v1.2.tar.gz — unpacks to CSV edge lists (body-to-body with synapse counts). Load with pandas and you have the connectome as a graph in a few lines, no EM reading required.

Sample notebook

Sample notebook for FlyEM Hemibrain: worked code with the output it printed.

Analyze this dataset without downloading it

On Scigantic, FlyEM Hemibrain 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.

This page is also available as Markdown.

Topics

Related datasets