view tool_dependencies.xml @ 61:dfc1046c8806 draft

Uploaded
author fubar
date Mon, 10 Feb 2014 05:47:52 -0500
parents
children 7b3d0a330e57
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
<!--
Atlas will not compile for me - it thinks we have autoscaling on
so we need libopenblas-base installed on all nodes after commenting this and the set environment reference...
grrr
-->
    <package name="atlas" version="3.11.11">
        <repository changeset_revision="02bc9f241131" name="package_atlas_3_11" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
    </package>

    <package name="r302" version="3.0.2">
        <repository changeset_revision="e5d9e2ca3ba6" name="package_r302" owner="fubar" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
    </package>
    <package name="ghostscript" version="9.10">
        <repository changeset_revision="9345d2740f0c" name="package_ghostscript_9_10" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
    </package>
    <package name="graphicsmagick" version="1.3.18">
        <repository changeset_revision="2fd4eb971ba5" name="package_graphicsmagick_1_3" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
    </package>
    <package name="biocbasics" version="2.14">
        <install version="1.0"> 
            <actions>
                <action type="set_environment_for_install">
                    <repository changeset_revision="e5d9e2ca3ba6" name="package_r302" owner="fubar" toolshed="http://testtoolshed.g2.bx.psu.edu/">
                        <package name="r302" version="3.0.2" />
                    </repository>
                    <repository changeset_revision="02bc9f241131" name="package_atlas_3_11" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu/">
                        <package name="atlas" version="3.11.11" />
                    </repository>
                </action>
                <action type="make_directory">$INSTALL_DIR</action>
                <action type="shell_command">echo "source('http://bioconductor.org/biocLite.R')" &gt; $INSTALL_DIR/runme.R</action>
                <action type="shell_command">echo "installme=c('edgeR','limma','DESeq','DESeq2')" &gt;&gt; $INSTALL_DIR/runme.R</action>
                <action type="shell_command">echo "biocLite()" &gt;&gt; $INSTALL_DIR/runme.R</action>
                <action type="shell_command">echo "biocLite(installme)" &gt;&gt; $INSTALL_DIR/runme.R</action>
                <action type="shell_command">echo "install.packages(c('stringr','gplots'),dependencies=T,repos='http://cran.us.r-project.org')" &gt;&gt; $INSTALL_DIR/runme.R</action>
                <action type="shell_command">echo "quit(save='no')" &gt;&gt; $INSTALL_DIR/runme.R</action>                
                <action type="shell_command"> export PATH=$PATH &amp;&amp; export R_HOME=$R_HOME &amp;&amp; export R_LIBS=$R_LIBS &amp;&amp; R CMD BATCH $INSTALL_DIR/runme.R </action>
            </actions>
        </install>
        <readme>Installs some basic bioc packages for the edgeR wrapper and dependencies graphicsmagick (replaces imagemagick) and ghostscript for compressing R's bloated pdfs
        It's clunky but this is the most convenient way I could get anything installed into the package_r3
        Note we use cran at fred hutch since no fastest mirror thingy
        If atlas will not compile - eg: it thinks autoscaling is on or something,
        you need (eg for ubuntu) libopenblas-base installed on all nodes after commenting or removing all atlas references
       </readme>
    </package>
</tool_dependency>