BIDS integration into snakemake workflows
Project description
snakebids
Snakemake + BIDS This package allows you to build BIDS Apps using Snakemake. It offers:
- Flexible data grabbing with PyBIDS, configurable solely by config file entries
- Helper function for creating BIDS paths inside Snakemake workflows/rules
- Command-line invocation of snakemake workflows with BIDS App compliance
- Configurable argument parsing specified using the Snakemake workflow config
- Execution either as command-line BIDS apps or via snakemake executable
Contributing
Clone the git repository. Snakebids dependencies are managed with Poetry (vesion 1.2 or higher), 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
Snakebids 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.
Tests are done with pytest
and can be run via:
poetry run poe test
Snakebids uses pre-commit hooks (installed via the poe setup
command above) to lint and format code (we use black, isort, pylint and flake8). By default, these hooks are run on every commit. Please be sure they all pass before making a PR.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for snakebids-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 854dd9ca9553de971aa38c3d590fb6284b766f0b8a38c76b0d4c9fe30affb3cc |
|
MD5 | 302d9cfbc2c94b55750798046065cde1 |
|
BLAKE2b-256 | 8d2641c623982181a1b1811425a90ee5a97a2e8a1b279d9f732686561c39a988 |