Skip to content

image_convert

Small utility module to perform data type conversion on images. The new datatype has to be specified using the task.ext.datatype parameter, otherwise, the module will fail.

Keywords : image, convert, datatype


Format : tuple val(meta), path(image)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
imagefileImage to convert.True*.nii.gz

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_converted.nii.gzfileImage converted into the specified datatype.True*_converted.nii.gz

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

DescriptionDOI
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


Last updated : 2025-10-30