# Brainways
[](https://doi.org/10.1101/2023.05.25.542252)
[](https://github.com/bkntr/brainways/raw/main/LICENSE)
[](https://pypi.org/project/brainways)
[](https://python.org)
[](https://github.com/bkntr/brainways/actions)
[](https://codecov.io/gh/bkntr/brainways)
[](https://brainways.readthedocs.io/en/latest/?badge=latest)
[](https://napari-hub.org/plugins/brainways)
<!-- markdownlint-disable MD026 -->
## What Is Brainways?
<!-- markdownlint-enable MD026 -->
Brainways is an AI-based tool for automated registration, quantification and generation of brain-wide activity networks based on fluorescence in coronal slices.

<!-- markdownlint-disable MD026 -->
## Why Brainways?
<!-- markdownlint-enable MD026 -->
Coronal slice registration, cell quantification and whole-brain contrast analysis between experimental conditions should be made easily accessible from a single software, without requiring programming experience.
Customization should be made easy by having a highly flexible pythonic backend.
## Getting Started
To install and run brainways, run the following in your python environment:
```bash
pip install brainways
brainways ui
```
Follow our [getting started guide](https://brainways.readthedocs.io/en/latest/getting_started/) for more details.
## How it works
Brainways allows users to register, quantify and provide statistical contrast analysis by following several simple steps:
1. Rigid registration of coronal slices to a 3D atlas.
1. Non-rigid registration of coronal slices to a 3D atlas, to account for individual difference and imperfections in acquisition procedure.
1. Cell detection (using [StarDist](https://github.com/stardist/stardist)).
1. Quantification of cell counts per brain region.
1. Statistical analysis:
* ANOVA contrast analysis.
* PLS (Partial Least Square) analysis.
* Network graph creation.
<!-- For a quick 10 minute overview of brainways, check out the demo presented to The Social Club community
meeting:
[](https://youtu.be/aWDIQMbp1cc?t=1m4s) -->
## Architecture
Brainways is implemented as three modules. `brainways.ui` contains the GUI implementation as a [napari](https://napari.org/stable/) plugin. `brainways.ui` is using `brainways` as its backend. All of the functionality is implemented in the brainways package. This separation was done to guarantee that brainways is a GUI-agnostic software, and can be fully accessed and manipulated through python code to allow custom complex usage scenarios. The code that was used to train, evaluate and run the automatic registration model resides in `brainways-reg-model`.
## Development Status
Brainways is being actively developed by Ben Kantor of Bartal lab, Tel Aviv University, Israel. Our releases can be found [here](https://github.com/bkntr/brainways/releases).
## Citation
If you use brainways, please cite [Kantor and Bartal (2023)](https://doi.org/10.1101/2023.05.25.542252):
@article{kantor2023brainways,
title={Brainways: An Open-Source AI-based Software For Registration and Analysis of Fluorescent Markers on Coronal Brain Slices},
author={Kantor, Ben and Ben-Ami Bartal, Inbal},
journal={bioRxiv},
pages={2023--05},
year={2023},
publisher={Cold Spring Harbor Laboratory}
}
## License
Distributed under the terms of the [GNU GPL v3.0] license,
"brainways" is free and open source software
## Issues
If you encounter any problems, please [file an issue] along with a detailed description.
[napari]: https://github.com/napari/napari
[Cookiecutter]: https://github.com/audreyr/cookiecutter
[@napari]: https://github.com/napari
[MIT]: http://opensource.org/licenses/MIT
[BSD-3]: http://opensource.org/licenses/BSD-3-Clause
[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt
[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt
[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0
[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt
[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin
[file an issue]: https://github.com/bkntr/brainways/issues
[napari]: https://github.com/napari/napari
[tox]: https://tox.readthedocs.io/en/latest/
[pip]: https://pypi.org/project/pip/
[PyPI]: https://pypi.org/
Raw data
{
"_id": null,
"home_page": "https://github.com/bkntr/brainways",
"name": "brainways",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Ben Kantor",
"author_email": "benkantor@mail.tau.ac.il",
"download_url": "https://files.pythonhosted.org/packages/2e/5a/6559748cee9ee47edf23b032db740b3ea434e1fd332770a5089728ddd33c/brainways-0.1.15.1.tar.gz",
"platform": null,
"description": "# Brainways\n\n[](https://doi.org/10.1101/2023.05.25.542252)\n[](https://github.com/bkntr/brainways/raw/main/LICENSE)\n[](https://pypi.org/project/brainways)\n[](https://python.org)\n[](https://github.com/bkntr/brainways/actions)\n[](https://codecov.io/gh/bkntr/brainways)\n[](https://brainways.readthedocs.io/en/latest/?badge=latest)\n[](https://napari-hub.org/plugins/brainways)\n\n<!-- markdownlint-disable MD026 -->\n## What Is Brainways?\n<!-- markdownlint-enable MD026 -->\n\nBrainways is an AI-based tool for automated registration, quantification and generation of brain-wide activity networks based on fluorescence in coronal slices.\n\n\n\n<!-- markdownlint-disable MD026 -->\n## Why Brainways?\n<!-- markdownlint-enable MD026 -->\n\nCoronal slice registration, cell quantification and whole-brain contrast analysis between experimental conditions should be made easily accessible from a single software, without requiring programming experience.\nCustomization should be made easy by having a highly flexible pythonic backend.\n\n## Getting Started\n\nTo install and run brainways, run the following in your python environment:\n\n```bash\npip install brainways\nbrainways ui\n```\n\nFollow our [getting started guide](https://brainways.readthedocs.io/en/latest/getting_started/) for more details.\n\n## How it works\n\nBrainways allows users to register, quantify and provide statistical contrast analysis by following several simple steps:\n\n1. Rigid registration of coronal slices to a 3D atlas.\n1. Non-rigid registration of coronal slices to a 3D atlas, to account for individual difference and imperfections in acquisition procedure.\n1. Cell detection (using [StarDist](https://github.com/stardist/stardist)).\n1. Quantification of cell counts per brain region.\n1. Statistical analysis:\n * ANOVA contrast analysis.\n * PLS (Partial Least Square) analysis.\n * Network graph creation.\n\n<!-- For a quick 10 minute overview of brainways, check out the demo presented to The Social Club community\nmeeting:\n\n[](https://youtu.be/aWDIQMbp1cc?t=1m4s) -->\n\n## Architecture\n\nBrainways is implemented as three modules. `brainways.ui` contains the GUI implementation as a [napari](https://napari.org/stable/) plugin. `brainways.ui` is using `brainways` as its backend. All of the functionality is implemented in the brainways package. This separation was done to guarantee that brainways is a GUI-agnostic software, and can be fully accessed and manipulated through python code to allow custom complex usage scenarios. The code that was used to train, evaluate and run the automatic registration model resides in `brainways-reg-model`.\n\n## Development Status\n\nBrainways is being actively developed by Ben Kantor of Bartal lab, Tel Aviv University, Israel. Our releases can be found [here](https://github.com/bkntr/brainways/releases).\n\n## Citation\n\nIf you use brainways, please cite [Kantor and Bartal (2023)](https://doi.org/10.1101/2023.05.25.542252):\n\n @article{kantor2023brainways,\n title={Brainways: An Open-Source AI-based Software For Registration and Analysis of Fluorescent Markers on Coronal Brain Slices},\n author={Kantor, Ben and Ben-Ami Bartal, Inbal},\n journal={bioRxiv},\n pages={2023--05},\n year={2023},\n publisher={Cold Spring Harbor Laboratory}\n }\n\n## License\n\nDistributed under the terms of the [GNU GPL v3.0] license,\n\"brainways\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please [file an issue] along with a detailed description.\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[MIT]: http://opensource.org/licenses/MIT\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\n[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt\n[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt\n[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0\n[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\n\n[file an issue]: https://github.com/bkntr/brainways/issues\n\n[napari]: https://github.com/napari/napari\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/\n",
"bugtrack_url": null,
"license": "GPL-3.0",
"summary": "Brainways",
"version": "0.1.15.1",
"project_urls": {
"Bug Tracker": "https://github.com/bkntr/brainways/issues",
"Documentation": "https://github.com/bkntr/brainways#README.md",
"Homepage": "https://github.com/bkntr/brainways",
"Source Code": "https://github.com/bkntr/brainways",
"User Support": "https://github.com/bkntr/brainways/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aea0fbdd0de5633f770b6a25b0843c1d00942e71ffea40fd49d3e13f4ca480a9",
"md5": "15b348ad36d9f0fcb5e6532f59a697e6",
"sha256": "0bad95c372d47c041d25430b3de2b52d484f49b0c1c20a5013a94d7259f9e0cd"
},
"downloads": -1,
"filename": "brainways-0.1.15.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "15b348ad36d9f0fcb5e6532f59a697e6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 539374,
"upload_time": "2024-12-04T07:33:04",
"upload_time_iso_8601": "2024-12-04T07:33:04.176566Z",
"url": "https://files.pythonhosted.org/packages/ae/a0/fbdd0de5633f770b6a25b0843c1d00942e71ffea40fd49d3e13f4ca480a9/brainways-0.1.15.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2e5a6559748cee9ee47edf23b032db740b3ea434e1fd332770a5089728ddd33c",
"md5": "e7403a961a915460be83687e3fa14173",
"sha256": "c32a50716fede1b1cbbabeded1d8c104c8190d461f9e4c9802484cf591b9c8a9"
},
"downloads": -1,
"filename": "brainways-0.1.15.1.tar.gz",
"has_sig": false,
"md5_digest": "e7403a961a915460be83687e3fa14173",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 6441037,
"upload_time": "2024-12-04T07:33:06",
"upload_time_iso_8601": "2024-12-04T07:33:06.411660Z",
"url": "https://files.pythonhosted.org/packages/2e/5a/6559748cee9ee47edf23b032db740b3ea434e1fd332770a5089728ddd33c/brainways-0.1.15.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-04 07:33:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bkntr",
"github_project": "brainways",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "brainways"
}