CosMxScope: scalable reconstruction and digital pathology integration of imaging-based CosMx spatial transcriptomics data

Authors: Chen, Jie; Isett, Brian; Gu, Qiangqiang; Bao, Riyue

Source journal: Journal of histotechnology (2026-11-16)

DOI: 10.1080/01478885.2026.2745087

Abstract

Spatial transcriptomics technologies have transformed the capacity to quantify gene expression from human tissues, simultaneously capturing both the cell functional state and spatial organization at cellular and subcellular resolution. The CosMx Spatial Molecular Imager (SMI) is one of the leading platforms at single-cell spatial multi-modal omics profiling, capable of measuring thousands of RNA or protein targets at single-cell and subcellular resolution across whole slide sections. Exported data include field-of-view (FOV) image tiles, subcellular transcript coordinates, and cell segmentation polygons, outputs that are rich in spatial information but not directly compatible with widely used digital pathology tools. Here we present CosMxScope, a lightweight open-source Python framework designed for data exported from the CosMx Spatial Molecular Imager through the AtoMx platform, bridging CosMx spatial outputs with histopathology visualization environments. CosMxScope provides functions for stitching FOV image tiles into reconstructed whole-slide images, converting cell segmentation polygons and transcript coordinates into GeoJSON objects for downstream visualization and assessment within QuPath, and generating spatial visualization plots of cell types, transcript locations, and gene expression patterns. The framework is designed for practical use in translational research settings, enabling interactive exploration of spatial transcriptomic data alongside cell morphology. CosMxScope has been applied in multiple ongoing research projects involving CosMx profiling of human and mouse tissues, supporting pathology-based spatial analysis workflows. This open-source software is available at https://github.com/AivaraX-AI/CosMxScope.

Read the full text

Related topics

Related open access articles

Abstract and bibliographic data from PubMed (U.S. National Library of Medicine). Copyright of the abstract belongs to the original publisher or authors.