-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
26 lines (18 loc) · 888 Bytes
/
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
FROM ubuntu:20.04
RUN apt-get update && \
apt-get install -y --no-install-recommends libz-dev libncurses5-dev libbz2-dev liblzma-dev libssl-dev make gcc g++ autoconf python3-pip && \
pip install numpy==1.23.3 pandas==1.5.0 scikit-learn==1.1.2 && \
apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /opt
COPY samtools-1.17.tar.bz2 .
RUN bunzip2 samtools-1.17.tar.bz2 && \
tar xvf samtools-1.17.tar && \
cd samtools-1.17 && \
./configure && make -j 8 && make install && \
cd .. && rm -r samtools-1.17*
COPY danbing-tk/script/danbing.call.py danbing-tk/script/bubblecalling.py danbing-tk/script/kmerutils.py /usr/local/bin/
COPY danbing-tk ./danbing-tk
RUN cd danbing-tk && mkdir -p bin && \
g++ -std=c++11 -pthread -I ./cereal/include -I ./Eigen -O2 -o bin/danbing-tk src/aQueryFasta_thread.cpp && \
cp bin/* /usr/local/bin/ && \
cd .. && rm -rf danbing-tk