Skip to content

Commit 565a0c6

Browse files
committed
Add ANCOM environment definition
1 parent a8bf074 commit 565a0c6

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: ancombc
2+
channels:
3+
- conda-forge
4+
- bioconda
5+
- defaults
6+
dependencies:
7+
- r-base=4.3.3
8+
- r-optparse=1.7.5
9+
- r-taxize=0.9.100
10+
- r-tidyverse=2.0.0
11+
- r-desctools=0.99.57
12+
- r-ggrepel=0.9.6
13+
- r-patchwork=1.3.0
14+
- r-here=1.0.1
15+
- r-glue=1.8.0
16+
- bioconductor-phyloseq=1.46.0
17+
- bioconductor-mia=1.10.0
18+
- bioconductor-ancombc=2.4.0
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM obiba/obiba-r:4.4.1
2+
3+
4+
LABEL AUTHOR="Olabiyi Obayomi"
5+
LABEL EMAIL="obadbotanist@yahoo.com"
6+
7+
# Update environment
8+
RUN apt-get update -y && apt-get upgrade -y
9+
# Install dependencies
10+
RUN apt-get remove -y libmariadb-dev && apt-get install -y libgdal-dev
11+
RUN apt-get install -y libgsl-dev
12+
RUN apt-get install -y libgmp-dev
13+
RUN apt-get install -y libmpfr-dev
14+
15+
# Install R packages
16+
RUN Rscript -e "install.packages(c('BiocManager', 'devtools', 'tidyverse', 'knitr', 'rmarkdown'), repos=c('https://cloud.r-project.org', 'https://cran.obiba.org'), dependencies=TRUE, lib='/usr/local/lib/R/site-library')"
17+
RUN Rscript -e "install.packages('unixtools', repos = 'http://www.rforge.net/')" # buildkit
18+
RUN Rscript -e "install.packages(c('remotes', 'jsonlite', 'furrr', 'glue', 'optparse', 'patchwork', 'ggrepel', 'here', 'DescTools'))"
19+
RUN Rscript -e "remotes::install_github(c('ropensci/bold', 'ropensci/taxize'), upgrade=TRUE)"
20+
RUN Rscript -e "install.packages(c('gsl', 'gmp', 'Rmpfr', 'CVXR', 'energy'))"
21+
RUN Rscript -e "BiocManager::install(c('phyloseq', 'DirichletMultinomial', 'mia', 'ANCOMBC'))"
22+
23+
CMD ["bash"]
24+
25+

0 commit comments

Comments
 (0)