-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
60 lines (45 loc) · 2.04 KB
/
Dockerfile
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
FROM docker.io/btip2024/rstudio-verse-shiny-opencpu:latest
RUN \
apt-get update && \
apt-get upgrade
RUN \
apt-get install -y \
libhdf5-dev \
# libpng-dev \
# libboost-all-dev \
# openjdk-8-jdk \
# python3-dev \
# python3-pip \
libfftw3-dev \
# libgsl-dev \
libglpk40
# Install system library for rgeos
#RUN apt-get install -y libgeos-dev
# Install UMAP
#RUN LLVM_CONFIG=/usr/lib/llvm-10/bin/llvm-config pip3 install llvmlite
#RUN pip3 install numpy
#RUN pip3 install umap-learn
# Install FIt-SNE
#RUN git clone --branch v1.2.1 https://github.com/KlugerLab/FIt-SNE.git
#RUN g++ -std=c++11 -O3 FIt-SNE/src/sptree.cpp FIt-SNE/src/tsne.cpp FIt-SNE/src/nbodyfft.cpp -o bin/fast_tsne -pthread -lfftw3 -lm
# Install bioconductor dependencies & suggests
# RUN R --no-echo --no-restore --no-save -e "install.packages('BiocManager')"
# RUN R --no-echo --no-restore --no-save -e "BiocManager::install(c('multtest', 'S4Vectors', 'SummarizedExperiment', 'SingleCellExperiment', 'MAST', 'DESeq2', 'BiocGenerics', 'GenomicRanges', 'IRanges', 'rtracklayer', 'monocle', 'Biobase', 'limma', 'glmGamPoi'))"
# Install CRAN suggests
#RUN R --no-echo --no-restore --no-save -e "install.packages(c('VGAM', 'R.utils', 'metap', 'Rfast2', 'ape', 'enrichR', 'mixtools'))"
# Install spatstat
#RUN R --no-echo --no-restore --no-save -e "install.packages(c('spatstat.explore', 'spatstat.geom'))"
# Install hdf5r
RUN R --no-echo --no-restore --no-save -e "install.packages('hdf5r')"
# Install latest Matrix
#RUN R --no-echo --no-restore --no-save -e "install.packages('Matrix')"
# Install rgeos
#RUN R --no-echo --no-restore --no-save -e "install.packages('rgeos')"
# Install Seurat
RUN R --no-echo --no-restore --no-save -e "install.packages('devtools')"
RUN R --no-echo --no-restore --no-save -e "install.packages('Seurat')"
# Install SeuratDisk
RUN R --no-echo --no-restore --no-save -e "devtools::install_github('mojaveazure/seurat-disk')"
# Install SeuratData
RUN R --no-echo --no-restore --no-save -e "devtools::install_github('satijalab/seurat-data')"
CMD ["/init"]