-
Notifications
You must be signed in to change notification settings - Fork 128
/
Copy pathDockerfile
41 lines (28 loc) · 1.47 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
FROM ubuntu:jammy as app
ARG LIMA_VER="2.9.0"
LABEL base.image="ubuntu:jammy"
LABEL dockerfile.version="1"
LABEL software="Lima"
LABEL software.version="${LIMA_VER}"
LABEL description="The PacBio Barcode Demultiplixer & Primer Remover"
LABEL website="https://github.com/PacificBiosciences/barcoding"
LABEL license="https://github.com/PacificBiosciences/barcoding/blob/master/LICENSE"
LABEL maintainer="Kutluhan Incekara"
LABEL maintainer.email="[email protected]"
RUN apt-get update && apt-get install --no-install-recommends -y \
wget &&\
apt-get autoclean && rm -rf /var/lib/apt/lists/*
RUN wget --no-check-certificate https://github.com/PacificBiosciences/barcoding/releases/download/v${LIMA_VER}/lima.tar.gz &&\
tar -C /usr/local/bin -xvf lima.tar.gz &&\
rm lima.tar.gz
ENV LC_ALL=C
CMD lima -h && lima-undo -h
WORKDIR /data
FROM app as test
# download test files
RUN wget -q --no-check-certificate https://downloads.pacbcloud.com/public/dataset/HiFiViral/Jan_2022/HiFiViral_Barcoded_M13_Primer_Plate.fasta \
https://downloads.pacbcloud.com/public/dataset/HiFiViral/Jan_2022/InqabaOmicronSamples_Barcoded_Sample.csv \
https://downloads.pacbcloud.com/public/dataset/HiFiViral/Jan_2022/m64187e_211217_130958.hifi_reads.bam
# run test
RUN lima m64187e_211217_130958.hifi_reads.bam HiFiViral_Barcoded_M13_Primer_Plate.fasta demux.hifi.bam --biosample-csv InqabaOmicronSamples_Barcoded_Sample.csv --hifi-preset ASYMMETRIC &&\
cat demux.hifi.lima.summary