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

replace by main

parent 84b0583e
No related branches found
No related tags found
1 merge request!33Submission spikchip
......@@ -35,12 +35,7 @@ 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
......@@ -83,6 +78,9 @@ include:
# R packages
#####################
- local: "yaml-files/rpackages/snakemake-pipelines/chipseq/snakemakechipseq-deploy.yaml"
- local: "yaml-files/rpackages/bedtools/bedr-deploy.yaml"
- local: "yaml-files/rpackages/bioconductor/genomeinfodb/genomeinfodb-deploy.yaml"
- local: "yaml-files/rpackages/bioconductor/genomicranges/genomicranges-deploy.yaml"
#####################
# Single cell genomics
......
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("GenomeInfoDb")'
%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
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
bedr-107-builddeploy:
extends: .templateBuildDeploy
variables:
BASENAME: bedr
TAG: 107
RECIPE_PATH: recipes/rpackages/bedtools
only:
changes:
- recipes/rpackages/bedtools/Singularity.bedr-107
bedr-107-test:
extends: .templateTest
variables:
BASENAME: bedr
TAG: 107
RECIPE_PATH: recipes/rpackages/bedtools
genomeinfodb-1323-builddeploy:
extends: .templateBuildDeploy
variables:
BASENAME: genomeinfodb
TAG: 1323
RECIPE_PATH: recipes/rpackages/bioconductor/genomeinfodb
only:
changes:
- recipes/rpackages/bioconductor/genomeinfodb/Singularity.genomeinfodb-1323
genomeinfodb-1323-test:
extends: .templateTest
variables:
BASENAME: genomeinfodb
TAG: 1323
RECIPE_PATH: recipes/rpackages/bioconductor/genomeinfodb
genomicranges-1480-builddeploy:
extends: .templateBuildDeploy
variables:
BASENAME: genomicranges
TAG: 1480
RECIPE_PATH: recipes/rpackages/bioconductor/genomicranges
only:
changes:
- recipes/rpackages/bioconductor/genomicranges/Singularity.genomicranges-1480
genomicranges-1480-test:
extends: .templateTest
variables:
BASENAME: genomicranges
TAG: 1480
RECIPE_PATH: recipes/rpackages/bioconductor/genomicranges
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