Skip to content

Commit d504d4e

Browse files
committed
Added singularity definition file and build command
1 parent b329312 commit d504d4e

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# The whole build process can take about 1 hour
2+
singularity build --fakeroot msighdp.sif msighdp.def
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Bootstrap: docker
2+
From: r-base:4.2.1
3+
4+
%post
5+
apt-get update
6+
7+
# Install system dependencies for mSigHdp
8+
apt-get -y install libcurl4-openssl-dev libxml2-dev
9+
10+
# Specify path for installing R libraries inside container
11+
Rscript -e '.libPaths("/usr/local/lib/R/site-library")'
12+
13+
# Install R package mSigHdp
14+
Rscript -e 'install.packages(pkgs = "remotes")'
15+
Rscript -e 'remotes::install_github(repo = "steverozen/mSigHdp", ref = "v2.1.2-branch")'

0 commit comments

Comments
 (0)