-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSingularity.v0.4
40 lines (33 loc) · 1.17 KB
/
Singularity.v0.4
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
Bootstrap: docker
From: ubuntu:20.04
IncludeCmd: yes
%environment
#R_VERSION=4.1
#export R_VERSION
#R_CONFIG_DIR=/etc/R/
#export R_CONFIG_DIR
export LC_ALL=C
export PATH=$PATH:/opt/software/miniconda3/bin:/opt/software/mOTUs
%post
apt-get update
apt-get install -y apt-transport-https apt-utils software-properties-common
apt-get install -y add-apt-key
export DEBIAN_FRONTEND=noninteractive
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
apt-get install -y tzdata
dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y wget python3-pip git
mkdir -p /opt/software
# all the conda packages won't work together.. ><;
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/software/miniconda3
rm -f Miniconda3-latest-Linux-x86_64.sh
/opt/software/miniconda3/bin/conda install -y -c conda-forge -c bioconda \
'samtools=1.14=hb421002_0' \
'bwa=0.7.17=h5bf99c6_8' \
'kraken2=2.1.2=pl5262h7d875b9_0' \
'fastqc=0.11.9=hdfd78af_1' \
'multiqc=1.11=pyhdfd78af_0' \
'bbmap=38.93=he522d1c_0' \
'seqtk=1.3=h5bf99c6_3' \
'bedtools=2.30.0=h468198e_3'