mspix: A Data Format for High Pixel Count Mass Spectral Images.
Kasper Krijnen, Ron M A Heeren, Ian G M Anthony
The Maastricht MultiModal Molecular Imaging Institute (M4i), Division of Imaging Mass Spectrometry, Maastricht University, Maastricht6229 ER, The Netherlands.
Key points
From the paper's conclusion- Here we present "mspix", a file format that is suitable for high-pixel count single-stage mass spectrometry (MS1) images.
Abstract
The existing open file format for mass spectrometry imaging (MSI) data, imzML is suitable for high-mass complexity images. However, when the pixel count exceeds many megapixels to a gigapixel, imzML becomes an inefficient storage option due to the required per-pixel XML component. In some targeted MSI cases, the Open Microscopy Environment tagged image file format (OME-TIFF) is preferred; however, OME-TIFF images are unable to capture the mass complexity of even a low-mass resolution image. Here we present "mspix", a file format that is suitable for high-pixel count single-stage mass spectrometry (MS1) images. We convert mass spectral images from differing file formats to mspix and benchmark their access speed with our Python implementation. We show that, in our cases, mspix is more space-efficient than both native and imzML file formats, especially for high-pixel count images. For mass images of fewer than 10 million pixels, imzML remains the recommended open, vendor-neutral format. Our implementation of mspix can process mass images of greater than 1 billion pixels, which, to our knowledge, is not supported in any other MSI software library or package.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Native, Memory-Bounded Conversion of Mass Spectrometry Imaging Data into the SpatialData Ecosystem.Journal of the American Society for Mass Spectrometry · 2026
- CPMsi: a data-driven Computational Pipeline for fast, large-scale Mass Spectrometry Imaging analysisbioRxiv · 2026
- mzPeak: Designing a Scalable, Interoperable, and Future-Ready Mass Spectrometry Data FormatJournal of Proteome Research · 2025
- A dependency-free, streamable format and cross-language toolkit for scalable LC-MS feature detection: reading only what you needbioRxiv · 2026
- From Pixels to Chemical Knowledge: Interpreting Ion Mobility-Enabled Multidimensional Mass Spectrometry ImagingACS Measurement Science Au · 2026
- Mass Spectrometry-Based Tissue Imaging of Small Molecules.Advances in experimental medicine and biology · 2026