From 7623dd3e7a59f95c73cfa6ddfea3809dc7f2ba42 Mon Sep 17 00:00:00 2001 From: Rodolfo Vieira Date: Sat, 10 Jun 2023 09:30:34 -0500 Subject: [PATCH 1/2] changing the GLS base container image --- nextflow.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nextflow.config b/nextflow.config index b104a28..e083b82 100644 --- a/nextflow.config +++ b/nextflow.config @@ -61,7 +61,8 @@ profiles { process { executor = 'google-lifesciences' - container = 'andersenlab/nemascan:20220407173056db3227' + //container = 'andersenlab/nemascan:20220407173056db3227' + container = 'northwesternmti/heritability-gls-base:latest' //machineType = 'n1-standard-1' withLabel: medium { From 9c890e4edd0fd13f185b0dbd1b247413916fd96f Mon Sep 17 00:00:00 2001 From: Rodolfo Vieira Date: Sat, 10 Jun 2023 09:30:39 -0500 Subject: [PATCH 2/2] reusing nemascan's GLS base image. upgrading R package dplyr to version 1.0.4. --- env/Dockerfile | 31 +++++++++++++++++++++++++------ env/conda.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 6 deletions(-) create mode 100644 env/conda.yml diff --git a/env/Dockerfile b/env/Dockerfile index 5803700..8a2d76e 100644 --- a/env/Dockerfile +++ b/env/Dockerfile @@ -1,7 +1,26 @@ -FROM rocker/tidyverse:3.6.0 -MAINTAINER Katie Evans +FROM continuumio/miniconda +MAINTAINER Katie Evans -RUN Rscript -e "install.packages(c('futile.logger', 'remotes', 'devtools'), dependencies=TRUE, repos='http://cran.us.r-project.org')" -RUN Rscript -e "remotes::install_github('lme4/lme4', build_vignettes=FALSE)" -RUN Rscript -e "remotes::install_version('sommer', version = '4.0.4', repos = 'http://cran.us.r-project.org')" -RUN Rscript -e "remotes::install_version('boot', version = '1.3-28', repos = 'http://cran.us.r-project.org')" +COPY conda.yml . + +RUN conda install mamba -n base -c conda-forge + +RUN mamba env update -n root -f conda.yml \ +&& mamba clean -a + +RUN Rscript -e "install.packages('valr', dependencies=TRUE, repos='http://cran.us.r-project.org')" + +# install other tools not avalible on conda cloud +RUN apt-get --allow-releaseinfo-change update && apt-get install -y procps + +RUN mamba install -c conda-forge r-fuzzyjoin +RUN mamba install -c bioconda bioconductor-iranges + +# RUN Rscript -e "install.packages('roperators',dependencies=TRUE, repos='http://cran.us.r-project.org')" +# RUN Rscript -e "install.packages('tidyverse', dependencies=TRUE, repos='http://cran.us.r-project.org')" +# RUN conda install -c conda-forge r-tidyverse +# RUN conda install r-valr +# RUN Rscript -e "devtools::install_version('tidyverse',version='1.3.1', dependencies = TRUE, repos = 'http://cran.us.r-project.org')" +RUN Rscript -e "remotes::install_version('dplyr', version = '1.0.4', repos = 'http://cran.us.r-project.org')" + +RUN mamba install -c conda-forge mscorefonts \ No newline at end of file diff --git a/env/conda.yml b/env/conda.yml new file mode 100644 index 0000000..05565ac --- /dev/null +++ b/env/conda.yml @@ -0,0 +1,40 @@ +name: nemascan +channels: + - defaults + - bioconda + - r + - biobuilds + - conda-forge +dependencies: + - bcftools=1.9 + - pandoc=2.12 + - plink=1.90b6.12 + - bedtools=2.29.2 + - libiconv + - r=3.6.0 + - r-tidyselect=1.1.0 + - r-tidyverse=1.3.0 + # - r-dplyr=1.0.8 + # - r-tidyr=1.2.0 + # - r-readr=2.1.1 + # - r-stringr=1.4.0 + # - r-glue=1.6.2 + # - r-purrr=0.3.2 + # - r-ggplot2=3.1.1 + - r-devtools=2.0.2 + - r-data.table=1.12.2 + - r-DT=0.5 + - r-genetics=1.3.8.1.2 + - r-ggbeeswarm=0.6.0 + - r-ggnewscale=0.4.5 + - r-ggrepel=0.9.1 + - r-knitr=1.22 + - r-rmarkdown=1.12 + - r-plotly=4.9.0 + - r-RSpectra=0.16-0 + - r-sommer=4.0.4 + - r-coop=0.6-2 + # # - r-Rcpp + - r-cowplot=0.9.1 + +# - bioconductor-ComplexHeatmap=2.4.2 \ No newline at end of file