-
Notifications
You must be signed in to change notification settings - Fork 23
/
install_dependencies.sh
executable file
·52 lines (45 loc) · 1.54 KB
/
install_dependencies.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
#!/usr/bin/env bash
conda config --add channels r
conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda
conda update conda
conda install -y dill scipy numpy six
conda install -y fasttree
conda install -y raxml
conda install -y mafft
conda install -y prank
conda install -y muscle
conda install -y blast
conda install -y hmmer
conda install -y iqtree
conda install -y clustalo
conda install -y clustalw
conda install -y phyml
pip install pip --upgrade
pip install py pytest pytest-xdist pytest-cov pytest-colordots dendropy biopython -U
pip install python-coveralls suds-py3 matplotlib -U
RAXMLHPC="$(which raxmlHPC)"
RAXML="$(echo ${RAXMLHPC} | rev | cut -c 4- | rev)"
ln -s "$RAXMLHPC" "$RAXML"
FASTTREE="$(which FastTree)"
FT="$(echo ${FASTTREE} | rev | cut -c 9- | rev)fasttree"
ln -s "$FASTTREE" "$FT"
unameOut="$(uname -s)"
case "${unameOut}" in
Linux*) machine=Linux;;
Darwin*) machine=Mac;;
CYGWIN*) machine=Cygwin;;
MINGW*) machine=MinGw;;
*) machine="UNKNOWN:${unameOut}"
esac
mkdir buddysuite_env_build
if [ $machine == 'Mac' ]; then
wget http://wasabiapp.org/download/pagan/pagan.osx.20150723.zip -O buddysuite_env_build/pagan.tgz
elif [ $machine == 'Linux' ]; then
wget http://wasabiapp.org/download/pagan/pagan.linux64.20150723.tgz -O buddysuite_env_build/pagan.tgz
fi
tar -xzf buddysuite_env_build/pagan.tgz -C buddysuite_env_build
mv buddysuite_env_build/pagan /usr/local/
rm -r buddysuite_env_build
ln -s /usr/local/pagan/bin/pagan /usr/local/bin/