AIMS Lab Research Team at the Robarts Research Institute - 2023-2024
This package is under active development. It should be stable and reproducible, but please let any of the active contributing members know if there are any bugs or unusual behaviour.
This Python package is a data processing pipeline based on Snakemake and SnakeBIDS workflow management tools to prepare data for a Convolutional Neural Network (CNN) deep learning model afids-CNN. Since afids-CNN is under active development, this package contains tunable parameters that are not normally exposed in a data processing pipeline; the user is highly encourage to read docstrings and get familiar with the relevant workflow managements tools prior to using this software. Likewise, there may be frequent updates to this package as the project matures (see the changelog for more details).
- Performs rigid registration (i.e., 6 d.o.f) from MNI template to Native space.
- Conformes images to a desired isotropic resolution (default: 1mm).
- Executes image intensity normalization by various supported algorithms (default: min-max normalization).
- Installation
- Building the Docker image
- Getting the datasets
- Quick Guide
- Known issues
- Roadmap
- Questions, Issues, Suggestions, and Other Feedback
We use poetry tool for dependency management and to package the python project. You can find step by step instructions on how to install it by visiting it's official website.
After installing poetry, clone this repository via:
git clone https://github.com/afids/autoafids_prep.git
You can then install the python package using one of the following commands, which should be executed within the repository folder (i.e., autoafids_prep/).
To install the autoafids_prep package "normally", use:
poetry install
If you want to install in develop mode, use:
poetry install -e
All the datasets mentioned below have been deposited at DOI-issuing repositories separately and follow the BIDS directory hierarchy. To download them, follow the links:
- 100 Unrelated Human Connectome Project (AFIDs-HCP) - You'll need to be authenticated before you can download this dataset. Please contact Alaa Taha for the required access code.
- Open Access Series of Imaging Studies (AFIDs-OASIS)
- The Stereotactic Neurosurgery (SNSX) dataset
- The London Health Sciences Center Parkinson’s disease (LHSCPD) dataset
To display help information about the autoafids_prep
program, use:
autoafids_prep -h
To execute a dry-run of the workflow, use:
autoafids_prep path/to/dataset path/to/dataset/derivatives participant --cores 1 -np
- Slow and medium flags in the pipeline are under development and therefore do not work.
Here are some future plans for autoafids_prep
:
- Synchronize the pipeline with afids-CNN to avoid latency between downloading the datasets and preparing them for training the model.
Please reach out if you have any questions, suggestions, or other feedback related to this software—either through email (dbansal7@uwo.ca) or the discussions page. Larger issues or feature requests can be posted and tracked via the issues page. Finally, you can also reach out to Alaa Taha, the Science Lead for autoafids_prep.