view tool_dependencies.xml @ 2:82814a8a2395 draft

added samtools 0.1.19 as dependency
author bgruening
date Wed, 21 Aug 2013 05:19:54 -0400
parents 9d02cd7883ad
children 91f07ff056ca
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="samtools" version="0.1.19">
        <repository changeset_revision="cb87eae7fc3e" name="package_samtools_0_1_19" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <set_environment version="1.0">
        <environment_variable action="set_to" name="SCRIPT_PATH">$REPOSITORY_INSTALL_DIR</environment_variable>
    </set_environment>
    <package name="bowtie2" version="2.1.0">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://downloads.sourceforge.net/project/bowtie-bio/bowtie2/2.1.0/bowtie2-2.1.0-source.zip</action>
                <action type="shell_command">make</action>
                <action type="move_file">
                    <source>bowtie2</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="move_file">
                    <source>bowtie2-align</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="move_file">
                    <source>bowtie2-build</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="shell_command">chmod +x $INSTALL_DIR/bin/bowtie2</action>
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
Compiling bowtie2 requires zlib and libpthread to be present on your system.
        </readme>
    </package>
    <package name="bowtie" version="0.12.8">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://downloads.sourceforge.net/project/bowtie-bio/bowtie/0.12.8/bowtie-0.12.8-src.zip</action>
                <action type="shell_command">make</action>
                <action type="move_file">
                    <source>bowtie</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="move_file">
                    <source>bowtie-inspect</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="move_file">
                    <source>bowtie-build</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
        </readme>
    </package>
</tool_dependency>