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

Merge branch 'submission' into 'main'

add genomicranges

See merge request !32
parents 5f15531c fbb58dad
No related branches found
No related tags found
1 merge request!32add genomicranges
......@@ -36,6 +36,12 @@ image:
## WRITE YOUR TEST RULE HERE AFTER BRANCHING ON SUBMISSION AND CREATE A MERGE REQUEST
genomicranges-1480-test:
extends: .templateTest
variables:
BASENAME: genomicranges
TAG: 1480
RECIPE_PATH: recipes/rpackages/bioconductor/genomicranges
#####################
## Include
......
BootStrap: docker
From: ubuntu:bionic
%help
This singularity installs R v 4.1.1 and required packages
%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.1.1
# ~~~~~ R packages ~~~~~ #
R --slave -e 'install.packages("BiocManager", repos="https://cloud.r-project.org/")'
R --slave -e 'BiocManager::install("GenomicRanges")'
%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