TomHarrop/singularity-containers:basecall_wrapper_0.0.29_albacore_2.3.3

$ singularity pull shub://TomHarrop/singularity-containers:basecall_wrapper_0.0.29_albacore_2.3.3

Singularity Recipe

Bootstrap: docker
From: rocker/tidyverse:3.5.1

%help

    basecall_wrapper 0.0.29 with Python 3.5.3 and albacore 2.3.3
    
%labels

    MAINTAINER "Tom Harrop (twharrop@gmail.com) "
    VERSION "basecall_wrapper 0.0.29 with albacore 2.3.3"

%runscript

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

%post

    # install apt packages
    apt-get update
    apt-get install -y \
        default-jre \
        python3-pip

    # install bbmap
    wget -O "bbmap.tar.gz" \
        "https://sourceforge.net/projects/bbmap/files/BBMap_38.00.tar.gz"
    mkdir bbmap-install
    tar -zxf bbmap.tar.gz \
        -C bbmap-install \
        --strip-components 1
    cp -r bbmap-install/resources/* /
    cp -r bbmap-install/* /usr/local/bin/
    rm -rf bbmap.tar.gz bbmap-install

    # install python bits
    pip3 install --upgrade pip
    /usr/local/bin/pip3 install \
        biopython \
        numpy \
        pathlib2 \
        psutil \
        snakemake

    # install albacore
    /usr/local/bin/pip3 install \
        https://mirror.oxfordnanoportal.com/software/analysis/ont_albacore-2.3.3-cp35-cp35m-manylinux1_x86_64.whl

    # install basecall_wrapper
    /usr/local/bin/pip3 install git+git://github.com/tomharrop/basecall_wrapper.git

    # lanfear QC script
    Rscript -e "install.packages(c( \
        'futile.logger', \
        'optparse'))"

    wget \
        -O /usr/local/bin/MinIONQC.R \
        https://raw.githubusercontent.com/roblanf/minion_qc/master/MinIONQC.R
    chmod 755 /usr/local/bin/MinIONQC.R

    # link R
    ln -s /usr/local/bin/Rscript /usr/bin/Rscript

Collection


View on Datalad

Metrics

key value
id /containers/TomHarrop-singularity-containers-basecall_wrapper_0.0.29_albacore_2.3.3
collection name TomHarrop/singularity-containers
branch master
tag basecall_wrapper_0.0.29_albacore_2.3.3
commit cfc3a7974c48da3728d7dffd0acc6db9c4943752
version (container hash) 4512a565f3c0d7fbf7f47aa84b1cdd7a
build date 2018-11-06T09:27:21.103Z
size (MB) 2400
size (bytes) 895143967
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.