cobrawap

Collaborative Brain Wave Analysis Pipeline (Cobrawap)

https://github.com/neuralensemble/cobrawap

Science Score: 57.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 15 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
    Organization neuralensemble has institutional domain (neuralensemble.org)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Collaborative Brain Wave Analysis Pipeline (Cobrawap)

Basic Info
Statistics
  • Stars: 23
  • Watchers: 7
  • Forks: 20
  • Open Issues: 26
  • Releases: 4
Created over 8 years ago · Last pushed 6 months ago
Metadata Files
Readme License Authors Codemeta Zenodo

README.rst

=====================================================
Collaborative Brain Wave Analysis Pipeline (Cobrawap)
=====================================================

.. image:: https://readthedocs.org/projects/cobrawap/badge/?version=latest
   :target: https://cobrawap.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status
   :align: left

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10198748.svg
  :target: https://doi.org/10.5281/zenodo.10198748
  :alt: DOI Latest Release
  :align: left

.. image:: https://img.shields.io/badge/slack-join-pink.svg
   :target: https://join.slack.com/t/cobrawapworkinggroup/shared_invite/zt-35zdiigs3-gNA97vohr57WJ2zEOtCFug
   :alt: Join our Slack Community
   :align: left

.. image:: https://raw.githubusercontent.com/NeuralEnsemble/cobrawap/master/doc/images/cobrawap_logo.png
   :height: 150px
   :alt: Cobrawap Logo
   :align: left

Cobrawap is an adaptable and reusable analysis pipeline for the multi-scale, multi-methodology analysis of cortical wave activity. The pipeline ingests data from heterogeneous sources of spatially organized neuronal activity, such as ECoG or calcium imaging recordings, as well as the outcome of numerical simulations. The pipeline returns statistical measures to quantify the dynamic wave-like activity patterns found in the data.

`Documentation `_ | `Publication `_ | `Introductory video `_ | `Use-case demo on the EBRAINS Collab `_


Concept
=======

.. image:: https://raw.githubusercontent.com/NeuralEnsemble/cobrawap/master/doc/images/cobrawap_pipeline_approach.png
   :height: 300px
   :alt: Schematic Pipeline Approach
   :align: center

Cobrawap brings together existing analysis methods, tools, and standards, and interfaces them for the analysis and characterization of cortical wave-like activity and UP/DOWN state detections. Cobrawap serves as a space to gather the various data types exhibiting wave-like activity and their various analysis approaches into the same pipeline. Besides generating easily reproducible and curated results, Cobrawap facilitates the rigorous comparison between datasets of different laboratories, studies and measurement modalities. Furthermore, Cobrawap can be used in the context of model validation and benchmarking of analysis methods. Cobrawap may also act as a template for implementing analysis pipelines in other contexts.

**Cobrawap features...**

* a user-friendly command line interface guiding the setup and usage
* a hierarchical and modular pipeline framework based on the Snakemake_ workflow management tool
* reusable method implementations (*stages* and *blocks*) for standalone applications or integration into workflows
* analysis methods for electrophysiological and optical data on the characterization of cortical wave activity and local oscillations
* visualization of the analysis steps and the intermediate results
* intermediate results curated with annotated metadata

.. _Snakemake: https://snakemake.readthedocs.io/en/stable/

For further developments and feature requests refer to the `Github Issues `_.

Reach out to the Cobrawap development team at: contact♥cobrawap•org


Citation
========
To refer to the Cobrawap software package in publications, please use:

Cobrawap (`doi:10.5281/zenodo.10198748 `_;
`RRID:SCR_022966 `_)

To cite a specific version of Cobrawap please see version-specific DOIs at:

 `doi:10.5281/zenodo.10198748 `_

To cite Cobrawap, please use:

