From 05d075428559694bab123a71027162daba43c2b5 Mon Sep 17 00:00:00 2001 From: Alex Morehead Date: Sun, 10 Mar 2024 14:46:21 -0500 Subject: [PATCH] Create install_dependencies.sh --- install_dependencies.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 install_dependencies.sh diff --git a/install_dependencies.sh b/install_dependencies.sh new file mode 100644 index 0000000..1ff56e6 --- /dev/null +++ b/install_dependencies.sh @@ -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