-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathinstall.sh
executable file
·50 lines (42 loc) · 949 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
wd=$(pwd)
chmod 764 */*/*/*
chmod 764 */*/*
chmod 764 */*
chmod 764 *
cd idba
./build.sh
cd $wd
cd metaspades/bin/
p=$(pwd)
ln -s "$p"/spades.py "$p"/metaspades.py
cd "$wd"/trnascanSE
tar -xvf infernal-1.1.3.tar.gz
cd infernal-1.1.3
./configure --prefix=$(pwd)/exec
make
make install
cd "$wd"/trnascanSE
tar -xvf automake-1.13.4.tar.gz
cd automake-1.13.4
./configure --prefix=$(pwd)/exec
make
make install
cd "$wd"/trnascanSE
tar -xvf trnascan-se-2.0.6.tar.gz
cd tRNAscan-SE-2.0
./configure --prefix=$(pwd)/exec
cd "$wd"/trnascanSE
eval "sed -i -e 's%missing\ automake\ 1\.13%missing $(pwd)\/automake\-1\.13\.4\/bin\/%g'" ./tRNAscan-SE-2.0/Makefile
cd tRNAscan-SE-2.0
make
make install
cd "$wd"/trnascanSE
ln -s "$wd"/trnascanSE/infernal-1.1.3/src/* "$wd"/trnascanSE/tRNAscan-SE-2.0/exec/bin/
cd "$wd"/mitfi
tar -xvf infernal-1.0.2.tar.gz
cd infernal-1.0.2
./configure --prefix=$(pwd)/exec
make
make install
cd "$wd"/
touch install.sh.ok