-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathDockerfile
45 lines (33 loc) · 1.29 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
FROM ubuntu:jammy as app
ARG IRMA_VER="1.1.4"
LABEL base.image="ubuntu:jammy"
LABEL dockerfile.version="1"
LABEL software="IRMA"
LABEL software.version=$IRMA_VER
LABEL description="IRMA was designed for the robust assembly, variant calling, and phasing of highly variable RNA viruses. Currently IRMA is deployed with modules for influenza, ebolavirus and coronavirus."
LABEL website="https://wonder.cdc.gov/amd/flu/irma/"
LABEL license="https://wonder.cdc.gov/amd/flu/irma/disclaimer.html"
LABEL maintainer="John Arnn"
LABEL maintainer.email="[email protected]"
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --no-install-recommends -y \
perl \
r-base \
unzip \
wget && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*
# install IRMA
RUN wget https://wonder.cdc.gov/amd/flu/irma/flu-amd-202402.zip &&\
unzip flu-amd-202402.zip &&\
rm flu-amd-202402.zip
ENV PATH="${PATH}:/flu-amd" \
LC_ALL=C
CMD ["IRMA"]
WORKDIR /data
## Test ##
FROM app as test
RUN cd /flu-amd/tests && \
./test_run.sh
RUN wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR179/072/SRR17940172/SRR17940172_1.fastq.gz && \
wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR179/072/SRR17940172/SRR17940172_2.fastq.gz
RUN IRMA FLU SRR17940172_1.fastq.gz SRR17940172_2.fastq.gz SRR17940172