Revealing the transcriptomic organization of extrasomatic interfaces using SCOUBI
Spatial transcriptomics (ST) generates substantial transcript signal outside segmented cell bodies, which is generally discarded by analysis tools. This is especially problematic for brain ST data, as neuronal mRNAs can be localized far from somata - in axons, dendrites, and synaptic compartments - and up to half of the transcripts in ST data may lie outside cell bodies. Here, we present SCOUBI, a computational framework that identifies axon-dendrite interfaces from extrasomatic RNA in ST data, revealing a hitherto overlooked layer of molecular function in neural tissues. It first partitions extrasomatic space into axon- and dendrite-enriched compartments based on known marker genes, using a neural network trained to maximize marker specificity and inter-compartment communication signals. It then defines interfaces as loci where predicted axonal and dendritic compartments converge and exhibit ligand-receptor colocalization. Applied to mouse brain, SCOUBI creates maps of axonal and dendritic compartments and their interfaces that align with known spatial patterns of neurite and synaptic distribution. It identifies transcriptomic differences between interfaces and the surrounding extrasomatic space, revealing region-specific signatures of neuronal signaling and synaptic plasticity. By comparing interface transcript enrichment with local somatic expression, SCOUBI identifies genes that preferentially localize at sites of intercellular communication rather than simply reflecting nearby cell bodies. SCOUBI reveals interface-associated transcripts beyond established synaptic genes, with molecular signatures reproducible across independent samples and imaging platforms. In summary, SCOUBI transforms a substantial and often-discarded aspect of ST data into an interpretable readout of subcellular organization and neural signaling.