-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
66 lines (55 loc) · 1.66 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
FROM ubuntu:18.04
LABEL Description "https://github.com/jonahcullen/IndexForTheFuture"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade --yes
# Install zsh
RUN apt-get install zsh --yes
RUN chsh -s $(which zsh)
# Install the necessary packages ontop of base ubuntu installation
RUN apt-get install -y \
curl \
lsb-release \
wget \
git \
gcc \
vim \
tmux \
tree \
htop \
build-essential \
# apt-transport-https \
# python3 \
# python3-dev \
# python3-pip \
s3cmd \
zlib1g-dev
RUN mkdir -p /home/.local/{bin,src}
WORKDIR /home/.local/src
# Install oh-my-zsh
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Install miniconda
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
RUN sh miniconda.sh -b -p /home/.conda
ENV PATH=/home/.conda/bin:${PATH}
RUN conda update -n base conda
RUN /home/.conda/bin/conda init zsh
# Install snakemake, STAR, and salmon
RUN conda install -c bioconda -c conda-forge -y \
snakemake=6.1.1 \
star=2.7.8 \
salmon=1.4.0 \
mashmap=2.0 \
gffread=0.12.1 \
bedtools=2.30.0
# Clone SalmonTools and modify path
RUN git clone https://github.com/COMBINE-lab/SalmonTools.git
ENV PATH=/home/.local/src/SalmonTools/scripts:${PATH}
# Install minus80 and locuspocus
RUN pip install minus80==1.0.0 \
locuspocus==1.0.2
#RUN pip install -e git+git://github.com/LinkageIO/Minus80.git#egg=minus80
#RUN pip install -e git+git://github.com/LinkageIO/LocusPocus.git#egg=locuspocus
#COPY . /home/RNAMapping
#WORKDIR /home/RNAMapping
#
#ENTRYPOINT ["/usr/bin/zsh"]