Add annotation of nuclear rDNA cistron

Former-commit-id: ee54019ddddbea4d17956622968f6ce673b609e1
Former-commit-id: 5e5381cf59409ca3dc01098b0e3f330efe0a6a32
This commit is contained in:
2016-05-02 10:56:40 +02:00
parent 7d04371387
commit 8113b80d47
8 changed files with 72157 additions and 45 deletions

View File

@ -25,31 +25,44 @@ PRTPATH = $(abspath $(PRTDIR))
DATADIR = $(CFGDIR)../data
DATAITS = $(DATADIR)/its
HMMPRESS= $(BINDIR)/hmmpress
HMMDIR = $(PKGDIR)/ITSx_db/HMMs
HMMS = $(wildcard $(HMMDIR)/*.hmm)
HMMP = $(patsubst %.hmm,%.hmm.h3p,$(HMMS))
HMMI = $(patsubst %.hmm,%.hmm.h3i,$(HMMS))
HMMM = $(patsubst %.hmm,%.hmm.h3m,$(HMMS))
#
# Rules
#
.PHONY: all clean test portclean pkg pkg.expand pkg.install
all:: pkg
%.hmm.h3i: %.hmm
echo $(HMMPRESS)
(! test -s $< ) || $(HMMPRESS) -f $<
all:: pkg.install
pkg.expand::
test -d $(PKGDIR) || mkdir $(PKGDIR)
$(TAR) zxf $(PKGTAR) -C $(PKGDIR) --strip-components 1
pkg.install:: pkg.expand
pkg.install:: pkg
@mkdir -p $(BINDIR)
@cp $(PKGDIR)/ITSx $(BINDIR)
@mkdir -p $(DATAITS)
@cp -r $(PKGDIR)/ITSx_db $(DATAITS)
@echo "+++++++++++ package $(PKG) done"
pkg:: pkg.install
pkg:: pkg.expand clean $(HMMI)
test::
echo No test available
clean::
\rm -f $(HMMP) $(HMMI) $(HMMM)
echo Done
portclean::