-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
23 lines (18 loc) · 1022 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SHELL := /bin/bash
all:
if [ ! -d 3rd_party/bin ]; then mkdir 3rd_party/bin; fi
cd 3rd_party/cdbtools/cdbfasta && $(MAKE) && cp cdbfasta ../../bin/ && cp cdbyank ../../bin/ && $(MAKE) clean
cd 3rd_party/parafly && ./configure --prefix=`pwd`/../ && if [ ! -d bin ]; then mkdir bin; fi && $(MAKE) install
cd 3rd_party/transdecoder && $(MAKE)
cd databases/hhblits && echo "Uncompressing HHBlits databases, this may take a while..." && find . -name "*tar.bz2" -exec tar -xjf '{}' \;
cd databases/ncbi_taxonomy && echo "Uncompressing NCBI Tax databases, this may take a while..." && find . -name "*tar.bz2" -exec tar -xjf '{}' \; && ../../util/prepare_ncbi_taxonomy.pl
chmod -R a+rx 3rd_party/bin
echo "Installation complete."
clean:
cd 3rd_party/cdbtools/cdbfasta && $(MAKE) clean
cd 3rd_party/parafly && $(MAKE) clean
cd 3rd_party/transdecoder && $(MAKE) clean
rm -fr 3rd_party/bin
test:
cd test_suite && bash runme.sh && bash cleanme.sh
###################################################################