Skip to main content

Basic commandline client for siibra - a software toolsuite for interacting with brain atlases

Project description

License

siibracli - commandline client for interacting with brain atlases

Copyright 2020-2022, Forschungszentrum Jülich GmbH

Authors: Big Data Analytics Group, Institute of Neuroscience and Medicine (INM-1), Forschungszentrum Jülich GmbH

siibra is a Python client for working with brain atlas frameworks that integrate multiple brain parcellations and reference spaces across different spatial scales, and connect them with a multimodal regional data features. It aims to facilitate the programmatic and reproducible incorporation of brain region features from different sources into reproducible neuroscience workflows.

This repository implements a basic commandline interface (CLI) for siibra.

Note: ``siibra-cli`` is still in development. While care is taken that it works reliably, its API is not yet stable and you may still encounter bugs when using it.

siibra provides structured acccess to parcellation schemes in different brain reference spaces, including volumetric reference templates at both macroscopic and microscopic resolutions as well as surface representations. It supports both discretely labelled and continuous (probabilistic) parcellation maps, which can be used to assign brain regions to spatial locations and image signals, to retrieve region-specific neuroscience datasets from multiple online repositories, and to sample information from high-resolution image data. Among the datasets anchored to brain regions are many different modalities from in-vivo and post mortem studies, including regional information about cell and transmitter receptor densties, structural and functional connectivity, gene expressions, and more.

siibra is mainly developed by the Human Brain Project for accessing the EBRAINS human brain atlas. It stores much of its contents in the EBRAINS Knowledge Graph, and is designed to support the OpenMINDS metadata standards. Its functionalities include common actions known from the interactive viewer siibra explorer hosted on EBRAINS. In fact, the viewer is a good resource for exploring siibra’s core functionalities interactively: Selecting different parcellations, browsing and searching brain region hierarchies, downloading maps, identifying brain regions, and accessing multimodal features and connectivity information associated with brain regions. Feature queries in siibra are parameterized by data modality and anatomical location, while the latter could be a brain region, brain parcellation, or location in reference space. Beyond the functionality of siibra-explorer, the Python library also supports a range of data analysis features suitable for typical neuroscience workflows.

siibra hides much of the complexity that would be required to collect and interact with the individual paracellations,templates andd data repositories. By encapsulating many aspects of interacting with different maps and reference templates spaces, it also minimizes common errors like misinterpretation of coordinates from different reference spaces, mixing up label indices of brain regions, or utilisation of inconsistent versions of parcellation maps. It aims to provide a safe way of using maps defined across multiple spatial scales for reproducible analysis.

Installation

siibra-cli is available on pypi. To install the latest released version, simply run pip install siibra-cli. In order to work with the latest version from github, use pip install git+https://github.com/FZJ-INM1-BDA/siibra-cli.git@main.

Access to EBRAINS

siibra retrieves much of its data from the EBRAINS Knowledge Graph, which requires authentication. Therefore you have to provide an EBRAINS authentication token for using all features provided by siibra. Please make sure that you have a valid EBRAINS user account by registering to EBRAINS.

Help

If you run into issues, please open a ticket on EBRAINS support or directly file bugs and feature requests on github.

Acknowledgements

This software code is funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).

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

siibra_cli-0.2a1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

siibra_cli-0.2a1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file siibra_cli-0.2a1.tar.gz.

File metadata

  • Download URL: siibra_cli-0.2a1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for siibra_cli-0.2a1.tar.gz
Algorithm Hash digest
SHA256 6a4454d923a4e7802ef51231d8f944d1000943d81bbf26b92eb6bf33cae61cc9
MD5 f6a250fef210df524404aec0a2848628
BLAKE2b-256 9cf76df38be5f6de2b0e68a6edc1c0df39fcc9b71da7567459889b639ebb9135

See more details on using hashes here.

File details

Details for the file siibra_cli-0.2a1-py3-none-any.whl.

File metadata

  • Download URL: siibra_cli-0.2a1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for siibra_cli-0.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7832f1398533ea9e62e4ef08b9ac41c70082f4da6ed270cc4e274040b79e0c65
MD5 726a851412ee0aa5eb0bf2c9ccca7cff
BLAKE2b-256 a2cc2ddbe47c08c20ad6d90c99c55f0351e72e52118b0610493efa2c431c4e4f

See more details on using hashes here.

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