24
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3
|
63
|
4 <!-- the following repo does NOT work out of the box:
|
58
|
5 <package name="package_r3_withx" version="3.0.1">
|
|
6 <repository changeset_revision="abc274f22004" name="package_r3_withx" owner="joachim-jacob" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
|
24
|
7 </package>
|
63
|
8 -->
|
64
|
9
|
|
10 <package name="R" version="3.1.0">
|
|
11 <repository changeset_revision="a6cc7706ea14" name="package_r_3_1_0" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" />
|
63
|
12 </package>
|
24
|
13
|
28
|
14 <package name="package_biocLite_edgeR_limma" version="latest">
|
24
|
15 <install version="1.0">
|
|
16 <actions>
|
|
17 <action type="set_environment_for_install">
|
61
|
18 <!-- the following repo does NOT work out of the box:
|
56
|
19 <repository changeset_revision="abc274f22004" name="package_r3_withx" owner="joachim-jacob" toolshed="http://testtoolshed.g2.bx.psu.edu/">
|
|
20 <package name="package_r3_withx" version="3.0.1" />
|
|
21 </repository>
|
61
|
22 -->
|
64
|
23 <repository changeset_revision="a6cc7706ea14" name="package_r_3_1_0" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu/">
|
|
24 <package name="R" version="3.1.0" />
|
61
|
25 </repository>
|
24
|
26 </action>
|
|
27 <action type="make_directory">$INSTALL_DIR</action>
|
|
28 <action type="shell_command">echo "source('http://bioconductor.org/biocLite.R')" > $INSTALL_DIR/runme.R</action>
|
|
29 <action type="shell_command">echo "installme=c('edgeR','limma')" >> $INSTALL_DIR/runme.R</action>
|
|
30 <action type="shell_command">echo "biocLite()" >> $INSTALL_DIR/runme.R</action>
|
|
31 <action type="shell_command">echo "biocLite(installme)" >> $INSTALL_DIR/runme.R</action>
|
|
32 <action type="shell_command">echo "install.packages(c('stringr','gplots'),dependencies=T,repos='http://cran.us.r-project.org')" >> $INSTALL_DIR/runme.R</action>
|
|
33 <action type="shell_command">echo "quit(save='no')" >> $INSTALL_DIR/runme.R</action>
|
|
34 <action type="shell_command">export PATH=$PATH && export R_HOME=$R_HOME && export R_LIBS=$R_LIBS && R CMD BATCH $INSTALL_DIR/runme.R </action>
|
|
35 </actions>
|
|
36 </install>
|
|
37 <readme>
|
28
|
38 Installs the latest bioc packages edgeR & Limma
|
24
|
39 </readme>
|
|
40 </package>
|
|
41
|
|
42 </tool_dependency>
|