diff tools/blast2go/tool_dependencies.xml @ 8:e23b621eb7bb draft

Uploaded v0.0.9, embed citation, updated README
author peterjc
date Thu, 26 Mar 2015 11:15:22 -0400
parents
children 887adf823bc0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/blast2go/tool_dependencies.xml	Thu Mar 26 11:15:22 2015 -0400
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="b2g4pipe" version="2.5">
+        <install version="1.0">
+            <actions>
+                <!-- If used, download_by_url must be the first action -->	
+                <!-- The ZIP file decompresses to give a folder b2g4pipe -->
+                <action type="download_by_url">http://www.blast2go.com/data/blast2go/b2g4pipe_v2.5.zip</action>
+		<!-- Galaxy moves into the unzipped folder b2g4pipe -->
+                <action type="shell_command">
+cp b2gPipe.properties Spain_2012_August.properties &amp;&amp;
+sed -i "s/Dbacces.dbname=b2g_apr12/Dbacces.dbname=b2g_aug12/g" Spain_2012_August.properties &amp;&amp;
+sed -i "s/Dbacces.dbhost=10.10.100.203/Dbacces.dbhost=publicdb.blast2go.com/g" Spain_2012_August.properties
+                </action>
+                <action type="shell_command">
+cp b2gPipe.properties Spain_2011_June.properties &amp;&amp;
+sed -i "s/Dbacces.dbname=b2g_apr12/Dbacces.dbname=b2g_jun11/g" Spain_2011_June.properties &amp;&amp;
+sed -i "s/Dbacces.dbhost=10.10.100.203/Dbacces.dbhost=publicdb.blast2go.com/g" Spain_2011_June.properties
+                </action>
+                <action type="move_directory_files"><source_directory>.</source_directory><destination_directory>$INSTALL_DIR/</destination_directory></action>
+                <!-- Set environment variable $B2G4PIPE so Python script knows where to look -->
+                <action type="set_environment">
+                    <environment_variable name="B2G4PIPE" action="set_to">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+Downloads b2g4pipe v2.5
+        </readme>
+    </package>
+</tool_dependency>
+