This repository has been archived by the owner on Sep 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Singularity
73 lines (52 loc) · 1.67 KB
/
Singularity
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
Bootstrap: docker
From: finalduty/archlinux:daily
%post
#Adding mirrors to pacman mirrorlist
echo "Server = http://mirror.de.leaseweb.net/archlinux/\$repo/os/\$arch" >> /etc/pacman.d/mirrorlist
echo "[lambdait]" >> /etc/pacman.conf
echo "SigLevel = Never" >> /etc/pacman.conf
echo "Server = https://lambda.informatik.uni-tuebingen.de/repo/mypkgs/" >> /etc/pacman.conf
#Installing basic dependencies
pacman -Sy --noconfirm freetype2 ttf-dejavu git libcups mesa-libgl rsync strace r python2 gsl libxtst intel-tbb
#Clean up
paccache -r -k0
#Install all the dependencies of my pipeline
#JDK8, BT2, BWA, Samtools, etc.
pacman -Sy --noconfirm --force jdk bam2tdf dedup circularmapper clipandmerge fastqc preseq vcf2genome damageprofiler
#Clean up intermediate files
paccache -r -k0
pacman -Sy --noconfirm --force fastx_toolkit htslib qualimap mapdamage bwa eager-reportengine eagerstat eagerversions
#Clean up intermediate files
paccache -r -k0
pacman -Sy --noconfirm --force bowtie2 picard-tools stampy angsd gatk schmutzi
#Clean up intermediate files
paccache -r -k0
pacman -Sy --noconfirm --force eager-gui eager-cli
#Create analysis mountpoint
mkdir -p /data
#Clean up
paccache -r -k0 #clean up
%files
# Add GATK Licence to image to be consistent with Licencing Permission by Broad Institute
GATKLicence.txt /usr/share/licenses/common/GATKLicence.txt
%labels
Maintainer alexander.peltzer@uni-tuebingen.de
Version 1.92
%test
#cant test bwa and samtools unfortunately...
bwa || true
samtools || true
mapDamage -h
damageprofiler -h
dedup -h
ClipAndMerge
AdapterRemoval --version
fastqc -h
vcf2genome -h
qualimap -h
ReportTable -h
schmutzi -h
bowtie2 -h
eagercli
picard || true
gatk --version