braph-2
BRAPH 2.0 is a comprehensive software package for the analysis and visualization of brain connectivity data, offering flexible customization, rich visualization capabilities, and a platform for collaboration in neuroscience research.
Science Score: 49.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 12 DOI reference(s) in README -
✓Academic publication links
Links to: biorxiv.org, zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.2%) to scientific vocabulary
Keywords
Repository
BRAPH 2.0 is a comprehensive software package for the analysis and visualization of brain connectivity data, offering flexible customization, rich visualization capabilities, and a platform for collaboration in neuroscience research.
Basic Info
- Host: GitHub
- Owner: braph-software
- License: other
- Language: MATLAB
- Default Branch: develop
- Homepage: http://braph.org
- Size: 1.12 GB
Statistics
- Stars: 47
- Watchers: 2
- Forks: 13
- Open Issues: 43
- Releases: 7
Topics
Metadata Files
README.md

BRAPH 2 Flexible, Open-source, Reproducible, Community-Oriented, Easy-to-use Framework for Network Analysis in Neurosciences
BRAPH 2 is a MATLAB-based framework for network analysis in neurosciences. Its standard distribution offers advanced multilayer graph analysis, deep learning, and statistical tools. The hallmark of BRAPH 2 is Genesis, a compiler that lets you create tailored distributions by integrating your own methods or specialized pipelines alongside these built-in capabilities. This flexible architecture fosters community-driven innovation, scalability, and reproducibility across diverse research fields.

Genesis advantages to compile a new custom BRAPH 2 distribution To create a custom BRAPH 2 distribution with new methods or specialized analysis pipelines, users prepare a configuration file (genesis_config.txt) along with custom elements, pipeline scripts, and optional tutorial files. The Genesis module then integrates these with BRAPH 2s core components through a structured compilation process, including directory setup, file integration, element compilation, GUI layout generation, and unit test creation. The final output is a customized, no-code GUI distribution, offering a flexible, open-source, reproducible, community-driven, and user-friendly framework for network analysis in neuroscience. A practical example can be found in the BRAPH 2 Genesis Tutorials for creating a BRAPH 2 Hello, World! Distribution.
Watch the introductory video:
https://github.com/user-attachments/assets/21248bde-f3e1-4b07-b833-3c714e584d29
Video credit: Aykut Argun, Blanca Zufiria-Gerbols.
Learn more about how to step by step create your own BRPAH 2 distribution in the full tutorial video.
Standard BRAPH 2 Distribution
BRAPH 2 ships with the standard distributionprovided in this very repositorywhich offers advanced tools for multilayer brain connectivity analysis and deep learning across various neuroimaging modalities. With its user-friendly interface and extensive analysis pipelines, researchers can explore the complex organization of the human brain using multimodal neuroimaging data, going beyond the limitations of traditional approaches. It provides an extensive set of analysis pipelines accessible through a graphical user interface (GUI) and through sample scripts, allowing users to perform ready-to-use analyses or develop customized pipelines for their specific needs. Detailed installation steps and tutorials follow below.

