-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
executable file
·49 lines (43 loc) · 1.67 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
# Use Ubuntu 22.04 as the base image
FROM ubuntu:22.04
LABEL maintainer="Ali Hamraoui <[email protected]>"
RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt install --yes \
build-essential \
libncursesw5-dev \
libgdbm-dev \
libnss3-dev \
libssl-dev \
libsqlite3-dev \
libreadline-dev \
libffi-dev \
libbz2-dev \
wget \
curl \
default-jre \
git \
r-base && \
wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz && \
tar -xzf Python-3.11.0.tgz && \
cd Python-3.11.0 && \
./configure --enable-optimizations && \
make -j 8 && \
make altinstall && \
cd .. && \
rm -rf Python-3.11.0.tgz Python-3.11.0
RUN python3.11 -m pip install --upgrade pip && \
pip3 install numpy pandas tqdm biopython pyfaidx scipy plotly && \
git clone https://github.com/rrwick/Badread.git /tmp/Badread && \
python3.11 -m pip install /tmp/Badread && \
rm -rf /tmp/Badread && \
curl -fsSL get.nextflow.io | bash && \
mv nextflow /usr/local/bin && \
apt remove --yes git && \
apt autoremove --yes && \
apt clean && \
rm -rf /var/lib/apt/lists/* && \
Rscript -e "install.packages(c('devtools', 'remotes', 'dplyr'), repos='https://cloud.r-project.org')" && \
Rscript -e "remotes::install_gitlab('sysbiobig/sparsim', build_opts = c('--no-resave-data', '--no-manual'), build_vignettes = FALSE)"
RUN wget https://github.com/lh3/minimap2/releases/download/v2.28/minimap2-2.28_x64-linux.tar.bz2 && \
tar -xvf minimap2-2.28_x64-linux.tar.bz2 -C /usr/local/bin --strip-components=1 && \
rm minimap2-2.28_x64-linux.tar.bz2