view blast2go/tool_dependencies.xml @ 17:015aef74b75c draft

Uploaded v0.0.8 preview 12, edit the default configuration file to use the August 2012 database.
author peterjc
date Sun, 15 Sep 2013 15:27:41 -0400
parents
children cfef49c32fd0
line wrap: on
line source

<?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 &&
sed -i "s/Dbacces.dbname=b2g_apr12/Dbacces.dbname=b2g_aug12/g" Spain_2012_August.properties &&
sed -i "s/Dbacces.dbhost=10.10.100.203/Dbacces.dbhost=publicdb.blast2go.com/g" Spain_2012_August.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>