07/2026
An open-source, fully-local desktop workspace that turns raw mass spectrometry imaging data into annotated, statistically defensible maps of tissue lipids — no code, no cloud upload, no proprietary software.
In a mass spectrometry imaging (MSI) experiment, an instrument records a full mass spectrum at every pixel of a thin tissue section, producing a data cube from which the spatial distribution of any molecule can be rendered as an image. SMILE-MSI (Spatial Mass Imaging of Lipid Environments) loads these datasets in the open imzML standard, lets you explore ion images and spectra interactively, extracts spatial and statistical structure, and assigns a putative lipid identity to every detected feature — entirely on your own machine, with no network connection required.
The project exists to close a real workflow gap for wet-lab researchers who are not programmers. Getting from a raw file to an annotated, defensible list of discriminating lipids normally means stitching together several tools — an image viewer, a separate environment for segmentation and statistics, and a third step to translate masses into molecular identities — often behind a commercial license, driven by code, locked to a proprietary platform, or requiring you to upload your data to a web service. SMILE-MSI packages that entire path — load, explore, find structure, compare, identify, report — into one locally installed application that also exposes its engine as a clean Python library.
The lipid identification database is generated entirely in silico by enumerating sum compositions from class backbone formulas, so there is no external database file to ship, version, or lose — every candidate mass is reproducible from first principles. Every quantitative method is reimplemented directly from its primary publication rather than ported from an existing tool, which keeps the codebase cleanly Apache-2.0 licensed; a detailed METHODS.md maps each algorithm to its source with DOIs. A single registry of analysis steps backs the point-and-click GUI, an in-app Python script console, and a declarative replayable flow format, so the same result is produced no matter which interface invokes it.
SMILE-MSI is built as two things at once: a point-and-click desktop app (PySide6 + pyqtgraph) and an importable, scriptable engine (import smile_msi). The imzML backend is lazy and out-of-core, and a chunked, compressed Zarr cube cache keeps arbitrary-m/z ion images interactive while holding resident memory flat — so datasets larger than RAM stay workable on a laptop. The numeric core is built on NumPy, SciPy, scikit-learn, and pandas, and pre-built, no-Python-required Windows and macOS bundles are published automatically to GitHub Releases on each version tag.