32
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="package_r3" version="3.0.1">
|
|
4 <repository changeset_revision="6344ee60d0cf" name="package_r3" owner="fubar" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
|
|
5 </package>
|
|
6 <package name="biocbasics" version="2.12">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="set_environment_for_install">
|
|
10 <repository changeset_revision="6344ee60d0cf" name="package_r3" owner="fubar" toolshed="http://testtoolshed.g2.bx.psu.edu/">
|
|
11 <package name="r3" version="3.0.1" />
|
|
12 </repository>
|
|
13 </action>
|
|
14 <action type="make_directory">$INSTALL_DIR</action>
|
|
15 <action type="shell_command">echo "source('http://bioconductor.org/biocLite.R')" > $INSTALL_DIR/runme.R</action>
|
|
16 <action type="shell_command">echo "installme=c('edgeR','limma','DESeq','DEXSeq','ggplot2','gplots')" >> $INSTALL_DIR/runme.R</action>
|
|
17 <action type="shell_command">echo "biocLite()" >> $INSTALL_DIR/runme.R</action>
|
|
18 <action type="shell_command">echo "biocLite(installme)" >> $INSTALL_DIR/runme.R</action>
|
|
19 <action type="shell_command">echo "quit(save='no')" >> $INSTALL_DIR/runme.R</action>
|
|
20 <action type="shell_command"> export PATH=$PATH && export R_HOME=$R_HOME && export R_LIBS=$R_LIBS &&
|
|
21 R CMD BATCH $INSTALL_DIR/runme.R > $INSTALL_DIR/install.log </action>
|
|
22 <action type="shell_command">cat $INSTALL_DIR/install.log</action>
|
|
23 </actions>
|
|
24 </install>
|
|
25 <readme>Installs some basic bioc packages for the edgeR wrapper
|
|
26 It's clunky but this is the only way I could get anything installed into the package_r3 R
|
|
27 </readme>
|
|
28 </package>
|
|
29 </tool_dependency>
|