Advances in brain connectivity analysis. Brain connectivity analysis is rapidly evolving thanks to the widespread availability of increasing computational power and large-scale, high-resolution, multimodal neuroimaging datasets. The Standard BRAPH 2 Distribution provides a complete set of tools to analyze these data with conventional graph theory (single-layer graphs), multiplex and multilayer graphs, and deep learning (from dense neural networks to graph convolutional neural networks), as well as a flexible, easily expandable software architecture. BRAPH 2 uses parallel computing to allow users to run scripts on servers or clusters with both central processing units (CPUs) and graphical processing units (GPUs).
Use Cases & Analysis Pipelines
The Standard BRAPH 2 Distribution provides a wide range of analysis pipelines that can be used for various use cases in brain connectivity analysis. For detailed information about these analysis pipelines, including their functionalities and step-by-step instructions, refer to the BRAPH 2 Pipeline Tutorials. Here are some possible use cases in the standard distribution:
Conventional Single-Layer Analyses: The Standard BRAPH 2 Distribution offers pipelines to analyze single-layer graphs derived from different kinds of neuroimaging data. These pipelines involve loading the brain atlas, loading the subject data, constructing the graph, calculating graph measures of interest, and comparing groups. Single-layer analyses can be performed on connectivity data, functional data, and structural data.
Multilayer Analyses: The Standard BRAPH 2 Distribution supports the analysis of multilayer graphs, which capture the connectivity patterns across multiple layers or modalities. The multilayer analysis pipelines involve similar steps as single-layer analyses but operate on multilayer graphs. This allows researchers to explore the relationships between different layers or modalities of brain connectivity.
Deep Learning Analyses: The Standard BRAPH 2 Distribution enables the analysis of brain connectivity data using deep learning techniques. The deep learning pipelines involve loading the brain atlas, loading the subject data, constructing the input for deep learning models, splitting the dataset, training the models, and evaluating the model performance. Deep learning analyses can be applied to connectivity data, functional data, and structural data and graphs.
Installation
To install the Standard BRAPH 2 Distribution, follow these steps:
Ensure that you have MATLAB R2022a or a later version installed on your system. BRAPH 2 is compatible with the versions of MATLAB for Microsoft Windows, MacOS, and Linux operating systems.
Make sure you have the following toolboxes installed in MATLAB:
- Statistics and Machine Learning Toolbox (required for most pipelines)
- Parallel Computing Toolbox (optional)
- Deep Learning Toolbox (optional, for deep learning analysis)
Download the latest stable version of BRAPH 2 from BRAPH 2 Releases.
Unzip the downloaded file into the desired directory on your system.
Launch MATLAB.
Navigate to the
braph2folder located in the directory where you unzipped BRAPH 2.Run the script
braph2. This will launch the graphical user interface (GUI) from which you can choose an analysis pipeline.Explore the BRAPH 2 Tutorials.
Compatibility with MatLab Releases and Operative Systems
A ✓ indicates that we have unit-tested the current release BRAPH 2 on the indicated Matlab release and operative system.
| Matlab Version | Mac | Win | Linux | | :-------------------: | :-----: | :-----:| :-----: | | R2022a | ✓ | ✓ | ✓ | | R2022b | ✓ | ✓ | ✓ | | R2023a | ✓ | ✓ | ✓ | | R2023b | ✓ | ✓ | ✓ | | R2024a | ✓ | ✓ | ✓ | | R2024b | ✓ | ✓ | ✓ |
For Developers
BRAPH 2 is designed to be an open community-driven project, and the code is freely available on this GitHub repository at BRAPH 2 Releases. Developers can contribute to BRAPH 2 at various levels of complexity, ranging from editing existing pipelines and adapting example scripts to implementing entirely new features. For the details on how to do this, refer to the BRAPH 2 Developer Tutorials.
Contribute to BRAPH 2
BRAPH 2 is an open-source project, and contributions from the community are highly encouraged. Whether you want to report a bug, suggest a new feature, create your tailored distribution, or contribute code improvements, your involvement is valuable and will help make BRAPH 2 even better.
Bug Reports and Feature Requests
If you encounter any issues or have ideas for new features, please submit detailed information for bug reports using the Bug Report template and clear descriptions for feature requests using the Feature Request template.
Create Your Tailored Distribution
Leverage BRAPH 2s Genesis system to build custom distributions tailored to your specific research needs by selecting only the built-in elements you requireomitting anything unnecessaryand incorporating your own new elements into a self-contained package. For detailed instructions, refer to the BRAPH 2 Genesis Tutorials.
Existing tailored BRAPH 2 distributions:
- Hello, World!: A minimal BRAPH 2 distribution demonstrating the capabilities of Genesis in generating standalone, unit-tested, and GUI-ready BRAPH 2 distributions.
- Memory Capacity: A BRAPH 2 distribution applying the reservoir computing approach to compute global and nodal memory capacity. It has been used to produce results in the manuscript Computational Memory Capacity Predicts Aging and Cognitive Decline by Mijalkov et al. (2025).
Code Contributions
If you're interested in contributing with code, follow these steps:
Fork the BRAPH 2 repository on GitHub.
Create a new branch for your changes.
Make your modifications and commit them.
Push your branch to your forked repository.
Open a pull request against the
developbranch of the main repository.
The core team of BRAPH 2 developers will then revise this proposal and possibly merge it or come back to you with questions and comments.
Documentation Contributions
Improvements to the documentation are welcome. Submit a pull request as indicated above with your proposed changes for errors, outdated information, or suggestions for improvement.
Community Support
Join discussions on the BRAPH 2 Discussion Forum to provide support, answer questions, and share your expertise.
Cite BRAPH 2
If you use BRAPH 2 in your research work, please cite the following publication:
https://www.biorxiv.org/content/10.1101/2025.04.11.648455v1
"BRAPH 2: a flexible, open-source, reproducible, community-oriented, easy-to-use framework for network analyses in neurosciences."
Yu-Wei Chang, Blanca Zufiria-Gerbols, Emiliano Gmez-Ruiz, Anna Canal-Garcia, Hang Zhao, Mite Mijalkov, Joana B. Pereira & Giovanni Volpe.
bioRxiv (2025).
See also:
https://doi.org/10.1371/journal.pone.0178798
"BRAPH: A graph theory software for the analysis of brain connectivity."
Mite Mijalkov, Ehsan Kakaei, Joana B Pereira, Eric Westman & Giovanni Volpe.
PLoS ONE, 12(8), e0178798 (2017).
https://doi.org/10.1038/s41467-024-55611-1
"Connecting genomic results for psychiatric disorders to human brain cell types and regions reveals convergence with functional connectivity."
Shuyang Yao, Arvid Harder, Fahimeh Darki, Yu-Wei Chang, Ang Li, Kasra Nikouei, Giovanni Volpe, Johan N. Lundstrm, Jian Zeng, Naomi R. Wray, Yi Lu, Patrick F. Sullivan & Jens Hjerling-Leffler.
Nature Communications 16, 395 (2025).
https://doi.org/10.1038/s41467-024-55611-1
"Computational memory capacity predicts aging and cognitive decline."
Mite Mijalkov, Ludvig Storm, Blanca Zufiria-Gerbols, Dniel Verb, Zhilei Xu, Anna Canal-Garcia, Jiawei Sun, Yu-Wei Chang, Hang Zhao, Emiliano Gmez-Ruiz, Massimiliano Passaretti, Sara Garcia-Ptacek, Miia Kivipelto, Per Svenningsson, Henrik Zetterberg, Heidi Jacobs, Kathy Ldge, Daniel Brunner, Bernhard Mehlig, Giovanni Volpe & Joana B. Pereira.
Nature Communications 16, 2748 (2025).
Owner
- Name: braph-software
- Login: braph-software
- Kind: organization
- Repositories: 1
- Profile: https://github.com/braph-software
GitHub Events
Total
- Create event: 40
- Release event: 2
- Issues event: 16
- Watch event: 16
- Delete event: 45
- Member event: 1
- Issue comment event: 53
- Push event: 268
- Pull request review event: 5
- Pull request event: 78
- Fork event: 1
Last Year
- Create event: 40
- Release event: 2
- Issues event: 16
- Watch event: 16
- Delete event: 45
- Member event: 1
- Issue comment event: 53
- Push event: 268
- Pull request review event: 5
- Pull request event: 78
- Fork event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 4
- Total pull requests: 27
- Average time to close issues: about 1 month
- Average time to close pull requests: 23 days
- Total issue authors: 2
- Total pull request authors: 3
- Average comments per issue: 9.75
- Average comments per pull request: 0.07
- Merged pull requests: 19
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 26
- Average time to close issues: about 1 month
- Average time to close pull requests: 2 days
- Issue authors: 2
- Pull request authors: 3
- Average comments per issue: 9.75
- Average comments per pull request: 0.08
- Merged pull requests: 19
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- c-yuwei (9)
- karl-koschutnig (3)
- Hui-SJTU (1)
- hanzh346 (1)
- egolol (1)
- bzufiriaki (1)
- giovannivolpe (1)
Pull Request Authors
- c-yuwei (61)
- egolol (7)
- bzufiriaki (4)
- giovannivolpe (4)
- hanzh346 (3)
- annacanal (2)