Create install_dependencies.sh

This commit is contained in:
Alex Morehead 2024-03-10 14:46:21 -05:00 committed by GitHub
parent 64228a4ac8
commit 05d0754285
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

22
install_dependencies.sh Normal file
View file

@ -0,0 +1,22 @@
#!/bin/bash
# From: https://github.com/RosettaCommons/RoseTTAFold
# 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 dependencies for ${platform}..."
# 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