forked from Washington-University/xnat_pbs_jobs_control
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStructuralPreprocessing.SetUp.sh
63 lines (54 loc) · 2.3 KB
/
StructuralPreprocessing.SetUp.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
echo ""
echo "----- Begin: StructuralPreprocessing.SetUp.sh -----"
echo ""
echo "Setting up FSL"
export FSLDIR=/export/HCP/fsl-5.0.11
source ${FSLDIR}/etc/fslconf/fsl.sh
echo "Set up to use FSL at ${FSLDIR}"
echo ""
echo "Setting up FreeSurfer"
export FSL_DIR="${FSLDIR}"
#export FREESURFER_HOME=/act/freesurfer-5.3.0-HCP
export FREESURFER_HOME=/export/HCP/freesurfer-6.0-custom-20180216
source ${FREESURFER_HOME}/SetUpFreeSurfer.sh
# # modify LD_LIBRARY_PATH to allow access to libnetcdf.so.6 and libhdf5_hl.so.6
# # the mris_make_surfaces binary in the v5.3.0-HCP version of FreeSurfer needs these
# export LD_LIBRARY_PATH=/export/HCP/lib:${LD_LIBRARY_PATH}
# echo "Set up to use FreeSurfer at ${FREESURFER_HOME}"
# echo ""
echo "Setting up Python"
export EPD_PYTHON_HOME=/export/HCP/epd-7.3.2
export PATH=${EPD_PYTHON_HOME}/bin:${PATH}
echo "Set up to use EPD Python at ${EPD_PYTHON_HOME}"
echo ""
echo "Setting up Workbench (a.k.a. CARET7)"
#export CARET7DIR=/export/HCP/workbench-v1.2.3/bin_rh_linux64
#export CARET7DIR=/export/HCP/workbench-dev-20180328/bin_rh_linux64
export CARET7DIR=/export/HCP/workbench-v1.3.0/bin_rh_linux64
echo "Set up to use Workbench at ${CARET7DIR}"
echo ""
echo "Setting up HCP Pipelines"
#export HCPPIPEDIR=${HOME}/pipeline_tools/Pipelines_dev
export HCPPIPEDIR=/export/HCP/Pipelines_hotfix_v3.25.0
export HCPPIPEDIR_Config=${HCPPIPEDIR}/global/config
export HCPPIPEDIR_Global=${HCPPIPEDIR}/global/scripts
export HCPPIPEDIR_Templates=${HCPPIPEDIR}/global/templates
export HCPPIPEDIR_PreFS=${HCPPIPEDIR}/PreFreeSurfer/scripts
export HCPPIPEDIR_FS=${HCPPIPEDIR}/FreeSurfer/scripts
export HCPPIPEDIR_PostFS=${HCPPIPEDIR}/PostFreeSurfer/scripts
export HCPPIPEDIR_fMRISurf=${HCPPIPEDIR}/fMRISurface/scripts
export HCPPIPEDIR_fMRIVol=${HCPPIPEDIR}/fMRIVolume/scripts
export HCPPIPEDIR_dMRI=${HCPPIPEDIR}/DiffusionPreprocessing/scripts
export HCPPIPEDIR_tfMRIAnalysis=${HCPPIPEDIR}/TaskfMRIAnalysis/scripts
echo "Set up to use HCP Pipelines at ${HCPPIPEDIR}"
echo ""
echo "Setting up MSM"
export MSMBINDIR=/export/HCP/MSM_HOCR_v2/Centos
echo "Set up to use MSM binary at ${MSMBINDIR}"
echo ""
echo "Setting up MSM Configuration Directory"
export MSMCONFIGDIR=${HCPPIPEDIR}/MSMConfig
echo "Set up to use MSM configuration at ${MSMCONFIGDIR}"
echo ""
echo "----- End: StructuralPreprocessing.SetUp.sh -----"
echo ""