forked from StaPH-B/docker-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
40 lines (28 loc) · 1.16 KB
/
Copy pathDockerfile
File metadata and controls
40 lines (28 loc) · 1.16 KB
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
FROM python:3.10-slim AS app
USER root
WORKDIR /
ARG POD5_TOOLS_VERSION="0.3.36"
LABEL base.image="python:3.10-slim"
LABEL dockerfile.version="1"
LABEL software="pod5"
LABEL software.version="${POD5_TOOLS_VERSION}"
LABEL description="This software provides a Python module for reading and writing POD5 data."
LABEL website="https://github.com/nanoporetech/pod5-file-format"
LABEL license="https://github.com/nanoporetech/pod5-file-format/blob/master/LICENSE.md"
LABEL maintainer="Sage Wright"
LABEL maintainer.email="sagemwright@gmail.com"
RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
ca-certificates \
procps && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*
RUN pip3 install --no-cache pod5==${POD5_TOOLS_VERSION}
WORKDIR /data
CMD [ "pod5", "--help" ]
FROM app AS test
WORKDIR /test
RUN pod5 --help && \
pod5 --version
RUN wget https://github.com/nanoporetech/dorado/raw/release-v0.7/tests/data/pod5/dna_r10.4.1_e8.2_260bps/dna_r10.4.1_e8.2_260bps-FLO_PRO114-SQK_NBD114_96_260-4000.pod5
RUN pod5 view . --include "read_id, channel" --output summary.tsv && \
pod5 subset . --summary summary.tsv --columns channel