Automated Proofreading of Digitally Reconstructed Neural Morphology Enhances Accuracy, Scalability, and Standardization
Herve Emissah , Carolina Tecuatl , Giorgio A. Ascoli
Journal of Integrative Neuroscience ›› 2026, Vol. 25 ›› Issue (10) : 52273
The 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.
We 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.
All neural reconstructions were processed without manual intervention. Automated normalization and topology repair improved structural consistency and standardized neuronal morphologies for quantitative analysis and visualization while preserving topological and morphological continuity throughout the correction process. Dendritic relabeling achieved a test classification accuracy of 99.51%, calculated from 2040 correctly classified neurons out of 2050 test neurons (2040/2050 × 100 = 99.51%). The test dataset comprised a separate 10% partition of the 20,500-neuron dataset, resulting from the 80/10/10 training–validation–test split, with no overlap between the three subsets. The mean validation accuracy across ten training runs also reached 99.51% at the final epoch, with class-weighted precision of 0.978 and recall of 0.977. Validation accuracy increased rapidly during the initial epochs, exhibited a transient decrease at epoch 15 and subsequently recovered and stabilized by epoch 50. 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.
We present an automated, cloud-scalable open-source pipeline for standardizing neural reconstructions and performing biologically consistent dendritic classification with high 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.
computational biology / neuroanatomy / informatics / quality control / graph neural networks / cloud computing / pyramidal cells / machine learning
| [1] |
MEIJERING E. Neuron tracing in perspective[J]. Cytometry. Part a: the Journal of the International Society for Analytical Cytology, 2010, 77: 693-704. DOI: 10.1002/cyto.a.20895. |
| [2] |
TRIPODI M, ARBER S. Regulation of motor circuit assembly by spatial and temporal mechanisms[J]. Current Opinion in Neurobiology, 2012, 22: 615-623. DOI: 10.1016/j.conb.2012.02.011. |
| [3] |
COLOMBO G, CUBERO RJA, KANARI L, et al. A tool for mapping microglial morphology, morphOMICs, reveals brain-region and sex-dependent phenotypes[J]. Nature Neuroscience, 2022, 25: 1379-1393. DOI: 10.1038/s41593-022-01167-6. |
| [4] |
SCORCIONI R, POLAVARAM S, ASCOLI GA. L-Measure: a web-accessible tool for the analysis, comparison and search of digital reconstructions of neuronal morphologies[J]. Nature Protocols, 2008, 3: 866-876. DOI: 10.1038/nprot.2008.51. |
| [5] |
HALAVI M, POLAVARAM S, DONOHUE DE, et al. NeuroMorpho.Org implementation of digital neuroscience: dense coverage and integration with the NIF[J]. Neuroinformatics, 2008, 6: 241-252. DOI: 10.1007/s12021-008-9030-1. |
| [6] |
MEHTA K, LJUNGQUIST B, OGDEN J, et al. Online conversion of reconstructed neural morphologies into standardized SWC format[J]. Nature Communications, 2023, 14: 7429. DOI: 10.1038/s41467-023-42931-x. |
| [7] |
DONOHUE DE, ASCOLI GA. Automated reconstruction of neuronal morphology: an overview[J]. Brain Research Reviews, 2011, 67: 94-102. DOI: 10.1016/j.brainresrev.2010.11.003. |
| [8] |
TECUATL C, LJUNGQUIST B, ASCOLI GA. Accelerating the continuous community sharing of digital neuromorphology data[J]. FASEB BioAdvances, 2024, 6: 207-221. DOI: 10.1096/fba.2024-00048. |
| [9] |
O'HALLORAN DM. Module for SWC neuron morphology file validation and correction enabled for high throughput batch processing[J]. PloS One, 2020, 15: e0228091. DOI: 10.1371/journal.pone.0228091. |
| [10] |
DING L, ZHAO X, GUO S, et al. SNAP: a structure-based neuron morphology reconstruction automatic pruning pipeline[J]. Frontiers in Neuroinformatics, 2023, 17: 1174049. DOI: 10.3389/fninf.2023.1174049. |
| [11] |
MANUBENS-GIL L, ZHOU Z, CHEN H, et al. BigNeuron: a resource to benchmark and predict performance of algorithms for automated tracing of neurons in light microscopy datasets[J]. Nature Methods, 2023, 20: 824-835. DOI: 10.1038/s41592-023-01848-5. |
| [12] |
LIU Y, WANG G, ASCOLI GA, et al. Neuron tracing from light microscopy images: automation, deep learning and bench testing[J]. Bioinformatics (Oxford, England), 2022, 38: 5329-5339. DOI: 10.1093/bioinformatics/btac712. |
| [13] |
PAREKH R, ASCOLI GA. Quantitative investigations of axonal and dendritic arbors: development, structure, function, and pathology[J]. The Neuroscientist: a Review Journal Bringing Neurobiology, Neurology and Psychiatry, 2015, 21: 241-254. DOI: 10.1177/1073858414540216. |
| [14] |
LI Y, JIANG S, DING L, et al. NRRS: a re-tracing strategy to refine neuron reconstruction[J]. Bioinformatics Advances, 2023, 3: vbad054. DOI: 10.1093/bioadv/vbad054. |
| [15] |
GOU L, WANG Y, GAO L, et al. Gapr for large-scale collaborative single-neuron reconstruction[J]. Nature Methods, 2024, 21: 1926-1935. DOI: 10.1038/s41592-024-02345-z. |
| [16] |
PENG H, LONG F, ZHAO T, et al. Proof-editing is the bottleneck of 3D neuron reconstruction: the problem and solutions[J]. Neuroinformatics, 2011, 9: 103-105. DOI: 10.1007/s12021-010-9090-x. |
| [17] |
QUAN T, ZHOU H, LI J, et al. NeuroGPS-Tree: automatic reconstruction of large-scale neuronal populations with dense neurites[J]. Nature Methods, 2016, 13: 51-54. DOI: 10.1038/nmeth.3662. |
| [18] |
ZHANG L, HUANG L, YUAN Z, et al. Collaborative augmented reconstruction of 3D neuron morphology in mouse and human brains[J]. Nature Methods, 2024, 21: 1936-1946. DOI: 10.1038/s41592-024-02401-8. |
| [19] |
PENG H, BRIA A, ZHOU Z, et al. Extensible visualization and analysis for multidimensional images using Vaa3D[J]. Nature Protocols, 2014, 9: 193-208. DOI: 10.1038/nprot.2014.011. |
| [20] |
VELASCO I, GARCIA-CANTERO JJ, BRITO JP, et al. NeuroEditor: a tool to edit and visualize neuronal morphologies[J]. Frontiers in Neuroanatomy, 2024, 18: 1342762. DOI: 10.3389/fnana.2024.1342762. |
| [21] |
ZHOU Z, KUO HC, PENG H, et al. DeepNeuron: an open deep learning toolbox for neuron tracing[J]. Brain Informatics, 2018, 5: 3. DOI: 10.1186/s40708-018-0081-2. |
| [22] |
FENG L, ZHAO T, KIM J. neuTube 1.0: A New Design for Efficient Neuron Reconstruction Software Based on the SWC Format[J]. eneuro, 2015, 2: ENEURO.0049-14.2014. DOI: 10.1523/ENEURO.0049-14.2014. |
| [23] |
KANARI L, RAMASWAMY S, SHI Y, et al. Objective Morphological Classification of Neocortical Pyramidal Cells[J]. Cerebral Cortex, 2019, 29: 1719-1735. DOI: 10.1093/cercor/bhy339. |
| [24] |
GLIKO O, MALLORY M, DALLEY R, et al. High-throughput analysis of dendrite and axonal arbors reveals transcriptomic correlates of neuroanatomy[J]. Nature Communications, 2024, 15: 6337. DOI: 10.1038/s41467-024-50728-9. |
| [25] |
VECCHI JT, MULLAN S, LOPEZ JA, et al. NeuriteNet: A convolutional neural network for assessing morphological parameters of neurite growth[J]. Journal of Neuroscience Methods, 2021, 363: 109349. DOI: 10.1016/j.jneumeth.2021.109349. |
| [26] |
HE F, LI G, SONG H. Morphological classification of neurons based on Sugeno fuzzy integration and multi-classifier fusion[J]. Scientific Reports, 2024, 14: 16003. DOI: 10.1038/s41598-024-66797-1. |
| [27] |
FAN Y, LI Y, ZHONG Y, et al. Learning meaningful representation of single-neuron morphology via large-scale pre-training[J]. Bioinformatics (Oxford, England), 2024, 40: ii128-ii136. DOI: 10.1093/bioinformatics/btae395. |
| [28] |
WU Z, PAN S, CHEN F, et al. A Comprehensive Survey on Graph Neural Networks[J]. IEEE Transactions on Neural Networks and Learning Systems, 2021, 32: 4-24. DOI: 10.1109/TNNLS.2020.2978386. |
| [29] |
JIANG Y, TIAN H, ZHANG Q. Contrastive learning-driven framework for neuron morphology classification[J]. Scientific Reports, 2025, 15: 27752. DOI: 10.1038/s41598-025-11842-w. |
| [30] |
JANUSZEWSKI M, KORNFELD J, LI PH, et al. High-precision automated reconstruction of neurons with flood-filling networks[J]. Nature Methods, 2018, 15: 605-610. DOI: 10.1038/s41592-018-0049-4. |
| [31] |
SCHUBERT PJ, DORKENWALD S, JANUSZEWSKI M, et al. Learning cellular morphology with neural networks[J]. Nature Communications, 2019, 10: 2736. DOI: 10.1038/s41467-019-10836-3. |
| [32] |
JOYCE J, CHALAVADI R, CHAN J, et al. A novel semi-automated proofreading and mesh error detection pipeline for neuron extension[J]. bioRxiv, 2023. DOI: 10.1101/2023.10.20.563359. |
| [33] |
HAGBERG AA, SCHULT DA, SWART PJ. Exploring Network Structure, Dynamics, and Function using NetworkX[C]. 2008: 11-16. DOI: 10.25080/TCWV9851. |
| [34] |
PASZKE A, GROSS S, MASSA F, et al. PyTorch: An imperative style, high-performance deep learning library[J]. arXiv, 2019. DOI: 10.48550/arXiv.1912.01703. |
| [35] |
KINGMA DP, BA J J. Adam: A Method for Stochastic Optimization[C]. 2015. DOI: 10.48550/arXiv.1412.6980. |
| [36] |
ANDERSON KR, HARRIS JA, NG L, et al. Highlights from the Era of Open Source Web-Based Tools[J]. The Journal of Neuroscience: the Official Journal of the Society for Neuroscience, 2021, 41: 927-936. DOI: 10.1523/JNEUROSCI.1657-20.2020. |
| [37] |
CUNTZ H, JAEGER D, JUNG R. The TREES Toolbox – Code for Neuronal Branching[M]. New York, NY: Springer, 2013. DOI: 10.1007/978-1-4614-7320-6_793-2. |
| [38] |
DORKENWALD S, MCKELLAR CE, MACRINA T, et al. FlyWire: online community for whole-brain connectomics[J]. Nature Methods, 2022, 19: 119-128. DOI: 10.1038/s41592-021-01330-0. |
| [39] |
YAO Z, VAN VELTHOVEN CTJ, KUNST M, et al. A high-resolution transcriptomic and spatial atlas of cell types in the whole mouse brain[J]. Nature, 2023, 624: 317-332. DOI: 10.1038/s41586-023-06812-z. |
| [40] |
TURNER NL, MACRINA T, BAE JA, et al. Reconstruction of neocortex: Organelles, compartments, cells, circuits, and activity[J]. Cell, 2022, 185: 1082-1100.e24. DOI: 10.1016/j.cell.2022.01.023. |
| [41] |
MICrONS Consortium. Functional connectomics spanning multiple areas of mouse visual cortex[J]. Nature, 2025, 640: 435-447. DOI: 10.1038/s41586-025-08790-w. |
| [42] |
DORKENWALD S, MATSLIAH A, STERLING AR, et al. Neuronal wiring diagram of an adult brain[J]. Nature, 2024, 634: 124-138. DOI: 10.1038/s41586-024-07558-y. |
| [43] |
JIANG S, WANG L, YUN Z, et al. NeuroXiv: AI-powered open databasing and dynamic mining of brain-wide neuron morphometry[J]. Nature Methods, 2025, 22: 1195-1198. DOI: 10.1038/s41592-025-02687-2. |
| [44] |
HAWRYLYCZ M, MARTONE ME, ASCOLI GA, et al. A guide to the BRAIN Initiative Cell Census Network data ecosystem[J]. PLoS Biology, 2023, 21: e3002133. DOI: 10.1371/journal.pbio.3002133. |
| [45] |
BROWN KM, BARRIONUEVO G, CANTY AJ, et al. The DIADEM data sets: representative light microscopy images of neuronal morphology to advance automation of digital reconstructions[J]. Neuroinformatics, 2011, 9: 143-157. DOI: 10.1007/s12021-010-9095-5. |
| [46] |
LOBATO F, LEITE J, JACOB A, et al. In silico neuronal morphology classification: A systematic review[J]. Neuroscience, 2026, 601: 83-103. DOI: 10.1016/j.neuroscience.2026.02.044. |
| [47] |
DEFELIPE J, FARIÑAS I. The pyramidal neuron of the cerebral cortex: morphological and chemical characteristics of the synaptic inputs[J]. Progress in Neurobiology, 1992, 39: 563-607. DOI: 10.1016/0301-0082(92)90015-7. |
| [48] |
SPRUSTON N. Pyramidal neurons: dendritic structure and synaptic integration[J]. Nature Reviews. Neuroscience, 2008, 9: 206-221. DOI: 10.1038/nrn2286. |
| [49] |
MIGLIORE M, SHEPHERD GM. Emerging rules for the distributions of active dendritic conductances[J]. Nature Reviews. Neuroscience, 2002, 3: 362-370. DOI: 10.1038/nrn810. |
| [50] |
LAZAREWICZ MT, MIGLIORE M, ASCOLI GA. A new bursting model of CA3 pyramidal cell physiology suggests multiple locations for spike initiation[J]. Bio Systems, 2002, 67: 129-137. DOI: 10.1016/s0303-2647(02)00071-0. |
| [51] |
LARKUM ME, ZHU JJ, SAKMANN B. A new cellular mechanism for coupling inputs arriving at different cortical layers[J]. Nature, 1999, 398: 338-341. DOI: 10.1038/18686. |
| [52] |
LARKUM M. A cellular mechanism for cortical associations: an organizing principle for the cerebral cortex[J]. Trends in Neurosciences, 2013, 36: 141-151. DOI: 10.1016/j.tins.2012.11.006. |
| [53] |
STUART GJ, SPRUSTON N. Dendritic integration: 60 years of progress[J]. Nature Neuroscience, 2015, 18: 1713-1721. DOI: 10.1038/nn.4157. |
| [54] |
HODAPP A, KAISER ME, THOME C, et al. Dendritic axon origin enables information gating by perisomatic inhibition in pyramidal neurons[J]. Science (New York, N.Y.), 2022, 377: 1448-1452. DOI: 10.1126/science.abj1861. |
| [55] |
SU CZ, CHOU KT, HUANG HP, et al. Identification of Neuronal Polarity by Node-Based Machine Learning[J]. Neuroinformatics, 2021, 19: 669-684. DOI: 10.1007/s12021-021-09513-y. |
| [56] |
PUEBLA I, ASCOLI GA, BLUME J, et al. Ten simple rules for recognizing data and software contributions in hiring, promotion, and tenure[J]. PLoS Computational Biology, 2024, 20: e1012296. DOI: 10.1371/journal.pcbi.1012296. |
NIH(R37NS39600)
NSF(2018631)
Supplementary files
/
| 〈 |
|
〉 |