Skip to content

localtracking

Module: tracking/localtracking

process local tracking

Keywords : Tractography, Local tracking, Diffusion MRI


Inputs

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

Outputs

TypeDescriptionPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
trkfileTractogram output file.*.{trk,tck}
configfileJson file containing tracking parameters.*.{json}
seedmaskfileNifti seeding mask for tracking.*.{nii,nii.gz}
trackmaskfileNifti tracking mask*.{nii,nii.gz}
mqcfilePNG file containing quality control image for tracking. Made for use in MultiQC report.*local_tracking_mqc.png
global_mqcfileJSON file containing basic measurements of whole tractogram. Made for use in MultiQC report.*local_tracking_stats.json
versionsfileFile containing software versionsversions.yml

Arguments (see process.ext)

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.wmwm
fa
local_seeding_mask_typestringStrategy to use to compute the seeding mask.wmwm
fa
local_stepfloatTracking Step size.0.5
local_random_seedintSeed for random number generators.0
local_seedingstringSeeding strategy, either Number Per Voxel (npv) or Number Total (nt).npvnpv
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.eudxdet
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_legacydescoteaux07_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

Tools

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

Authors

scilus


Last updated : 2025-07-15