view tool_dependencies.xml @ 3:b4030d9375b2 draft default tip

planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/packages/package_blast_plus_2_2_30/ commit 3f6b5c953d522a724bbcd403bcb86f1e2757a556-dirty
author peterjc
date Fri, 03 Feb 2017 12:36:03 -0500
parents 6b84c917eb9e
children
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<tool_dependency>
    <package name="blast+" version="2.2.30">
        <install version="1.0">
            <actions_group>
                <!-- Download the binaries for BLAST+ compatible with 64-bit OSX. -->
                <actions os="darwin" architecture="x86_64">
                    <!-- Original URL ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.30/ncbi-blast-2.2.30+-universal-macosx.tar.gz -->
                    <action type="download_by_url" sha256sum="5ecd357f4094c9e26202de59d0947a30d483c6ef0a6670faa13051602835c3ca" target_filename="ncbi-blast-2.2.30+-universal-macosx.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.2.30_darwin_all.tar.gz</action>
                    <action type="move_directory_files">
                         <source_directory>bin</source_directory>
                         <destination_directory>$INSTALL_DIR</destination_directory>
                     </action>
                </actions>
                <!-- Download the binaries for BLAST+ compatible with 32-bit OSX. -->
                <actions os="darwin" architecture="i386">
                    <!-- Original URL ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.30/ncbi-blast-2.2.30+-universal-macosx.tar.gz -->
                    <action type="download_by_url" sha256sum="5ecd357f4094c9e26202de59d0947a30d483c6ef0a6670faa13051602835c3ca" target_filename="ncbi-blast-2.2.30+-universal-macosx.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.2.30_darwin_all.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>bin</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                </actions>
                <!-- Download the binaries for BLAST+ compatible with 64-bit Linux. -->
                <actions os="linux" architecture="x86_64">
                    <!-- Original URL ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.30/ncbi-blast-2.2.30+-x64-linux.tar.gz -->
                    <action type="download_by_url" sha256sum="1e6f2080b09bd5d272d9652c63bcb25abc0b16ffd36bd25973afb31f0387e792" target_filename="ncbi-blast-2.2.30+-x64-linux.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.2.30_linux_x64.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>bin</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                </actions>
                <!-- Download the binaries for BLAST+ compatible with 32-bit Linux (i386). -->
                <actions os="linux" architecture="i386">
                    <!-- Original URL ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.30/ncbi-blast-2.2.30+-ia32-linux.tar.gz -->
                    <action type="download_by_url" sha256sum="3ebc0284391c5fa6465c60ad9d292d9d46b783fbea1f0c3a99e9838c60c1d2d3" target_filename="ncbi-blast-2.2.30+-ia32-linux.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.2.30_linux_x32.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>bin</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                </actions>
                <!-- Download the binaries for BLAST+ compatible with 32-bit Linux (i686). -->
                <actions os="linux" architecture="i686">
                    <!-- Original URL ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.30/ncbi-blast-2.2.30+-ia32-linux.tar.gz -->
                    <action type="download_by_url" sha256sum="3ebc0284391c5fa6465c60ad9d292d9d46b783fbea1f0c3a99e9838c60c1d2d3" target_filename="ncbi-blast-2.2.30+-ia32-linux.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.2.30_linux_x32.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>bin</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                </actions>
                <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
                <actions>
                    <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported."</action>
                    <action type="shell_command">echo "Your machine details (the output from 'uname' and 'arch'):"</action>
                    <action type="shell_command">uname</action>
                    <action type="shell_command">arch</action>
                    <action type="shell_command">echo "Please report this via https://github.com/peterjc/galaxy_blast/issues - thank you!"</action>
                    <action type="shell_command">false</action>
                    <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
                </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 name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                    <environment_variable name="BLAST_ROOT_DIR" action="set_to">$INSTALL_DIR</environment_variable>
                </action>
            </actions_group>
        </install>
        <readme>
Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X BLAST+
binaries from the NCBI, which is faster than performing a local compilation,
avoids any issues with build dependencies, and is more reproducible between
installations as there is no variability from the compiler or library versions.

For more details, see:
http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs&amp;DOC_TYPE=Download
        </readme>
    </package>
</tool_dependency>