Standardized preprocessing in one go with fMRIPrep
What is fMRIPrep?¶
fMRIPrep is a standardize preprocessing pipeline that uses different programs to do structural and functional MRI preprocessing.
How to use it?¶
When you are using the clinic server follow these instructions: 1. Download templateflow from Github Templateflow is a collection of brain templates (atlases). Download it as a ZIP file and unzip it in your HOME directory (e.g. home/yourname).
-
Change the server to mri043 by running the following command in a terminal:
Bash This is the server where singularity is installed, a containerization software that we will use to run the fMRIprep image. You will need to type in your password to change to this server.
-
Run in a terminal the commands:
Bash This sets two environment variables that will tell fMRIprep where to look for the brain templates from templateflow.
-
To run the singularity image, execute the following command:
Bash /path/to/dataset/ is the path to where you stored your BIDS conform dataset. The numbers after --participant-label are the number labels of the participants that you want to preprocess. path/to/license.txt refers to the path where you saved the Freesurfer license. A good place to store it is in the /code subfolder of your data set, as this will be ignored by the BIDS validation in the beginning of the fMRIprep workflow. See the fMRIprep documentation for additional options you might want to specify.