Unable to install Cluster Profiler through Docker File
1
0
Entering edit mode
18 months ago
Srinka ▴ 20

Can anyone please suggest ways to solve the error?

I tried running a Docker image where I installed the dependencies of RNA Seq analysis using R.

This is the error I am getting when I try to run the Docker image:

image

enter image description here

Thank you in advance.

This is the code I used

FROM rocker/r-base

WORKDIR /app

COPY . /app

RUN apt-get update && apt-get install -y \
    libxml2-dev \
    libcurl4-openssl-dev \
    libssl-dev RUN R -e "install.packages(c('shiny', 'shinydashboard', 'shinyjs', 'DT', 'ggplot2', 'gplots'))"

RUN R -e "if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager')" 

RUN R -e "BiocManager::install(c('Rsubread', 'DESeq2', 'SummarizedExperiment', 'edgeR', 'org.Hs.eg.db', 'EnhancedVolcano', 'org.Mm.eg.db', 'limma', 'enrichplot', 'pathview', 'pheatmap', 'clusterProfiler'))"

CMD ["R", "-e", "shiny::runApp('app.R', host = '0.0.0.0', port = 3838)"]
Docker ClusterProfiler • 1.4k views
ADD COMMENT
1
Entering edit mode

Please understand that this question is not reproducible as it lacks any detail how and which container you start and how you installed this package (if at all). Please show the Dockerfile at least. People here cannot see your screen so you have to give enough minimal information to reproduce the problem as this is the basis for debugging. No screenshots please, just paste the plain text and use the 10101 button or standard markdown for highlighting.

ADD REPLY
0
Entering edit mode

Thank you for letting me know. I have updated my query.

ADD REPLY
0
Entering edit mode

does this answer your question?

ADD REPLY
0
Entering edit mode
18 months ago
ATpoint 85k

My recommendation is to run an interactive session via:

docker run -it rocker/r-base:latest bash

and then run the installation commands to see the full logs. It seems an error pops up somewhere but we do not know which. What you can also do is to use bioconductor/bioconductor_docker:RELEASE_3_17 as base image as this comes with all dependencies for any bioconductor package already installed so installation is almost certain to work.

ADD COMMENT
1
Entering edit mode

Thank you so much for your reply. bioconductor/bioconductor_docker:RELEASE_3_17 as the base image worked.

ADD REPLY

Login before adding your answer.

Traffic: 1521 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6