help > RE: FSL preprocessing + conn
Jun 20, 2020  06:06 PM | Giuseppe Pontillo
RE: FSL preprocessing + conn
Dear Alfonso,
thank you so much for your feedback.
Indeed, while I'm able to open/view that file in mricron or fsleyes, I cannot view it in SPM.
This is the error I get when trying to display the file in SPM:

Cannot access file "C:\Users\Giuseppe\Desktop\test\denoised_func_data_standard.nii".
Error using spm_slice_vol
Cant map view of file. It may be locked by another program.

Strangely enough, SPM is perfectly able to open the preprocessd fMRI dataset in the subject's native space ("denoised_func_data_noaggr.nii"), before applying spatial transformations with the following command:  

applywarp -i denoised_func_data_nonaggr.nii -r standard.nii --premat=example_func2highres.mat -w highres2standard_warp.nii -v -o denoised_func_data_standard.nii

Am I missing something?


Originally posted by Alfonso Nieto-Castanon:
Dear Giuseppe,

That error seems to indicate some general/unspecified problem with the denoised_func_data_standard.nii file. Can you please check whether you are able to open/view that file in SPM or some other software? (e.g. use 

   spm_check_registration 'C:\Users\Giuseppe\Desktop\test\denoised_func_data_standard.nii'

Best
Alfonso
Originally posted by Giuseppe Pontillo:
Dear CONN experts,
I'm trying to import preprocessed rs-fMRI data into CONN for subsequent analyses.
The data have been preprocessed according to FSL's melodic pipeline (which included motion correction with mcflirt, topup-based EPI distortion correction, high-pass filtering and no slice-timing correction since these are multiband, HCP-style fMRI data) followed by ICA-based denoising using FSL's ICA-AROMA. 
I managed to import MNI-space structural data, as well as segmented tissue maps, motion parameters derived from mcflirt and outliers estimated by fsl_motion_outliers for the subsequent step.
Unfortunately, when trying to import precprocessed fMRI data as the primary functional dataset, I get the following error:  

ERROR DESCRIPTION:

Error using conn_menu>conn_spm_read_vols (line 1091)
Error reading file C:\Users\Giuseppe\Desktop\test\denoised_func_data_standard.nii. File may have been modified or relocated. Please load file again
Error in conn_menu (line 656)
[temp,volhdr]=conn_spm_read_vols(title(n));
Error in conn (line 2049)
conn_menu('updateimage',CONN_h.menus.m_setup_00{5},cfile{3});
Error in conn_filesearchtool (line 222)
if length(h.callback)>1, feval(h.callback{1},h.callback{2:end},names); else, feval(h.callback{1},names); end

Am I missing something?
Once I manage to import the data, my idea is to go through functional smoothing and denoising before statistical analyses, do you suggest any additional step?

Thanks in advance for your precious help,
Giuseppe

Threaded View

TitleAuthorDate
Harrison Fisher Nov 28, 2017
Alfonso Nieto-Castanon Nov 29, 2017
Giuseppe Pontillo Jun 17, 2020
Alfonso Nieto-Castanon Jun 18, 2020
RE: FSL preprocessing + conn
Giuseppe Pontillo Jun 20, 2020
Giuseppe Pontillo Jun 21, 2020
Alfonso Nieto-Castanon Jun 22, 2020
stity Oct 13, 2020
Harrison Fisher Nov 30, 2017