view tools/blast2go/tool_dependencies.xml @ 23:31cb702eb5a8 draft

Uploaded v0.0.9, embed citation, updated README
author peterjc
date Thu, 31 Jul 2014 05:40:57 -0400
parents
children
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 &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>