view tool_dependencies.xml @ 1:963992658bf6 draft

Uploaded
author bgruening
date Fri, 06 Sep 2013 03:48:34 -0400
parents 5d0050880725
children 84c54f1fa280
line wrap: on
line source

<tool_dependency>
    <package name="blat" version="35x1">
        <install version="1.0">
            <actions>

                <action type="download_binary">
                    <url_template os="linux" architecture="x86_64">https://github.com/bgruening/download_store/raw/master/ucsc/linux/x86_64/blat_35x1</url_template>
                    <url_template os="darwin" architecture="i686">https://github.com/bgruening/download_store/raw/master/ucsc/darwin/i386/blat_35x1</url_template>
                    <url_template os="darwin" architecture="i386">https://github.com/bgruening/download_store/raw/master/ucsc/darwin/i386/blat_35x1</url_template>
                    <url_template os="darwin" architecture="x86_64">https://github.com/bgruening/download_store/raw/master/ucsc/darwin/x86_64/blat_35x1</url_template>
                </action>

                <action type="move_file">
                    <source>$INSTALL_DIR/blat_35x1</source>
                    <destination>$INSTALL_DIR/blat</destination>
                </action>
                <action type="chmod">
                    <file mode="755">$INSTALL_DIR/blat</file>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="append_to">$INSTALL_DIR</environment_variable>
                    <environment_variable name="BLAT_PATH" action="append_to">$INSTALL_DIR</environment_variable>
                </action>

                <!--
                Alternative version from Nicola Soranzo.
                <action type="download_by_url" target_filename="blatSrc.zip">http://hgwdev.cse.ucsc.edu/~kent/src/blatSrc35.zip</action>
                <action type="shell_command">export MACHTYPE=`uname -m` &amp;&amp; export HOME=$INSTALL_DIR &amp;&amp; mkdir -p $HOME/bin/$MACHTYPE &amp;&amp; make</action>
                <action type="set_environment">
                  <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin/`uname -m`</environment_variable>
                </action>
                -->

            </actions>
        </install>
        <readme>
        blat programm from the UCSC. http://genome.ucsc.edu/FAQ/FAQblat.html

        Please note that the Blat source and executables are freely available for
        academic, nonprofit and personal use. Commercial licensing information is
        available on the Kent Informatics website (http://www.kentinformatics.com/).
        </readme>
    </package>
</tool_dependency>