Dear afni experts,
I used afni_proc.py to run some preprocessing on my data and I also ran Freesurfer. I would like to generate a wm and ventricle mask using the freesurfer segmentation to then export it to CONN toolbox to run aCompCor. And then going back to afni for nuisance regression. I looked into @Suma_make_Spec_FS and I am wondering if it is possible to use this program only to generate the wm and ventricle masks from Freesurfer. So without having to run the steps in regards to surface analysis.
Also I am a little confused about the suma command and the needed directory structure so that suma can find the aparc+asec.nii file.
Right now I have free surfers prefer directory structure where I have a separate directory called freesurfer which includes directories for each subject. Do I need a specific directory structure for @suma_make_Spec_FS?
Thank you very much in advance for any help!
I think this tutorial should address most of this:
Briefly, if you have a current version of AFNI (check with “afni -ver”; update if need be with “@update.afni.binaries -d”), then running @SUMA_Make_Spec_FS will automatically output ventricle and WM maps for you, as described in this part of the above tutorial:
Two volumetric datasets of masks that have been found useful for afni_proc.py scripting, namely when applying tissue-based regressors. The first is comprised of the main WM regions defined by FS, and the second is comprised of the lateral ventricles
For more details, see the output of @SUMA_renumber_FS for more details on these.
If your subject’s FS output dir is located in /some/path/on/system/sub-001/, where sub-001 is also your subject ID, then I would try running @SUMA_Make_Spec_FS with:
-sid sub-001 \
That should make a new directory called SUMA there, adjacent to all the other ones, containing the volumes converted to NIFTI, the surfaces in the useful GIFTI format, and the surfaces also on standardized meshes.
- Saad ZS, Reynolds RC, Argall B, Japee S, Cox RW (2004). SUMA: an interface for surface-based intra- and inter-subject analysis with AFNI, in: 2004 2nd IEEE International Symposium on Biomedical Imaging: Nano to Macro (IEEE Cat No. 04EX821). Presented at the 2004 2nd IEEE International Symposium on Biomedical Imaging: Nano to Macro (IEEE Cat No. 04EX821), pp. 1510-1513 Vol. 2. doi.org/10.1109/ISBI.2004.1398837
- Saad ZS, Reynolds RC (2012). SUMA. Neuroimage 62, 768–773. doi.org/10.1016/j.neuroimage.2011.09.016
Re. standard meshes:
- Argall BD, Saad ZS, Beauchamp MS (2006). Simplified intersubject averaging on the cortical surface using SUMA. Human Brain Mapping 27: 14-27.
You might also be interested in ANATICOR using those ROIs, which can be run in afni_proc.py as well; it is described here:
- Jo HJ, Saad ZS, Simmons WK, Milbury LA, Cox RW. Mapping sources of correlation in resting state FMRI, with artifact detection and removal. Neuroimage. 2010;52(2):571-582. doi:10.1016/j.neuroimage.2010.04.246