view tool_dependencies.xml @ 16:e2df6fe8b447 draft

Uploaded
author bgruening
date Fri, 11 Oct 2013 16:46:08 -0400
parents 9a099b9b6857
children 213d82f33fc2
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="blast+" version="2.2.28">
        <repository changeset_revision="5a449da71d08" name="package_blast_plus_2_2_28" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="hmmer" version="3.0">
        <repository changeset_revision="a44693e3a2c4" name="package_hmmer_3_0" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="muscle" version="3.8.31">
        <repository changeset_revision="ce304c51f69b" name="package_muscle_3_8_31" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="antismash_python_deps" version="2.0.2">
        <install version="1.0">
            <actions>
                <action type="setup_virtualenv">helperlibs==0.1.2
straight.plugin==1.4.0-post-1</action>
            </actions>
        </install>
        <readme>
            AntiSmash python dependencies (helperlibs and straight.plugin)
        </readme>
    </package>
    <package name="antismash" version="2.0.2">
        <install version="1.0">
           <actions_group>
                <!-- Download the binaries for MUSCLE compatible with 64-bit OSX. -->
                <actions architecture="x86_64" os="darwin">
                    <action type="download_by_url">https://bitbucket.org/antismash/antismash2/downloads/antiSMASH2.0.2_macosx.zip</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                    <action type="chmod">
                        <file mode="750">$INSTALL_DIR/run_antismash.py</file>
                    </action>
                    <!-- AntiSmash has a prerequirement check that is not useful for us, because we
                        do not offer the option for genprediction and do not install glimmer and Co.
                        For that reason deactivate the check.
                    -->
                    <action type="shell_command">sed -i 's/check_prereqs(plugins, options) &gt; 0/True/g' $INSTALL_DIR/run_antismash.py</action>
                    <action type="download_file">https://bitbucket.org/antismash/antismash2/downloads/clusterblast.tar.gz</action>
                    <action type="shell_command">tar xfvz clusterblast.tar.gz -C $INSTALL_DIR/antismash/generic_modules/clusterblast</action>
                </actions>
                <!-- Download the binaries for MUSCLE compatible with 64-bit OSX. -->
                <actions architecture="i386" os="darwin">
                    <action type="download_by_url">https://bitbucket.org/antismash/antismash2/downloads/antiSMASH2.0.2_macosx.zip</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                    <action type="chmod">
                        <file mode="750">$INSTALL_DIR/run_antismash.py</file>
                    </action>
                    <!-- AntiSmash has a prerequirement check that is not useful for us, because we
                        do not offer the option for genprediction and do not install glimmer and Co.
                        For that reason deactivate the check.
                    -->
                    <action type="shell_command">sed -i 's/check_prereqs(plugins, options) &gt; 0/True/g' $INSTALL_DIR/run_antismash.py</action>
                    <action type="download_file">https://bitbucket.org/antismash/antismash2/downloads/clusterblast.tar.gz</action>
                    <action type="shell_command">tar xfvz clusterblast.tar.gz -C $INSTALL_DIR/antismash/generic_modules/clusterblast</action>
                </actions>
                <!-- Download the binaries for AntiSmash compatible with 64-bit Linux. -->
                <actions architecture="x86_64" os="linux">
                    <action target_filename="antismash-2.0.2.tar.bz2" type="download_by_url">https://bitbucket.org/antismash/antismash2/downloads/antismash-2.0.2.x86_64.tar.bz2</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                    <action type="chmod">
                        <file mode="750">$INSTALL_DIR/run_antismash.py</file>
                    </action>
                    <!-- AntiSmash has a prerequirement check that is not useful for us, because we
                        do not offer the option for genprediction and do not install glimmer and Co.
                        For that reason deactivate the check.
                    -->
                    <action type="shell_command">sed -i 's/check_prereqs(plugins, options) &gt; 0/True/g' $INSTALL_DIR/run_antismash.py</action>
                    <action type="download_file">https://bitbucket.org/antismash/antismash2/downloads/clusterblast.tar.gz</action>
                    <action type="shell_command">tar xfvz clusterblast.tar.gz -C $INSTALL_DIR/antismash/generic_modules/clusterblast</action>
                </actions>
                <!-- Download the binaries for AntiSmash compatible with 32-bit Linux. -->
                <actions architecture="i386" os="linux">
                    <action type="download_by_url">https://bitbucket.org/antismash/antismash2/downloads/antismash-2.0.2.i686.tar.bz2</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                    <action type="chmod">
                        <file mode="750">$INSTALL_DIR/run_antismash.py</file>
                    </action>
                    <!-- AntiSmash has a prerequirement check that is not useful for us, because we
                        do not offer the option for genprediction and do not install glimmer and Co.
                        For that reason deactivate the check.
                    -->
                    <action type="shell_command">sed -i 's/check_prereqs(plugins, options) &gt; 0/True/g' $INSTALL_DIR/run_antismash.py</action>
                    <action type="download_file">https://bitbucket.org/antismash/antismash2/downloads/clusterblast.tar.gz</action>
                    <action type="shell_command">tar xfvz clusterblast.tar.gz -C $INSTALL_DIR/antismash/generic_modules/clusterblast</action>
                </actions>

                <actions>

                </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 action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR</environment_variable>
                </action>
            </actions_group>
        </install>
        <readme>
            AntiSmash installation with all dependencies.
        </readme>
    </package>
</tool_dependency>