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