{"title":"PatternExtract: A Facile, Scalable Pipeline for Point Pattern Generation from Spatial Imaging Data.","authors":"Shruti Sridhar, Gayatri Kumar, Victoire Ringler, Kanav Gupta, Siddham Jasoria, Ziwei Meng, Patrick Jaynes, Chartsiam Tipgomut, Vaibhav Rajan, David Scott, Claudio Tripodo, Kasthuri Kannan, Anand Devaprasath Jeyesekharan","doi":"10.34133/csbj.0141","DOIUrl":null,"url":null,"abstract":"<p><p>Spatial point pattern analysis offers a mathematically rigorous framework for characterizing cell distribution in cancer tissue, yet existing pipelines lack robust methods for defining accurate spatial windows that exclude noncellular artifacts. We present PatternExtract, an open-source, multi-platform pipeline for generating biologically accurate spatial point patterns from multiplexed imaging data. The pipeline introduces a 2-kernel tissue segmentation approach that overlays concentric circular kernels on cellular coordinates to construct tissue masks without dependence on proprietary software or fluorescence composite channels, making it compatible with RGB images and coordinate outputs from any cell segmentation tool. Benchmarked on 568 images from 274 diffuse large B cell lymphoma (DLBCL) patients, PatternExtract identified and correctly excluded tissue artifacts in 27% of images, reducing window area by a mean of 9.8 ± 8.2% relative to convex hull methods. Convex hull window misspecification inflated K function AUC by up to 649.6% and produced 100% false rejection of complete spatial randomness under simulation, errors fully corrected by PatternExtract. Cross-cohort validation on an independent 20-patient cohort confirmed pipeline consistency across imaging platforms and staining protocols. Biological application to Ki67<sup>+</sup> cell distributions in DLBCL demonstrated the pipeline's utility in detecting genuine short-range clustering beyond spatial inhomogeneity. PatternExtract is available at https://github.com/shrutisridhar99/PatternExtract with a Streamlit-based graphical user interface (GUI) for accessibility across programming backgrounds.</p>","PeriodicalId":10715,"journal":{"name":"Computational and structural biotechnology journal","volume":"1 1","pages":"0141"},"PeriodicalIF":4.8000,"publicationDate":"2026-09-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13554418/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational and structural biotechnology journal","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.34133/csbj.0141","RegionNum":2,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"BIOCHEMISTRY & MOLECULAR BIOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Spatial point pattern analysis offers a mathematically rigorous framework for characterizing cell distribution in cancer tissue, yet existing pipelines lack robust methods for defining accurate spatial windows that exclude noncellular artifacts. We present PatternExtract, an open-source, multi-platform pipeline for generating biologically accurate spatial point patterns from multiplexed imaging data. The pipeline introduces a 2-kernel tissue segmentation approach that overlays concentric circular kernels on cellular coordinates to construct tissue masks without dependence on proprietary software or fluorescence composite channels, making it compatible with RGB images and coordinate outputs from any cell segmentation tool. Benchmarked on 568 images from 274 diffuse large B cell lymphoma (DLBCL) patients, PatternExtract identified and correctly excluded tissue artifacts in 27% of images, reducing window area by a mean of 9.8 ± 8.2% relative to convex hull methods. Convex hull window misspecification inflated K function AUC by up to 649.6% and produced 100% false rejection of complete spatial randomness under simulation, errors fully corrected by PatternExtract. Cross-cohort validation on an independent 20-patient cohort confirmed pipeline consistency across imaging platforms and staining protocols. Biological application to Ki67+ cell distributions in DLBCL demonstrated the pipeline's utility in detecting genuine short-range clustering beyond spatial inhomogeneity. PatternExtract is available at https://github.com/shrutisridhar99/PatternExtract with a Streamlit-based graphical user interface (GUI) for accessibility across programming backgrounds.
期刊介绍:
Computational and Structural Biotechnology Journal (CSBJ) is an online gold open access journal publishing research articles and reviews after full peer review. All articles are published, without barriers to access, immediately upon acceptance. The journal places a strong emphasis on functional and mechanistic understanding of how molecular components in a biological process work together through the application of computational methods. Structural data may provide such insights, but they are not a pre-requisite for publication in the journal. Specific areas of interest include, but are not limited to:
Structure and function of proteins, nucleic acids and other macromolecules
Structure and function of multi-component complexes
Protein folding, processing and degradation
Enzymology
Computational and structural studies of plant systems
Microbial Informatics
Genomics
Proteomics
Metabolomics
Algorithms and Hypothesis in Bioinformatics
Mathematical and Theoretical Biology
Computational Chemistry and Drug Discovery
Microscopy and Molecular Imaging
Nanotechnology
Systems and Synthetic Biology