# HG changeset patch # User peterjc # Date 1384771263 18000 # Node ID d3343fa55e9e5675950c300a530fc80fcd9d449d # Parent 40c69b76b46e88f570941865510f961c1f8aedb1 Updated to use os/arch specific actions diff -r 40c69b76b46e -r d3343fa55e9e tool_dependencies.xml --- a/tool_dependencies.xml Fri Aug 30 07:26:10 2013 -0400 +++ b/tool_dependencies.xml Mon Nov 18 05:41:03 2013 -0500 @@ -1,28 +1,63 @@ - + - + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-x64-linux.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-ia32-linux.tar.gz + + bin + $INSTALL_DIR + + + + + ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-ia32-linux.tar.gz + + bin + $INSTALL_DIR + + + + + echo ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported. + echo Your machine details (the output from 'uname' and 'arch'): + uname + arch + echo Please report this via https://github.com/peterjc/galaxy_blast/issues - thank you! + false + + + $INSTALL_DIR - - - if [[ "$(uname)" == "Linux" ]]; then export FILENAME="ncbi-blast-2.2.26+-ia32-linux.tar.gz"; fi && - if [[ "$(arch)" == "x86_64" ]]; then export FILENAME="ncbi-blast-2.2.26+-x64-linux.tar.gz"; fi && - if [[ "$(uname)" == "Darwin" ]]; then export FILENAME="ncbi-blast-2.2.26+-universal-macosx.tar.gz"; fi && - echo Fetching $FILENAME && - if [[ "$(uname)" == "Linux" ]]; then wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/$FILENAME; fi && - if [[ "$(uname)" == "Darwin" ]]; then curl -O ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/$FILENAME; fi && - tar -zxvf $FILENAME && - echo Downloaded and decompressed - - - - ncbi-blast-2.2.26+/bin - $INSTALL_DIR - - + Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X BLAST+