-
Notifications
You must be signed in to change notification settings - Fork 1
/
setupAll.sh
94 lines (52 loc) · 1.57 KB
/
setupAll.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/bin/bash
echo "Building HH-suite... "
cd ${LRRpredictor_HOME}/hh-suite/
git checkout LRRpredictor && git pull
mkdir lib
cd lib
git clone https://github.com/eliza-m/ffindex_soedinglab.git ffindex
cd ffindex
git checkout 360e417
cd ../../
mkdir build
mkdir install
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=../install ..
make -j$(nproc)
echo "Building HH-suite... DONE "
echo "Installing HH-suite..."
make install
echo "Installing HH-suite... DONE"
echo "Building RaptorX-Property..."
cd ${LRRpredictor_HOME}/RaptorX_Property_Fast/
git checkout LRRpredictor && git pull
cd source_code
make -j$(nproc)
cd ../
./setup.pl
echo "Building RaptorX-Property... DONE "
echo "Downloading LRRpredictor training data..."
cd $LRRpredictor_HOME/fullTraining/
wget old.biochim.ro/ib/departments/strbiochem/LRRpred/fullTraining_pkls.tar.gz
tar -xzf fullTraining_pkls.tar.gz
mv fullTraining_pkls/* ./
rm fullTraining_pkls.tar.gz
rmdir fullTraining_pkls
if [ "$isFullDownloadSet" == "TRUE" ];
then
cd $LRRpredictor_HOME/crossValidation/
wget old.biochim.ro/ib/departments/strbiochem/LRRpred/CrossValidation_pkls.tar.gz
tar -xzf CrossValidation_pkls.tar.gz
mv CrossValidation_pkls/* ./
rm CrossValidation_pkls.tar.gz
rmdir CrossValidation_pkls
cd $LRRpredictor_HOME/test/
wget old.biochim.ro/ib/departments/strbiochem/LRRpred/test_pkls.tar.gz
tar -xzf test_pkls.tar.gz
mv test_pkls/* ./
rm test_pkls.tar.gz
rmdir test_pkls
fi
echo "Downloading LRRpredictor training data... DONE"
cd $LRRpredictor_HOME
mkdir results