From 0659a92832dcf59903e1abed71494a5ac8a80e15 Mon Sep 17 00:00:00 2001 From: Sebastian Bassi Date: Sat, 27 Jul 2024 23:04:10 -0700 Subject: [PATCH] Create Dockerfile Here is a dockerfile for x86 and NVIDIA --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..f2eb11ef --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM debian + +USER root + +ENV DEBIAN_FRONTEND noninteractive + +RUN apt-get update && apt-get install -y curl + +RUN curl -O https://cdn.oxfordnanoportal.com/software/analysis/dorado-0.7.2-linux-x64.tar.gz && tar xfz dorado-0.7.2-linux-x64.tar.gz && rm dorado-0.7.2-linux-x64.tar.gz + +# Note: Install Nvidia runtime for your docker before running this container, check +# https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/index.html +# Run it like: +# docker run -it --runtime=nvidia --gpus all -v /MY_PATH:/ftmp CONTAINER_NAME +# Sample: +# docker run --rm --runtime=nvidia --gpus all -v /MY_PATH:/ftmp CONTAINER_NAME bash -c "dorado-0.7.2-linux-x64/bin/dorado basecaller hac /ftmp/ > /ftmp/out.bam"