Skip to content

fMRIPrep is a functional magnetic resonance imaging (fMRI) data preprocessing pipeline that is designed to provide an easily accessible, state-of-the-art interface that is robust to variations in scan acquisition protocols and that requires minimal user input, while providing easily interpretable and comprehensive error and output reporting.

License

Notifications You must be signed in to change notification settings

brainlife/app-fmriprep

 
 

Repository files navigation

Abcdspec-compliant Run on Brainlife.io

app-run-fmriprep

This app runs fMRIPrep on the brainlife.io interface. fMRIPrep is a robust processing tool delevoped by the Poldrack Lab at Stanford. The pipelines process T1w, T2w, fMRI, and fieldmaps by calling a series of functions from FSL, FreeSurfer, ANTs, and nipy. It applies these tools in a principled way designed to handle common imaging artifacts and biases in a parimonious manner. It outputs processed anatomical and functional images for further analysis.

citiations and resources to consider

Authors

Project director

Funding

NSF-GRFP-1342962 NSF-BCS-1734853 NSF-IIS-1636893 NSF-1342962

Running the App

On Brainlife.io

Check out the brainlife app here

Running Locally

A)

  1. git clone this repo.
  2. Inside the cloned directory, create config.json with something like the following content with paths to your input files.
{
  "t1": "./t1.nii.gz",
  "fmri": "./bold.nii.gz",
  "freesurfer": "./fsdir"
}
  1. Launch the App by executing main
./main

B) Alternatively, there is a command line interface useful for debugging.

Output

This app outputs the completed fmriprep dir, along with some of the outputs mapped for the brainlife interface. There are two different apps that run this code, so based on the app run, it will affect the output (volume vs. surface output).

The outputs will include a bold.nii.gz, mask.nii.gz, regressors.tsv, t1.nii.gz, and some html output for quality control.

Dependencies

This App requires singularity to run. If you don't have singularity, you will need to install following dependencies. It also requires jq.


MIT Copyright (c) brainlife.io

This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. 1342962. Any opinion, findings, and conclusions or recommendations expressed in this material are those of the authors(s) and do not necessarily reflect the views of the National Science Foundation.

About

fMRIPrep is a functional magnetic resonance imaging (fMRI) data preprocessing pipeline that is designed to provide an easily accessible, state-of-the-art interface that is robust to variations in scan acquisition protocols and that requires minimal user input, while providing easily interpretable and comprehensive error and output reporting.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 83.3%
  • Python 16.7%