Skip to main content

Plugin to perform IMS to microscopy registration using laser ablation marks.

Project description



License PyPI Python Version tests

napari plugin to perform MALDI IMS - microscopy registration using laser ablation marks as described in Anal. Chem. 2018, 90, 21, 12395–12403. This plugin is a work-in-progress but is mostly functional.

N.B. This tool is NOT a general purpose registration framework to find transforms between IMS (MALDI or otherwise) and microscopy. It is built to align MALDI IMS pixels to their corresponding laser ablation marks as captured by microscopy AFTER the IMS experiment. This approach has the advantage of providing direct evidence of registration performance as IMS pixels are aligned to their explicit spatial origin in microscopy space, improving overall accuracy and confidence of microscopy-driven IMS data analysis.


You can install napari-imsmicrolink via pip:

pip install napari-imsmicrolink

Typical experiment workflow

  1. Acquire pre-IMS microscopy (autofluorescence, brightfield) - optional

  2. Perform normal IMS sample preparation.

  3. Acquire post-IMS microscopy (autofluorescence, brightfield) with matrix still on sample that reveals laser ablation marks.

  4. Gather IMS data that contains XY integer coordinates for the IMS experiment (.imzML, Bruker spotlist (.txt, .csv), Bruker peaks.sqlite (FTICR), Bruker .tsf (TIMS qTOF only))

  5. Run napari-imsmicrolink with data 3 and 4

  6. Once registered, use wsireg to align other microscopy modalities to IMS-registered post-IMS microscopy

This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the MIT license, "napari-imsmicrolink" is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

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

napari-imsmicrolink-0.1.9.tar.gz (164.1 kB view hashes)

Uploaded source

Built Distribution

napari_imsmicrolink-0.1.9-py3-none-any.whl (49.5 kB view hashes)

Uploaded py3

Supported by

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