-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
56 lines (49 loc) · 2.06 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
# BIOCONDUCTOR ROCKER
FROM bioconductor/bioconductor_docker:latest
# DEPENDENCIES
RUN apt-get update && apt-get install --no-install-recommends -y \
libopenblas-dev \
autoconf \
libltdl-dev \
zlib1g-dev \
wget \
unzip \
make \
g++
# PYTHON
RUN apt-get install -y python3 python3-dev python3-pip python3-venv
# FFTW
RUN wget http://www.fftw.org/fftw-3.3.8.tar.gz && \
tar -zxvf fftw-3.3.8.tar.gz && \
rm -rf fftw-3.3.8.tar.gz && \
cd fftw-3.3.8 && \
./configure && \
make && \
make install
# FIT-SNE
RUN cd /. && \
wget --no-check-certificate -O FIt-SNE.zip https://github.com/KlugerLab/FIt-SNE/archive/master.zip && \
unzip FIt-SNE.zip && \
rm -rf FIt-SNE.zip && \
cd FIt-SNE-master && \
g++ -std=c++11 -O3 src/sptree.cpp src/tsne.cpp src/nbodyfft.cpp -o bin/fast_tsne -pthread -lfftw3 -lm -Wno-address-of-packed-member && \
cd /. && \
mv /FIt-SNE-master home/rstudio/.FIt-SNE
# R DEPENDENCIES
RUN R -e "options('timeout' = 999999)" && \
R -e "install.packages('BiocManager')" &&\
R -e "BiocManager::install(c('cytolib', 'flowCore', 'flowWorkspace', 'openCyto', 'ggcyto', 'CytoML', 'flowWorkspaceData'))" &&\
R -e "devtools::install_github('RGLab/cytoqc')" &&\
R -e "devtools::install_github('DillonHammill/openCyto', force = TRUE)" && \
R -e "devtools::install_github('DillonHammill/CytoExploreRData')" && \
R -e "devtools::install_github('DillonHammill/DataEditR')" && \
R -e "devtools::install_github('DillonHammill/HeatmapR')" && \
R -e "devtools::install_github('DillonHammill/CytoExploreR', ref = 'stable')" && \
R -e "install.packages(c('dplyr', 'tidyr', 'stringr', 'magrittr', 'forcats'))" && \
R -e "install.packages(c('overlapping', 'FNN'))"
# RETICULATE
RUN R -e "install.packages('reticulate')"
# R -e "reticulate::py_discover_config()" && \
# R -e "reticulate::virtualenv_create('cytoexplorer')" && \
# R -e "reticulate::use_virtualenv('cytoexplorer')" && \
# R -e "reticulate::py_install(c('numpy', 'pacmap', 'openTSNE'), 'cytoexplorer', pip = TRUE)"