This app will generate structural connectome adjacency matrices to use in graph theory analyses (Sporns cite). This uses MRTrix3's tck2connectome and SIFT2 functions to generate connectomes of count, length, and the average of diffusion measures (if inputted) (MRTRIX3 CONNECTOME AND SIFT2 CITE). This app will also generate density and density of length matrices.
[Aydogan2019a] Aydogan DB, Shi Y., “Parallel transport tractography”, In preparation.
[Aydogan2019b] Aydogan DB, Shi Y., “A novel fiber tracking algorithm using parallel transport frames”, ISMRM 2019, Montreal.
This brainlife.io App generates adjacency matrices using [MRTRix3 and SIFT2](mrtrix3 cite).
To run THORA you need to first run the following Apps:
(1) Generate FOD alternatively FreeSurfer
(2) Generate 5tt
(3) DTI or NODDI
(4) Tracking
You can submit this App online at https://doi.org/10.25663/brainlife.app.394 via the "Execute" tab.
You can run this App on brainlife.io, or if you'd like to run it locally, you ca do the following.
-
git clone this repo on your machine
-
Stage input file
bl dataset download <dataset id for any neuro/dwi data and neuro/anat/t1w and neuro/csd and neuro/rois data from barinlife>
- Create config.json (you can copy from config.json.sample)
{
"parc": "/testdata/parcellation/parc.nii.gz",
"track": "/testdata/track/track.tck",
"lmax2": "/tesdata/input_csd/lmax2.nii.gz",
"lmax4": "/tesdata/input_csd/lmax4.nii.gz",
"lmax6": "/tesdata/input_csd/lmax6.nii.gz",
"lmax8": "/tesdata/input_csd/lmax8.nii.gz",
"lmax10": "/tesdata/input_csd/lmax10.nii.gz",
"lmax12": "/tesdata/input_csd/lmax12.nii.gz",
"lmax14": "/testdata/input_csd/lmax14.nii.gz",
"ndi": "/testdata/noddi/ndi.nii.gz",
"odi": "/testdata/noddi/odi.nii.gz",
"isovf": "/testdata/noddi/isovf.nii.gz",
"fa": "/testdata/tensor/fa.nii.gz",
"md": "/testdata/tensor/md.nii.gz",
"ad": "/testdata/tensor/ad.nii.gz",
"rd": "/testdata/tensor/rd.nii.gz"
}
- run
./main