Skip to content

A Python package that corrects split mistakes in a fragmented neuron segmentation using a graph neural network.

License

Notifications You must be signed in to change notification settings

AllenInstitute/deep-neurographs

Repository files navigation

GraphTrace

License Code Style semantic-release: angular Interrogate Coverage Python

GraphTrace is a Python library that automatically corrects split errors in fragmented neuron segmentations from whole-brain images. It takes SWC files as input and uses a graph-based neural network pipeline to propose, score, and merge candidate connections between neuron fragments. GraphTrace efficiently handles datasets with millions of fragments across whole-brain volumes, enabling high-throughput proofreading and reconstruction at scale.


Figure: GraphTrace reconnects fragmented neuron segments into coherent traces.

Overview

The neuron fragment split correction pipeline consists of three main steps:

a. Graph Construction: Reads neuron fragments stored as SWC files and loads them into a Networkx graph.

b. Proposal Generation: Generates potential connections between nearby fragments.

c. GNN-Based Inference: Predicts whether to accept or reject proposals based on the geometric and image-based features.


pipeline
Figure: Visualization of split correction pipeline, see Inference section for description of each step.

Inference

Step 1: Graph Construction

To do...

Step 2: Proposal Generation

To do...

Step 3: Proposal Classification

To do...

Installation

To use the software, in the root directory, run

pip install -e .

Usage

To do...

Contact Information

For any inquiries, feedback, or contributions, please do not hesitate to contact us. You can reach us via email at [email protected] or connect on LinkedIn.

License

GraphTrace is licensed under the MIT License.

About

A Python package that corrects split mistakes in a fragmented neuron segmentation using a graph neural network.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •