28 lines
852 B
Bash
Executable file
28 lines
852 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# install external program not supported by conda installation
|
|
case "$(uname -s)" in
|
|
Linux*) platform=linux;;
|
|
Darwin*) platform=macosx;;
|
|
*) echo "unsupported OS type. exiting"; exit 1
|
|
esac
|
|
echo "installing for ${platform}"
|
|
|
|
# download lddt
|
|
echo "downloading lddt . . ."
|
|
wget https://openstructure.org/static/lddt-${platform}.zip -O lddt.zip
|
|
unzip -d lddt -j lddt.zip
|
|
|
|
# the cs-blast platform descriptoin includes the width of memory addresses
|
|
# we expect a 64-bit operating system
|
|
if [[ ${platform} == "linux" ]]; then
|
|
platform=${platform}64
|
|
fi
|
|
|
|
# download cs-blast
|
|
echo "downloading cs-blast . . ."
|
|
wget http://wwwuser.gwdg.de/~compbiol/data/csblast/releases/csblast-2.2.3_${platform}.tar.gz -O csblast-2.2.3.tar.gz
|
|
mkdir -p csblast-2.2.3
|
|
tar xf csblast-2.2.3.tar.gz -C csblast-2.2.3 --strip-components=1
|
|
|