Diff of /docker/Dockerfile.full [000000] .. [4c33d4]

Switch to unified view

a b/docker/Dockerfile.full
1
FROM centos:7
2
3
COPY CentOS-Base.repo /etc/yum.repos.d
4
RUN yum group install -y 'Development Tools' \
5
    && yum install -y epel-release \
6
    && yum install -y curl screen parallel \
7
         yum-utils \
8
        coreutils which binutils vim openssl-devel Xorg-devel mesa-libGL-devel \
9
        libxml-devel libxml2-devel \
10
        java-1.8.0-openjdk wget pigz gawk \
11
    && yum-builddep -y R
12
RUN mkdir -p /apps/archive
13
# install R
14
RUN wget --quiet -P /apps/archive 'https://mran.blob.core.windows.net/install/mro/3.5.3/rhel/microsoft-r-open-3.5.3.tar.gz'
15
RUN tar -C /apps/archive -zxf /apps/archive/microsoft-r-open-3.5.3.tar.gz
16
RUN bash /apps/archive/microsoft-r-open/install.sh -s -a -u
17
# install R packages
18
# COPY install-R-packages.R R-packages.txt /apps/archive/
19
COPY install-R-packages.R /apps/archive/
20
RUN cd /apps/archive; Rscript /apps/archive/install-R-packages.R
21
22
# install anaconda3
23
RUN wget --quiet -P /apps/archive 'https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh' \
24
    && bash /apps/archive/Anaconda3-2019.03-Linux-x86_64.sh -b -p /apps/anaconda3
25
# install anaconda2
26
RUN wget --quiet -P /apps/archive 'https://repo.anaconda.com/archive/Anaconda2-2019.03-Linux-x86_64.sh' \
27
    && bash /apps/archive/Anaconda2-2019.03-Linux-x86_64.sh -b -p /apps/anaconda2
28
# install pip packages
29
RUN /apps/anaconda3/bin/pip install skrebate \
30
    && /apps/anaconda3/bin/conda install -c conda-forge datrie \
31
    && /apps/anaconda3/bin/pip install mlxtend tqdm flask flask-AutoIndex jinja2 umap snakemake pyBigWig
32
# install conda packages
33
RUN /apps/anaconda3/bin/conda install -y numpy scipy scikit-learn 'openssl<1.1' \
34
    && /apps/anaconda3/bin/conda install -y pandas matplotlib seaborn h5py bokeh \
35
    && /apps/anaconda3/bin/conda install -c conda-forge jupyterhub \
36
    && /apps/anaconda3/bin/conda install -c bioconda -y bedtools samtools star subread bowtie2 \
37
    && /apps/anaconda3/bin/conda install -c bioconda -y rsem bamtools cutadapt picard gffread gffcompare \
38
    && /apps/anaconda3/bin/conda install -c bioconda -y ucsc-bedtogenepred ucsc-genepredtogtf ucsc-bedgraphtobigwig ucsc-bigwigtobedgraph \
39
    && /apps/anaconda3/bin/conda install -c bioconda -y htseq fastx_toolkit biopython \
40
    && /apps/anaconda3/bin/conda install -c bioconda -y multiqc fastqc
41
42
# Jupyter
43
RUN /apps/anaconda3/bi/conda install -y -c conda-forge jupyterhub \
44
    && /apps/anaconda3/bin/conda install notebook \
45
    && /usr/bin/R --slave -e "install.packages('IRkernel');IRkernel::installspec(user = FALSE);"
46
47
# UCSC kent tools
48
RUN rsync -aP rsync://hgdownload-sd.soe.ucsc.edu/genome/admin/exe/linux.x86_64/ /apps/ucsc_tools/ \
49
    && rm -f /apps/ucsc_tools/FOOTER.txt \
50
    && chmod +x /apps/ucsc_tools/*
51
52
# cleanup 
53
RUN /apps/anaconda3/bin/conda clean -y --all \
54
    && yum clean all
55
56
# Download exSeek
57
RUN git clone https://github.com/ltbyshi/exSeek.git /apps/exSeek
58
59
ENV PATH=/apps/exseek/bin:/apps/ucsc_tools:/opt/microsoft/ropen/3.5.3/lib64/R/bin:/apps/anaconda3/bin:/apps/anaconda2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin