Hi, Neha-
The main tool for building an FMRI pipeline (task, rest or other) is afni_proc.py; in the help file for that program
[
afni.nimh.nih.gov]
... there are several useful examples:
[
afni.nimh.nih.gov]
... and depending on what specifically you want to do, you might want to look at Ex. 11/11b for resting state, and something like #6/6b for task (though, there are soooo many varieties of task designs...).
Here is also a link to some of the Bootcamp recordings of us teaching:
[
afni.nimh.nih.gov]
This might be helpful for you to look at to learn more about AFNI programs (starting from the GUI, through basic analysis, to group analysis, alignment and visualization capabilities), and specifically using afni_proc.py (videos #11-15).
--pt