Gutzen, R., De Bonis, G., De Luca, C., Pastorelli, E., Capone, C., Allegra Mascaro, A. L., Resta, F., Manasanch, A., Pavone, F. S., Sanchez-Vives, M. V., Mattia, M., Grün, S., Paolucci, P. S., & Denker, M. (2024). *Using a modular and adaptable analysis pipeline to compare slow cerebral rhythms across heterogeneous datasets*. Cell Reports Methods, 4(1), 100681. `https://doi.org/10.1016/j.crmeth.2023.100681 `_


License
=======
Cobrawap is open-source software and is licensed under the `GNU General Public License v3 `_.


The Cobrawap Community
======================
Cobrawap is currently provided as a `tool `_ of the `EBRAINS `_ infrastructure and included in the `EBRAINS-Italy `_ initiative. Further details on funding and resources are in the `Acknowledgments `_ file in the doc folder.

The **Cobrawap Core Team** is in charge of defining the scientific address of the project and taking care of the continuous maintenance and development of the software. This collaborative endeavor is jointly carried by *Forschungszentrum Jülich, Germany* and *Istituto Nazionale di Fisica Nucleare (INFN), Roma, Italy* and currently includes:

+---------------------------------------+------------------------------------------+
| .. image::                            | .. image::                               |
|    https://raw.githubusercontent.com/ |    https://raw.githubusercontent.com/    |
|    NeuralEnsemble/cobrawap/master/    |    NeuralEnsemble/cobrawap/master/       |
|    doc/images/institutions/           |    doc/images/institutions/              |
|    fzj.svg                            |    infn.svg                              |
|    :height: 80px                      |    :height: 80px                         |
|    :align: center                     |    :align: center                        |
|    :width: 560px                      |    :width: 560px                         |
+---------------------------------------+------------------------------------------+
| - *Robin Gutzen* (now @ NYU)          | - *Giulia De Bonis*                      |
| - *Michael Denker*                    | - *Cosimo Lupo*                          |
|                                       | - *Federico Marmoreo*                    |
|                                       | - *Pier Stanislao Paolucci*              |
+---------------------------------------+------------------------------------------+
  
The further **Cobrawap Community** includes people and partners that offer technical support for the integration of the software in a larger framework of interoperable tools, and offer scientific support for the development of the analysis methods and the tool's integration into broader research endeavors.

- Athena Research and Innovation Center, Greece
   - *Sofia Karvounari*
   - *Eleni Mathioulaki*
- Unité de Neurosciences, Neuroinformatics Group, CNRS, France
   - *Andrew Davison*
- Istituto Nazionale di Fisica Nucleare (INFN), Italy
   - *Chiara De Luca*
   - *Cristiano Capone*
   - *Irene Bernava*
   - *Alessandra Cardinale*
- Institut d’Investigacions Biomediques August Pi i Sunyer (IDIBAPS), Barcelona, Spain
   - *Arnau Manasanch*
   - *Miguel Dasilva*
   - *Maria V. Sanchez-Vives*
- European Laboratory for Non-Linear Spectroscopy (LENS), Firenze, Italy
   - *Anna Letizia Allegra Mascaro*
   - *Francesco Resta*
   - *Francesco S. Pavone*
- Istituto Superiore di Sanità (ISS), Roma, Italy
   - *Maurizio Mattia*
- University of Milano (UniMi), Italy
   - *Andrea Pigorini*
   - *Thierry Nieus*
   - *Gianluca Gaglioti*
   - *Marcello Massimini*

**Cobrawap Partnering Projects**:

Sleep Wave Analysis Visualization Engine (SWAVE): A data visualization tool that takes Cobrawap outputs and visualizes these to show dynamic wave-like activity patterns found in the data. Developed at Washington University in St. Louis, USA: https://github.com/cilantroxiao/SWAVE

Further Context
===============

Software Ecosystem
------------------
The functionality offered by Cobrawap builds on existing software tools and services.

Neo_ improves interoperability between Python tools for analyzing, visualizing, and generating electrophysiology data by providing a common, shared data object model. The Neo data representation provides a hierarchical data and metadata description for a variety of data types including intracellular and extracellular electrophysiology, electrical data with support for multi-electrode, as well as optical recordings. Furthermore, it supports a wide range of neurophysiology file formats to facilitate reading data from most common recording devices.

