Genoglyph: Pan-cancer Genomic Mutation Inference and Risk Stratification From Diagnostic Histopathology Slides

Authors:

Abstract
Background: Genomic alterations guide therapeutic decisions in solid tumours, but next-generation sequencing (NGS) is inaccessible in a substantial fraction of clinical settings, whereas haematoxylin and eosin (H&E)-stained slides are universally available. We aimed to determine whether actionable genomic alterations and patient prognosis can be inferred directly from routine histopathology across cancer types. Methods: We developed GenoGlyph, an interpretable deep-learning framework that models histopathology at cellular and tissue scales, spatially biased cell attention, and outer-product cross-scale fusion. Using 6391 whole-slide images spanning 14 solid tumour types from The Cancer Genome Atlas, we trained cancer-type-specific models for 34 mutation-prediction tasks across 14 genes and organ-agnostic pan-cancer models for TP53, KRAS, APC, PIK3CA, KMT2D, and TTN. We assessed transcriptomic concordance with matched RNA-seq using single-sample gene-set enrichment analysis, and evaluated the prognostic value of the learned representations in four independent external cohorts (n=982). Findings: GenoGlyph predicted somatic mutations with areas under the curve of 0·63–0·98, exceeding previous pan-cancer benchmarks. Organ-agnostic models frequently matched or surpassed cancer-type-specific models. Morphologically inferred mutation states, including sequencing-discordant cases, showed transcriptional pathway activity concordant with the inferred genotype. The learned representations independently stratified overall, disease-free, recurrence-free, and progression-free survival across cohorts. Interpretation: Genotype–phenotype relationships are systematically legible from standard H&E sections. By treating mutation prediction as a supervision signal rather than an endpoint, GenoGlyph offers a scalable, biologically grounded approach to genomic inference, functional variant interpretation, and survival stratification where molecular testing is limited.