A morphology repair tool
Project description
NeuroR
Introduction
NeuroR is a collection of tools to repair morphologies.
You can try NeuroR’s functionality on MyBinder:
Citation
Cite NeuroR with the following DOI:
NeuroR implements the methods discussed in the following paper:
Anwar H., Riachi I., Schürmann F., Markram H. (2009). “An approach to capturing neuron morphological diversity,” in Computational Neuroscience: Realistic Modeling for Experimentalistsed. De Schutter E., editor. (Cambridge: The MIT Press) 211–232
Morphology repair with NeuroR
There are presently three types of repair which are outlined below.
Sanitization
This is the process of curating a morphological file. It currently:
removes zero-length segments
raises if the morphology has no soma
raises if the morphology has negative diameters
Note: more functionality may be added in the future
Cut plane repair
The cut plane repair aims at regrowing part of a morphologies that have been cut out when the cell has been experimentally sliced.
neuror cut-plane repair contains the collection of CLIs to perform this repair.
Additionally, there are CLIs for the cut plane detection and writing detected cut planes to JSON files:
If the cut plane is aligned with one of the X, Y or Z axes, the cut plane detection can be done automatically with the CLIs:
neuror cut-plane file
neuror cut-plane folder
If the cut plane is not one the X, Y or Z axes, the detection has to be performed through the helper web application that can be launched with the following CLI:
neuror cut-plane hint
Unravelling
Unravelling is the action of “stretching” the cell that has been shrunk because of the dehydratation caused by the slicing.
The unravelling CLI sub-group is:
neuror unravel
The unravelling algorithm can be described as follows:
Segments are unravelled iteratively.
Each segment direction is replaced by the averaged direction in a sliding window around this segment.
The original segment length is preserved.
The start position of the new segment is the end of the latest unravelled segment.
Installation
NeuroR is distributed as a Python package available on PyPi:
$ pip install --pre neuror[plotly]
Note: NeuroR relies on the experimental version 2 of NeuroM, hence the --pre option.
Only Python 3.6 and above are supported.
Prior to running pip install, we recommend updating pip in your virtual environment unless you have a compelling reason not to do it:
$ pip install --upgrade pip setuptools
Contributing
If you want to improve the project or you see any issue, every contribution is welcome. Please check the contribution guidelines for more information.
License
NeuroR is licensed under the terms of the GNU Lesser General Public License version 3. Refer to COPYING.LESSER and COPYING for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file NeuroR-1.1.8.tar.gz
.
File metadata
- Download URL: NeuroR-1.1.8.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa95a1367b8a1283e431a742d1ba9f483a42d79653820a53c67ecf00b023ab81 |
|
MD5 | b03dcf5622ca5d5cb04c99deb20d736a |
|
BLAKE2b-256 | 40940392a80ae4b918f8508e291d83023dfc1ae66da00c10664f8070b9eed9ac |