TomHarrop/ont-containers:guppy_3.3.3-nvidia430

$ singularity pull shub://TomHarrop/ont-containers:guppy_3.3.3-nvidia430

Singularity Recipe

Bootstrap: docker
From: ubuntu:16.04

%help
    Guppy 3.3.3 with nvidia-430

%labels
    MAINTAINER "Tom Harrop"
    VERSION "Guppy 3.3.3"

%post
    # faster apt downloads, will it break?
    export DEBIAN_FRONTEND=noninteractive
    (
        . /etc/os-release
        cat << _EOF_ > mirror.txt
deb mirror://mirrors.ubuntu.com/mirrors.txt ${UBUNTU_CODENAME} main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt ${UBUNTU_CODENAME}-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt ${UBUNTU_CODENAME}-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt ${UBUNTU_CODENAME}-security main restricted universe multiverse

_EOF_
        mv /etc/apt/sources.list /etc/apt/sources.list.bak
        cat mirror.txt /etc/apt/sources.list.bak > /etc/apt/sources.list
    )

    # deps
    apt-get update
    apt-get install -y \
        apt-transport-https \
        lsb-release \
        nvidia-modprobe \
        software-properties-common \
        wget 

    # byo nvidia driver
    add-apt-repository -y ppa:graphics-drivers/ppa
    apt update
    apt-get install -y \
        --no-install-recommends \
        libcuda1-430 \
        nvidia-430

    # install guppy from ONT repo
    export PLATFORM=$(lsb_release -cs) 
    wget -O- https://mirror.oxfordnanoportal.com/apt/ont-repo.pub \
        | apt-key add - 
    echo \
        "deb http://mirror.oxfordnanoportal.com/apt ${PLATFORM}-stable non-free" \
        | tee /etc/apt/sources.list.d/nanoporetech.sources.list 
    apt-get update
    apt-get install -y \
        --no-install-recommends \
        ont-guppy=3.3.3-1~xenial

%runscript
    exec /usr/bin/guppy_basecaller "$@"

Collection


View on Datalad

Metrics

key value
id /containers/TomHarrop-ont-containers-guppy_3.3.3-nvidia430
collection name TomHarrop/ont-containers
branch master
tag guppy_3.3.3-nvidia430
commit 6c92a77f3ef40cfbffe3b6dabddf4bc450afebab
version (container hash) ca60d8ec8c426039042ad272246a742536a853cbf3a14f79f627246008b5d24a
build date 2019-12-03T02:50:46.330Z
size (MB) 582.6484375
size (bytes) 610951168
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.