bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.03.27.714818

Automated Proofreading of Digitally Reconstructed NeuralMorphology Enhances Accuracy, Scalability, and Standardization

Abstract

BackgroundThe rapid expansion of large-scale neuroscience datasets has increased the need for automated, accurate, and standardized quality control (QC). Manual proofreading of 3-dimensional neural morphology (SWC files) remains labor-intensive, error-prone, and non-scalable. We developed and evaluated a fully automated, machine-learning- driven QC pipeline to standardize neural reconstructions, detect and correct structural anomalies, and rectify dendritic labeling in pyramidal neurons. MethodsWe developed an end-to-end, cloud-deployed pipeline for automated QC, correction, and standardization of SWC-formatted neural morphologies. The framework integrates deterministic structural normalization, topology repair, geometric correction, quantitative morphometric analysis, and graph-based dendritic relabeling within a containerized React/Flask architecture deployed on Amazon Web Services. Rule-based algorithms systematically detect, classify, and correct structural irregularities including overlapping nodes, spurious side branches, non-positive radii, disconnected components, and anomalously long parent-child connections. A graph convolutional network, trained on Sholl-derived features from 20,500 pyramidal neurons, performs dendritic relabeling. Model training employed an 80/10/10 train-validation-test split with adaptive learning-rate scheduling and distributed execution across ten runs to evaluate stability and reproducibility. The pipeline generates images of the final product and computes quantitative morphometrics using L-Measure. ResultsAll neuronal reconstructions were processed without manual intervention. Automated normalization and topology repair restored structurally coherent and biologically accurate morphologies suitable for quantitative analysis and visualization without data loss. Dendritic relabeling achieved a mean accuracy of 99.51%, consistent between validation and test sets, with class-weighted precision of 0.978, recall of 0.977, and F1-score of 0.977. Enforcing a single apical dendritic tree per neuron improved anatomical consistency without reducing classification performance. Distributed training completed all runs in approximately 25 hours, demonstrating scalability and reproducibility for large datasets. ConclusionsWe present a fully automated and cloud-scalable open-source pipeline for standardizing neural reconstructions and performing biologically consistent dendritic classification with near-perfect accuracy. The automated correction and relabeling procedures do not alter or compromise the size or unaffected morphological detail of the original SWC files, ensuring geometric fidelity and compatibility with downstream analysis tools. This open-access framework provides a robust foundation for high-throughput neural morphology curation and large-scale neuroanatomical analysis. Data AvailabilityProcessed results, model outputs, and source code are available at https://github.com/HerveEmissah/nmo_swc_standardization The executable pipeline is accessible at https://swcstandardization.computational-neuromorpho.org

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Emissah, H. A., Tecuatl, C., Ascoli, G. A.. 2026-03-31. Automated Proofreading of Digitally Reconstructed NeuralMorphology Enhances Accuracy, Scalability, and Standardization. https://doi.org/10.64898/2026.03.27.714818

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Connexin 40 deficiency alters the temporal profile of postictal oxygen dynamics following focal seizures.

Epilepsy is increasingly recognized as a disorder involving both neuronal and vascular dysfunction. While connexin signaling has been implicated in epileptogenesis, the contribution of vascular connexins to seizure associated cerebrovascular pathology remains poorly understood. Connexin40 (Cx40) is an endothelial gap junction protein that plays a crucial role in vascular communication and blood-flow regulation. Seizures induce dynamic changes in cerebral perfusion and oxygenation, including prolonged postictal hypoperfusion/hypoxia. To determine whether Cx40 influences postictal hypoxia following focal seizures, we examined seizure characteristics and postictal oxygen dynamics in Cx40 knockout (Cx40-/-) mice using an established focal hippocampal seizure model. Electrically kindled seizures were elicited in wild-type and Cx40-/- mice, and local hippocampal tissue oxygenation was continuously monitored before and after seizure induction. Seizure duration did not differ between genotypes, indicating comparable seizure severity. Interestingly, Cx40 deletion altered the temporal pattern of postictal oxygen recovery, producing greater early hypoxia and a delayed secondary rebound in pO2 despite similar peak oxygen levels and overall hypoxic burden. These findings demonstrate that loss of Cx40 selectively alters the temporal profile of postictal oxygen dynamics without affecting seizure duration. Taken together, the results suggest that endothelial gap junctional communication contributes to postictal vascular recovery and identify Cx40 as a potential modulator of seizure associated neurovascular dysfunction.

neuroscience↗

Attention Across Scales: From Individual Variation to Social Hierarchies and Brain Networks in Semi-Free-Ranging Macaques

Attention is a fundamental brain function supporting perception, decision-making, and social behavior, and its dysfunction profoundly impairs daily life. It is both dynamic and stable, varying across observations and individuals, changing across the lifespan, and being shaped by social and environmental experience. Yet capturing this complexity remains a central challenge in neuroscience. Here, we integrated longitudinal behavioral assessments of semi-free-ranging macaques living in naturalistic social groups with resting-state fMRI. We quantified performance across days, ages, and social hierarchies and related it to intrinsic brain organization. Distinct attentional phenotypes emerged, including individuals with reduced attentional control. Performance followed an inverted-U lifespan trajectory, improving from childhood to adulthood before declining. Social status modulated attentional performance. Critically, nonlinear lifespan trajectories and associations with individual attentional differences were most clearly expressed in frontoparietal connectivity. Together, these findings reveal how sustained attention is organized across scales, providing a biological framework for its individual diversity, social modulation, and neural basis.

neuroscience↗

Decoding natural scenes from patterned optogenetic responses in mouse visual cortex

A central challenge in developing visual cortical prostheses is to determine how visual stimuli should be transformed into effective patterns of cortical stimulation. Although advances in stimulation technologies, including optogenetics, provide increasingly precise control over cortical activity, it remains unclear whether artificially evoked activity can reproduce the information content of naturally evoked visual representations. Here we establish a quantitative framework for evaluating visual encoding strategies by decoding cortical responses evoked by natural vision and patterned optogenetic stimulation. We developed a novel dual-modal paradigm in awake mice to bridge the gap between endogenous photostimulation and artificial network driving. By co-expressing the high-performance calcium indicator GCaMP6s and the red-shifted, ultra-sensitive opsin rsChRmine-oScarlet in the primary visual cortex (V1), we successfully translated dynamic natural movie frames into patterned, spatiotemporal optogenetic stimulation. Quantitative comparisons of macro-scale dynamics demonstrated that this patterned optogenetic injection evokes cortical states highly comparable and representationally aligned with those driven by actual visual photostimulation. To systematically evaluate the fidelity of these responses, we developed STAR, a deep learning model featuring spatial and temporal attention mechanisms, and successfully reconstructed the frames of natural movies from V1 signals under both experimental modalities. Collectively, our results demonstrate that complex sensory information can be both naturally encoded and synthetically injected into V1 circuits with high decoding fidelity. This work provides an empirical and computational proof-of-concept for intelligent, closed-loop biomimetic encoders, establishing a robust framework for next-generation cortical visual neuroprostheses and bidirectional brain-machine interfaces.

neuroscience↗