Skip to main content

napari viewer for Drosophila antennal lobe atlases

Project description

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 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/ caches 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 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.

Project details


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.1.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.1-py3-none-any.whl (67.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lobemap-0.1.1.tar.gz
  • Upload date:
  • Size: 67.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for lobemap-0.1.1.tar.gz
Algorithm Hash digest
SHA256 efc29abec0ea6101663037e6f9b4eb8555e4a09cf1dcd4a5e323b4ef30c23962
MD5 b17d3f8ae4969720769167d94aee750e
BLAKE2b-256 c057fa171e5410d2d75d40f8f215a6d1fecad32a97f62abb33bf09ad23a64b5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lobemap-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 67.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for lobemap-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e08c33b9e0c33db6bba2ee54b8aefef6f23f3f34e9fc5615c673228dbe83cc3
MD5 d1f4eee3f2dd62b0f842089de92a54bc
BLAKE2b-256 4bef3b20bf1df799de723bfdafafbcd336676961e44fc6cf0d2634ed8051c9ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page