-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
50 lines (33 loc) · 823 Bytes
/
install.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
#!/bin/bash
dir=$(echo "${0%/*}")
cd $dir/Scripts/libsvm-3.22
echo
echo "___________________"
echo "libSVM compilling"
echo "___________________"
echo
make clean &> /dev/null
make &> /dev/null
echo
echo "___________________"
echo "protr installing"
echo "___________________"
echo
Rscript $dir/Scripts/protr.R $dir/Scripts/protr_1.2-1.tar
echo "_______________________"
echo "Transdecoder installing"
echo "_______________________"
echo
cd $dir/Scripts/TransDecoder-3.0.1
make clean &> /dev/null
make &> /dev/null
cd ..
echo "_______________________"
echo "Extracting the zip file "
echo "_______________________"
echo
cd $dir/Model
unzip $dir/Model/Combine_Model.zip
chmod 777 $dir/PrESOgenesis
chmod 777 -R $dir/Scripts $dir/Scripts/TransDecoder-3.0.1 $dir/Scripts/libsvm-3.22
echo