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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lobemap-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3544235203d2994d0557ca80929d4a09dc8bef9a99477c4e4351493ec85a87b3
MD5 d8947bf9446c7670585f8de9dd2a8736
BLAKE2b-256 5145c213ed077cf76ba49d7913bc1021a35f97e1560ba196eb378934ab32c995

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobemap-0.1.3.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.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for lobemap-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7d301301cb153c210e66ffa211abaa85d0112d2dec61fa35a803c2fbdb11cf41
MD5 b5f127f06cea2e85e380597f2d4e5617
BLAKE2b-256 8f59393697a5f0ef305757ea79e9c326ac8f43d823e673eb81a7eae6ba83f76a

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobemap-0.1.3-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.

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