QSIPrep transfrom b-vector during preprocessing

Hi,
I am using QSIPrep 1.0.1 with Singularity to preprocess a 258-volume DSI dataset. However, I discovered that I could not use DSI Studio to track fibers from the preprocessed data, as it appears the bvec file generated during preprocessing contained errors. To resolve this, I had to apply a Y-axis flip to obtain correct fiber tracking results. Could this discrepancy stem from a coordinate system mismatch? The issue appears to result from incompatible spatial orientation conventions between the preprocessing pipeline and tracking software.

Code

singularity run --cleanenv \
    -B $wd/sub-$subj:/wd \
    -B $bids:/bids \
    -B $output:/output \
    -B $fs_license:/fs_license \
    -B $templateflow:$templateflow \
    /ibmgpfs/cuizaixu_lab/xulongzhou/apps/singularity/qsiprep-1.0.1.sif \
    /bids /output participant -w /wd \
    --n-cpus 6 --omp-nthreads 6 --mem-mb 120G \
    --participant-label sub-$subj \
    --fs-license-file /fs_license/license.txt \
    --skip-bids-validation \
    --subject-anatomical-reference sessionwise \
    --anat-modality T1w \
    --ignore fieldmaps \
    --unringing-method mrdegibbs \
    --output-resolution 2 \
    --hmc-model 3dSHORE \
    --use-syn-sdc error \
    --force-syn \
    --stop-on-first-crash \
    --resource-monitor \
    --notrack 

Here is the raw DSI data and the DSI Studio filber tracking result. DSI Studio auto flip the Y axis of b-vector.
DSI Studio Version: Oct 31 2024

Raw b-vector file

DSI studio read dwi

DSI stuido fiber track

I am unable to obtain correct fiber tracking results when using DSI Studio on QSIPrep-preprocessed data.

QSIPrep preprocessed b-vector .bvec file

QSIPrep preprocessed b-vector .b_table.txt file

QSIPrep preprocessed b-vector .b file

DSI stuido read QSIPrep preprocessed dwi b-table

DSI studio fiber tracking on QSIPrep preprocessed dwi

After flip the Y-axis of b vector, DSI studio can obtain correct fiber tracking result on QSIPrep-preprocessed data.

DSI Studio reads the QSIPrep-preprocessed DWI data’s bvec file after applying a Y-axis flip

Fiber tracking in DSI Studio was successfully performed on QSIPrep-preprocessed DWI data after applying a Y-axis flip

Hi @xlzhope! You should always use the .b_table.txt file for DSI Studio. The .b file is for mrtrix and the .bvec file is for Dipy

1 Like