Create SLURM scripts for preprocessing ABIDE 1 and 2 wih fMRIPrep. The process was done on Compute Canada Beluga.
- datalad
- fmriprep-slurm
A BIDS competable version of the ABIDE dataset are avalible through datalad repository
-
Set up your environment following this tutorial
-
Run
./generate_slurm_script.sh
. It will callgenerate_slurm_script.sh
; which is a modified version ofsingularity_run.bash
fromfmriprep-slurm
.You need: root of output directory, path to bids dataset, output derivative directory name.
A minimal use case of this version:
bash ./fmriprep_slurm_singularity_run.bash \ ${OUTPUT_ROOT_PATH} \ ${BIDS_DATASET_PATH} \ derivatives
-
To submit jobs for each dataset, the command to use will be similar to this.
find "$OUTPUT_DIR"/.slurm/smriprep_sub-*.sh -type f | while read file; do sbatch "$file"; done
-
Archive the dataset. See this page
TBA