-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSingularity
40 lines (29 loc) · 1.3 KB
/
Singularity
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Bootstrap: yum
OSVersion: 7
MirrorURL: http://mirror.centos.org/centos-7/7/os/x86_64/
Include: yum
%environment
export PATH=/usr/local/bin:$PATH
%post
#install tools
#. /environment
yum -y update
yum -qq -y install curl tar bzip2 git zip wget
#install miniconda
curl -sSL https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o /tmp/miniconda.sh
bash /tmp/miniconda.sh -bfp /usr/local
export PATH=/usr/local/bin:$PATH
#install conda and mamba
. /usr/local/etc/profile.d/conda.sh
conda activate base
conda update conda -y
conda install mamba -c conda-forge -y
#clone pipeline
git clone https://github.com/tgac-vumc/QDNAseq.snakemake/
#install packages from yaml-file
cd QDNAseq.snakemake
mamba env update --file environment.yaml -y
#install packages manually
mamba install -c conda-forge -c bioconda -c r -c defaults python=3.8.5 snakemake=5.31 pyyaml bwa samtools picard fastqc perl-bioperl perl-dbd-mysql bioconductor-qdnaseq.hg19 bioconductor-biobase bioconductor-cghcall bioconductor-cghregions bioconductor-limma bioconductor-impute r-matrixstats r-r.cache r-denstrip r-flexmix r-gtools r-mass r-devtools r-ggplot2 r-survival -y
#install non-conda R-dependencies
Rscript r-dependencies.R