Installationο
AutoAFIDs: A BIDS App for Automatic Landmark Localizationο
AutoAFIDs is a BIDS App that automatically detects anatomical landmarks in the human brain. It is trained to predict the coordinates of a standardized set of well-validated anatomical landmarks (e.g., the anterior and posterior commissures).
π§° System Requirementsο
we support three modes for installing AutoAFIDs:
Method |
OS Support |
Container Needed |
Editable |
Cluster Profiles |
Notes |
|---|---|---|---|---|---|
Conda |
Linux, macOS (Intel & M2 only) |
β No |
β Yes |
β Yes |
Recommended for most local setups |
Docker |
Windows, macOS (Intel/Silicon) |
β Yes |
β No |
β No |
Works cross-platform (slow on M1) |
Singularity/Apptainer |
Linux only |
β Yes |
β No |
β No |
Good for HPC or shared environments |
π‘ Note: GPU is not required.
β οΈ Apple Silicon (M1): Native Conda support is not available. You can use Docker with emulatedamd64, but performance will be slow.
If youβre interested in contributing to development, see the Contributing Guide.
π Inputs and Outputsο
Input: BIDS-formatted dataset containing structural MRI images (best on T1-weighted modalities).
Output: Automatically placed anatomical fiducials (AFIDs) saved as structured coordinate files and visualizations (if using
--fidqcflag).
π Installation Methodsο
π§ 1. Conda Environment (Linux/macOS)ο
AutoAFIDs can be installed via Conda for container-free execution on Linux and Intel macOS systems.
π Conda Installtion Instructions
β Pros:
Easy to install and run
Fully editable code
Works with Snakemake profiles
β οΈ Cons:
Not supported on Windows or Apple Silicon (M1) system
Requires Conda or Miniconda
π³ 2. Docker Container (Windows/Linux/macOS Intel)ο
A pre-built Docker container is available with all dependencies bundled.
π Docker Setup Instructions
β Pros:
Cross-platform support, including limited M1 compatibility via emulation
All dependencies packaged in a single file
β οΈ Cons:
Cannot edit code inside the container
Not compatible with Snakemake cluster execution
May not be usable on shared systems (e.g., university clusters)
π§ͺ 3. Singularity / Apptainer (Linux)ο
Use Singularity (now Apptainer) to convert the Docker image into a .sif file for HPC or institutional clusters.
π Singularity Setup Instructions
β Pros:
Ideal for shared Linux systems
All dependencies packaged in a single file
β οΈ Cons:
Cannot edit code inside the container
Not compatible with Snakemake cluster execution