The Electrophysiology Analysis Toolkit, Elephant_, is an open-source Python library for analysis methods. It focuses on providing fast and reliable implementations for generic analysis functions for spike train data and time series recordings from electrodes. As community centered project, Elephant aims to serve as a common platform for analysis codes from different laboratories, and a consistent and homogeneous analysis framework.

The Neuroscience Information Exchange, NIX_, format is an API and data format to store scientific data and metadata in a combined representation. Its structure is inspired by common types of neuroscience data, and it acts as one of the primary data formats for the Neo data object model.

.. _Neo: http://neuralensemble.org/neo
.. _Elephant: https://python-elephant.org
.. _NIX: http://g-node.github.io/nix

The Human Brain Project and WaveScalES
--------------------------------------
Cobrawap was originally developed in the context the `Human Brain Project `_, launched as a use-case initiated within the *WaveScalES* sub-project.
Sleep is present in all animal species notwithstanding the risk associated with the disconnection from the environment (e.g. predation) and the reduction of time available for food search and reproduction. Indeed, it is well known that the human brains need healthy sleep, as chronic sleep deprivation reduces cognitive performances. The goal of the WaveScalES sub-project of the `Human Brain Project `_ was to unveil the underlying mechanisms of deep sleep, anesthesia and coma, the emergence toward wakefulness, and the link between sleep and learning, taking advantage of cortical slow wave activity (SWA) and investigating it with experimental data, analysis tools, modulation techniques, theoretical models, and simulations of such states and of the transition to wakefulness.

Owner

  • Name: NeuralEnsemble
  • Login: NeuralEnsemble
  • Kind: organization

CodeMeta (codemeta.json)

