Hi xcp_d experts,
Recently I want to use xcp_d to deal with my preprocessed rs fmri data after fmriprep preprocessing. Here are my commands:
fmriprep:v21.0.4
sudo docker run -ti --rm -v /home/ra/xx:/data:ro -v /home/ra/xx-derivatives:/out -v /home/ra/work:/work -v /home/freesurfer/license.txt:/opt/freesurfer/license.txt nipreps/fmriprep /data /out participant --participant-label 050 -w /work --cifti-output --use-aroma --dummy-scans 4 --output-spaces MNI152NLin2009cAsym fsnative
xcp_d v0.2.1
sudo docker run -it --rm -v /home/ra/xx-derivatives:/fmriprep:ro -v /tmp/wkdir:/work:rw -v /home/ra/test:/out:rw -v /home/freesurfer:/freesurfer:ro pennlinc/xcp_d:latest /fmriprep /out participant --participant-label 050 -w /work --despike --head_radius 40 --smoothing 6 -d 8 --cifti
Now I have the following questions:
- the outputs of xcp_d contain only cifti data rather than the expected nifti and cifti as the xcp_d Docs show, and when I delete ‘–cifti’ flag, error occurred:
Process Process-2:
Traceback (most recent call last):
File “/usr/local/miniconda/lib/python3.8/multiprocessing/process.py”, line 315, in _bootstrap
self.run()
File “/usr/local/miniconda/lib/python3.8/multiprocessing/process.py”, line 108, in run
self._target(*self._args, **self._kwargs)
File “/usr/local/miniconda/lib/python3.8/site-packages/xcp_d/cli/run.py”, line 921, in build_workflow
retval[“workflow”] = init_xcpd_wf(
File “/usr/local/miniconda/lib/python3.8/site-packages/xcp_d/workflow/base.py”, line 161, in init_xcpd_wf
single_subj_wf = init_subject_wf(
File “/usr/local/miniconda/lib/python3.8/site-packages/xcp_d/workflow/base.py”, line 456, in init_subject_wf
bold_postproc_wf = postproc_wf_function(
File “/usr/local/miniconda/lib/python3.8/site-packages/xcp_d/workflow/bold.py”, line 174, in init_boldpostprocess_wf
raise Exception(f"Unable to determine TR of {bold_file}")
Exception: Unable to determine TR of /fmriprep/sub-050/ses-1/func/sub-050_ses-1_task-rest_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
-
sorry that I’ve never done surface-based fmri analysis before, if I want to preform some group analyses based on surface fmri next, would you please recommand some tools like fsl randomise?
-
in fmriprep, the default FD threshold is 0.5mm and in xcp_d is 0.2 mm, will this affect the censoring process?
-
my last question is that I am confused with ‘–bandpass_filter’ and ‘–motion-filter-type’. I think there is some overlap between the two and I just need to set the former, right?
Thank you in advance for the input!
Best regards,
Jun