Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluebrain/bluepyemodel
Blue Brain Python Electrical Modeling Pipeline
https://github.com/bluebrain/bluepyemodel
analyse build emodel modelling neuron neuroscience optimisation parameter python simulation singlecell visualise workflow
Last synced: 3 months ago
JSON representation
Blue Brain Python Electrical Modeling Pipeline
- Host: GitHub
- URL: https://github.com/bluebrain/bluepyemodel
- Owner: BlueBrain
- License: other
- Created: 2023-06-08T15:57:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-22T12:34:24.000Z (10 months ago)
- Last Synced: 2024-04-22T12:55:22.450Z (10 months ago)
- Topics: analyse, build, emodel, modelling, neuron, neuroscience, optimisation, parameter, python, simulation, singlecell, visualise, workflow
- Language: Python
- Homepage: https://bluepyemodel.readthedocs.io/
- Size: 31.5 MB
- Stars: 3
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- Contributing: CONTRIBUTING.md
- License: COPYING
- Authors: AUTHORS.txt
Awesome Lists containing this project
README
|banner|
BluePyEModel: Blue Brain Python Electrical Modeling Pipeline
============================================================+----------------+------------+
| Latest Release | |pypi| |
+----------------+------------+
| Documentation | |docs| |
+----------------+------------+
| License | |license| |
+----------------+------------+
| Build Status | |tests| |
+----------------+------------+
| Coverage | |coverage| |
+----------------+------------+
| Citation | |zenodo| |
+----------------+------------+Introduction
------------The Blue Brain Python Electrical Modeling Pipeline (BluePyEModel) is a Python package facilitating the configuration and execution of electrical neuron model (e-model) building tasks. It covers tasks such as extraction of electrical features from electrophysiology data, e-model parameters optimisation and model validation. As such, it builds on top of `eFEL `_, `BluePyEfe `_ and `BluePyOpt `_.
For a general overview and example of electrical model building, please refer to the paper: `A universal workflow for creation, validation and generalization of detailed neuronal models `_.
Note that this package only covers e-model building based on patch-clamp data and that it relies solely on the `NEURON `_ simulator.
How to cite
-----------
If you use this repository in your work, please refer to the ``Cite this repository`` button at the top of the repository page to get various citation formats, including APA and BibTeX.For detailed citation information, please refer to the `CITATION.cff <./CITATION.cff>`_ file.
Installation
------------BluePyEModel can be pip installed with the following command:
.. code-block:: python
pip install bluepyemodel[all]
If you do not wish to install all dependencies, specific dependencies can be selected by indicating which ones to install between brackets in place of 'all' (If you want multiple dependencies, they have to be separated by commas). The available dependencies are:
* luigi
* nexus
* allTo get started with the E-Model building pipeline
-------------------------------------------------.. image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/images/pipeline.png
:alt: E-Model building pipelineThis section presents a general picture of the pipeline. For a detailed picture and how to use it, please refer to the `L5PC example `_ and its `README `_.
The pipeline is divided in 6 steps:
* ``extraction``: extracts e-features from ephys recordings and averages the results e-feature values along the requested targets.
* ``optimisation``: builds a NEURON cell model and optimises its parameters using as targets the efeatures computed during e-feature extraction.
* ``storage of the model``: reads the results of the extraction and stores the models (best set of parameters) in a local json file.
* ``validation``: reads the models and runs the optimisation protocols and/or validation protocols on them. The e-feature scores obtained on these protocols are then passed to a validation function that decides if the model is good enough.
* ``plotting``: reads the models and runs the optimisation protocols and/or validation protocols on them. Then, plots the resulting traces along the e-feature scores and parameter distributions.
* ``exporting``: read the parameter of the best models and export them in files that can be used either in NEURON or for circuit building.These six steps are to be run in order as for example validation cannot be run if no models have been stored. Steps ``validation``, ``plotting`` and ``exporting`` are optional. Step ``extraction`` can also be optional in the case where the file containing the protocols and optimisation targets is created by hand or if it is obtained from an older project.
For an example of how to run the pipeline with the Nexus access point, see the `Nexus example `_
Schematics of BluePyEModel classes
-----------------------------------.. image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/images/classes_schema.png
:alt: Schematics of BluePyEModel classesAcknowledgment
--------------This work 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 work has been partially funded by the European Union Seventh Framework Program (FP7/20072013) under grant agreement no. 604102 (HBP), and by the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements No. 720270 (Human Brain Project SGA1) and No. 785907 (Human Brain Project SGA2) and 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).
Copyright
---------Copyright (c) 2023-2024 Blue Brain Project/EPFL
This work is licensed under `Apache 2.0 `_
.. |license| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg
:target: https://github.com/BlueBrain/BluePyEModel/blob/main/LICENSE.txt.. |tests| image:: https://github.com/BlueBrain/BluepyEModel/actions/workflows/test.yml/badge.svg
:target: https://github.com/BlueBrain/BluepyEModel/actions/workflows/test.yml
:alt: CI.. |pypi| image:: https://img.shields.io/pypi/v/bluepyemodel.svg
:target: https://pypi.org/project/bluepyemodel/
:alt: latest release.. |docs| image:: https://readthedocs.org/projects/bluepyemodel/badge/?version=latest
:target: https://bluepyemodel.readthedocs.io/
:alt: latest documentation.. |coverage| image:: https://codecov.io/github/BlueBrain/BluePyEModel/coverage.svg?branch=main
:target: https://codecov.io/gh/BlueBrain/bluepyemodel
:alt: coverage.. |zenodo| image:: https://zenodo.org/badge/651152332.svg
:target: https://zenodo.org/badge/latestdoi/651152332..
The following image is also defined in the index.rst file, as the relative path is
different, depending from where it is sourced.
The following location is used for the github README
The index.rst location is used for the docs README; index.rst also defined an end-marker,
to skip content after the marker 'substitutions'... substitutions
.. |banner| image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/source/logo/BluePyEModelBanner.jpg