e-model-packager

e-model-packager

https://github.com/bluebrain/e-model-packager

Science Score: 72.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    6 of 6 committers (100.0%) from academic institutions
  • Institutional organization owner
    Organization bluebrain has institutional domain (portal.bluebrain.epfl.ch)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.1%) to scientific vocabulary

Keywords

build emodel
Last synced: 6 months ago · JSON representation ·

Repository

e-model-packager

Basic Info
  • Host: GitHub
  • Owner: BlueBrain
  • License: other
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 769 KB
Statistics
  • Stars: 1
  • Watchers: 4
  • Forks: 1
  • Open Issues: 0
  • Releases: 1
Topics
build emodel
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing License Citation Authors Zenodo

README.rst

e-model-packager
================

Creates e-model packages from circuits.

The implementation uses the Luigi Workflow Management System.

Can generate packages for various e-models, including: SSCX, Glusynapse (Synaptic Plasticity) and Thalamus.

This software is dependent on private data and private software.
It has been released on GitHub "as is" for anyone wanting to see the code that has created Blue brain e-model packages such as the `synaptic plasticity ones `_.


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.


Install
-------

You will not be able to install this software, unless you have access to the private software 'bluepy' and 'bluepy-configfile'.
If you have them installed, you can install this software by cloning this repository locally using

.. code-block:: console

    git clone https://github.com/BlueBrain/e-model-packager.git

Then going to the created software repository, and installing it as follow:

.. code-block:: console

    pip install -e .


If you want to generate the synaptic plasticity packages, you will also need to have installed the following private software: glusynapseutils and bglibpy version 4.4.51.


Examples
--------

Here is an example to run the whole pipeline for a single e-model package from the somatosensory (SSCX) circuit.
You need to have access to BB5 data (private Blue Brain data) to run this example.

Simply go to the software main repository and execute this code:

.. code-block:: console

    CURRENT_DIR=$PWD
    export PYTHONPATH=${PYTHONPATH}:$CURRENT_DIR:$CURRENT_DIR/e_model_packages/sscx2020

    LUIGI_CONFIG_PATH=e_model_packages/sscx2020/luigi.cfg luigi --module workflow PrepareMEModelDirectory --mtype=L5_TPC:A --etype=cADpyr --gid=4138379 --region=S1ULp --gidx=79597 --configfile=config_synapses.ini --local-scheduler

When the code has finished running, you should see a new ./output folder with an e-model package in it.

Here is how it works:
 - First, you need to re-define your python path so that luigi can access the workflow module in e_model_packages/sscx2020. If you want to execute the thalamus workflow or the synapse plasticity workflow, you will have to change this path.
 - Then, you give to luigi the path to its config file, the module you want to execute (here, workflow), and the luigi Task you want to be complete.
 - Next you can give the package specifications (mtype, etype, gid, region, gidx). If you want to create all the packages, you can remove all of these fields.
 - Then, you have to give the packager config file, that will determine which protocol the e-model will be able to run and if synapses should be added.
 - Finally, we ask luigi to use a local scheduler to run the workflow.

Other example launch scripts:

  - e_model_packages/sscx2020/prepare_packages.sh
  - e_model_packages/sscx2020/run_recordings.sh
  - e_model_packager/synaptic_plasticity/prepare_packages.sh


Funding & Acknowledgment
------------------------

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.

Copyright (c) 2024 Blue Brain Project/EPFL

Owner

  • Name: The Blue Brain Project
  • Login: BlueBrain
  • Kind: organization
  • Email: bbp.opensource@epfl.ch
  • Location: Geneva, Switzerland

Open Source Software produced and used by the Blue Brain Project

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "e-model-packager"
doi: 10.5281/zenodo.13768050
url: https://doi.org/10.5281/zenodo.13768050
abstract: "Creates e-model packages from circuits. The implementation uses the Luigi Workflow Management System. Can generate packages for various e-models, including: SSCX, Glusynapse (Synaptic Plasticity) and Thalamus."
authors:
  - family-names: "Tuncel"
    given-names: "Anil"
  - family-names: "Jaquier"
    given-names: "Aurélien"
date-released: 2024-09-16
publisher: "Zenodo"

GitHub Events

Total
  • Fork event: 1
Last Year
  • Fork event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 245
  • Total Committers: 6
  • Avg Commits per committer: 40.833
  • Development Distribution Score (DDS): 0.42
Past Year
  • Commits: 37
  • Committers: 1
  • Avg Commits per committer: 37.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Anil Tuncel a****l@e****h 142
Jaquier Aurélien Tristan a****r@e****h 90
Jaquier Aurélien Tristan a****r@b****h 10
Costin-Eugen Gament c****t@e****h 1
Jaquier Aurélien Tristan a****r@r****h 1
Jaquier Aurélien Tristan a****r@b****h 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 11
  • Average time to close issues: N/A
  • Average time to close pull requests: about 4 hours
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.18
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 11
  • Average time to close issues: N/A
  • Average time to close pull requests: about 4 hours
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.18
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • AurelienJaquier (15)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
e_model_packager/sscx2020/extra_data/scripts/requirements.txt pypi
  • bluepyopt ==1.9.66
  • matplotlib *
e_model_packager/synaptic_plasticity/extra_data/scripts/requirements.txt pypi
  • bluepyopt *
  • emodelrunner *
setup.py pypi
  • EModelRunner >=1.1.9
  • bluecellulab *
  • bluepy >=v2.3.0
  • bluepyopt >=1.13.168
  • click >=8.0.0
  • efel *
  • h5py *
  • luigi *
  • luigi-tools >=0.0.6
  • numpy *
  • pandas *
  • pynwb *
  • schema *
requirements_docs.txt pypi
  • sphinx >=2.0.0
  • sphinx-bluebrain-theme *