view tool_dependencies.xml @ 1:f03dc0347e70 draft default tip

planemo upload commit d476446dd23645b740023fe2abacabeefca4c5a1
author yating-l
date Wed, 31 May 2017 11:40:50 -0400
parents b977527e6e14
children
line wrap: on
line source

<?xml version="1.0" ?>
<tool_dependency>
    <package name="ucsc_twobit" version="340">
        <install version="1.0">
            <actions_group>
                <actions os="darwin" architecture="x86_64">
                    <action type="download_by_url"
                            sha256sum="802a44835422045178bf6257254a822639fb6eb6947e9afc8de9aad0a8a62d0e">
                        http://old-gep.wustl.edu/~galaxy/packages/ucsc_twobit_340_macOS_x86_64.tar.gz
                    </action>
                    <action type="move_directory_files">
                        <source_directory>bin</source_directory>
                        <destination_directory>$INSTALL_DIR/bin</destination_directory>
                    </action>
                </actions>

                <actions os="linux" architecture="x86_64">
                    <action type="download_by_url"
                            sha256sum="cd923a2993eebba7cbaa01a7283c60b4839f5edee232227645fb7d47b1380b0a">
                        http://old-gep.wustl.edu/~galaxy/packages/ucsc_twobit_340_linux_x86_64.tar.gz
                    </action>
                    <action type="move_directory_files">
                        <source_directory>bin</source_directory>
                        <destination_directory>$INSTALL_DIR/bin</destination_directory>
                    </action>
                </actions>

                <!-- Display error message for unsupported OS and CPU architecture -->
                <actions>
                    <action type="shell_command">
                        echo "ERROR: This package only supports 64-bit systems running macOS or Linux"
                    </action>
                    <action type="shell_command">false</action>
                </actions>

                <!-- update $PATH environment variable -->
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions_group>
        </install>
        <readme>
        <![CDATA[
            This package contains the utilities for constructing and manipulating
            `twoBit files <https://genome.ucsc.edu/goldenpath/help/twoBit.html>`_.
            The utilities were created by the
            `Genome Bioinformatics Group <https://genome.ucsc.edu/staff.html>`_
            at the UCSC Genomics Institute.

            The twoBit file format is designed to store genomic sequences and the
            associated repeat masking information. The twoBit file is used by the
            UCSC Genome Browser and by tools such as
            `BLAT <https://genome.ucsc.edu/goldenpath/help/blatSpec.html>`_.
        ]]>
        </readme>
    </package>
</tool_dependency>