Skip to main content

End-to-end SnakeBIDS workflow for landmark regression and derivative apps

Project description

Automatic Anatomical Fiducials (autoAFIDs)

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 standard 3D U-Net (Ronneberger et al. 2015) machine learning model based on Snakemake and SnakeBIDS workflow management tools that leverages the recent release of the anatomical fiducial framework to solve the landmark regression problem on 3D MRI images. It is currently in development phase and contains tunable parameters that are not normally exposed in most other machine learning models; the user is highly advised to get familiar with the above mentioned workflow managaments tools and read docstrings and relevant documentation before using this software. Please see the changelog for more details.

Table of Contents

  1. Installation
  2. Workflow
  3. Train
  4. Apply
  5. Known issues
  6. Roadmap
  7. Questions, Issues, Suggestions, and Other Feedback

Installation

Installing Poetry

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.

Local Installation

After installing poetry, clone this repository via:

git clone https://github.com/afids/autoafids.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/).

poetry install

If you want to install in develop mode, use:

poetry install -e

Workflow

Brief summary of the workflow along with its Directed Acyclic Graph (DAG) can be found below.

Insert DAG image - inspired by khanlab/scattr

Processing landmark data (AFIDs)

  1. Extract fiducial points from the landmark files (.fcsv is supported)
  2. Generate a landmark Euclidean distance/probability map with each voxel communicating distance to an AFID of interest

Train

Currently, we support generating your own models (i.e., training) in a sperate workflow (i.e., afids-cnn: ). For more details, see Known Issues.

Apply

Known Issues

  • Factorize apply workflow to run per landmark of interest

Roadmap

  • Model optimization
  • Extension to incorporate new modalities (i.e., CT scans)

Questions, Issues, Suggestions, and Other Feedback

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.

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

autoafids-0.1.2.tar.gz (27.0 MB view details)

Uploaded Source

Built Distribution

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

autoafids-0.1.2-py3-none-any.whl (27.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autoafids-0.1.2.tar.gz
  • Upload date:
  • Size: 27.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for autoafids-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4e1179f8b3c1577b46649d8d36f652ac8e0fed01a62a529d9c239d5e35daa11b
MD5 75899f66aa8066954e42ba493cd4eb12
BLAKE2b-256 463e815035b2231eed4e151eb42be449a61204abf46e8165c92aaf09961679a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autoafids-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for autoafids-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d35243f87387c74a53a94643f426aed380f4b4f1aac26045c14ab6bce3b08e1e
MD5 c90e2d9408eb89a865c9122fbd741c06
BLAKE2b-256 42d2228026b5fdb8c8933b2cd765a209f4cd7bde3bef029d49e940881e11f861

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