30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
|
|
#!/bin/bash
|
||
|
|
echo "Hello, output-43207!"
|
||
|
|
cd /data
|
||
|
|
source ~/.bashrc
|
||
|
|
export PYTHONPATH=/usr/local/python3/lib/python3.8/site-packages:$PYTHONPATH
|
||
|
|
cpac run /data/ABIDEII-EMC_1 ${outPath} participant --pipeline_file /data/config/default.yml --data_config_file ${dataInfoPath} --mem_gb 10 --platform docker
|
||
|
|
|
||
|
|
echo "cpac handle end!"
|
||
|
|
|
||
|
|
conda activate myenv
|
||
|
|
|
||
|
|
export PYTHONPATH=/root/anaconda3/envs/myenv/lib/python3.7/site-packages:$PYTHONPATH
|
||
|
|
|
||
|
|
python ${alignPath}
|
||
|
|
|
||
|
|
python /data/test2.py --sub_id ${subId} --TR ${tr} --root_dir ${fucDataPath} --out_dir ${fmriOutPath} --anat_dir ${anatPath}
|
||
|
|
|
||
|
|
echo "fmri handle end!"
|
||
|
|
|
||
|
|
cp Node_AAL116.node config.mat config2.mat config3.mat config4.mat BrainMesh_Ch2withCerebellum.nv main.py modelViewGeneral.py rtmalbFile.m brain_regions.npy number_change_script.py extract_regions.py ${matrixPath}
|
||
|
|
|
||
|
|
cd ${matrixPath}
|
||
|
|
|
||
|
|
python main.py --sub_id ${subId} --root_dir ${fmriOutPath} --module_dir /data/config/models_9_9 --matrix_path ${matrixPath}
|
||
|
|
|
||
|
|
python number_change_script.py
|
||
|
|
python extract_regions.py
|
||
|
|
|
||
|
|
echo "main handle end!"
|