forked from cbcrg/mta-nf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
62 lines (51 loc) · 1.67 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
dir=$PWD
# Environment
SRC=./src
GZ=./src/gz
BIN=./bin
mkdir -p $BIN
mkdir -p $GZ
#T-Coffee
wget -P ${GZ} http://www.tcoffee.org/Packages/Stable/Latest/linux/T-COFFEE_installer_Version_11.00.8cbe486_linux_x64.tar.gz
tar xvzf ${GZ}/T-COFFEE_installer_Version_11.00.8cbe486_linux_x64.tar.gz -C ${SRC}
cd ${SRC}/T-COFFEE_installer_Version_11.00.8cbe486_linux_x64/src
make -f makefile
cp t_coffee ${dir}/${BIN}
cd $dir
#ClustalW2
wget -P ${GZ} http://www.clustal.org/download/current/clustalw-2.1-linux-x86_64-libcppstatic.tar.gz
tar xvzf ${GZ}/clustalw-2.1-linux-x86_64-libcppstatic.tar.gz -C ${SRC}
cp ${SRC}/clustalw-2.1-linux-x86_64-libcppstatic/clustalw2 ${BIN}
#NORMD
cd $dir
wget -P ${GZ} ftp://ftp-igbmc.u-strasbg.fr/pub/NORMD/norMD1_3.tar.gz
tar xvzf ${GZ}/norMD1_3.tar.gz -C ${SRC}
cd $SRC/normd_noexpat
make -f makefile
cp normd $dir/$BIN/
#MGTREE
cd $dir
cd ${SRC}/mgtree
make -f Makefile
cp bin/mgtree $dir/$BIN
#PHYLIP
cd $dir
wget -P ${GZ} http://evolution.gs.washington.edu/phylip/download/phylip-3.696.tar.gz
tar xvzf ${GZ}/phylip-3.696.tar.gz -C ${SRC}
cd $SRC/phylip-3.696/src
make -f Makefile.unx install
cd $dir
cp $SRC/phylip-3.696/exe/retree $dir/$BIN
#MAFFT
cd $dir
wget -P ${GZ} http://mafft.cbrc.jp/alignment/software/mafft-7.187-without-extensions-src.tgz
tar xvzf ${GZ}/mafft-7.187-without-extensions-src.tgz -C ${SRC}
cd $SRC/mafft-7.187-without-extensions/core
make clean
make -f Makefile
cd $dir
cp ${SRC}/mafft-7.187-without-extensions/scripts/mafft $dir/$BIN
wget -P ${BIN} http://mafft.cbrc.jp/alignment/software/newick2mafft.rb
wget -P ${BIN} http://www.clustal.org/omega/clustalo-1.2.0-Ubuntu-x86_64
mv ${BIN}/clustalo-1.2.0-Ubuntu-x86_64 ${BIN}/clustalo