Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a WDL to run DORADO for basecalling ONT data #462

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docker/lr-dorado/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM nvidia/cuda:11.8.0-base-ubuntu22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y wget lsb-release samtools

RUN wget https://cdn.oxfordnanoportal.com/software/analysis/dorado-0.7.1-linux-x64.tar.gz && \
mkdir -p /opt/ont/dorado/ && \
tar zxvf dorado-0.7.1-linux-x64.tar.gz -C /opt/ont/dorado --strip-components=1 && \
rm -rf dorado-0.7.1-linux-x64.tar.gz

ENV PATH=/opt/ont/dorado/bin/:${PATH}

RUN apt-get install -yq software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa && \
apt-get update

RUN apt-get install -yq python3.8 python3.8-distutils curl && \
update-alternatives --install /usr/bin/python python /usr/bin/python3.8 2 && \
update-alternatives --set python /usr/bin/python3.8

RUN curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" && python get-pip.py
RUN pip install ont-guppy-duplex-pipeline
17 changes: 17 additions & 0 deletions docker/lr-dorado/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
IMAGE_NAME = lr-dorado
VERSION = 0.7.1 # This version number should follow the Guppy version number

TAG1 = us.gcr.io/broad-dsp-lrma/$(IMAGE_NAME):$(VERSION)
TAG2 = us.gcr.io/broad-dsp-lrma/$(IMAGE_NAME):latest

all: | build push

build:
docker build -t $(TAG1) -t $(TAG2) .

build_no_cache:
docker build --no-cache -t $(TAG1) -t $(TAG2) .

push:
docker push $(TAG1)
docker push $(TAG2)
Loading
Loading