Skip to content
Snippets Groups Projects
Commit a03c248b authored by Nicolas Descostes's avatar Nicolas Descostes
Browse files

replace by submission branch

parent 4ffcbc7e
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,12 @@ image:
#####################
## WRITE YOUR TEST RULE HERE AFTER BRANCHING ON SUBMISSION AND CREATE A MERGE REQUEST
bedr-107-test:
extends: .templateTest
variables:
BASENAME: bedr
TAG: 107
RECIPE_PATH: recipes/rpackages/bedtools
#####################
## Include
......
BootStrap: docker
From: ubuntu:bionic
%help
This singularity installs R v 4.2.1 and the bedr package
%post
# ~~~~~~ General setup and folder creation ~~~~~~ #
apt-get update && apt-get install -y wget build-essential libxml2
export LC_ALL=C
export LC_CTYPE=C
export LC_COLLATE=C
export LC_TIME=C
export LC_MESSAGES=C
export LC_MONETARY=C
export LC_PAPER=C
export LC_MEASUREMENT=C
# ~~~~~ MINICONDA ~~~~~ #
wget https://repo.continuum.io/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh && \
bash Miniconda3-4.7.12.1-Linux-x86_64.sh -b -p /conda && \
rm -f Miniconda3-4.7.12.1-Linux-x86_64.sh
export PATH="/conda/bin:${PATH}"
# ~~~~~ R v 4.1.1 ~~~~~ #
conda install -c conda-forge r-base=4.2.1
# ~~~~~ R packages ~~~~~ #
R --slave -e 'install.packages("bedr", repos="https://cloud.r-project.org/")'
%environment
export PATH="${PATH}:/conda/bin"
export LC_ALL=C
export LC_CTYPE=C
export LC_COLLATE=C
export LC_TIME=C
export LC_MESSAGES=C
export LC_MONETARY=C
export LC_PAPER=C
export LC_MEASUREMENT=C
%labels
Author Nicolas Descostes
Version v0.0.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment