view tool_dependencies.xml @ 0:2e9109a8924f draft default tip

Uploaded
author iuc
date Mon, 30 Oct 2017 10:46:49 -0400
parents
children
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<tool_dependency>
    <package name="blast" version="2.7.1">
        <install version="1.0">
            <actions_group>
                <!-- Download the binaries for BLAST+ compatible with 64-bit OSX. -->
                <actions os="darwin" architecture="x86_64">
                    <!-- Original URL https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-x64-macosx.tar.gz -->
                    <action type="download_by_url" sha256sum="1de96e0168771d02e1e4d5796e01c6f09073ce61f74aaba23c541750973554ea" target_filename="ncbi-blast-2.7.1+-x64-macosx.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.7.1_darwin_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 64-bit Linux. -->
                <actions os="linux" architecture="x86_64">
                    <!-- Original URL https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-x64-linux.tar.gz -->
                    <action type="download_by_url" sha256sum="1df64183dcb1ee9493813b850bd83e7b83d3c04ea26f2ad7d2b5d0a6d53de917" target_filename="ncbi-blast-2.7.1+-x64-linux.tar.gz">https://depot.galaxyproject.org/software/blast_plus/blast_plus_2.7.1_linux_x64.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>bin</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                </actions>
                <actions>
                    <action type="shell_command">echo "ERROR: Automated installation on your operating system and CPU architecture combination is not 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 64 bit 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.

Note that NCBI do not provide any 32 bit binaries anymore.

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>