Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
singularity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gad-public
singularity
Commits
18ad533c
Commit
18ad533c
authored
Nov 22, 2023
by
Valentin Vautrot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create definition file for singularity image dedicated to R analysis using OUTRIDER
parent
39ace5bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
0 deletions
+62
-0
R_3.6_outrider.def
R_3.6_outrider.def
+62
-0
No files found.
R_3.6_outrider.def
0 → 100644
View file @
18ad533c
BootStrap: docker
From: ubuntu:18.04
%help
This is a singularity container packing R version 3.6.3 and all the dependencies necessary to run the outrider ("Outlier in rnaseq finder") package, version 1.4.2, for rnaseq analysis.
(BiocManager version : 3.10)
Authors : valentin.vautrot@u-bourgogne.fr
%apprun R
exec R "${@}"
%apprun Rscript
exec Rscript "${@}"
%runscript
exec R "${@}"
%post
export R_VERSION=3.6.3
echo "export R_VERSION=${R_VERSION}" >> $SINGULARITY_ENVIRONMENT
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y --no-install-recommends apt-utils
apt-get install -y --no-install-recommends \
locales \
software-properties-common \
dirmngr \
wget \
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
# add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/"
add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/"
apt update
apt-get install -y --no-install-recommends -t bionic-cran35 r-base=${R_VERSION}-1bionic r-recommended=${R_VERSION}-1bionic r-base-core=${R_VERSION}-1bionic r-base-dev=${R_VERSION}-1bionic r-base-html=${R_VERSION}-1bionic r-doc-html=${R_VERSION}-1bionic
apt-get install -y --no-install-recommends libcurl4-openssl-dev libxml2-dev libssl-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev
# libcairo2-dev \
# libxt-dev \
# libopenblas-dev
# # Add a directory for host R libraries
# mkdir -p /library
# echo "R_LIBS_SITE=/library:\${R_LIBS_SITE}" >> /usr/lib/R/etc/Renviron.site
# install R packages :
Rscript -e 'install.packages("devtools")'
Rscript -e 'devtools::install_version("XML", version ="3.98.1.20", repos = "https://cran.r-project.org")'
Rscript -e 'devtools::install_version("htmlTable", version ="1.13.3", repos = "https://cran.r-project.org")'
Rscript -e 'devtools::install_version("locfit", version ="1.5.9.1", repos = "https://cran.r-project.org")'
Rscript -e 'devtools::install_version("Hmisc", version ="4.3.0", repos = "https://cran.r-project.org")'
Rscript -e 'install.packages("BiocManager", dependencies=TRUE)'
Rscript -e 'BiocManager::install("OUTRIDER", version = "3.10")'
# # Clean up
# rm -rf /var/lib/apt/lists/*
# %test
# R --quiet -e "stopifnot(getRversion() == '${R_VERSION}')"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment