-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdpsplant.def
107 lines (56 loc) · 2.09 KB
/
dpsplant.def
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Bootstrap: library
From: ubuntu:18.04
%environment
export PATH="/usr/local/bin:$PATH"
%help
This container launches DeepSignalPlant software used for the identification of modified nucleotides from nanopore sequencing data.
======================================================================================
usage (help) : singularity run dsplant.sif
building container : singularity build dsplant.sif dsplant.def
======================================================================================
%post
# ================================
# PREPARE the system
# ================================
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y software-properties-common
apt-add-repository universe
apt-get update
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
echo 'export LC_ALL=C.UTF-8' >> "$SINGULARITY_ENVIRONMENT"
echo 'export LANG=C.UTF-8' >> "$SINGULARITY_ENVIRONMENT"
apt-get install -y \
wget \
build-essential
libboostVERSION="1.62.0"
apt-get install -y \
libidn11 \
libidn11-dev \
libgssapi-krb5-2 \
libboost-atomic${libboostVERSION} \
libboost-chrono${libboostVERSION} \
libboost-date-time${libboostVERSION} \
libboost-filesystem${libboostVERSION} \
libboost-program-options${libboostVERSION} \
libboost-regex${libboostVERSION} \
libboost-system${libboostVERSION} \
libboost-log${libboostVERSION}
# ================================
# INSTALL python3.8
# ================================
apt-get -y install software-properties-common
add-apt-repository ppa:deadsnakes/ppa
apt-get -y install python3.8-distutils
apt-get -y install python3.8
ln -s /usr/bin/python3.8 /usr/bin/python
#curl installation
apt-get -y install curl
#pip installation
wget https://bootstrap.pypa.io/get-pip.py
python3.8 get-pip.py
# ================================
# INSTALL DeepSignal-plant
# ================================
pip install deepsignal-plant