File: delly.def

package info (click to toggle)
delly 1.7.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,728 kB
  • sloc: cpp: 12,571; python: 133; makefile: 57; sh: 23
file content (44 lines) | stat: -rw-r--r-- 1,186 bytes parent folder | download | duplicates (3)
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
# Build image
BootStrap: library
From: ubuntu:22.04
Stage: build

%post
	apt-get -y update
	apt-get install -y autoconf build-essential cmake g++ gfortran git libcurl4-gnutls-dev hdf5-tools libboost-date-time-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libboost-iostreams-dev libbz2-dev libhdf5-dev libncurses-dev liblzma-dev zlib1g-dev libdeflate-dev
	apt-get clean
	rm -rf /var/lib/apt/lists/*
	cd /opt
	git clone --recursive https://github.com/dellytools/delly.git
	cd /opt/delly/
	make STATIC=1 all
	make install


# Final image
BootStrap: library
From: alpine:latest
Stage: final

%files from build
       /opt/delly/bin/delly /bin/delly

%post
	DELLYVERSION=`./bin/delly --version`
	echo "export DELLYVERSION=\"${DELLYVERSION}\"" >> $SINGULARITY_ENVIRONMENT
	CREATEDATE=`date`
	echo "export CREATEDATE=\"${CREATEDATE}\"" >> $SINGULARITY_ENVIRONMENT

%environment
	export PATH=/bin:$PATH

%runscript
	delly

%labels
	Singularity definition file version v0.0.1

%help
	This is a container running delly.
	You can run delly on files inside the directory where you start
	the container, i.e.: singularity exec delly.sif delly call -g ref.fa input.bam