diff tool_dependencies.xml @ 0:85e43fb3f363 draft default tip

Imported from capsule None
author devteam
date Mon, 19 May 2014 12:32:56 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Mon May 19 12:32:56 2014 -0400
@@ -0,0 +1,64 @@
+<?xml version='1.0' encoding='utf-8'?>
+<tool_dependency>
+    <package name="blast+" version="2.2.26+">
+        <install version="1.0">
+            <actions_group>
+                <!-- Download the binaries for BLAST+ compatible with 64-bit OSX. -->
+                <actions os="darwin" architecture="x86_64">
+                    <action type="download_by_url" target_filename="ncbi-blast-2.2.26+.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz</action>
+                    <action type="move_directory_files">
+                         <source_directory>bin</source_directory>
+                         <destination_directory>$INSTALL_DIR</destination_directory>
+                     </action>
+                </actions>
+                <!-- Download the binaries for BLAST+ compatible with 32-bit OSX. -->
+                <actions os="darwin" architecture="i386">
+                    <action type="download_by_url" target_filename="ncbi-blast-2.2.26+.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz</action>
+                    <action type="move_directory_files">
+                        <source_directory>bin</source_directory>
+                        <destination_directory>$INSTALL_DIR</destination_directory>
+                    </action>
+                </actions>
+                <!-- Download the binaries for BLAST+ compatible with 64-bit Linux. -->
+                <actions os="linux" architecture="x86_64">
+                    <action type="download_by_url" target_filename="ncbi-blast-2.2.26+.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-x64-linux.tar.gz</action>
+                    <action type="move_directory_files">
+                        <source_directory>bin</source_directory>
+                        <destination_directory>$INSTALL_DIR</destination_directory>
+                    </action>
+                </actions>
+                <!-- Download the binaries for BLAST+ compatible with 32-bit Linux (i386). -->
+                <actions os="linux" architecture="i386">
+                    <action type="download_by_url" target_filename="ncbi-blast-2.2.26+.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-ia32-linux.tar.gz</action>
+                    <action type="move_directory_files">
+                        <source_directory>bin</source_directory>
+                        <destination_directory>$INSTALL_DIR</destination_directory>
+                    </action>
+                </actions>
+                <!-- Download the binaries for BLAST+ compatible with 32-bit Linux (i686). -->
+                <actions os="linux" architecture="i686">
+                    <action type="download_by_url" target_filename="ncbi-blast-2.2.26+.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-ia32-linux.tar.gz</action>
+                    <action type="move_directory_files">
+                        <source_directory>bin</source_directory>
+                        <destination_directory>$INSTALL_DIR</destination_directory>
+                    </action>
+                </actions>
+                <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
+                <actions>
+                    <action type="download_by_url" target_filename="ncbi-blast-2.2.26+.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-src.tar.gz</action>
+                    <action type="shell_command">cd c++ &amp;&amp; ./configure --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
+                </actions>
+                <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions_group>
+        </install>
+        <readme>
+These links provide information for building the NCBI Blast+ package in most environments.
+
+System requirements
+http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs&amp;DOC_TYPE=Download
+        </readme>
+    </package>
+</tool_dependency>
\ No newline at end of file