Malindrie/scShapes:latest

$ singularity pull shub://Malindrie/scShapes:latest

Singularity Recipe

Bootstrap: docker
From: ubuntu:18.04

%help
  This container runs R.

%labels
  Maintainer Malindrie Dharmaratne.

%apprun R
  exec R "${@}"

%apprun Rscript
  exec Rscript "${@}"

%runscript
  exec R "${@}"

%post
    mkdir -p /scratch/global /scratch/local /rcc/stor1/refdata /rcc/stor1/projects /rcc/stor1/depts /extR/library1 /extR/library2
    apt-get update
    apt-get -y install \
        wget \
        build-essential \
        software-properties-common \
        apt-transport-https \
        locales \
        libv8-dev \
        libxml2-dev \
        libhdf5-serial-dev
    apt-get -y install libcurl4-openssl-dev libssl-dev
    echo "LC_ALL=en_US.UTF-8" >> /etc/environment
    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
    echo "LANG=en_US.UTF-8" > /etc/locale.conf
    locale-gen en_US.UTF-8
    echo 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/' >> /etc/apt/sources.list
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
    add-apt-repository -y "ppa:marutter/rrutter4.0"
    add-apt-repository -y "ppa:c2d4u.team/c2d4u4.0+"
    apt-get update
    apt-get -y install --no-install-recommends --allow-unauthenticated\
        r-base \
        r-base-core \
        r-base-dev
    apt-get clean

  mkdir -p $HOME/.R/
    echo "CXX14FLAGS=-O3 -march=native -mtune=native -fPIC\n" >> $HOME/.R/Makevars

  Rscript -e "install.packages('Matrix')"
  Rscript -e "install.packages('stats')"
  Rscript -e "install.packages('parallelly')"
  Rscript -e "install.packages('pscl')"
  Rscript -e "install.packages('emdbook')"
  Rscript -e "install.packages('future')"
  Rscript -e "install.packages('future.apply')"
  Rscript -e "install.packages('pscl')"
  Rscript -e "install.packages('VGAM')"
  Rscript -e "install.packages('MASS')"
  Rscript -e "install.packages('magrittr')"
  Rscript -e "install.packages('utils')"
  Rscript -e "install.packages('dgof')"
  Rscript -e "install.packages('rmarkdown')"
  Rscript -e "install.packages('devtools')"
  Rscript -e "devtools::install_github('Malindrie/scShapes', dep=FALSE, build_vignettes=TRUE)"

  rm -rf /var/lib/apt/lists/*

  echo "options(repos = c(CRAN = 'https://cloud.r-project.org/'), download.file.method = 'libcurl')" >> /usr/lib/R/etc/Rprofile.site

Collection


View on Datalad

Metrics

key value
id /containers/Malindrie-scShapes-latest
collection name Malindrie/scShapes
branch master
tag latest
commit 822c9aef60bceb14d89d22dfc81989e5974d5a31
version (container hash) 38e45aa99b415afefbb0322289cce7a1
build date 2021-04-05T10:47:29.469Z
size (MB) 911.0
size (bytes) 315580447
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.