Back to list of all tutorials | Back to course page | Previous | Next



For each new terminal that you open, you must do:

export SUBJECTS_DIR=$TUTORIAL_DATA/diffusion_recons
cd $TUTORIAL_DATA/diffusion_tutorial

If you are at an organized course

Running the commands described below will take more time than you have for this tutorial, so please DO NOT RUN these commands right now. All the data has already been processed for you!

There are three steps involved in processing individual subjects with TRACULA:

The three steps must be run in this order, using the command trac-all.


Some pre-processing of the diffusion image data is needed before white-matter pathways can be reconstructed by TRACULA. This pre-processing includes:

All of the above pre-processing steps can be run by passing the -prep command-line option to trac-all as follows:

Do not run these commands if you're at an organized course.

It will take a while and has already been done for you.

trac-all -prep -c $TUTORIAL_DATA/diffusion_tutorial/dmrirc.tutorial

The argument of the -c command-line option is the configuration file, where preferences for these pre-processing steps can be specified.

Ball-and-stick model fit

TRACULA uses the ball-and-stick model of diffusion to reconstruct the pathways from the DWI data. FSL's bedpostX fits the ball-and-stick model to the DWI data, estimating probability distributions of the parameters of this model at every voxel. bedpostx should only be run on a computer with high computational power, for more information on bedpostx click here. This command will run bedpostX on the pre-processed data of all the subjects specified in the configuration file:

trac-all -bedp -c $TUTORIAL_DATA/diffusion_tutorial/dmrirc.tutorial

Reconstructing white-matter pathways

The final step is to generate the probability distributions for each of the white-matter bundles you specified in the configuration file. This is done by simultaneously fitting the shape of each pathway to the results of the ball-and-stick model of diffusion from above and to the prior knowledge of the pathway anatomy given by the set of manually labeled training subjects in the TRACULA atlas. The following command will reconstruct the probabilistic distribution of the pathways:

trac-all -path -c $TUTORIAL_DATA/diffusion_tutorial/dmrirc.tutorial


See the trac-all page for a list of correct outputs for the -bedp and -path steps.

Now let's look at the results! Click on Next below.

Back to list of all tutorials | Back to course page | Previous | Next

FsTutorial/RunningTracula (last edited 2018-03-09 11:42:09 by MorganFogarty)