GreenwoodLab/methylation450KPipeline:methylation450kpipeline_v1.0

$ singularity pull shub://GreenwoodLab/methylation450KPipeline:methylation450kpipeline_v1.0

Singularity Recipe

Bootstrap: docker
From: centos:6.6

%labels
MAINTAINER Natacha Beck <natabeck@gmail.com>


%files
. /methylation450KPipeline

%post
# Install prerequisite
yum update  -y

# Install basic packages
yum install -y gcc \
               perl \
               make \
               autoconf \
               automake \
               gcc-gfortran \
               compat-gcc-34-g77.x86_64 \
               wget \
               tar \
               gcc-c++ \
               readline-devel \
               libXt-devel \
               java-1.8.0-openjdk-devel \
               which \
               git \
               libcurl libcurl-devel \
               openssl-devel \
               libxml2-devel \
               libpng-devel \
               mesa-libGLU-devel.x86_64 \
               texlive-latex \
               pango \
               pango-devel \
               libX11-devel \
               libxt-dev


yum -y groupinstall "X Window System" "Desktop" "Fonts" "General Purpose Desktop"

# Install rstudio
wget https://download2.rstudio.org/rstudio-server-rhel-0.99.896-x86_64.rpm
yum install -y --nogpgcheck rstudio-server-rhel-0.99.896-x86_64.rpm
ln -s /usr/lib/rstudio-server/bin/pandoc/pandoc /usr/local/bin
ln -s /usr/lib/rstudio-server/bin/pandoc/pandoc-citeproc /usr/local/bin

# Install R-3.2.0
wget http://cran.r-project.org/src/base/R-3/R-3.2.0.tar.gz; tar -zxvf R-3.2.0.tar.gz; cd R-3.2.0; ./configure; make; cp /R-3.2.0/bin/R /bin/; cp /R-3.2.0/bin/Rscript /bin/

# Install all biocLite R packages
echo 'source("http://bioconductor.org/biocLite.R"); biocLite(ask=FALSE); biocLite(c("minfi","minfiData","wateRmelon","shinyMethyl","shinyMethylData"), ask=FALSE)' > /tmp/packages_bioc.R
Rscript /tmp/packages_bioc.R

# Install all other R packages
echo 'install.packages(c("httpuv", "devtools", "matrixStats", "RColorBrewer", "shiny", "rmarkdown", "knitr", "DT"), repos= "http://cran.us.r-project.org")' > /tmp/packages.R
Rscript /tmp/packages.R

# chmod
chmod 755 /methylation450KPipeline
chmod 755 /methylation450KPipeline/methylation450kpipeline_cbrain_process.sh

%environment
PIPELINE_450K=/methylation450KPipeline
PATH=$PATH:$PIPELINE_450K
export PIPELINE_450K

%runscript
exec /bin/bash "$@"

Collection


View on Datalad

Metrics

key value
id /containers/GreenwoodLab-methylation450KPipeline-methylation450kpipeline_v1.0
collection name GreenwoodLab/methylation450KPipeline
branch master
tag methylation450kpipeline_v1.0
commit 28a00f2666b8fdb66f56b7827abb10b7ce6a2113
version (container hash) 3dc8a2a11885019d31e575e9a3f53e2a
build date 2018-09-13T21:15:39.208Z
size (MB) 4040
size (bytes) 1583108127
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.