-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
80 lines (60 loc) · 2.46 KB
/
Dockerfile
File metadata and controls
80 lines (60 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
FROM ubuntu:22.04
WORKDIR /src
RUN apt-get update \
&& apt-get install -y wget \
&& apt install make \
&& apt install python3 -y
# Install BaseSpace CLI
RUN wget https://launch.basespace.illumina.com/CLI/1.6.1/amd64-linux/bs -P /src/tools/bs \
&& chmod a+x /src/tools/bs/bs
# Configure BS CLI
ENV PATH="/src/tools/bs:$PATH"
# Install fastp
RUN wget http://opengene.org/fastp/fastp.0.23.4 -P /src/tools/fastp \
&& mv /src/tools/fastp/fastp.0.23.4 /src/tools/fastp/fastp \
&& chmod a+x /src/tools/fastp/fastp
# Configure fastp
ENV PATH="/src/tools/fastp:$PATH"
# Install fastqc (will include dependencies like java)
RUN apt install fastqc=0.11.9+dfsg-5 -y
# Install STAR aligner
RUN wget https://github.com/alexdobin/STAR/archive/2.7.11b.tar.gz -P /src/tools/ \
&& tar xzvf /src/tools/2.7.11b.tar.gz -C ./tools \
&& rm /src/tools/2.7.11b.tar.gz
# Configure STAR alginer
ENV PATH="/src/tools/STAR-2.7.11b/bin/Linux_x86_64_static:$PATH"
# Install pip
RUN apt install python3-pip -y
# Install pydeseq2
RUN pip3 install pydeseq2==0.4.12
# Install scanpy
RUN pip3 install scanpy==1.10.3
# Install pyComBat via InMoose
RUN pip3 install --upgrade pip
RUN pip3 install inmoose --break-system-packages
# Install R
RUN wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | gpg --dearmor -o /usr/share/keyrings/r-project.gpg
RUN echo "deb [signed-by=/usr/share/keyrings/r-project.gpg] https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" | tee -a /etc/apt/sources.list.d/r-project.list
RUN apt update
RUN DEBIAN_FRONTEND="noninteractive" apt-get install r-base r-base-dev -y
# Install R Deseq2 dependencies
RUN apt install libcurl4-openssl-dev
RUN apt-get install libssl-dev
RUN Rscript -e "install.packages('BiocManager')"
RUN Rscript -e "install.packages('curl')"
RUN Rscript -e "install.packages('openssl')"
RUN Rscript -e "install.packages('httr')"
RUN Rscript -e "BiocManager::install('UCSC.utils', ncpus=2)"
RUN Rscript -e "BiocManager::install('GenomeInfoDb', ncpus=2)"
RUN Rscript -e "BiocManager::install('GenomicRanges', ncpus=2)"
RUN Rscript -e "BiocManager::install('SummarizedExperiment', ncpus=2)"
# Install R Deseq2
RUN Rscript -e "BiocManager::install('DESeq2', ncpus=2)"
# Install R DEGreport
RUN Rscript -e "BiocManager::install('DEGreport', ncpus=2)"
# Install goatools
RUN pip3 install goatools==1.4.12
# Install matplotlib venn diagram extension
RUN pip3 install matplotlib-venn==1.1.1
# Install gseapy
RUN pip3 install gseapy