-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSingularity.variant_calling
executable file
·33 lines (24 loc) · 1.44 KB
/
Singularity.variant_calling
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
Bootstrap: docker
From: alpine:3.8
%post
apk update
apk upgrade
apk add git make
apk add bash curl gcc bzip2-dev libc-dev ncurses-dev openjdk8-jre-base xz-dev zlib-dev
apk add python2
curl -fsSL 'https://github.com/dkoboldt/varscan/releases/download/2.4.2/VarScan.v2.4.2.jar' -o /usr/local/bin/varscan.jar
curl -fsSL 'https://github.com/samtools/samtools/archive/1.1.tar.gz' | tar -xz -C /tmp/
curl -fsSL 'https://github.com/samtools/htslib/archive/1.1.tar.gz' | tar -xz -C /tmp && mv /tmp/htslib-1.1 /tmp/htslib
cd /tmp/htslib && make
cd /tmp/samtools-1.1 && make
curl -fsSL 'https://github.com/CSB5/lofreq/blob/master/dist/lofreq_star-2.1.3.1.tar.gz?raw=true' | tar -xz -C /tmp
cd /tmp/lofreq_star-2.1.3.1 && ./configure SAMTOOLS=/tmp/samtools-1.1 HTSLIB=/tmp/htslib && make install
curl -fsSL 'https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2' | tar -xj -C /tmp/
cd /tmp/samtools-1.9 && ./configure && make && make install
curl -fsSL 'https://github.com/samtools/bcftools/releases/download/1.9/bcftools-1.9.tar.bz2' | tar -xj -C /tmp/
cd /tmp/bcftools-1.9 && ./configure && make && make install
curl -fsSL 'https://github.com/samtools/htslib/releases/download/1.9/htslib-1.9.tar.bz2' | tar -xj -C /tmp/
cd /tmp/htslib-1.9 && ./configure && make && make install
rm -rf /tmp/samtools* /tmp/lofreq* /tmp/htslib* /tmp/bcftools*
%labels
Maintainer m-bull