Mass spectrometry imaging (MSI) provides information about the spatial localization of molecules in complex samples with high sensitivity and molecular selectivity. Although point-wise data acquisition, in which mass spectra are acquired at predefined points in a grid pattern, is common in MSI, several MSI techniques use line-wise data acquisition. In line-wise mode, the imaged surface is continuously sampled along consecutive parallel lines and MSI data are acquired as a collection of line scans across the sample. Furthermore, aside from the standard imaging mode in which full mass spectra are acquired, other acquisition modes have been developed to enhance molecular specificity, enable separation of isobaric and isomeric species, and improve sensitivity to facilitate the imaging of low abundance species. These methods, including MS/MS-MSI in both MS2 and MS3 modes, multiple-reaction monitoring (MRM)-MSI, and ion mobility spectrometry (IMS)-MSI have all demonstrated their capabilities, but their broader implementation is limited by the existing MSI analysis software. Here, we present MSIGen, an open-source Python package for the visualization of MSI experiments performed in line-wise acquisition mode containing MS1, MS2, MRM, and IMS data, which is available at https://github.com/LabLaskin/MSIGen. The package supports multiple vendor-specific and open-source data formats and contains tools for targeted extraction of ion images, normalization, and exportation as images, arrays, or publication-style images. MSIGen offers multiple interfaces, allowing for accessibility and easy integration with other workflows. Considering its support for a wide variety of MSI imaging modes and vendor formats, MSIGen is a valuable tool for the visualization and analysis of MSI data.
Read full abstract