Thanks, Paul for the suggestion.
Here is the afni_proc code for preprocessing.
afni_proc.py -subj_id 004 \
-blocks despike tshift align tlrc volreg blur mask scale regress \
-copy_anat 004_SurfVol.nii \
-anat_follower_ROI aaseg anat aparc.a2009s+aseg.nii \
-anat_follower_ROI aeseg epi aparc.a2009s+aseg.nii \
-anat_follower_ROI FSvent epi 001_vent.nii \
-anat_follower_ROI FSWe epi 002_wm.nii \
-anat_follower_erode FSvent FSWe \
-dsets Rest.nii \
-tcat_remove_first_trs 3 \
-volreg_align_to MIN_OUTLIER \
-volreg_align_e2a \
-volreg_tlrc_warp \
-tlrc_base MNI152_2009_template_SSW.nii.gz \
-tlrc_NL_warp \
-tlrc_NL_warped_dsets \
anatQQ.-base.nii \
anatQQ.-base.aff12.1D \
anatQQ.-base_WARP.nii \
-regress_ROI_PC FSvent 3 \
-regress_anaticor_fast \
-regress_anaticor_label FSWe \
-regress_bandpass 0.01 0.1 \
-regress_apply_mot_types demean deriv \
-regress_RSFC \
-regress_est_blur_epits \
-regress_est_blur_errts \
-regress_run_clustsim no
And below is the error message copied from the terminal for the above proc file.
cat_matvec -ONELINE anatQQ.-base_WARP.nii anatQQ.-base.aff12.1D
Fatal Signal 11 (SIGSEGV) received
mri_read_double_ascii
THD_read_dvecmat
cat_matvec
Bottom of Debug Stack
** AFNI version = AFNI_18.0.05 Compile date = Jan 13 2018
** [[Precompiled binary linux_ubuntu_16_64: Jan 13 2018]]
** Program Death **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.
** Crash log is appended to file /home/naren123/.afni.crashlog
Plz, correct me if I'm following any wrong step.
Thanks
-Korann