Skip to main content

lobemap

lobemap is a small napari viewer for Drosophila antennal lobe atlases.

https://github.com/user-attachments/assets/2b9711c9-3246-49c4-946b-a29fad0fce52

https://github.com/user-attachments/assets/d83978bd-f2de-48fe-9f0d-6aff19e3b663

It lets you:

  • switch between atlases
  • slice through 3D volumes
  • show and hide glomeruli
  • see glomerulus names, receptors, and sensilla
  • compare reference maps and tables from different sources

Reference Table

The reference table is a cross-dataset index for glomeruli, receptors, sensilla, ligands, valence, driver lines, VFB IDs, and atlas coverage.

This preview shows selected columns only; it is not the full table schema.

Glomerulus Receptors Sensillum Key ligand Valence Receptor lines Projection lines
D Or69aA, Or69aB Ab9A linalool aversive Orco-GAL4; Orco-T2A-QF2; Ir8a-T2A-QF2 GH146-GAL4; ChAT-GAL4
DA1 Or67d At1A cis-vaccenyl acetate mating/aggression Orco-GAL4; Orco-T2A-QF2; Ir76b-T2A-QF2; Ir25a-T2A-QF2 GH146-GAL4; ChAT-GAL4
DA2 Or56a, Or33a Ab4B geosmin aversive Orco-GAL4; Orco-T2A-QF2; Ir25a-T2A-QF2 GH146-GAL4; ChAT-GAL4

Available columns: canonical_glomerulus, receptor_consensus, receptor_benton_2025, receptor_potter_task_2022, receptor_odour_scenes, receptor_door, sensillum_consensus, sensory_organ_consensus, sensillum_benton_2025, sensory_organ_benton_2025, sensillum_potter_task_2022, sensillum_odour_scenes, sensillum_door, sensory_organ_door, neuron_name_benton_2025, essential_coreceptor_benton_2025, co_receptor_door, orco_gal4_grabe_2015, orco_t2a_qf2, ir8a_t2a_qf2, ir76b_t2a_qf2, ir25a_t2a_qf2, key_agonists_benton_2025, sensory_scene_benton_2025, key_ligand, odour_scene, valence, fbbt_id, vfb_name, vfb_synonyms, projection_neuron_lines, projection_neuron_line_source, gh146_gal4, gh146_pn_female, gh146_pn_male, chat_gal4, chat_soma_count, chat_adpn, chat_lpn, chat_vpn, sensory_neuron_lines, present_grabe_2015, present_hemibrain, present_flywire, present_door_map, present_door_mappings, present_potter_task_2022, present_benton_2025, present_bates_schlegel_2020.

Open the full table or the name reconciliation table.

Requirements

  • uv
  • A desktop environment that can open napari / Qt windows

Python and package dependencies are managed by uv from pyproject.toml.

Start

From PyPI:

pip install lobemap
lobemap

From a source checkout:

uv sync
./lobemap

Choose an atlas from the dropdown in napari.

You can also open one atlas directly:

./lobemap --atlas flywire

Generated Data

Some viewers use derived cache files under datasets/*/data/derived/ for fast startup and slicing. These generated files are tracked so a fresh checkout can open the viewer without rebuilding caches. The PyPI package includes runtime source tables/volumes plus tracked data/derived/ and data/validation/ files needed by the installed viewer. Rebuild all generated visual data after source-data changes with:

uv run python scripts/regenerate_visual_data.py

The rebuild script uses the tracked source files and needs pdftoppm to render the Potter Task 2022 PDF preview.

What Is Included

  • 3D atlas viewers for Grabe 2015, Bates Schlegel 2020, hemibrain, FlyWire, JRC2018Unisex, and Benton 2025
  • 2D reference viewers for DoOR and Potter Task 2022
  • Virtual Fly Brain and BANC resource lookup
  • reference tables for glomerulus names, receptors, sensilla, and direct line labels

Demo

Grabe 2015 atlas in lobemap

Bates Schlegel 2020 atlas in lobemap

Hemibrain atlas in lobemap

DoOR 2D map in lobemap

Data And Credit

This repo combines source data from several papers and public resources. Source files are kept in datasets/*/data/source/ folders when they can be shared. Paper PDFs are not tracked in git.

See docs/data-sources.md for the source list and links.

More

License

Code in this repo is released under the MIT License. Data files keep the rights and citation requirements of their original sources.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lobemap-0.1.4.tar.gz (67.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lobemap-0.1.4-py3-none-any.whl (67.8 MB view details)

Uploaded Python 3

File details

Details for the file lobemap-0.1.4.tar.gz.

File metadata

  • Download URL: lobemap-0.1.4.tar.gz
  • Upload date:
  • Size: 67.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for lobemap-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e87bac6e17d843f5be71dcb273dbe3f9c9eba95134de0976447214768bc22b9a
MD5 d79376f956e8d6f6bb9bebf7bb6d38df
BLAKE2b-256 c88ad0ab5cadebb5e4a39f453adf1516544071bb4f90e6b7c4f70cc4809acc80

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobemap-0.1.4.tar.gz:

Publisher: publish-to-pypi.yml on gumadeiras/lobemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lobemap-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: lobemap-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 67.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for lobemap-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 01a7eb41a60ed3136510ab7b2bf84ce6395361d182aeeed5e63fdac7083ccb7e
MD5 310cd8310b004312d4560fb5540f99b4
BLAKE2b-256 a756b7594db5e619128cc23162ec5e25a9aaf67e5bd3ffdc938e0c6e0616db12

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobemap-0.1.4-py3-none-any.whl:

Publisher: publish-to-pypi.yml on gumadeiras/lobemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page