-
Notifications
You must be signed in to change notification settings - Fork 53
/
Singularity.def
31 lines (23 loc) · 786 Bytes
/
Singularity.def
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
BootStrap: library
From: ubuntu:20.04
%environment
export PATH=/bioinf-tools/SPAdes/bin/:$PATH
export LANG=C.UTF-8
export ARIBA_BOWTIE2=/bioinf-tools/bowtie2/bowtie2
export ARIBA_CDHIT=cdhit-est
export MPLBACKEND="agg"
%setup
mkdir $SINGULARITY_ROOTFS/ariba
rsync -a install_dependencies.sh MANIFEST.in LICENSE scripts ariba requirements.txt setup.py third_party $SINGULARITY_ROOTFS/ariba/
%post
export PATH=/bioinf-tools/SPAdes/bin/:$PATH
export ARIBA_BOWTIE2=/bioinf-tools/bowtie2/bowtie2
export ARIBA_CDHIT=cdhit-est
/ariba/install_dependencies.sh /bioinf-tools
cd /ariba
python3 -m pip install -r requirements.txt
python3 setup.py clean --all
python3 setup.py test
python3 setup.py install
%runscript
ariba "$@"