view tool_dependencies.xml @ 3:3398919bc103 draft

Comment tool_dependencies.xml
author Jim Johnson <jj@umn.edu>
date Mon, 29 Oct 2012 16:05:59 -0500
parents 53258f6dddd3
children 10132903b38b
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="KronaTools" version="2.2">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://sourceforge.net/projects/krona/files/KronaTools%20%28Mac%2C%20Linux%29/KronaTools-2.2.tar</action>
                <!-- Downloaded NCBI taxonomy will be over 1.8GB after processing,  Instead of $INSTALL_DIR/  maybe should be in a galaxy data dir -->
                <action type="make_directory">$INSTALL_DIR/taxonomy</action>
                <!-- With prefix arg "$INSTALL_DIR" installs code into: $INSTALL_DIR/bin/ -->
                <action type="shell_command">perl install.pl --prefix $INSTALL_DIR --taxonomy $INSTALL_DIR/taxonomy</action>
                <!-- Down load and process NCBI Taxonomy data -->
                <action type="shell_command">./updateTaxonomy.sh</action>
                <!-- copy javascript to galaxy/static/krona/ 
                <action type="shell_command">./deployResources.sh /static/krona</action>
                -->
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>http://sourceforge.net/p/krona/home/krona/</readme>
    </package>
</tool_dependency>