I would like to process (using the same commands) several BRIK files which are located in different directories.
How can I do that using a single script and not individually for every file? Is there an example batch processing script I can use? I really just need the relevant syntax.
I would like to (1) allineate (using 3dAllineate) anatomy data to MNI, (2) then to allineate to this anatomy EPI data (3) and finally to resample the allineated EPI data so it will match a certain parcellation atlas (using 3dresample).
I have 18 subjects, each one was scanned during 6 or 7 different days, 2 scans per day (1 anatomy per day).
Is your ultimate goal for these alignments to move the EPI into MNI space?
If so, this is really a job that should be taken on with afni_proc.py, I think. And also, 3dAllineate is good for aligning, say, a subject’s EPI to their own anatomical; but to align an anatomical to a template, nonlinear registration should be used—e.g., using @SSwarper (for combining skullstripping with warping).
–pt
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.