{
  "@context": "https://w3id.org/codemeta/3.0",
  "type": "SoftwareSourceCode",
  "applicationCategory": "data analysis",
  "author": [
    {
      "id": "http://orcid.org/0000-0001-7373-5962",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Department of Psychology and Center for Data Science, New York University, New York, USA"
      },
      "familyName": "Gutzen",
      "givenName": "Robin"
    },
    {
      "id": "http://orcid.org/0000-0002-2651-1277",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Istituto Nazionale di Fisica Nucleare (INFN), Sezione di Roma, Rome, Italy"
      },
      "familyName": "Lupo",
      "givenName": "Cosimo"
    },
    {
      "id": "http://orcid.org/0000-0002-5933-2873",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Istituto Nazionale di Fisica Nucleare (INFN), Sezione di Roma, Rome, Italy"
      },
      "familyName": "Marmoreo",
      "givenName": "Federico"
    },
    {
      "id": "http://orcid.org/0000-0001-7079-5724",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Istituto Nazionale di Fisica Nucleare (INFN), Sezione di Roma, Rome, Italy"
      },
      "familyName": "De Bonis",
      "givenName": "Giulia"
    }
  ],
  "codeRepository": "git+https://github.com/NeuralEnsemble/cobrawap/",
  "contributor": [
    {
      "id": "http://orcid.org/0000-0003-3488-0088",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Istituto Nazionale di Fisica Nucleare (INFN), Sezione di Roma, Rome, Italy; Institute of Neuroinformatics, University of Zrich and ETH Zrich, Zrich, Switzerland"
      },
      "familyName": "De Luca",
      "givenName": "Chiara"
    },
    {
      "id": "http://orcid.org/0000-0003-0682-1232",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Istituto Nazionale di Fisica Nucleare (INFN), Sezione di Roma, Rome, Italy"
      },
      "familyName": "Pastorelli",
      "givenName": "Elena"
    },
    {
      "id": "http://orcid.org/0000-0002-9958-2551",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Istituto Nazionale di Fisica Nucleare (INFN), Sezione di Roma, Rome, Italy"
      },
      "familyName": "Capone",
      "givenName": "Cristiano"
    },
    {
      "id": "http://orcid.org/0000-0002-8489-0076",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "European Laboratory for Non-linear Spectroscopy (LENS), University of Florence, Florence, Italy; Neuroscience Institute, National Research Council, Pisa, Italy"
      },
      "familyName": "Allegra Mascaro",
      "givenName": "Anna Letizia"
    },
    {
      "id": "http://orcid.org/0000-0002-9605-5852",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "European Laboratory for Non-linear Spectroscopy (LENS), University of Florence, Florence, Italy; Department of Physics and Astronomy, University of Florence, Florence, Italy"
      },
      "familyName": "Resta",
      "givenName": "Francesco"
    },
    {
      "id": "http://orcid.org/0000-0002-8306-0759",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Institut dInvestigacions Biomdiques August Pi i Sunyer (IDIBAPS), Barcelona, Spain"
      },
      "familyName": "Manasanch",
      "givenName": "Arnau"
    },
    {
      "id": "http://orcid.org/0000-0002-0675-3981",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "European Laboratory for Non-linear Spectroscopy (LENS), University of Florence, Florence, Italy; Department of Physics and Astronomy, University of Florence, Florence, Italy; National Institute of Optics, National Research Council, Sesto Fiorentino, Italy"
      },
      "familyName": "Pavone",
      "givenName": "Francesco Saverio"
    },
    {
      "id": "http://orcid.org/0000-0002-8437-9083",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Institut dInvestigacions Biomdiques August Pi i Sunyer (IDIBAPS), Barcelona, Spain; Instituci Catalana de Recerca i Estudis Avanats (ICREA), Barcelona, Spain"
      },
      "familyName": "Sanchez-Vives",
      "givenName": "Maria V."
    },
    {
      "id": "http://orcid.org/0000-0002-2356-4509",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Natl. Center for Radiation Protection and Computational Physics, Istituto Superiore di Sanit (ISS), Rome, Italy"
      },
      "familyName": "Mattia",
      "givenName": "Maurizio"
    },
    {
      "id": "http://orcid.org/0000-0003-2829-2220",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Institute for Advanced Simulation (IAS-6), Jlich Research Centre, Jlich, Germany; Theoretical Systems Neurobiology, RWTH Aachen University, Aachen, Germany"
      },
      "familyName": "Grn",
      "givenName": "Sonja"
    },
    {
      "id": "http://orcid.org/0000-0003-1255-7300",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Institute for Advanced Simulation (IAS-6), Jlich Research Centre, Jlich, Germany"
      },
      "familyName": "Denker",
      "givenName": "Michael"
    },
    {
      "id": "http://orcid.org/0000-0003-1937-6086",
      "type": "Person",
      "affiliation": {
        "type": "Organization",
        "name": "Istituto Nazionale di Fisica Nucleare (INFN), Sezione di Roma, Rome, Italy"
      },
      "familyName": "Paolucci",
      "givenName": "Pier Stanislao"
    }
  ],
  "dateModified": "2025-09-23",
  "datePublished": "2023-11-23",
  "description": "Cobrawap is an adaptable and reusable analysis pipeline for the multi-scale, multi-methodology analysis of cortical wave activity. The pipeline ingests data from heterogeneous sources of spatially organized neuronal activity, such as ECoG or calcium imaging recordings, as well as the outcome of numerical simulations. The pipeline returns statistical measures to quantify the dynamic wave-like activity patterns found in the data.",
  "downloadUrl": "https://files.pythonhosted.org/packages/5e/4e/4e377df61f53ddf44a4976892503960ae06b0cbb5b12cd32f4c178f9923a/cobrawap-0.2.3.tar.gz",
  "identifier": "10.5281/zenodo.10198748; RRID:SCR_022966",
  "keywords": "neuroscience; neurophysiology; statistics; data-analysis",
  "license": "https://spdx.org/licenses/GPL-3.0-or-later",
  "name": "Collaborative Brain Wave Analysis Pipeline (Cobrawap)",
  "programmingLanguage": "Python",
  "relatedLink": "https://cobrawap.readthedocs.io",
  "releaseNotes": "https://cobrawap.readthedocs.io/en/latest/release_notes.html",
  "version": "0.2.3",
  "developmentStatus": "active",
  "funding": "European Unions Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements No. 945539 (Human Brain Project SGA3) and No. 785907 (Human Brain Project SGA2); the European Commission NextGeneration EU through grant MUR CUP B51E22000150006 (EBRAINS-Italy IR00011 PNRR); European Unions Horizon Europe Programme under the Specific Grant Agreement No. 101147319 (EBRAINS 2.0 Project)",
  "issueTracker": "https://github.com/NeuralEnsemble/cobrawap/issues",
  "referencePublication": "https://doi.org/10.1016/j.crmeth.2023.100681"
}

