Skip to content

registration_anattodwi

Registration computing transformations moving images from anatomical space into diffusion space. The moving_anat image represents the anatomical space, moving to diffusion space, onto its fixed_reference and its metric representations.

Configuration, direction and order of the registration follows the tractoflow publication.

Keywords : nifti, registration, anatomical, dwi


Format : tuple val(meta), path(fixed_reference), path(moving_anat), path(metric)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
fixed_referencefileNifti image file - fixed DWI reference (usually b0)True*.{nii,nii.gz}
moving_anatfileNifti image file - moving anat to register (usually T1w)True*.{nii,nii.gz}
metricfileNifti image file - additional fixed metric (usually FA)True*.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*_warped.nii.gzfileAnatomical image warped to DWI spaceTrue*_warped.nii.gz

Format : tuple val(meta), path(*_forward1_affine.mat)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*_forward1_affine.matfileAffine transformation matrix to fixed space.True*_forward1_affine.mat

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*_forward0_warp.nii.gzfileDeformation field to fixed space.True*_forward0_warp.nii.gz

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*_backward1_warp.nii.gzfileDeformation field to moving space.True*_backward1_warp.nii.gz

Format : tuple val(meta), path(*_backward0_affine.mat)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*_backward0_affine.matfileAffine transformation matrix to moving space.True*_backward0_affine.mat

Format : tuple val(meta), val(*_forward*.{nii.gz,mat})

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
_forward.{nii.gz,mat}listTuple, Transformation files to warp images in fixed space, in the correct order for REGISTRATION_TRANSFORMTRACTOGRAM : [ meta, [ forward_warp, forward_affine ] ].True*_forward*.{nii.gz,mat}

Format : tuple val(meta), val(*_backward*.{nii.gz,mat})

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
_backward.{nii.gz,mat}listTuple, transformation files to warp images in moving space, in the correct order for REGISTRATION_TRANSFORMTRACTOGRAM : [ meta, [ backward_affine, backward_warp ] ].True*_backward*.{nii.gz,mat}

Format : tuple val(meta), val(*_backward*.{nii.gz,mat})

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
_backward.{nii.gz,mat}listTuple, transformation files to warp tractograms into fixed space, in the correct order for REGISTRATION_TRANSFORMTRACTOGRAM : [ meta, [ backward_affine, backward_warp ] ].True*_backward*.{nii.gz,mat}

Format : tuple val(meta), val(*_forward*.{nii.gz,mat})

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
_forward.{nii.gz,mat}listTuple, transformation files to warp tractograms into moving space, in the correct order for REGISTRATION_TRANSFORMTRACTOGRAM : [ meta, [ forward_affine, forward_warp ] ].True*_forward*.{nii.gz,mat}

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

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

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
run_qcbooleanRun quality control for the registration processFalse

DescriptionDOI
ANTsAdvanced Normalization Tools.10.1038/s41598-021-87564-6
ImageMagickImageMagick is a software suite to create, edit, compose, or convert bitmap images.
MRtrix3MRtrix3 is a software package for processing diffusion MRI data.10.1016/j.neuroimage.2019.116137
ScilpyScilpy is a Python library for processing diffusion MRI data.


Last updated : 2025-12-22