annotate tool_dependencies.xml @ 4:869ee5651b61 draft default tip

Record SHA256 checksums for NCBI binaries
author peterjc
date Thu, 18 Aug 2016 06:40:49 -0400
parents 47da1e409d70
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
0
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
2 <tool_dependency>
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
3 <package name="blast+" version="2.2.26+">
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
4 <install version="1.0">
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
5 <actions_group>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
6 <!-- Download the binaries for BLAST+ compatible with 64-bit OSX. -->
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
7 <actions os="darwin" architecture="x86_64">
4
869ee5651b61 Record SHA256 checksums for NCBI binaries
peterjc
parents: 3
diff changeset
8 <action type="download_by_url" sha256sum="a18f6421ad20347b66da6af3be1b6c8bf817357b519eefb0d5b9afd230e7ebb2">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz</action>
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
9 <action type="move_directory_files">
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
10 <source_directory>bin</source_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
11 <destination_directory>$INSTALL_DIR</destination_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
12 </action>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
13 </actions>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
14 <!-- Download the binaries for BLAST+ compatible with 32-bit OSX. -->
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
15 <actions os="darwin" architecture="i386">
4
869ee5651b61 Record SHA256 checksums for NCBI binaries
peterjc
parents: 3
diff changeset
16 <action type="download_by_url" sha256sum="a18f6421ad20347b66da6af3be1b6c8bf817357b519eefb0d5b9afd230e7ebb2">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz</action>
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
17 <action type="move_directory_files">
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
18 <source_directory>bin</source_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
19 <destination_directory>$INSTALL_DIR</destination_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
20 </action>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
21 </actions>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
22 <!-- Download the binaries for BLAST+ compatible with 64-bit Linux. -->
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
23 <actions os="linux" architecture="x86_64">
4
869ee5651b61 Record SHA256 checksums for NCBI binaries
peterjc
parents: 3
diff changeset
24 <action type="download_by_url" sha256sum="4ace56ae7eea29547058693c5595c0b9d78c262a9d2217a13e1c05b114996f5c">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-x64-linux.tar.gz</action>
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
25 <action type="move_directory_files">
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
26 <source_directory>bin</source_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
27 <destination_directory>$INSTALL_DIR</destination_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
28 </action>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
29 </actions>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
30 <!-- Download the binaries for BLAST+ compatible with 32-bit Linux (i386). -->
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
31 <actions os="linux" architecture="i386">
4
869ee5651b61 Record SHA256 checksums for NCBI binaries
peterjc
parents: 3
diff changeset
32 <action type="download_by_url" sha256sum="4b6e6041ef4913ac04d08b57d599cd478bf9a0ddb903d90930ef593de0f482a6">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-ia32-linux.tar.gz</action>
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
33 <action type="move_directory_files">
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
34 <source_directory>bin</source_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
35 <destination_directory>$INSTALL_DIR</destination_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
36 </action>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
37 </actions>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
38 <!-- Download the binaries for BLAST+ compatible with 32-bit Linux (i686). -->
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
39 <actions os="linux" architecture="i686">
4
869ee5651b61 Record SHA256 checksums for NCBI binaries
peterjc
parents: 3
diff changeset
40 <action type="download_by_url" sha256sum="4b6e6041ef4913ac04d08b57d599cd478bf9a0ddb903d90930ef593de0f482a6">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-ia32-linux.tar.gz</action>
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
41 <action type="move_directory_files">
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
42 <source_directory>bin</source_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
43 <destination_directory>$INSTALL_DIR</destination_directory>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
44 </action>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
45 </actions>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
46 <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
47 <actions>
2
9bc109967de1 Typo and metadata URL correction
peterjc
parents: 1
diff changeset
48 <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action>
9bc109967de1 Typo and metadata URL correction
peterjc
parents: 1
diff changeset
49 <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action>
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
50 <action type="shell_command">uname</action>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
51 <action type="shell_command">arch</action>
2
9bc109967de1 Typo and metadata URL correction
peterjc
parents: 1
diff changeset
52 <action type="shell_command">echo "Please report this via https://github.com/peterjc/galaxy_blast/issues - thank you!"</action>
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
53 <action type="shell_command">false</action>
2
9bc109967de1 Typo and metadata URL correction
peterjc
parents: 1
diff changeset
54 <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
55 </actions>
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
56 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
0
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
57 <action type="set_environment">
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
58 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
3
47da1e409d70 Define BLAST_ROOT_DIR env var on older BLAST+ packages
peterjc
parents: 2
diff changeset
59 <environment_variable name="BLAST_ROOT_DIR" action="set_to">$INSTALL_DIR</environment_variable>
0
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
60 </action>
1
d3343fa55e9e Updated to use os/arch specific actions
peterjc
parents: 0
diff changeset
61 </actions_group>
0
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
62 </install>
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
63 <readme>
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
64 Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X BLAST+
2
9bc109967de1 Typo and metadata URL correction
peterjc
parents: 1
diff changeset
65 binaries from the NCBI, which is faster than performing a local compilation,
0
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
66 avoids any issues with build dependencies, and is more reproducible between
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
67 installations as there is no variability from the compiler or library versions.
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
68
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
69 For more details, see:
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
70 http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs&amp;DOC_TYPE=Download
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
71 </readme>
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
72 </package>
40c69b76b46e Uploaded using shell script solution to downloading appropriate binaries.
iuc
parents:
diff changeset
73 </tool_dependency>