Mercurial > repos > iuc > package_blast_plus_2_2_28
changeset 0:ed85ca8e4295 draft
Uploaded definition based on that for BLAST+ 2.2.26
author | iuc |
---|---|
date | Mon, 07 Oct 2013 09:38:50 -0400 |
parents | |
children | 23b9ba41ad00 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Oct 07 09:38:50 2013 -0400 @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="blast+" version="2.2.28"> + <install version="1.0"> + <actions> + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable> + </action> + <!-- arch under Linux 32bit includes some variants like i386 and i686, so use as default --> + <action type="shell_command"> + if [[ "$(uname)" == "Linux" ]]; then export FILENAME="ncbi-blast-2.2.28+-ia32-linux.tar.gz"; fi && + if [[ "$(arch)" == "x86_64" ]]; then export FILENAME="ncbi-blast-2.2.28+-x64-linux.tar.gz"; fi && + if [[ "$(uname)" == "Darwin" ]]; then export FILENAME="ncbi-blast-2.2.28+-universal-macosx.tar.gz"; fi && + echo Fetching $FILENAME && + if [[ "$(uname)" == "Linux" ]]; then wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/$FILENAME; fi && + if [[ "$(uname)" == "Darwin" ]]; then curl -O ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/$FILENAME; fi && + tar -zxvf $FILENAME && + echo Downloaded and decompressed + </action> + <!-- move the binaries to the installation directory which is now on the $PATH --> + <action type="move_directory_files"> + <source_directory>ncbi-blast-2.2.28+/bin</source_directory> + <destination_directory>$INSTALL_DIR</destination_directory> + </action> + </actions> + </install> + <readme> +Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X BLAST+ +binaries from the NCBI, which is faster than performing a local compliation, +avoids any issues with build dependencies, and is more reproducible between +installations as there is no variability from the compiler or library versions. + +For more details, see: +http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastDocs&DOC_TYPE=Download + </readme> + </package> +</tool_dependency>