-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile
49 lines (30 loc) · 1.56 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
# HiFive latest version docker container build file
# Load base container ubuntu version 14.04
FROM ubuntu:14.04
# Load python2.7, samtools, and gfortran
RUN apt-get update
RUN apt-get install -y python2.7-dev samtools gfortran
# Load libraries hdf5, atlas,
RUN apt-get install -y libhdf5-dev libatlas-base-dev
# Load mpi and supporting library
# RUN apt-get install openmpi-bin openmpi-common openssh-client openssh-server libopenmpi1.6 libopenmpi-dev -y
# Get pip
RUN apt-get install -y python-pip
RUN pip install -U pip
RUN pip install -U setuptools
# Get python packages: numpy, scipy, pysam, cython, mpi4py, and h5py
# RUN pip install numpy scipy pysam cython mpi4py
RUN pip install numpy scipy pysam cython
RUN pip install h5py
# Get python package PIL
RUN ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2 /usr/lib/libjpeg.so
RUN ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/libz.so
RUN apt-get install -y wget
RUN cd tmp && wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz && tar xzf Imaging-1.1.7.tar.gz && cd Imaging-1.1.7&& python setup.py install
# Get hifive
RUN apt-get install -y unzip wget
RUN mkdir -p tmp && cd tmp && wget https://github.com/bxlab/hifive/archive/v1.1.3.zip && unzip v1.1.3.zip && cd hifive-1.1.3 && python setup.py install
# Get hifive test data
RUN mkdir -p test_data && cd test_data && wget http://files.figshare.com/2259932/test5Cdata.tar.bz2 && tar xjf test5Cdata.tar.bz2
RUN cd test_data && wget http://files.figshare.com/2259931/testHiCdata.tar.bz2 && tar xjf testHiCdata.tar.bz2
MAINTAINER Michael Sauria <[email protected]>