TomHarrop/ont-containers:guppy_4.0.14

$ singularity pull shub://TomHarrop/ont-containers:guppy_4.0.14

Singularity Recipe

Bootstrap: docker
From: ubuntu:18.04

%help
    Guppy 4.0.14 without nvidia drivers

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

%post
    export DEBIAN_FRONTEND=noninteractive
    
    # set up apt
    apt-get clean
    rm -r /var/lib/apt/lists/*
    apt-get  update
    apt-get upgrade -y --fix-missing


    (
        . /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=4.0.14-1~bionic

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

Collection


View on Datalad

Metrics

key value
id /containers/TomHarrop-ont-containers-guppy_4.0.14
collection name TomHarrop/ont-containers
branch master
tag guppy_4.0.14
commit 38cee2a2fafa1a322ba1e8dfe408d1c766d6d73c
version (container hash) 76906fc36d7b24bf152092c2c968835a96142a1815b8a626f7b9a7dcdc67f143
build date 2020-10-20T02:55:45.433Z
size (MB) 591.56640625
size (bytes) 620302336
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.