annotate tool_dependencies.xml @ 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
2 <tool_dependency>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
3 <package name="blast+" version="2.2.28">
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
4 <install version="1.0">
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
5 <actions>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
6 <action type="set_environment">
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
7 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
8 </action>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
9 <!-- arch under Linux 32bit includes some variants like i386 and i686, so use as default -->
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
10 <action type="shell_command">
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
11 if [[ "$(uname)" == "Linux" ]]; then export FILENAME="ncbi-blast-2.2.28+-ia32-linux.tar.gz"; fi &amp;&amp;
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
12 if [[ "$(arch)" == "x86_64" ]]; then export FILENAME="ncbi-blast-2.2.28+-x64-linux.tar.gz"; fi &amp;&amp;
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
13 if [[ "$(uname)" == "Darwin" ]]; then export FILENAME="ncbi-blast-2.2.28+-universal-macosx.tar.gz"; fi &amp;&amp;
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
14 echo Fetching $FILENAME &amp;&amp;
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
15 if [[ "$(uname)" == "Linux" ]]; then wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/$FILENAME; fi &amp;&amp;
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
16 if [[ "$(uname)" == "Darwin" ]]; then curl -O ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/$FILENAME; fi &amp;&amp;
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
17 tar -zxvf $FILENAME &amp;&amp;
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
18 echo Downloaded and decompressed
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
19 </action>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
20 <!-- move the binaries to the installation directory which is now on the $PATH -->
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
21 <action type="move_directory_files">
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
22 <source_directory>ncbi-blast-2.2.28+/bin</source_directory>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
23 <destination_directory>$INSTALL_DIR</destination_directory>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
24 </action>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
25 </actions>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
26 </install>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
27 <readme>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
28 Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X BLAST+
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
29 binaries from the NCBI, which is faster than performing a local compliation,
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
30 avoids any issues with build dependencies, and is more reproducible between
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
31 installations as there is no variability from the compiler or library versions.
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
32
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
33 For more details, see:
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
34 http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs&amp;DOC_TYPE=Download
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
35 </readme>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
36 </package>
ed85ca8e4295 Uploaded definition based on that for BLAST+ 2.2.26
iuc
parents:
diff changeset
37 </tool_dependency>