mbhall88/Singularity_recipes:pandora

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

Singularity Recipe

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

%help
  To run: `singularity exec pandora.simg pandora`

%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 cmake seqtk
    apt-get install -y man time
    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 ZLIB
    #============================================
    VERSION="1.2.11"
    wget http://www.zlib.net/zlib-"$VERSION".tar.gz -O - | tar xzf -
    cd zlib-"$VERSION"
    ./configure --prefix=/usr/
    make
    make install
    cd ..

    #============================================
    # INSTALL BOOST
    #============================================
    wget https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.gz -O - | tar xzf -
    cd boost_1_62_0
    ./bootstrap.sh --prefix=/usr/ --with-libraries=system,filesystem,iostreams,log,thread,date_time
    ./b2 install
    cd ..

    #============================================
    # INSTALL PANDORA
    #============================================
    git clone https://github.com/rmcolq/pandora.git
    cd pandora
    mkdir -p build
    cd build
    cmake ..
    make
    ctest -VV
    echo "export PATH=$(pwd):$PATH" >> $SINGULARITY_ENVIRONMENT

Collection


View on Datalad

Metrics

key value
id /containers/mbhall88-Singularity_recipes-pandora
collection name mbhall88/Singularity_recipes
branch master
tag pandora
commit 54c141a214e113dfa7366affc7afcdcbf819508b
version (container hash) ac594f67db8a2f66e1c5cc049cfe1968
build date 2020-12-05T20:16:59.649Z
size (MB) 2678
size (bytes) 801996831
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.