mbhall88/Singularity_recipes:bcftools

$ singularity pull shub://mbhall88/Singularity_recipes:bcftools

Singularity Recipe

Bootstrap: debootstrap
OSVersion: bionic
MirrorURL: http://us.archive.ubuntu.com/ubuntu/

%environment
  PATH=/usr/local/bin:$PATH

%post
    apt update
    apt install -y software-properties-common
    apt-add-repository universe
    apt update
    apt install -y git wget build-essential
    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8
    echo 'export LC_ALL=C.UTF-8' >> $SINGULARITY_ENVIRONMENT
    echo 'export LANG=C.UTF-8' >> $SINGULARITY_ENVIRONMENT

    #================================
    # INSTALL bcftools
    #================================
    VERSION="1.9"
    URL=https://github.com/samtools/bcftools/releases/download/"$VERSION"/bcftools-"$VERSION".tar.bz2
    apt install -y libbz2-dev \
        zlib1g-dev \
        libncurses5-dev \
        libncursesw5-dev \
        liblzma-dev

    wget "$URL" -O - | tar -jxf -
    cd bcftools*
    ./configure --prefix=/usr/local
    make
    make install

Collection


View on Datalad

Metrics

key value
id /containers/mbhall88-Singularity_recipes-bcftools
collection name mbhall88/Singularity_recipes
branch master
tag bcftools
commit 8df7771a981a19074c76bc57b1074f5381e3e8f8
version (container hash) c403791db8a14b00d536adca8e8e04fc
build date 2019-08-01T23:48:42.517Z
size (MB) 669
size (bytes) 235917343
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.