Skip to main content

Apache Airavata Cerebrum : Integrated Data-driver Modeling for Computational Neuroscience

Project description

Apache Airavata Cerebrum, an Integrated Neuroscience Computational Framework

Introduction

Airavata Cerebrum aims to simplify building whole brain models via integration of cellular-level brain atlases with advanced computational tools. Our goal is to create a cohesive, open-source framework that allows for accelerated 'data to model' workflows that are flexible to update and straight-forward to reproduce.

Key Features

  • Integration of Brain Atlases: Transparently connect to publicly available cellular-level brain atlases into a single, accessible platform.
  • Model Consruction Workflows: Workflows to collect/filter/combine data from different databases and construct whole brain scale models.
  • Open-Source Framework: Developing a user-friendly, open-source environment for neuroscience research.
  • Streamlined Environment: Ensuring a lightweight, efficient framework for both beginners and advanced users alike.

Install Airavata Cerebrum

Airavata Cerebrum requires python v3.10 environment. It is currently tested only in the Linux operating system. To install from the source, we recommend creating a conda environment using miniforge as below:

conda config --add channels conda-forge
conda create -n cerebrum python=3.10 nodejs
conda activate cerebrum

To install Airavata Cerebrum from source into the environment created above, install from pypi using pip.

pip install airavata-cerebrum

Model Notebooks and Scripts

The resources directory in our github repo contains a set of notebooks to demonstrate Cerebrum, and also standalone batch scripts that build/simulate models using cerbrum. Please refer to resources/README.md for additional installation requirements to run the notebooks.

Development

Clone the source github repo

airavata-cerebrum includes three submodules: abc_atlas_access, aisynphys and codetiming. Clone the repo with all submodules as below.

git clone --recurse-submodules https://github.com/apache/airavata-cerebrum.git

All the dependencies are included with in the airavata_cerebrum/ext namespace. To get these python module to work in developement environment, create the following links:

cd airavata-cerebrum/airavata_cerebrum
ln -s ../../ext/codetiming/codetiming/
ln -s ../../ext/abc_atlas_access/src/abc_atlas_access/
ln -s ../../ext/aisynphys/aisynphys/
ln -s ../../ext/abc_atlas_access/src/manifest_builder/

Installing Environment For Development

Development environment for Airavata Cerebrum is created as a python3.10+ virtual environment in conda using the environment.yml file.

conda config --add channels conda-forge
conda env create -n cbmdev -f environment.yml
conda activate cbmdev

environment.yml includes the version of each of the package to make conda's dependency resolution algorithm to run faster.

Potential Environment Issues

Miniforge conda Issue when installed with spack

If installing conda with miniforge, in some cases the following error appears: ModuleNotFoundError: No module named 'conda'

This happens when the conda script ($CONDA_EXE) has in its first line #!/usr/bin/env python, which picks up the python from the cerebrum environment which is currently being installed instead of the base environment. To fix this, replace the /usr/bin/env python with the python installed in the base environment (generally corresponds of the environment variable $CONDA_PYTHON_EXE).

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

airavata_cerebrum-0.1.2.tar.gz (377.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airavata_cerebrum-0.1.2-py3-none-any.whl (465.9 kB view details)

Uploaded Python 3

File details

Details for the file airavata_cerebrum-0.1.2.tar.gz.

File metadata

  • Download URL: airavata_cerebrum-0.1.2.tar.gz
  • Upload date:
  • Size: 377.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for airavata_cerebrum-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e89e0af576b7d59eda886da7b223441e5f4d917f45cb4021903eac3ccf4a46fd
MD5 2f855575db5a70541447eb8304f1f699
BLAKE2b-256 2e35f7851a94eb378dd086983973c45b7173a6a41e631e6fd4bf4fab9054b6ab

See more details on using hashes here.

File details

Details for the file airavata_cerebrum-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for airavata_cerebrum-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33d16f4c3669825d740e73cac81c56aa0f3da0443901fa5643bdbb515a265bc0
MD5 753ad4245db3e1f64f6533421d031d80
BLAKE2b-256 6546c12084744de8907f0b110f5e5876c1a9ed9c2253403109bc81ca226770d9

See more details on using hashes here.

Supported by

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