changeset 102:851f3946c9d9 draft

Uploaded
author fubar
date Sun, 02 Mar 2014 23:20:48 -0500
parents df7ce9396d86
children 83dc8bc30254
files tool_dependencies.xml
diffstat 1 files changed, 11 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Sun Mar 02 23:10:55 2014 -0500
+++ b/tool_dependencies.xml	Sun Mar 02 23:20:48 2014 -0500
@@ -17,12 +17,17 @@
                         <package name="r303" version="3.0.3" />
                     </repository>
                 </action>
-                <action type="make_directory">$INSTALL_DIR</action>  
-                <action type="move_file">
-                    <source>runme.R</source>
-                    <destination>$INSTALL_DIR</destination>
-                </action>
-                <action type="shell_command">export PATH=$PATH &amp;&amp; R CMD BATCH $INSTALL_DIR/runme.R </action>
+                <action type="make_directory">$INSTALL_DIR</action>
+                <action type="shell_command">echo 'bioclite = "http://bioconductor.org/biocLite.R"' &gt; $INSTALL_DIR/runme.R</action>
+                <action type="shell_command">echo "source(bioclite)" &gt;&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">echo "PATH=$PATH 1&gt;&amp;2"</action>                
+                <action type="shell_command">echo "R_PATH=$R_PATH 1&gt;&amp;2"</action>                
+                <action type="shell_command">export PATH=$PATH &amp;&amp; $R_PATH/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