Skip to main content

Snakebids app for merging multiple label maps.

Project description

Labelmerge

Version Python3 Docker Pulls DOI

Labelmerge: A BIDS app for merging multiple label maps and metadata into a single parcellation scheme.

Examination of the brain has led to the creation and distribution of numerous parcellation schemes, studying various features or aspects including gross anatomy, cytoarchitecture, myeloarchitecture, functional connectivty, or structural connectivity. With the growing number of available schemes, there exists a need for methods to robustly merge different these different atlases from numerous sources depending on the aims of the specific study.

Currently, combining multiple atlases requires image-processing tools to manually remove and add the regions of interest from the respective atlases. While effective, this task becomes inefficient and is prone to error when looking to combine specific labels of interest from multiple atlases or across a group of subjects. To that end we developed Labelmerge, a Brain Imaging Data Structure (BIDS) app that combines the parcellations of multiple atlases into a single parcellation scheme that can be applied towards downstream analysis.

Contributing

Clone the git repository. Labelmerge dependencies are managed with Poetry (version 1.2.x), which you'll need installed on your machine. You can find instructions on the Poetry website.

Then, setup the development environment with the following commands:

poetry install
poetry run poe setup

Labelmerge uses poethepoet as a task runner. You can see what commands are available by running:

poetry run poe

If you wish, you can also run poe [command] directly by installing poethepoet on your system. Follow the install instructions at the link above.

Labelmerge uses pre-commit hooks (installed via the poe setup command above) to lint and format code (we use black, isort, flake8). By default, these hooks are run on every commit.

Please be sure they all pass before making a PR.

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

labelmerge-0.4.7.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

labelmerge-0.4.7-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file labelmerge-0.4.7.tar.gz.

File metadata

  • Download URL: labelmerge-0.4.7.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

File hashes

Hashes for labelmerge-0.4.7.tar.gz
Algorithm Hash digest
SHA256 e9109fa181eaf8d975eae05d2580bad23d57e2272213e57bcb321558fe81ca5c
MD5 937ac33a63eab9ed6f1ba7ab71a839f2
BLAKE2b-256 d5c94bd8c1a86534d64bad079359bf37685f6dfd349ce879877a6a650b605668

See more details on using hashes here.

File details

Details for the file labelmerge-0.4.7-py3-none-any.whl.

File metadata

  • Download URL: labelmerge-0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

File hashes

Hashes for labelmerge-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 36e354f814843621b368e6488b77298c045f40673df3943557be8ea171e94138
MD5 af855ba40f612f72cb9cb603f6fb1d73
BLAKE2b-256 ed8d4494db9105613855996430966e81c1a035fc804eb9d4e7bce9744f86dee6

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