-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
65 lines (56 loc) · 1.77 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
FROM continuumio/miniconda3:4.6.14
LABEL version="1.5.6"
# Update distro and install basic tools
ENV APT_PACKAGES \
autoconf build-essential bzip2 cmake curl gcc git libboost-dev libsdsl3 \
libz-dev zlib1g
RUN apt-get update && apt-get install --yes ${APT_PACKAGES} \
&& rm -rf /var/lib/apt/lists/*
# Configure conda and install tools
ENV CONDA_PACKAGES \
abyss=2.0.1 bedtools biopython pandas pip
RUN \
conda config --add channels conda-forge && \
conda config --add channels defaults && \
conda config --add channels bioconda && \
conda install --yes ${CONDA_PACKAGES} && \
conda clean --all --yes
# Install SDSL-lite
# RUN \
# cd /opt/ && \
# git clone --recursive https://github.com/simongog/sdsl-lite.git && \
# cd sdsl-lite/ && \
# ./install.sh /usr/
# Install Biobloom tools
RUN \
cd /opt/ && \
git clone --recursive https://github.com/bcgsc/biobloom.git && \
cd biobloom/ && \
git submodule update --init && \
git checkout 0a42916922d42611a087d4df871e424a8907896e && \
./autogen.sh && \
./configure --prefix=/usr/local/ && \
make -j 4 && \
make install
# Install exfi
RUN pip install https://github.com/jlanga/exfi/archive/v1.5.6.zip
RUN git clone --recursive https://github.com/jlanga/exfi
RUN build_baited_bloom_filter \
--input-fasta exfi/data/transcript.fa \
--kmer 25 \
--bloom-size 100M \
--levels 1 \
--threads 4 \
--output-bloom genome_k25_m100M_l1.bf \
--verbose \
exfi/data/genome.fa.gz
RUN build_splice_graph \
--input-fasta exfi/data/transcript.fa \
--input-bloom genome_k25_m100M_l1.bf \
--kmer 25 \
--max-fp-bases 5 \
--verbose \
--output-gfa test.gfa
RUN cat test.gfa
RUN rm -rf exfi
MAINTAINER Jorge Langa <[email protected]>