-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
74 lines (56 loc) · 1.75 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
FROM ubuntu:focal
RUN ln -sf /bin/bash /bin/sh
SHELL ["/bin/bash", "-c"]
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Asia/Tokyo
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
curl \
git \
git-lfs \
make \
gzip \
pandoc \
pigz \
rename \
samtools \
wget
RUN apt-get install -y \
curl \
zsh \
nano \
&& sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --unattended"
RUN apt-get install -y \
r-base r-base-core
RUN apt-get install -y libcurl4-openssl-dev libssl-dev libxml2-dev
RUN R -e 'install.packages(c("httr", "rvest", "xml2", "plotly"))'
RUN R -e 'install.packages(c("tidyverse"))'
RUN apt-get install -y bowtie bowtie2 hisat2
RUN ln -s /usr/bin/bowtie /bowtie \
&& ln -s /usr/bin/bowtie2 /bowtie2 \
&& ln -s /usr/bin/hisat2 /hisat2
RUN apt-get install -y software-properties-common \
&& add-apt-repository ppa:mhier/libboost-latest \
&& apt-get update \
&& apt-get install -y libboost-dev libboost-all-dev
RUN apt-get install -y apt-utils
RUN apt-get install -y libgtest-dev
RUN git clone https://github.com/Illumina/DRAGMAP.git \
&& cd /DRAGMAP \
&& HAS_GTEST=0 make \
&& HAS_GTEST=0 make install
# Install STAR aligner
RUN wget https://github.com/alexdobin/STAR/archive/refs/tags/2.5.3a.tar.gz \
&& tar -xvf 2.5.3a.tar.gz \
&& rm 2.5.3a.tar.gz \
&& cd STAR-2.5.3a \
&& mv bin/Linux_x86_64/STAR* /usr/bin \
&& cd source \
&& make \
&& cd /
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
RUN git clone "https://github.com/hugp-ri/hicup-plus.git" && cd hicup-plus && git checkout $(./hicup --version|cut -d " " -f2) && echo $(./hicup --version|cut -d " " -f2)
ENTRYPOINT ["/usr/bin/perl", "/hicup-plus/hicup-plus"]