-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding 003 script (running QSIprep recon) to the code directory
- Loading branch information
1 parent
96c5d81
commit 7bb1b3d
Showing
1 changed file
with
16 additions
and
0 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,16 @@ | ||
#!/bin/bash | ||
SUBJ=$1 | ||
|
||
#Running QSIPrep reconstruction workflow on two subjects from HBN. | ||
|
||
singularity run \ | ||
~/diffusion_project/my-qsi-prep.sif \ #Path to singularity image path | ||
~/../../tmp/cache/data/ \ #Path to BIDS formatted dataset | ||
~/diffusion_project/results/derivatives/qsirecon \ #Path to output directory | ||
participant \ #Specifying that we want to run on a single subject | ||
--recon_input ~/diffusion_project/results/derivatives/qsiprep \ #Path to results from QSIprep preprocessing | ||
--recon-only \ #Specifying that we only want to run reconstruction | ||
--recon_spec mrtrix_multishell_msmt_pyafq_tractometry \ #Specifying preconfigured reconstruction workflow that we want to use | ||
--participant_label $SUBJ \ #Defining subjectID | ||
--output-resolution 1.8 \ #Specify desired output resolution | ||
--fs-license-file ~/diffusion_project/freesurfer/license.txt #Path to your local copy of Freesurfer license |