25 lines
973 B
Bash
25 lines
973 B
Bash
#!/bin/bash
|
|
echo "Hello, output-001!"
|
|
cd /data
|
|
|
|
cp -r ${playground}/BIDS_output/sub-001/dwi ${outPath}/
|
|
|
|
sh /data/DTI_process.sh ${outPath}/dwi/
|
|
|
|
python ${alignPath}
|
|
|
|
python /data/test2_dti.py --sub_id ${subId} --TR ${tr} --root_dir ${fmriR2t1OutFile} --out_dir ${fmriOutPath} --anat_dir ${smriOutFile} --fa_dir ${outPath}/dwi/whole_brain_01.trk.aal.fa.end.connectivity.mat --count_dir ${outPath}/dwi/whole_brain_01.trk.aal.count.end.connectivity.mat
|
|
|
|
echo "fmri handle end!"
|
|
|
|
cp Node_AAL116.node config.mat config2.mat config3.mat config4.mat BrainMesh_Ch2withCerebellum.nv main_dti.py modelViewGeneral_dti.py Models_dti.py rtmalbFile.m brain_regions.npy number_change_script.py extract_regions.py ${matrixPath}
|
|
|
|
cd ${matrixPath}
|
|
|
|
python main_dti.py --sub_id ${subId} --root_dir ${fmriOutPath} --module_dir /data/config/models_9_9 --matrix_path ${matrixPath}
|
|
|
|
python number_change_script.py --age ${age}
|
|
python extract_regions.py
|
|
|
|
echo "main handle end!"
|