-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (15 loc) · 738 Bytes
/
Makefile
File metadata and controls
20 lines (15 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SHELL := /bin/bash
all:
if [ ! -d 3rd_party/bin ]; then mkdir 3rd_party/bin; fi
cd 3rd_party/bin && if [ ! -f biokanga ]; then ln ../biokanga; fi && if [ ! -f express ]; then ln ../express .;fi
cd 3rd_party/justpreprocessmyreads && $(MAKE) 3rd_party
cd 3rd_party/samtools && ./configure --prefix=../ && $(MAKE) -j 4 && $(MAKE) install && $(MAKE) clean
cd 3rd_party/bwa && $(MAKE) && cp -f bwa qualfa2fq.pl xa2multi.pl ../bin/ && $(MAKE) clean
cd 3rd_party && cp -f bedtools bwa bin/
chmod a+rx 3rd_party/bin/*
echo "Installation complete."
clean:
cd 3rd_party/samtools && $(MAKE) clean
cd 3rd_party/bedtools && $(MAKE) clean
cd 3rd_party/bin && rm -fr *
###################################################################