|
2
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3
|
|
|
4 <package name="R" version="3.1.2">
|
|
|
5
|
|
4
|
6 <repository changeset_revision="41f43a2064ba" name="package_r_3_1_2" owner="iuc" prior_installation_required="True"/>
|
|
2
|
7
|
|
|
8 </package>
|
|
|
9
|
|
|
10
|
|
|
11 <package name="mpagenomics" version="1.1.2">
|
|
|
12
|
|
|
13 <install version="1.0">
|
|
|
14
|
|
|
15 <actions>
|
|
|
16
|
|
|
17 <action type="set_environment_for_install">
|
|
|
18
|
|
4
|
19 <repository changeset_revision="41f43a2064ba" name="package_r_3_1_2" owner="iuc">
|
|
2
|
20
|
|
|
21 <package name="R" version="3.1.2" />
|
|
|
22
|
|
|
23 </repository>
|
|
|
24
|
|
|
25 </action>
|
|
|
26
|
|
|
27
|
|
|
28 <!--action type="download_file">http://www.bioconductor.org/packages/release/bioc/src/contrib/DNAcopy_1.42.0.tar.gz</action>
|
|
|
29 <action type="download_file">http://cran.r-project.org/src/contrib/MPAgenomics_1.1.2.tar.gz</action>
|
|
|
30 <action type="download_file">http://www.braju.com/R/repos/sfit_0.3.0.tar.gz</action>
|
|
|
31 <action type="download_file">http://www.bioconductor.org/packages/release/bioc/src/contrib/affxparser_1.40.0.tar.gz</action>
|
|
|
32
|
|
|
33 <action type="download_file">http://www.bioconductor.org/packages/release/bioc/src/contrib/aroma.light_2.4.0.tar.gz</action>
|
|
|
34
|
|
|
35 <action type="download_file">http://cran.r-project.org/src/contrib/aroma.affymetrix_2.13.0.tar.gz</action>
|
|
|
36 <action type="download_file">http://cran.r-project.org/src/contrib/aroma.cn_1.6.0.tar.gz</action-->
|
|
|
37 <action type="make_directory">$INSTALL_DIR/mpagenomics/</action>
|
|
|
38
|
|
|
39 <action type="shell_command">
|
|
|
40
|
|
|
41 export PATH=$PATH:$R_HOME/bin &&
|
|
|
42
|
|
|
43 export R_LIBS=$INSTALL_DIR/mpagenomics/ &&
|
|
|
44
|
|
|
45 Rscript -e "source('http://www.braju.com/R/hbLite.R')" -e "hbLite('sfit')" -e "source('http://bioconductor.org/biocLite.R')" -e "biocLite('affxparser')" -e "biocLite('DNAcopy')" -e "biocLite('aroma.light')" -e "install.packages(c('aroma.affymetrix','aroma.cn'),lib='$INSTALL_DIR/mpagenomics/', repos='http://cran.us.r-project.org', dependencies=TRUE)" -e "install.packages('MPAgenomics',lib='$INSTALL_DIR/mpagenomics/', repos='http://cran.us.r-project.org', dependencies=TRUE)"
|
|
|
46 </action>
|
|
|
47 <action type="set_environment">
|
|
|
48
|
|
|
49 <environment_variable action="append_to" name="R_LIBS">$INSTALL_DIR/mpagenomics/</environment_variable>
|
|
|
50
|
|
|
51 </action>
|
|
|
52
|
|
|
53 </actions>
|
|
|
54
|
|
|
55 </install>
|
|
|
56
|
|
|
57 <readme>
|
|
|
58
|
|
|
59 mpagenomics
|
|
|
60
|
|
|
61 Ubuntu has a bug with libgfortran. To fix that create a symlink like: sudo ln -s /usr/lib/x86_64-linux-gnu/libgfortran.so.3 /usr/lib/x86_64-linux-gnu/libgfortran.so
|
|
|
62
|
|
|
63 </readme>
|
|
|
64
|
|
|
65 </package>
|
|
|
66
|
|
|
67 </tool_dependency>
|