Skip to main content

Aligning Big Brains and Atlases, controlled from Python.

Project description

ABBA Python

Aligning Big Brains and Atlases, controlled from Python.

ABBA in short

Aligning Big Brains & Atlases or ABBA for short, allows to register thin serial sections to several atlases, in coronal, sagittal and horizontal orientations.

With ABBA Python, you have access to the 3D mouse Allen Brain atlas, and the Waxholm Space Atlas of the Sprague Dawley Rat Brain and all other BrainGlobe atlases.

ABBA Python allows to use DeepSlice for automated registration of mouse coronal sections (rat not implemented yet).

Getting started

To get started with a GUI:

  • install miniconda
  • create a conda env with python 3.7 and openjdk 8:
conda create -c conda-forge -n myenv python=3.7 openjdk=8

conda activate myenv

pip install abba_python

python

>> from abba_python import abba

>> abba.start_imagej()

You can then use ABBA in Fiji, see https://biop.github.io/ijp-imagetoatlas/

ABBA is typically used in conjunction with QuPath (https://qupath.github.io/): a QuPath project can serve as an input for ABBA, and the registration results can be imported back into QuPath for downstream processing.

Note on versions

abba_python do not support python version above 3.7 because DeepSlice depends on tensorflow 1.15, which is not supported for later versions of python (https://github.com/PolarBean/DeepSlice/issues/41).

Openjdk version can work for version above 8, but it has been less used, so there may be unexpected bugs. You need to have openjdk installed from conda-forge, if you want to avoid certificate issues.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Cookiecutter

audreyr/cookiecutter-pypackage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

abba_python-0.3.0.tar.gz (26.7 kB view hashes)

Uploaded Source

Built Distribution

abba_python-0.3.0-py2.py3-none-any.whl (25.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page