Mercurial > repos > iuc > package_blast_plus_2_4_0
changeset 0:7d1b2564a344 draft default tip
Install recipe for NCBI BLAST+ 2.4.0
author | peterjc |
---|---|
date | Fri, 05 Aug 2016 09:35:12 -0400 |
parents | |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 58 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Fri Aug 05 09:35:12 2016 -0400 @@ -0,0 +1,58 @@ +<?xml version='1.0' encoding='utf-8'?> +<tool_dependency> + <package name="blast+" version="2.4.0"> + <install version="1.0"> + <actions_group> + <!-- Download the binaries for BLAST+ compatible with 64-bit OSX. --> + <actions os="darwin" architecture="x86_64"> + <action type="download_by_url" sha256sum="0b248ba8b90d2e13ea5cb41066f71e08bd3e4a38eef0f14827a881aa82665f14">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.4.0/ncbi-blast-2.4.0+-universal-macosx.tar.gz</action> + <action type="move_directory_files"> + <source_directory>bin</source_directory> + <destination_directory>$INSTALL_DIR</destination_directory> + </action> + </actions> + <!-- Download the binaries for BLAST+ compatible with 32-bit OSX. --> + <actions os="darwin" architecture="i386"> + <action type="download_by_url" sha256sum="0b248ba8b90d2e13ea5cb41066f71e08bd3e4a38eef0f14827a881aa82665f14">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.4.0/ncbi-blast-2.4.0+-universal-macosx.tar.gz</action> + <action type="move_directory_files"> + <source_directory>bin</source_directory> + <destination_directory>$INSTALL_DIR</destination_directory> + </action> + </actions> + <!-- Download the binaries for BLAST+ compatible with 64-bit Linux. --> + <actions os="linux" architecture="x86_64"> + <action type="download_by_url" sha256sum="21aa7ca60954ce9c6d3f572e427fee804291fcad41447d554033a81d5af96a2b">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.4.0/ncbi-blast-2.4.0+-x64-linux.tar.gz</action> + <action type="move_directory_files"> + <source_directory>bin</source_directory> + <destination_directory>$INSTALL_DIR</destination_directory> + </action> + </actions> + <actions> + <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action> + <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action> + <action type="shell_command">uname</action> + <action type="shell_command">arch</action> + <action type="shell_command">echo "Please report this via https://github.com/peterjc/galaxy_blast/issues - thank you!"</action> + <action type="shell_command">false</action> + <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install --> + </actions> + <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. --> + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable> + <environment_variable name="BLAST_ROOT_DIR" action="set_to">$INSTALL_DIR</environment_variable> + </action> + </actions_group> + </install> + <readme> +Downloads the precompiled 64 bit Linux, or Mac OS X BLAST+ binaries from the NCBI, +which is faster than performing a local compilation, avoids any issues with build +dependencies, and is more reproducible between installations as there is no +variability from the compiler or library versions. + +Note that NCBI do not provide 32 bit Linux binaries anymore. + +For more details, see: +http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastDocs&DOC_TYPE=Download + </readme> + </package> +</tool_dependency>