TomHarrop/singularity-containers:blobtools_1.0.1

$ singularity pull shub://TomHarrop/singularity-containers:blobtools_1.0.1

Singularity Recipe

Bootstrap: docker
From: ubuntu:18.04

%help

    BlobTools 1.0.1
    https://github.com/DRL/blobtools/releases

%labels

    MAINTAINER "Tom Harrop (twharrop@gmail.com)"
    VERSION "BlobTools 1.0.1"

%post

    # install dependencies
    apt-get update
    apt-get install -y \
        autoconf \
        automake \
        build-essential \
        libbz2-dev \
        libcurl4-gnutls-dev \
        liblzma-dev \
        libncurses5-dev \
        libssl-dev \
        python \
        python-pip \
        wget \
        zlib1g-dev

    # downgrade pip for compatibility
    pip install pip==9.0.3

    # download blobtools
    wget -O "blobtools.tar.gz" \
        --no-check-certificate \
        https://github.com/DRL/blobtools/archive/v1.0.1.tar.gz 
    mkdir blobtools
    tar -zxf blobtools.tar.gz \
        -C blobtools \
        --strip-components 1
    rm -rf blobtools.tar.gz

    # install blobtools
    cd blobtools || exit 1
    (
    export PATH="/usr/local/bin:${PATH}"
    ./install
    )  
    ln -s /blobtools/blobtools /usr/local/bin

%environment

    export PATH="${PATH}:/blobtools/samtools/bin"

%runscript

    exec /usr/local/bin/blobtools "$@"

Collection


View on Datalad

Metrics

key value
id /containers/TomHarrop-singularity-containers-blobtools_1.0.1
collection name TomHarrop/singularity-containers
branch master
tag blobtools_1.0.1
commit ec5fffa2069e1657ee57d416828956f3f0c34eb9
version (container hash) 1dc1c2840f48580aead2f3093c28541b
build date 2018-09-04T22:24:14.652Z
size (MB) 723
size (bytes) 294252575
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.