dmc_brainmap

DMC-BrainMap is an end-to-end tool for multi-feature brain mapping across species

  • Felix Jung

napari-dmc-brainmap

DMC-BrainMap is an end-to-end tool for multi-feature brain mapping across species.
This napari plugin was generated with Cookiecutter using napari's cookiecutter-napari-plugin template.

License BSD-3 PyPI Python Version napari hub

Quick start

A detailed guide and tutorial can be found on the Wiki pages of this repo.

Installation

DMC-BrainMap is a plugin for napari. There are two recommended installation paths, depending on whether you want to use the released plugin or develop the code.

Users

For reproducible regular use, first install napari by following the napari installation guide. Then install DMC-BrainMap from napari's graphical plugin manager:

Plugins > Install/Uninstall Plugins...

Search for napari-dmc-brainmap, then install it from the plugin manager. Napari handles the plugin installation graphically.

You can also install the released plugin with pip:

pip install napari-dmc-brainmap

After installation, open DMC-BrainMap from the napari plugin menu:

Plugins > dmc_brainmap

Developers

For troubleshooting and contributing to repo development, install the repository as an editable project with uv. In editable mode, code changes in this repository are picked up the next time napari is started with uv run napari.

First install uv if needed, following the uv installation guide.

Clone the repository:

git clone https://github.com/hejDMC/napari-dmc-brainmap.git
cd napari-dmc-brainmap

Sync the environment:

uv sync

This creates the project environment, installs Python 3.10 as required by the project, installs napari and all dependencies, and installs napari-dmc-brainmap from the local checkout.

Start napari:

uv run napari

Then find DMC-BrainMap from the napari plugin menu:

Plugins > dmc_brainmap

Usage

Please refer to the Wiki pages for detailed instructions and a short tutorial on how to use DMC-BrainMap. When working with DMC-BrainMap on your own data, please keep the following points in mind:

  • DMC-BrainMap requires single-channel 16-bit .tif/.tiff images to work (in principle 8-bit also work)
  • DMC-BrainMap requires that your data is organized by animals in separate folders (you can pool data later down the lane)
  • DMC-BrainMap uses 5 channel labels (dapi, green, n3, cy3, cy5) corresponding to blue, green, orange, red and far red channels. However, these are only labels, you can assign them as you please. Hence, you can use DMC-BrainMap also for non-fluorescence data given you converted your images to single-channel 16-bit .tif/.tiff images. Please contact us if you need to use more than 5 channels.
  • It is essential that you structure your data in the following way (hierarchical organization, same name for images in different channels, channel labels are selected by you), otherwise DMC-BrainMap won't work:
animal_id-001

└───stitched
   
   └───dapi
   |       animal_id-001_001.tiff
   |       animal_id-001_002.tiff
|       |   animal_id-001_003.tiff
   |       animal_id-001_004.tiff
   |       ...
      
   └───green
          animal_id-001_001.tiff
          animal_id-001_002.tiff
          animal_id-001_003.tiff
          animal_id-001_004.tiff
          ...
   
animal_id-2
   ...

Documentation

Documentation on DMC-BrainMap's source code can be found on the project's Read the Docs page.

Seeking help or contributing

DMC-BrainMap is an open-source project, and we welcome contributions of all kinds. If you have any questions, feedback, or suggestions, please feel free to open an issue on this repository.

License

Distributed under the terms of the BSD-3 license, "napari-dmc-brainmap" is free and open source software

Citing DMC-BrainMap

If you use DMC-BrainMap in your scientific work, please cite:

Jung, F., Cao, X., Heymans, L., Carlén, M. (2026) "DMC-BrainMap is an open-source, end-to-end tool for multi-feature brain mapping across species", Cell Reports Methods, https://doi.org/10.1016/j.crmeth.2026.101302

BibTeX:

@article{Jung2026a,
title = {DMC-BrainMap is an open-source, end-to-end tool for multi-feature brain mapping in different species},
journal = {Cell Reports Methods},
volume = {6},
number = {2},
pages = {101302},
year = {2026},
issn = {2667-2375},
doi = {https://doi.org/10.1016/j.crmeth.2026.101302},
url = {https://www.sciencedirect.com/science/article/pii/S2667237526000020},
author = {Felix Jung and Xiao Cao and Loran Heymans and Marie Carlén}
}

Version:

  • 0.1.7b16

Last updated:

  • 2026-05-06

First released:

  • 2025-02-18

License:

  • BSD-3-Clause

Supported data:

  • Information not submitted

Plugin type:

Open extension:

Save extension:

Python versions supported:

Operating system:

  • Information not submitted

Requirements:

  • aicsimageio==4.14.0
  • aicspylibczi==3.1.2
  • aicssegmentation==0.5.3
  • bg-atlasapi==1.0.2
  • distinctipy==1.3.4
  • imagecodecs==2025.3.30
  • magicgui==0.8.1
  • matplotlib==3.8.3
  • mergedeep==1.3.4
  • napari[all]>=0.7.0
  • natsort==8.4.0
  • numpy==1.26.4
  • opencv-python==4.9.0.80
  • pandas==2.0.1
  • qtpy==2.4.1
  • scikit-image==0.22.0
  • scikit-learn==1.6.1
  • scikit-spatial==7.2.0
  • seaborn==0.12.2
  • shapely==2.0.1
  • tifffile==2023.2.28
Website by the napari team, original design by CZI. Go to napari main website.