view tool_dependencies.xml @ 3:59252ca85c74 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/sortmerna commit 5a8ffc52b7076d8d4fbc9649703bb4c0155b726c
author rnateam
date Wed, 15 Jun 2016 05:31:46 -0400
parents 3699b6b771e0
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="sortmerna" version="2.1b">
        <install version="1.0">
            <actions_group>
                <actions architecture="x86_64" os="linux">
                    <action type="download_by_url" target_filename="sortmerna-2.1b.tar.gz">https://github.com/biocore/sortmerna/archive/2.1b.tar.gz</action>
                    <action type="shell_command"><![CDATA[
                        ./build.sh --prefix=$INSTALL_DIR
                    ]]>
                    </action>
                    <action type="shell_command">make install</action>
                    <action type="make_directory">$INSTALL_DIR/rRNA_databases/</action>
                    <action type="move_directory_files">
                        <source_directory>rRNA_databases/</source_directory>
                        <destination_directory>$INSTALL_DIR/rRNA_databases/</destination_directory>
                    </action>
                    <action type="set_environment">
                        <environment_variable name="SORTMERNADIR" action="set_to">$INSTALL_DIR/</environment_variable>
                        <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                    </action>
                </actions>
                <actions architecture="x86_64" os="darwin">
                    <action type="download_by_url" target_filename="sortmerna-2.1b.tar.gz">https://github.com/biocore/sortmerna/archive/2.1b.tar.gz</action>
                    <action type="shell_command"><![CDATA[
                        export CC=gcc-mp-4.8 && export CXX=g++-mp-4.8 && ./build.sh --prefix=$INSTALL_DIR && make install
                    ]]>
                    </action>
                    <action type="make_directory">$INSTALL_DIR/rRNA_databases/</action>
                    <action type="move_directory_files">
                        <source_directory>rRNA_databases/</source_directory>
                        <destination_directory>$INSTALL_DIR/rRNA_databases/</destination_directory>
                    </action>
                    <action type="set_environment">
                        <environment_variable name="SORTMERNADIR" action="set_to">$INSTALL_DIR/</environment_variable>
                        <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                    </action>
                </actions>
            </actions_group>
        </install>
        <readme>
        SortMeRNA requires g++ 4.8 or later.

        Note: the Clang compiler on Mac (distributed through Xcode) does not
        support multithreading. The user is recommended to install the original
        GCC compiler via MacPorts
        </readme>
    </package>
</tool_dependency>