-
Notifications
You must be signed in to change notification settings - Fork 1
/
DDN.def
54 lines (41 loc) · 1.47 KB
/
DDN.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
bootstrap: docker
From: ubuntu:14.04
%help
This container provides a working version of DiscovarDeNovo.
(Note: The code does not compile on newer gcc versions in our hands.)
%post
export DEBIAN_FRONTEND=noninteractive
apt -y update
apt -y install build-essential
apt -y install git tcsh tzdata unzip wget zip
apt -y install ncurses-dev libcurl4-openssl-dev zlib1g-dev libbz2-dev liblzma-dev
apt -y install libjemalloc-dev
apt -y install python python-biopython
### Installing prerequisites and DiscovarDeNovo
echo 'Installing HTSLIB from http://www.htslib.org/ '
cd /opt
git clone git://github.com/samtools/htslib.git htslib
cd htslib
make && make install
echo 'Installing SAMTOOLS from http://www.htslib.org/ '
cd /opt
git clone git://github.com/samtools/samtools.git samtools
cd samtools
make && make install
echo 'Installing DiscovarDenovo from https://software.broadinstitute.org/software/discovar/blog/ '
cd /opt
wget ftp://ftp.broadinstitute.org/pub/crd/DiscovarDeNovo/latest_source_code/discovardenovo-52488.tar.gz
tar xzf discovardenovo-52488.tar.gz
cd discovardenovo-52488
./configure
make && make install
### Installing additional software
echo 'Installing scripts from AllRice repository '
cd /opt
git clone https://github.com/BrendelGroup/AllRice
cp AllRice/bin/* /usr/local/bin
%environment
export LC_ALL=C
%labels
Maintainer vpbrendel
Version v1.1