-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathSingularity.def
More file actions
42 lines (33 loc) · 774 Bytes
/
Singularity.def
File metadata and controls
42 lines (33 loc) · 774 Bytes
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
Bootstrap: docker
From: ubuntu:20.04
Stage: spython-base
%files
. /opt/truvari-source
%post
apt-get -qq update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq \
bcftools \
curl \
python3-dev \
python3-pip \
samtools \
tabix \
vcftools \
wget \
&& \
rm -rf /var/lib/apt/lists/*
cd /opt/truvari-source
wget https://mafft.cbrc.jp/alignment/software/mafft_7.505-1_amd64.deb \
&& dpkg -i mafft_7.505-1_amd64.deb && rm mafft_7.505-1_amd64.deb
python3 -m pip install --upgrade pip && \
python3 -m pip install setproctitle pylint anybadge coverage && \
python3 -m pip install --upgrade setuptools && \
python3 -m pip install ./
mkdir /data
cd /data
%runscript
cd /data
exec truvari "$@"
%startscript
cd /data
exec truvari "$@"