Skip to content

preproc_eddy

Apply Eddy (and Topup if already run)

Keywords : distorsion correction, preproc, eddy


Format : tuple val(meta), path(dwi), path(bval), path(bvec), path(rev_dwi), path(rev_bval), path(rev_bvec), path(corrected_b0s), path(topup_fieldcoef), path(topup_movpart)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
dwifileDWI Nifti imageTrue*.{nii,nii.gz}
bvalfileB-values in FSL format [DWI].True*.bval
bvecfileB-values in FSL format [DWI].True*.bvec
rev_dwifileDWI Nifti image [rev-DWI].True*.{nii,nii.gz}
rev_bvalfileB-values in FSL format [rev-DWI].True*.bval
rev_bvecfileB-vectors in FSL format [rev-DWI].True*.bvec
corrected_b0sfileNifti volume b0 correctedTrue*__corrected_b0s.nii.gz
topup_fieldcoeffileNifti volume - topup field to correct for distorsionTrue*_fieldcoef.nii.gz
topup_movpartfileText file - topup movpartTrue*__movpar.txt

Format : tuple val(meta), path(*__dwi_corrected.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__dwi_corrected.nii.gzfileNifti volume - DWI corrected.True*__dwi_corrected.nii.gz

Format : tuple val(meta), path(*__dwi_eddy_corrected.bval)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__dwi_eddy_corrected.bvalfileB-values corrected in FSL formatTrue*__dwi_eddy_corrected.bval

Format : tuple val(meta), path(*__dwi_eddy_corrected.bvec)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__dwi_eddy_corrected.bvecfileB-vectors corrected in FSL formatTrue*__dwi_eddy_corrected.bvec

Format : tuple val(meta), path(*__b0_bet_mask.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__b0_bet_mask.nii.gzfileNifti volume - Mask for b0 correctedTrue*__b0_bet_mask.nii.gz

Format : tuple val(meta), path(*__dwi_eddy_mqc.gif)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__dwi_eddy_mqc.giffile.gif file containing quality control image for the eddy process. Made for use in MultiQC report.True*_dwi_eddy_mqc.gif

Format : tuple val(meta), path(*__rev_dwi_eddy_mqc.gif)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__rev_dwi_eddy_mqc.giffile.gif file containing quality control image for the eddy process for the rev_dwi. Made for use in MultiQC report.True*_rev_dwi_eddy_mqc.gif

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
slice_drop_flagbooleanIf set, will activate eddy’s outlier correction, which includes slice drop correction.False
bet_topup_before_eddy_ffloatFractional intensity threshold for BET before running topup0.16
prefix_topupstringPrefix for the topup output.topup_results
b0_thr_extract_b0integerThreshold under which b-values are considered to be b0s.10
encodingstringEncoding direction of the forward DWI.y- x
- y or z
readoutfloatTotal readout time from the DICOM metadata.0.062
dilate_b0_mask_prelim_brain_extractionintegerNumber of times to repeatedly apply the filter.5
eddy_cmdstringCommand to run Eddy.eddy_cpu
bet_prelim_ffloatFractional intensity threshold for BET if TOPUP has not been run.0.16
extra_argsstringExtra arguments for Eddy.
run_qcbooleanRun QC for Eddy.False

DescriptionDOI
scilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.
MRtrix3MRtrix3 is a software package for various types of diffusion imaging data, including diffusion-weighted, diffusion-tensor, and q-ball imaging.10.1016/j.neuroimage.2019.116137
FSLFSL Toolbox10.1016/j.neuroimage.2011.09.015


Last updated : 2025-10-30