-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
30 lines (25 loc) · 886 Bytes
/
install.sh
File metadata and controls
30 lines (25 loc) · 886 Bytes
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
Anaconda_path=$1
echo "Anaconda_path: $Anaconda_path"
if ! [ -f ${Anaconda_path}/bin/pip ]; then
echo "The Anaconda_path does not exist!"
exit
fi
echo "**********************************************"
echo "**********************************************"
echo "Install Python package mrcfile"
${Anaconda_path}/bin/pip install mrcfile
echo ""
echo "Install Python package scikit-image"
${Anaconda_path}/bin/pip install scikit-image==0.20.0
echo ""
echo "**********************************************"
echo "**********************************************"
echo "Compile QRNAS software for energy minimization"
cd ${HOME}/DeepCryoRNA/src/QRNAS
make
echo ""
echo "**********************************************"
echo "**********************************************"
cd ${HOME}/DeepCryoRNA/src/
g++ -O3 -shared -fPIC alignment_score.cpp -o alignment_score.so -std=c++11
echo ""