annotate tool_dependencies.xml @ 0:2e9109a8924f draft default tip

Uploaded
author iuc
date Mon, 30 Oct 2017 10:46:49 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2e9109a8924f Uploaded
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
2 <tool_dependency>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
3 <package name="blast" version="2.7.1">
2e9109a8924f Uploaded
iuc
parents:
diff changeset
4 <install version="1.0">
2e9109a8924f Uploaded
iuc
parents:
diff changeset
5 <actions_group>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
6 <!-- Download the binaries for BLAST+ compatible with 64-bit OSX. -->
2e9109a8924f Uploaded
iuc
parents:
diff changeset
7 <actions os="darwin" architecture="x86_64">
2e9109a8924f Uploaded
iuc
parents:
diff changeset
8 <!-- Original URL https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-x64-macosx.tar.gz -->
2e9109a8924f Uploaded
iuc
parents:
diff changeset
9 <action type="download_by_url" sha256sum="1de96e0168771d02e1e4d5796e01c6f09073ce61f74aaba23c541750973554ea" target_filename="ncbi-blast-2.7.1+-x64-macosx.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.7.1_darwin_x64.tar.gz</action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
10 <action type="move_directory_files">
2e9109a8924f Uploaded
iuc
parents:
diff changeset
11 <source_directory>bin</source_directory>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
12 <destination_directory>$INSTALL_DIR</destination_directory>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
13 </action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
14 </actions>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
15 <!-- Download the binaries for BLAST+ compatible with 64-bit Linux. -->
2e9109a8924f Uploaded
iuc
parents:
diff changeset
16 <actions os="linux" architecture="x86_64">
2e9109a8924f Uploaded
iuc
parents:
diff changeset
17 <!-- Original URL https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-x64-linux.tar.gz -->
2e9109a8924f Uploaded
iuc
parents:
diff changeset
18 <action type="download_by_url" sha256sum="1df64183dcb1ee9493813b850bd83e7b83d3c04ea26f2ad7d2b5d0a6d53de917" target_filename="ncbi-blast-2.7.1+-x64-linux.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.7.1_linux_x64.tar.gz</action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
19 <action type="move_directory_files">
2e9109a8924f Uploaded
iuc
parents:
diff changeset
20 <source_directory>bin</source_directory>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
21 <destination_directory>$INSTALL_DIR</destination_directory>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
22 </action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
23 </actions>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
24 <actions>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
25 <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not supported."</action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
26 <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
27 <action type="shell_command">uname</action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
28 <action type="shell_command">arch</action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
29 <action type="shell_command">echo "Please report this via https://github.com/peterjc/galaxy_blast/issues - thank you!"</action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
30 <action type="shell_command">false</action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
31 <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
2e9109a8924f Uploaded
iuc
parents:
diff changeset
32 </actions>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
33 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
2e9109a8924f Uploaded
iuc
parents:
diff changeset
34 <action type="set_environment">
2e9109a8924f Uploaded
iuc
parents:
diff changeset
35 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
36 <environment_variable name="BLAST_ROOT_DIR" action="set_to">$INSTALL_DIR</environment_variable>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
37 </action>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
38 </actions_group>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
39 </install>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
40 <readme>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
41 Downloads the precompiled 64 bit Linux, or Mac OS X BLAST+ binaries from the NCBI,
2e9109a8924f Uploaded
iuc
parents:
diff changeset
42 which is faster than performing a local compilation, avoids any issues with build
2e9109a8924f Uploaded
iuc
parents:
diff changeset
43 dependencies, and is more reproducible between installations as there is no
2e9109a8924f Uploaded
iuc
parents:
diff changeset
44 variability from the compiler or library versions.
2e9109a8924f Uploaded
iuc
parents:
diff changeset
45
2e9109a8924f Uploaded
iuc
parents:
diff changeset
46 Note that NCBI do not provide any 32 bit binaries anymore.
2e9109a8924f Uploaded
iuc
parents:
diff changeset
47
2e9109a8924f Uploaded
iuc
parents:
diff changeset
48 For more details, see:
2e9109a8924f Uploaded
iuc
parents:
diff changeset
49 http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs&amp;DOC_TYPE=Download
2e9109a8924f Uploaded
iuc
parents:
diff changeset
50 </readme>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
51 </package>
2e9109a8924f Uploaded
iuc
parents:
diff changeset
52 </tool_dependency>