-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92c8678
commit 017ebb0
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Bootstrap: docker | ||
From: continuumio/miniconda3 | ||
|
||
%labels | ||
Maintainer Chaetognatha | ||
Hisat2 | ||
|
||
%post | ||
opt/conda/bin/conda install -c conda-forge -c bioconda hisat2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Bootstrap: docker | ||
From: ubuntu:18.04 | ||
|
||
%labels | ||
Maintainer Chaetognatha | ||
DESeq2 | ||
|
||
%environment | ||
R_VERSION=3.6.1 | ||
export R_VERSION | ||
R_CONFIG_DIR=/etc/R/ | ||
export R_CONFIG_DIR | ||
export LC_ALL=C | ||
export PATH=$PATH | ||
|
||
%apprun R | ||
exec R "$@" | ||
|
||
%apprun Rscript | ||
exec Rscript "$@" | ||
|
||
%runscript | ||
exec R "$@" | ||
|
||
%post | ||
apt-get update | ||
apt-get install -y apt-transport-https apt-utils software-properties-common | ||
apt-get install -y add-apt-key | ||
# set noninteractive installation | ||
export DEBIAN_FRONTEND=noninteractive | ||
#install tzdata package | ||
apt-get install -y tzdata | ||
# set your timezone | ||
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime | ||
dpkg-reconfigure --frontend noninteractive tzdata | ||
|
||
#add CRAN/Ubuntu repo, add key, then refresh | ||
apt-get update | ||
apt-get install -y wget | ||
apt-get install -y r-base r-base-dev | ||
|
||
R --version | ||
|
||
# installing packages from cran | ||
R --slave -e 'install.packages("gplots",repos="https://cran.rstudio.com/")' | ||
R --slave -e 'install.packages("RColorBrewer",repos="https://cran.rstudio.com/")' | ||
|
||
# installing from bioc | ||
R --slave -e 'if (!requireNamespace("BiocManager",quietly=TRUE)) install.packages("BiocManager")' | ||
R --slave -e 'BiocManager::install()' | ||
R --slave -e 'BiocManager::install("DESeq2",ask=FALSE)' |