-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
39 lines (31 loc) · 1.11 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
FROM mobinasri/bio_base:v0.4.0
MAINTAINER Mobin Asri, masri@ucsc.edu
RUN mkdir -p /home/apps
RUN pip3 install scipy pandas matplotlib
RUN apt-get update
RUN apt-get install -y build-essential python3-dev autoconf automake make gcc perl zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev wget unzip
#install sonLib
RUN cd /home/apps && \
git clone /~https://github.com/benedictpaten/sonLib && \
cd sonLib && \
make
#install hstlib C API
RUN cd /home/apps && \
wget /~https://github.com/samtools/htslib/releases/download/1.17/htslib-1.17.tar.bz2 && \
tar -xvjf htslib-1.17.tar.bz2 && \
cd htslib-1.17 && \
autoreconf -i && \
./configure && \
make && \
make install
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
# added edlib dir
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/programs/submodules/edlib
COPY ./programs /home/programs
#COPY ./scripts /home/scripts
RUN cd /home/programs && make
ENV PATH="$PATH:/home/programs/bin"
ENV PARTITION_SECPHASE_READS_PY=/home/programs/src/partition_secphase_reads.py
## UCSC convention is to work in /data
RUN mkdir -p /data
WORKDIR /data