Commit 1805c7a3 authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

Update README

parent ce355fce
This project stores preprocessing and processing code for performing NODDI analysis (Zhang et al. 2011) at the PRL, URL, and LPZ in macular degeneration participants. Included are scripts setting up preprocessing using a basic FSL pipeline including topup and eddy. b0 images come from the diffusion scans themselves as opposed to SpinEcho fieldmaps. The NODDI toolbox used is version 1.01 that has been modified to remove status bar graphics and allow the pipeline to be run completely from the command line without needing the MATLAB GUI.
Scripts of interest are diff_preprocess.m that does basic file management and sets up the bash script to perform topup and eddy as well as noddi_MASTER that sets up the bash script to run NODDI.
Scripts of interest are diff_preprocess.m that does basic file management and sets up the bash script to perform topup and eddy as well as noddi_MASTER that sets up the bash script to run NODDI. SaveParamsAsNIfTI_MASTER will convert the output .mat files from NODDI to nifti files in the individual's diffusion space. From there, conversion to surface space is handled by bbregister_b0 which creates bash scripts to performed registration from an unwarped b0 diffusion image to an individual's Freesurfer surface.
Example preprocessing, NODDI processing, and registration scripts can be found in example-bash-scripts for one subject.
% Need to convert all of the NODDI fitted params to nifti files. Also store
% Need to convert all of the NODDI fitted params from .mat files to nifti. Also store
% the currently calculated params as using diffusivity value of 1.1e-9
addpath(genpath('/data/user/mdefende/Projects/prl-noddi/code'))
......
......@@ -8,10 +8,12 @@
module load FreeSurfer/6.0.0-centos6_x86_64
SUBJECTS_DIR=/data/user/mdefende/datasets/MDP/subs
% register clean b0 to structural data for both dir98 and dir99 scans
bbregister --s sub-MDP001 --mov /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/FSL/dir98/unwarp_b0.nii.gz --dti --reg /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/register/dir98_reg.dat --init-fsl
bbregister --s sub-MDP001 --mov /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/FSL/dir99/unwarp_b0.nii.gz --dti --reg /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/register/dir99_reg.dat --init-fsl
% convert ficvf andf odi volumes from diffusion space to surface space
mri_vol2surf --src /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/NODDI/dir98/sub-MDP001_diff_1.1e-9_odi.nii --out /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/lh.sub-MDP001_dir98_diff_1.1e-9_odi.mgz --srcreg /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/register/dir98_reg.dat --hemi lh
mri_vol2surf --src /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/NODDI/dir98/sub-MDP001_diff_1.1e-9_odi.nii --out /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/rh.sub-MDP001_dir98_diff_1.1e-9_odi.mgz --srcreg /data/user/mdefende/datasets/MDP-diff/subs/sub-MDP001/register/dir98_reg.dat --hemi rh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment