LMDmapper: an open-source desktop tool for spatial mapping of laser microdissection samples

List of Authors

  1. Antton Alberdi ,  
  2. Jaime Ramirez ,  
  3. Nanna Gaun ,  
  4. Zoé Horisberger
    ,  
  5. Bryan Wang
    ,  
  6. Urvish Trivedi
    ,  
  7. Amalia Bogri
Article Authors & roles Authors Peer review record Peer review Metrics
Cite

Abstract

Laser microdissection (LMD) enables researchers to isolate targeted microsamples from microscopy slide specimens for downstream molecular analyses. While traditionally employed for isolating eukaryotic cells from complex tissues, LMD is starting to be used for micro-scale spatial microbiome analyses, which require the precise location of the microsamples to be tracked for downstream spatial analyses. To address this need, we present LMDmapper, an open-source desktop application that allows designing, tracking and logging micron-scale spatial microsample data and metadata from LMD sessions. The software parses Leica Database LIF image files (containing stage coordinates), imports laser microdissection CSV exports (containing image pixel coordinates), transforms and maps image pixel coordinates into stage coordinates, and presents the resulting cut points together with user-defined plate layouts and collection metadata. LMDmapper supports a variety of microdissection designs, including multiple slides, specimens, collection plates and plate layouts. The application is implemented in TypeScript using Electron, React, Vite, and fast-xml-parser. LMDmapper outputs include a metadata CSV linking microsample identifiers to plate positions, collection information, image labels, pixel coordinates and stage coordinates, as well as the possibility to create overview images of the specimens, and automatically calculating distances between cutting points and regions of interest. With these capabilities, LMDmapper is intended as a practical bridge between microscope-side laser microdissection records and downstream spatial omics sample tracking.

Plain Language Summary

Laser microdissection is a technique that lets researchers cut very small regions from a thin specimen section, such as selected cells or gut content, and collect them for DNA, RNA, protein, or metabolite measurements. Often, the scientific value of these measurements depends on knowing exactly where every collected sample came from. This can become difficult because the information is spread across microscope image files, exported tables, plate maps, collection notes, and later sample names. LMDmapper is a desktop application that helps researchers keep these pieces connected. A user can define a project layout, import microscopy imaging files, calculate the stage coordinates of each cut, inspect missing or ambiguous image links, manually correct coordinates when needed, and export a clean metadata table for downstream analysis. The tool also lets users align overview images and export cropped overview regions with the positions of collected samples. The software is open source and can be run as a packaged desktop application on macOS, Windows, and Linux. It is designed for laboratory workflows where careful tracking of microscopic sample position, plate well, image evidence, and microsample identity is needed after laser microdissection.

Corresponding author
Antton Alberdi
0000-0002-2875-6446
Grant information

This work was supported by the European Union's Horizon Europe research and innovation programme under grant agreement No. 101000309, 3D’omics,and the Danish National Research Foundation's grant DNRF143.

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Copyright
© 2026 Antton Alberdi (Corresponding Author, Co-Author); Jaime Ramirez (Co-Author); Nanna Gaun (Co-Author); Zoé Horisberger (Co-Author); Bryan Wang (Co-Author); Urvish Trivedi (Co-Author); Amalia Bogri (Co-Author) Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

First version published
Latest version published
Revised

Amendment

Following the suggestions of the reviewers, we have improved the explanations about data export and included a new GeoJSON format to enhance compatibility with other software. We have also clarified the compatibility range of the software and added a performance and scalability analysis to the manuscript. The case studies are now accompanied with a new figure that showcases the mentioned details, and the discussion contains a new paragraph highlighting the limitations of LMDmapper. Version 1.5.0 of LMDmapper has also been released, incorporating all requested features as well as others.

Comments

Authors & roles

Antton Alberdi

Globe Institute, University of Copenhagen, Copenhagen, Capital Region of Denmark, Denmark

Roles
Corresponding Author, Co-Author, Conceptualization, Data Curation, Formal Analysis, Funding Acquisition, Investigation, Methodology, Project Administration, Resources, Software, Supervision, Validation, Visualization, Writing – Original Draft Preparation, Writing – Review & Editing
0000-0002-2875-6446

Jaime Ramirez

Globe Institute, University of Copenhagen, Copenhagen, Capital Region of Denmark, Denmark

Roles
Co-Author, Data Curation, Formal Analysis, Investigation, Writing – Review & Editing
0009-0008-1013-0139

Nanna Gaun

Globe Institute, University of Copenhagen, Copenhagen, Capital Region of Denmark, Denmark

Roles
Co-Author, Formal Analysis, Investigation, Writing – Review & Editing
0009-0002-3068-4653

Zoé Horisberger

Department of Biology, University of Copenhagen, Copenhagen, Capital Region of Denmark, Denmark

Roles
Co-Author, Formal Analysis, Investigation, Writing – Review & Editing

Bryan Wang

Department of Biology, University of Copenhagen, Copenhagen, Capital Region of Denmark, Denmark

Roles
Co-Author, Data Curation, Formal Analysis, Investigation, Writing – Review & Editing

Urvish Trivedi

Department of Biology, University of Copenhagen, Copenhagen, Capital Region of Denmark, Denmark

Roles
Co-Author, Project Administration, Resources, Supervision, Writing – Review & Editing

Amalia Bogri

Globe Institute, University of Copenhagen, Copenhagen, Capital Region of Denmark, Denmark

Roles
Co-Author, Conceptualization, Data Curation, Formal Analysis, Investigation, Methodology, Software, Supervision, Writing – Review & Editing
0000-0002-9127-6146

Downloads over the last 12 months:

Cited by

via Crossref

View citing articles