-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflywheel_import_mriqc_bdrive.sh
34 lines (33 loc) · 1.08 KB
/
flywheel_import_mriqc_bdrive.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
file=/Users/TienTong/Documents/dcm2bids/xnat_allsubjects.csv
subjects=(`awk -F "\"*,\"*" '{print $4}' $file | tr '\n' ' '`)
script_dir=/Users/TienTong/Documents/dcm2bids
# for i in {0..70} ; do
for i in 62 ; do
####################### STEP 1: IMPORT DATA TO FLYWHEEL ######################
# fw import bids \
# --project K23 \
# --subject ${subjects[$i]} \
# /Volumes/BACHI-LAB/MRI_DATA/BIDS \
# bachilab
####################### STEP 2: RUN MRIQC ON FLYWHEEL #######################
# $script_dir/flywheel_mriqc.py \
# --project_name K23 \
# --subject_id ${subjects[$i]} \
# --modality anat
$script_dir/flywheel_mriqc.py \
--project_name K23 \
--subject_id ${subjects[$i]} \
--modality func \
--task rest
# $script_dir/flywheel_mriqc.py \
# --project_name K23 \
# --subject_id ${subjects[$i]} \
# --modality func \
# --task whyhow
# $script_dir/flywheel_mriqc.py \
# --project_name K23 \
# --subject_id ${subjects[$i]} \
# --modality func \
# --task socialnav
done