Hi,
Thank you for developing such a great tool. I greatly appreciate how user-friendly and interactive it is.
I have a question about what the best method is to load ROIs in subject space as well as from a (mni) atlas to perform tractography using the command line.
I'm performing ROI 2 ROI tractography. I'm using ROIs from each subject's Freesurfer segmentation as well as from the atlases in DSI studio. Freesurfer ROIs were converted to nii using other software. The fib file is reconstructed using the T1 from Freesurfer (mgz converted to nii). In the GUI this is giving great results and tractography is fast, but in the command line DSI studio crashes or gets stuck during tracking.
I've tried the following:
- In the GUI, I'm using Region>Load from atlas to use the atlas ROIs and I use Region>Open region to load my Freesurfer ROIs.
- To do the same in the command line, I'm using (for instance) --roi=JHU-WhiteMatter-labels-1mm:Posterior_limb_of_internal_capsule_L and to load a Freesurfer segmented ROI I use the complete path to the ROI of my participant.
See also complete command below my message.
I've noticed that it doesn't crash when I remove the --t1t2 line. However, it still doesn't finish tracking and seems stuck in the command line. For one participant it eventually did finish tracking after one night. In the GUI it finishes tracking in a few minutes.
I've included the seed count in the command line to prevent it getting stuck trying to find fibers, however it doesn't seem to help. I have also tried to use the parameter_id from the GUI, but the same happens. If I only use ROIs from the atlas tractography runs fine and fast as well. It only seems to happen when I include or try to load my Freesurfer ROIs in the command line. However, my Freesurfer ROIs are better aligned with the data so I would like to use the ROIs from Freesurfer as well.
So long story short, my question is: what is the best way (if any) to load regions from an (mni) atlas as well as load regions in subject space from the command line. Is that possible in the command line or only from the GUI?
Best,
Sandra
dsi_studio \
--action=trk \
--source=T1_fs_QBI.fib.gz \
--method=0 \
--fa_threshold=0 \
--turning_angle=90 \
--step_size=0 \
--smoothing=1 \
--min_length=20 \
--max_length=80 \
--tracking_method=0 \
--initial dir=0 \
--interpolation=0 \
--seed_plan=0 \
--default_otsu=0.6 \
--tip_iteration=1 \
--fiber_count=20000 \
--seed_count=50000000 \
--thread_count=12 \ (I have 12 cores)
--end=path/to/my/freesurfer/thalamus/roi.nii \
--roi=JHU-WhiteMatter-labels-1mm:Posterior_limb_of_internal_capsule_L \
--seed=Motor_atlas_mni_Sandra:Motor_4 \
--t1t2=/path/to/T1_fs.nii \
--output=L_Motor_Thalamus_fs.trk.gz