mirror of
https://github.com/baker-laboratory/RoseTTAFold-All-Atom.git
synced 2024-11-04 22:25:42 +00:00
Create install_dependencies.sh
This commit is contained in:
parent
64228a4ac8
commit
05d0754285
1 changed files with 22 additions and 0 deletions
22
install_dependencies.sh
Normal file
22
install_dependencies.sh
Normal 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
|
Loading…
Reference in a new issue