Skip to content

reconst_dtimetrics

Script to compute all of the Diffusion Tensor Imaging (DTI) metrics

Keywords : nifti, DTI, tensor, scilpy


Format : tuple val(meta), path(dwi), path(bval), path(bvec), path(b0mask)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
dwifileNifti DWI volume used to extract DTI metrics.True*.{nii,nii.gz}
bvalfileB-values in FSL format.True*.bval
bvecfileB-vectors in FSL format.True*.bvec
b0maskfileNifti b0 volume file used to mask the input image.False*.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__ad.nii.gzfileAxial diffusivity.True*__ad.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__evecs.nii.gzfileEigenvectors of the tensor.True*__evecs.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__evecs_v1.nii.gzfileFirst eigenvector.True*__evecs_v1.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__evecs_v2.nii.gzfileSecond eigenvector.True*__evecs_v2.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__evecs_v3.nii.gzfileThird eigenvector.True*__evecs_v3.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__evals.nii.gzfileEigenvalues of the tensor.True*__evals.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__evals_e1.nii.gzfileFirst eigenvalue.True*__evals_e1.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__evals_e2.nii.gzfileSecond eigenvalue.True*__evals_e2.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__evals_e3.nii.gzfileThird eigenvalue.True*__evals_e3.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__fa.nii.gzfileFractional anisotropy.True*__fa.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__ga.nii.gzfileGeodesic anisotropy.True*__ga.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__rgb.nii.gzfileColored fractional anisotropy.True*__rgb.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__md.nii.gzfileMean diffusivity.True*__md.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__mode.nii.gzfileMode of tensors.True*__mode.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__norm.nii.gzfileNorm of tensors.True*__norm.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__rd.nii.gzfileRadial diffusivity.True*__rd.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__tensor.nii.gzfileTensor coefficients.True*__tensor.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__nonphysical.nii.gzfileMap of voxels with physically implausible signals where the mean of b=0 images is below one or more diffusion-weighted images.True*__nonphysical.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__pulsation_std_dwi.nii.gzfileStandard deviation map across all diffusion-weighted images. Shows pulsation and misalignment artifacts.True*__pulsation_std_dwi.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__pulsation_std_b0.nii.gzfileStandard deviation map across b=0 images if more than one is available. Shows pulsation and misalignment artifacts.True*__pulsation_std_b0.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__residual.nii.gzfileResidual of the tensor fit.True*__residual.{nii,nii.gz}

Format : tuple val(meta), path(*__residual_iqr_residuals.npy)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__residual_iqr_residuals.npyfileInterquartile range of the residual of the tensor fit.True*__residual_iqr_residuals.npy

Format : tuple val(meta), path(*__residual_mean_residuals.npy)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__residual_mean_residuals.npyfileAverage of the residual of the tensor fit.True*__residual_mean_residuals.npy

Format : tuple val(meta), path(*__residual_q1_residuals.npy)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__residual_q1_residuals.npyfileFirst quartile of the residual of the tensor fit.True*__residual_q1_residuals.npy

Format : tuple val(meta), path(*__residual_q3_residuals.npy)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__residual_q3_residuals.npyfileThird quartile of the residual of the tensor fit.True*__residual_q3_residuals.npy

Format : tuple val(meta), path(*__residual_residuals_stats.png)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__residual_residuals_stats.pngfileComplete statistics of the residual of the tensor fit.True*__residual_residuals_stats.png

Format : tuple val(meta), path(*__residual_std_residuals.npy)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__residual_std_residuals.npyfileStandard deviation of the residual of the tensor fit.True*__residual_std_residuals.npy

Format : tuple val(meta), path(*__dti_mqc.png)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__dti_mqc.pngfile.png file containing screenshots of some DTI metrics. Made for use in MultiQC report.True

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
dwi_shell_toleranceintegerTolerance for the shell detection algorithm.20
max_dti_shell_valueintegerMaximum value for the DTI shell.1500
b0_thr_extract_b0integerThreshold for the b0 extraction.0
b0_thresholdintegerThreshold for the b0 mask.0
dti_shellsstringList of b-values to use for the DTI computation.0 1000
b0maskbooleanUse the b0 mask to mask the input image.True
adbooleanCompute the axial diffusivity.True
evecsbooleanCompute the eigenvectors of the tensor.True
evalsbooleanCompute the eigenvalues of the tensor.True
fabooleanCompute the fractional anisotropy.True
gabooleanCompute the geodesic anisotropy.True
rgbbooleanCompute the colored fractional anisotropy.True
mdbooleanCompute the mean diffusivity.True
modebooleanCompute the mode.True
normbooleanCompute the tensor norm.True
rdbooleanCompute the radial diffusivity.True
tensorbooleanCompute the tensor coefficients.True
nonphysicalbooleanCompute the nonphysical voxels.True
pulsationbooleanCompute the pulsation.True
residualbooleanCompute the residual.True

DescriptionDOI
scilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.


Last updated : 2025-10-30