comparison tool_dependencies.xml @ 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
comparison
equal deleted inserted replaced
-1:000000000000 0:7d1b2564a344
1 <?xml version='1.0' encoding='utf-8'?>
2 <tool_dependency>
3 <package name="blast+" version="2.4.0">
4 <install version="1.0">
5 <actions_group>
6 <!-- Download the binaries for BLAST+ compatible with 64-bit OSX. -->
7 <actions os="darwin" architecture="x86_64">
8 <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>
9 <action type="move_directory_files">
10 <source_directory>bin</source_directory>
11 <destination_directory>$INSTALL_DIR</destination_directory>
12 </action>
13 </actions>
14 <!-- Download the binaries for BLAST+ compatible with 32-bit OSX. -->
15 <actions os="darwin" architecture="i386">
16 <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>
17 <action type="move_directory_files">
18 <source_directory>bin</source_directory>
19 <destination_directory>$INSTALL_DIR</destination_directory>
20 </action>
21 </actions>
22 <!-- Download the binaries for BLAST+ compatible with 64-bit Linux. -->
23 <actions os="linux" architecture="x86_64">
24 <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>
25 <action type="move_directory_files">
26 <source_directory>bin</source_directory>
27 <destination_directory>$INSTALL_DIR</destination_directory>
28 </action>
29 </actions>
30 <actions>
31 <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action>
32 <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action>
33 <action type="shell_command">uname</action>
34 <action type="shell_command">arch</action>
35 <action type="shell_command">echo "Please report this via https://github.com/peterjc/galaxy_blast/issues - thank you!"</action>
36 <action type="shell_command">false</action>
37 <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
38 </actions>
39 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
40 <action type="set_environment">
41 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
42 <environment_variable name="BLAST_ROOT_DIR" action="set_to">$INSTALL_DIR</environment_variable>
43 </action>
44 </actions_group>
45 </install>
46 <readme>
47 Downloads the precompiled 64 bit Linux, or Mac OS X BLAST+ binaries from the NCBI,
48 which is faster than performing a local compilation, avoids any issues with build
49 dependencies, and is more reproducible between installations as there is no
50 variability from the compiler or library versions.
51
52 Note that NCBI do not provide 32 bit Linux binaries anymore.
53
54 For more details, see:
55 http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs&amp;DOC_TYPE=Download
56 </readme>
57 </package>
58 </tool_dependency>