-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Add DSI Studio AutoTrack recon workflow (#576)
- Loading branch information
1 parent
7d448cb
commit 00e0bc0
Showing
9 changed files
with
479 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
|
||
cat << DOC | ||
Reconstruction workflow tests | ||
============================= | ||
All supported reconstruction workflows get tested | ||
This tests the following features: | ||
Inputs: | ||
------- | ||
- qsiprep single shell results (data/DSDTI_fmap) | ||
- qsiprep multi shell results (data/DSDTI_fmap) | ||
DOC | ||
set +e | ||
source ./get_data.sh | ||
TESTDIR=${PWD} | ||
get_config_data ${TESTDIR} | ||
get_bids_data ${TESTDIR} multishell_output | ||
CFG=${TESTDIR}/data/nipype.cfg | ||
EDDY_CFG=${TESTDIR}/data/eddy_config.json | ||
export FS_LICENSE=${TESTDIR}/data/license.txt | ||
|
||
# Test MRtrix3 multishell msmt with ACT | ||
TESTNAME=autotrack | ||
setup_dir ${TESTDIR}/${TESTNAME} | ||
TEMPDIR=${TESTDIR}/${TESTNAME}/work | ||
OUTPUT_DIR=${TESTDIR}/${TESTNAME}/derivatives | ||
BIDS_INPUT_DIR=${TESTDIR}/data/multishell_output/qsiprep | ||
QSIPREP_CMD=$(run_qsiprep_cmd ${BIDS_INPUT_DIR} ${OUTPUT_DIR}) | ||
|
||
${QSIPREP_CMD} \ | ||
-w ${TEMPDIR} \ | ||
--recon-input ${BIDS_INPUT_DIR} \ | ||
--sloppy \ | ||
--stop-on-first-crash \ | ||
--recon-spec dsi_studio_autotrack \ | ||
--recon-only \ | ||
-vv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "dsistudio_pipeline", | ||
"space": "T1w", | ||
"atlases": [], | ||
"nodes": [ | ||
{ | ||
"name": "dsistudio_gqi", | ||
"software": "DSI Studio", | ||
"action": "reconstruction", | ||
"input": "qsiprep", | ||
"output_suffix": "gqi", | ||
"parameters": {"method": "gqi"} | ||
}, | ||
{ | ||
"name": "autotrackgqi", | ||
"software": "DSI Studio", | ||
"action": "autotrack", | ||
"input": "dsistudio_gqi", | ||
"output_suffix": "AutoTrackGQI", | ||
"parameters": { | ||
"track_id": "Fasciculus,Cingulum,Aslant,Corticos,Thalamic_R,Reticular,Optic,Fornix,Corpus", | ||
"tolerance": "22,26,30", | ||
"track_voxel_ratio": 2.0, | ||
"yield_rate": 0.000001 | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.