-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathSingularity
34 lines (26 loc) · 835 Bytes
/
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
Bootstrap: docker
From: vibpsb/i-adhore
%runscript
wgd --help
%help
wgd --help
%labels
AUTHOR [email protected]
%environment
# click was complaining about this
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
# set TMPDIR to a path defined within the container for mafft execution
export TMPDIR="/tmp"
%post
# install PAML from source
apt-get install -y wget && wget http://abacus.gene.ucl.ac.uk/software/paml4.9j.tgz && \
tar -xzf paml4.9j.tgz && cd paml4.9j/src && make -f Makefile && mv codeml /bin && cd /
# install python, git, etc.
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install python3-pip python3-tk git \
build-essential diamond-aligner mcl ncbi-blast+ muscle mafft prank fasttree phyml
# get wgd
git clone https://github.com/arzwa/wgd.git
cd wgd
# install wgd
pip3 install .