Skip to content

tracking_localtracking

localtracking

process local tracking

Keywords : Tractography, Local tracking, Diffusion MRI


Format : tuple val(meta), path(wm), path(fodf), path(fa)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
True
wmfileNifti image white matter probability map or mask.True*.{nii,nii.gz}
fodffileNifti image of spherical harmonic file (fodf)True*.{nii,nii.gz}
fafileNIfti image binary mask for fa maskTrue*.{nii,nii.gz}

Format : tuple val(meta), path(*__local_tracking.trk)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
True
*__local_tracking.trkfileTractogram output file.True*__local_tracking.{trk,tck}

Format : tuple val(meta), path(*__local_tracking_config.json)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
True
*__local_tracking_config.jsonfileJson file containing tracking parameters.True*__local_tracking_config.{json}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
True
*__local_seeding_mask.nii.gzfileNifti seeding mask for tracking.True*__local_seeding_mask.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
True
*__local_tracking_mask.nii.gzfileNifti tracking maskTrue*__local_tracking_mask.{nii,nii.gz}

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

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
True
*__local_tracking_mqc.pngfilePNG file containing quality control image for tracking. Made for use in MultiQC report.
True*__local_tracking_mqc.png

Format : tuple val(meta), path(*__local_tracking_stats.json)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
True
*__local_tracking_stats.jsonfileJSON file containing basic measurements of whole tractogram. Made for use in MultiQC report.
True*__local_tracking_stats.json

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
local_fa_tracking_mask_thresholdfloatFA threshold for the tracking mask.0.1
local_fa_seeding_mask_thresholdfloatFA threshold for the seeding mask.0.1
local_wm_tracking_mask_thresholdfloatWM threshold for the tracking mask. If the mask is binary, this threshold has no effect.
0.5
local_wm_seeding_mask_thresholdfloatWM threshold for the seeding mask. If the mask is binary, this threshold has no effect.
0.5
local_tracking_mask_typestringStrategy to use to compute the tracking mask.wm- wm
- fa
local_seeding_mask_typestringStrategy to use to compute the seeding mask.wm- wm
- fa
local_stepfloatTracking Step size.0.5
local_step_pctfloatDefine the step size as a percentage of the minimum voxel dimension.None
local_random_seedintSeed for random number generators.0
local_seedingstringSeeding strategy, either Number Per Voxel (npv) or Number Total (nt).npv- npv
- nt
local_nbr_seedsintNumber of seeds per voxel (if npv) or total number of seeds (if nt).1000
local_min_lenfloatMinimum length of streamlines to keep.10.0
local_max_lenfloatMaximum length of streamlines to keep.250.0
local_thetafloatMaximum angular difference between tracking steps, in degrees.40.0
local_sfthresfloatSpherical function threshold for tracking.0.0
local_algostringAlgorithm to use for tracking.eudx- det
- prob
local_compress_valuefloatCompression value for the streamlines, in mm. If 0, no compression is applied.0.0
basisstringSpherical basis used for FODF reconstruction.descoteaux07_legacy- descoteaux07_legacy
- descoteaux07
- tournier07
- tournier07_legacy
gpu_batch_sizeintSeed batch size for GPU processing.10000
enable_gpubooleanEnable GPU tracking kernel.False
run_qcbooleanEnable quality control image generation for tracking.True
single_threadbooleanIf true, the command will be run in single-threaded mode. By default, the command will use multiple threads based on the number of CPUs allocated to the task.False

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


Last updated : 2026-05-12