-
Notifications
You must be signed in to change notification settings - Fork 14
/
Dockerfile
57 lines (52 loc) · 1.82 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
# UBUNTU OS IMAGE
FROM ubuntu:18.04
# RSTUDIO
FROM rocker/rstudio:latest-daily
# INSTALL DEPENDENCIES
RUN apt-get update && apt-get install --no-install-recommends -y\
libprotobuf-dev \
autoconf \
automake \
libtool \
libxml2-dev \
libhdf5-dev \
zlib1g-dev \
libpng-dev \
tcl \
wget \
unzip \
make \
g++
# DOWNLOAD 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 - (path to fast_tsne -> FIt-SNE-master/fast_tsne.R)
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
# INSTALL DEPENDENCIES
RUN R -e "install.packages('remotes')" && \
R -e "install.packages('latticeExtra')" && \
R -e "install.packages('XML')" && \
R -e "install.packages('BiocManager')" && \
R -e "BiocManager::install('cytolib')" && \
R -e "BiocManager::install('flowCore')" && \
R -e "BiocManager::install('flowWorkspace')" && \
R -e "BiocManager::install('flowCore')" && \
R -e "BiocManager::install('flowClust')" && \
R -e "BiocManager::install('openCyto')" && \
R -e "BiocManager::install('CytoML')" && \
R -e "remotes::install_github('DillonHammill/CytoExploreRData')" && \
R -e "remotes::install_github('DillonHammill/flowAI')" && \
R -e "remotes::install_github('exaexa/scattermore')" && \
R -e "remotes::install_github('DillonHammill/CytoExploreR')"