Debian Codegraph @

singularity/delly.def

raw
1 # Build image
2 BootStrap: library
3 From: ubuntu:22.04
4 Stage: build
5
6 %post
7 apt-get -y update
8 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
9 apt-get clean
10 rm -rf /var/lib/apt/lists/*
11 cd /opt
12 git clone --recursive https://github.com/dellytools/delly.git
13 cd /opt/delly/
14 make STATIC=1 all
15 make install
16
17
18 # Final image
19 BootStrap: library
20 From: alpine:latest
21 Stage: final
22
23 %files from build
24 /opt/delly/bin/delly /bin/delly
25
26 %post
27 DELLYVERSION=`./bin/delly --version`
28 echo "export DELLYVERSION=\"${DELLYVERSION}\"" >> $SINGULARITY_ENVIRONMENT
29 CREATEDATE=`date`
30 echo "export CREATEDATE=\"${CREATEDATE}\"" >> $SINGULARITY_ENVIRONMENT
31
32 %environment
33 export PATH=/bin:$PATH
34
35 %runscript
36 delly
37
38 %labels
39 Singularity definition file version v0.0.1
40
41 %help
42 This is a container running delly.
43 You can run delly on files inside the directory where you start
44 the container, i.e.: singularity exec delly.sif delly call -g ref.fa input.bam