aslprep icon indicating copy to clipboard operation
aslprep copied to clipboard

BUG: Incorrectly labeled GM WM CSF masks

Open josephmje opened this issue 2 years ago • 2 comments

After running aslprep v0.2.7 with the --anat-derivatives flag (using previously pre-processed anatomical outputs from fmriprep), we noticed that we were getting similar values in the quality_control_cbf.csv for GMmeanCBF and WMmeanCBF.

We looked through the work directory and noticed that there's a mismatch between the folder names in compt_qccbf_wf and the files within:

csf_tfm -> label-WM_probseg_trans gm_tfm -> label-CSF_probseg_trans wm_wfm -> label-GM_probseg_trans

Could this be causing our issue?

josephmje avatar Aug 09 '22 21:08 josephmje

I haven't run ASLPrep with the --anat-derivatives flag, but I know v0.2.8 included a number of important bug fixes so updating the version might be worth trying. Aside from that, do the Gm_wm_ratio values reflect the GMmeanCBF and WMmeanCBF values? Do the segmentations look reasonable in the ASL space? Also, though the (relatively) commonly accepted estimate is that WM CBF is about 40% of the GM CBF value, when looking at "whole tissue" means like this the values are often closer together because of partial volume effects.

caugolm avatar Aug 10 '22 13:08 caugolm

Thanks for the suggestions @caugolm! We tried v0.2.8 and still see the same issue. Running aslprep without the --anat-derivatives flag (using FSL FAST) did seem to give us more reasonable results.

To clarify, below is a screenshot of what happens when running with the --anat-derivatives flag: image

It looks like the wrong inputs are being passed into the cbf_compt_wf workflow.

josephmje avatar Aug 11 '22 16:08 josephmje