Skip to content

Commit

Permalink
Added 'Bwotie2' (beta5)
Browse files Browse the repository at this point in the history
  • Loading branch information
agordon committed Feb 17, 2012
1 parent ea71c55 commit d50f436
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ BWA=http://downloads.sourceforge.net/project/bio-bwa/bwa-0.6.1.tar.bz2
BOWTIE_ZIP=$(notdir $(BOWTIE))
BOWTIE_DIR=$(subst -src,,$(basename $(BOWTIE_ZIP)))

BOWTIE2=http://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.0.0-beta5/bowtie2-2.0.0-beta5.zip
#BOWTIE2 Custom installation
BOWTIE2_ZIP=$(notdir $(BOWTIE2))
BOWTIE2_DIR=$(basename $(BOWTIE2_ZIP))


# Default URL is dummy. Use must specify a valid one
URL=foo://must/replace/this/with/real/url/of/package
TARNAME=$(notdir $(URL))
Expand Down Expand Up @@ -239,6 +245,7 @@ all:
@echo ""
@echo " samtools"
@echo " bowtie"
@echo " bowtie2"
@echo " tophat"
@echo " cufflinks"
@echo " bwa"
Expand Down Expand Up @@ -449,6 +456,12 @@ bowtie:
( [ -d "$(BOWTIE_DIR)" ] || unzip -o "$(BOWTIE_ZIP)" )
( cd "$(BOWTIE_DIR)" && $(MAKE) )

.PHONY: bowtie2
bowtie2:
( [ -e "$(BOWTIE2_ZIP)" ] || wget "$(BOWTIE2)" )
( [ -d "$(BOWTIE2_DIR)" ] || unzip -o "$(BOWTIE2_ZIP)" )
( cd "$(BOWTIE2_DIR)" && $(MAKE) )

.PHONY: tophat
tophat: samtools
$(MAKE) URL="$(TOPHAT)" \
Expand Down Expand Up @@ -511,6 +524,10 @@ bwa_install:
bowtie-install:
cp $(BOWTIE_DIR)/{bowtie,bowtie-build,bowtie-inspect} $(DEFAULT_INSTALLATION_PREFIX)/bin

.PHONY: bowtie2-install
bowtie2-install:
cp $(BOWTIE2_DIR)/{bowtie2,bowtie2-build,bowtie2-align,bowtie2-inspect} $(DEFAULT_INSTALLATION_PREFIX)/bin


.PHONY: bioinfo
bioinfo: samtools bowtie bwa bedtools tophat cufflinks
Expand Down

0 comments on commit d50f436

Please sign in to comment.