GitHub Events

Total
  • Issues event: 9
  • Watch event: 8
  • Delete event: 6
  • Issue comment event: 16
  • Push event: 16
  • Pull request review comment event: 31
  • Pull request review event: 30
  • Pull request event: 28
  • Fork event: 3
  • Create event: 3
Last Year
  • Issues event: 9
  • Watch event: 8
  • Delete event: 6
  • Issue comment event: 16
  • Push event: 16
  • Pull request review comment event: 31
  • Pull request review event: 30
  • Pull request event: 28
  • Fork event: 3
  • Create event: 3

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 50
  • Total pull requests: 77
  • Average time to close issues: 11 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 8
  • Total pull request authors: 9
  • Average comments per issue: 0.98
  • Average comments per pull request: 1.14
  • Merged pull requests: 50
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 9
  • Pull requests: 21
  • Average time to close issues: 23 days
  • Average time to close pull requests: 5 days
  • Issue authors: 3
  • Pull request authors: 4
  • Average comments per issue: 0.67
  • Average comments per pull request: 0.52
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • rgutzen (22)
  • araihC (10)
  • mdenker (7)
  • cosimolupo (6)
  • gulpgiulia (2)
  • epastorelli (1)
  • apdavison (1)
  • dhasegan (1)
Pull Request Authors
  • cosimolupo (27)
  • rgutzen (18)
  • mdenker (10)
  • araihC (10)
  • FMarmoreo (5)
  • gulpgiulia (3)
  • dependabot[bot] (2)
  • skrausse (1)
  • apdavison (1)
Top Labels
Issue Labels
enhancement (19) bug (9) new block (8) documentation (6) epic (4) question (2) dependencies (1) wontfix (1) help wanted (1) formatting (1)
Pull Request Labels
bug (13) enhancement (12) documentation (12) formatting (6) dependencies (2) new block (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 30 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 2
pypi.org: cobrawap

Collaborative Brain Wave Analysis Pipeline (Cobrawap)

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 30 Last month
Rankings
Dependent packages count: 10.1%
Average: 38.7%
Dependent repos count: 67.4%
Maintainers (2)
Last synced: 6 months ago

Dependencies

.github/workflows/ebrains.yml actions
  • wei/git-sync 55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 composite
requirements/requirements-docs.txt pypi
  • numpydoc >=1.1.0
  • sphinx >=3.3.0
  • sphinx-argparse >=0.3.2
  • sphinx-tabs >=1.3.0
pyproject.toml pypi
  • elephant >= 0.10.0
  • h5py *
  • jinja2 >= 2.10.3
  • matplotlib >= 3.5.1
  • neo >= 0.10.2
  • networkx *
  • nixio >= 1.5.3
  • pandas >= 1.2.0
  • pillow >= 7.0.0
  • pygments >= 2.4.2
  • ruamel.yaml >= 0.18.3
  • scikit-image >= 0.20.0
  • scikit-learn >= 1.1.0
  • scipy >= 1.7.3
  • seaborn *
  • shapely *
  • snakemake == 7.9.0
setup.py pypi
cobrawap/pipeline/environment.yaml conda
  • h5py
  • jinja2 >=2.10.3
  • pip >=19.3.1
  • pygments >=2.4.2
  • pygraphviz >=1.5
  • python >=3.8
  • shapely
  • snakemake 7.9.0