Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluebrain/morphio
A python and C++ library for reading and writing neuronal morphologies
https://github.com/bluebrain/morphio
glia mitochondria morphology neuron neurons python reticulum
Last synced: about 23 hours ago
JSON representation
A python and C++ library for reading and writing neuronal morphologies
- Host: GitHub
- URL: https://github.com/bluebrain/morphio
- Owner: BlueBrain
- License: apache-2.0
- Created: 2017-07-19T08:50:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-03T09:55:09.000Z (19 days ago)
- Last Synced: 2024-12-14T07:06:35.513Z (8 days ago)
- Topics: glia, mitochondria, morphology, neuron, neurons, python, reticulum
- Language: C++
- Homepage: https://morphio.readthedocs.io
- Size: 7.59 MB
- Stars: 27
- Watchers: 15
- Forks: 24
- Open Issues: 40
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Authors: AUTHORS.txt
Awesome Lists containing this project
README
.. image:: doc/source/logo/BBP-MorphIO.jpg
|license| |docs|
MorphIO
=======Documentation
-------------MorphIO documentation is built and hosted on `readthedocs `_.
* `latest snapshot `_
* `latest release `_Introduction
------------MorphIO is a library for reading and writing neuron morphology files. It supports the following
formats:* SWC
* ASC (aka. neurolucida)
* H5 v1
* H5 v2 is not supported anymore, see `H5v2`_It provides 3 C++ classes that are the starting point of every morphology analysis:
* ``Soma``: contains the information related to the soma.
* ``Section``: a section is the succession of points between two bifurcations. To the bare minimum
the ``Section`` object will contain the section type, the position and diameter of each point.* ``Morphology``: the morphology object contains general information about the loaded cell
but also provides accessors to the different sections.One important concept is that MorphIO is split into a *read-only* part and a *read/write* one.
H5v2
====Starting at version 2.6.0, the file format ``h5v2`` is no longer supported. If you have
morphologies in this format, you can convert them to h5v1 with:.. code-block:: bash
pip install "morphio<2.6" "morph-tool==2.3.0"
and then:
.. code-block:: bash
# single file, OUTPUT must end with `.h5`
morph-tool convert file INPUTFILE OUTPUT
# bulk conversion
morph-tool convert folder -ext h5 INPUTDIR OUTPUTDIRContributing
============
If you want to improve the project or you see any issue, every contribution is welcome.
Please check the `contribution guidelines `_ for more
information.Acknowledgements
================
The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.This research was supported by the EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).
License
=======
MorphIO is licensed under the terms of the Apache License 2.0.
See LICENSE.txt for further details.Copyright (c) 2013-2024 Blue Brain Project/EPFL
.. |license| image:: https://img.shields.io/pypi/l/morphio
:target: https://github.com/BlueBrain/morphio/blob/master/COPYING.LESSER.. |docs| image:: https://readthedocs.org/projects/morphio/badge/?version=latest
:target: https://morphio.readthedocs.io/
:alt: documentation status