-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathAEGeAn.def
88 lines (74 loc) · 2.49 KB
/
AEGeAn.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
bootstrap: docker
From: fedora:39
%help
This container provides portable & reproducible components for AEGeAn:
... from the Brendel Group.
Please see https://github.com/BrendelGroup/AEGeAn for complete documentation.
%post
dnf -y update
dnf -y install bc bzip2 findutils git lftp mlocate tcsh unzip zip wget which
dnf -y install gcc-c++ make ruby
dnf -y install cairo-devel pango-devel zlib-devel
dnf -y install libnsl
dnf -y install python3-pycurl python3-pyyaml python3-pandas
dnf -y install python3-entrypoints python3-pytest python3-pytest-cov
dnf -y install python3-biopython
dnf -y install pandoc
dnf -y install parallel
#NOTE: "python" is refered to in AEGeAn code, but may not be defined for
# the Fedora 39 environment as set up above. The following will work:
ln -sf /usr/bin/python3 /usr/bin/python
cd /usr/local/src
echo 'Installing the GenomeTools package:'
git clone https://github.com/genometools/genometools.git
cd genometools
make
make install
make clean
sh -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/genometools-x86_64.conf'
ldconfig
cd ..
echo 'Installing the cd-hit package:'
git clone https://github.com/weizhongli/cdhit.git
cd cdhit
make
make install
cd ..
echo 'Installing the lastz package:'
mkdir LASTZ
cd LASTZ
wget https://github.com/lastz/lastz/archive/refs/tags/1.04.22.tar.gz
tar -xzf 1.04.22.tar.gz
cd lastz-1.04.22/
sed -i -e "1i LASTZ_INSTALL=/usr/local/bin" make-include.mak
make
make install
cd ../..
git clone https://github.com/BrendelGroup/AEGeAn.git
cd AEGeAn
make all LocusPocus
make install install-scripts
sh -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/aegean-x86_64.conf'
ldconfig
cd ..
echo 'Installing BLAST+ version 2.15.0 from NCBI'
wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.15.0/ncbi-blast-2.15.0+-x64-linux.tar.gz
tar -xzf ncbi-blast-2.15.0+-x64-linux.tar.gz
cd ncbi-blast-2.15.0+/bin
cp * /usr/local/bin/
cd ../..
rm ncbi-blast-2.15.0+-x64-linux.tar.gz
cd ..
echo 'Installing MuSeqBox version 5.8 from BrendelGroup'
wget http://www.brendelgroup.org/bioinformatics2go/Download/MuSeqBox-1-13-2024.tar.gz
tar -xzf MuSeqBox-1-13-2024.tar.gz
cd MUSEQBOX5.8/src/
make linux
make install
make clean
cd ../..
%environment
export LC_ALL=C
%labels
Maintainer vpbrendel
Version v1.2.0