-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
57 lines (43 loc) · 1.33 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
FROM centos
MAINTAINER Marie Forest <[email protected]>
# Install prerequisite
RUN yum update -y
# Install basic packages
RUN yum install -y bzip2 \
gcc \
git \
make \
perl \
unzip \
wget \
zlib-devel
RUN git clone https://github.com/eauforest/imputePrepSanger.git
WORKDIR /imputePrepSanger/
RUN echo | ls
RUN mkdir results \
&& mkdir tools \
&& mkdir tools/plink \
&& mkdir ressources \
&& mkdir ressources/data \
&& mkdir ressources/HRC_refSites \
&& mkdir ressources/strand
# These files are from the git clone, and need to move into specific directories
RUN mv HRC-1000G-check-bim_modified.pl ressources/HRC_refSites/
RUN mv ucsc2ensembl.txt ressources/HRC_refSites/
RUN mv update_build.sh ressources/strand/
RUN mv bcftools-1.3.1.tar.bz2 tools/
RUN mv plink_linux_x86_64.zip tools/plink/
RUN cd /imputePrepSanger/tools/ && echo | ls
RUN cd /imputePrepSanger/ && echo | ls
WORKDIR tools/
RUN bunzip2 -f bcftools-1.3.1.tar.bz2
RUN tar -xvf bcftools-1.3.1.tar \
&& cd bcftools-1.3.1 \
&& mkdir bin \
&& make \
&& make install
RUN mv bcftools-1.3.1/bcftools bcftools-1.3.1/bin
#Now we unzip plink 1.9
WORKDIR plink/
RUN unzip -a plink_linux_x86_64.zip
WORKDIR ../../