Skip to content

Commit 3af3714

Browse files
Create Dockerfile for 2.1.23
1 parent 1e3dfb1 commit 3af3714

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
FROM ubuntu:noble AS app
2+
3+
ARG DIAMOND_VER="2.1.23"
4+
5+
LABEL base.image="ubuntu:noble"
6+
LABEL dockerfile.version="1"
7+
LABEL software="DIAMOND"
8+
LABEL software.version="${DIAMOND_VER}"
9+
LABEL description="Accelerated BLAST compatible local sequence aligner."
10+
LABEL website="https://github.com/bbuchfink/diamond"
11+
LABEL license="https://github.com/bbuchfink/diamond/blob/master/LICENSE"
12+
LABEL maintainer="Kutluhan Incekara"
13+
LABEL maintainer.email="kutluhan.incekara@ct.gov"
14+
15+
RUN apt-get update && apt-get install -y --no-install-recommends \
16+
wget &&\
17+
apt-get autoclean && rm -rf /var/lib/apt/lists/*
18+
19+
RUN wget --quiet --no-check-certificate https://github.com/bbuchfink/diamond/releases/download/v${DIAMOND_VER}/diamond-linux64.tar.gz &&\
20+
tar -C /usr/local/bin -xvf diamond-linux64.tar.gz && \
21+
rm diamond-linux64.tar.gz
22+
23+
ENV LC_ALL=C
24+
25+
CMD [ "diamond", "help" ]
26+
27+
WORKDIR /data
28+
29+
## Test ##
30+
FROM app AS test
31+
32+
RUN diamond test
33+
34+
RUN wget --quiet --no-check-certificate https://scop.berkeley.edu/downloads/scopeseq-2.07/astral-scopedom-seqres-gd-sel-gs-bib-40-2.07.fa &&\
35+
diamond makedb --in astral-scopedom-seqres-gd-sel-gs-bib-40-2.07.fa -d astral40 &&\
36+
diamond blastp -q astral-scopedom-seqres-gd-sel-gs-bib-40-2.07.fa -d astral40 -o out.tsv --very-sensitive &&\
37+
head out.tsv

0 commit comments

Comments
 (0)