[cvs] / 8fly / Makefile Repository:
ViewVC logotype

View of /8fly/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (download) (annotate)
Fri Aug 26 02:19:44 2005 UTC (5 years ago) by ybendana
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +5 -2 lines
Added options for running on nfs and xfold
#PFOLDSCAN = $(HOME)/pfold/pfoldscan.pl
PFOLDSCAN = /mnt/nfs/pfold/pfoldscan.pl

# Break up the processing of the alignment files into 10 batches (0-9).

# Get all the files in align subdirectory that end in "0.fa".
# Substitute "scan" for "align" in pathname.
# Substitute ".pfoldscan" for ".fa" in extension.
batch0: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*0.fa)))

batch1: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*1.fa)))

batch2: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*2.fa)))

batch3: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*3.fa)))

batch4: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*4.fa)))

batch5: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*5.fa)))

batch6: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*6.fa)))

batch7: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*7.fa)))

batch8: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*8.fa)))

batch9: $(subst .fa,.pfoldscan,$(subst align,scan,$(wildcard align/*9.fa)))

# "$*" matches the stem "%" of the rule target 
# "$<" matches the name of the rule prerequisite
# "$@" matches the name of the rule target
scan/%.pfoldscan: align/%.fa
	@echo '>>>>> Starting' $@ '>>>>>' `date`
#	$(PFOLDSCAN) -paml -o work/$* $< >$@
	$(PFOLDSCAN) -paml -x -d /mnt/nfs/dart/bin.darwin -p /mnt/nfs/pfold/bin.darwin -pamlDir /mnt/nfs/paml/bin.darwin -o work/$* $< >$@
#	$(PFOLDSCAN) -paml -x -d /mnt/nfs/dart/bin -p /mnt/nfs/pfold/bin -pamlDir /mnt/nfs/paml/bin -o work/$* $< >$@
	@echo '<<<<< Ending' $@ '<<<<<' `date`

clean:
	rm -rf scan work

Questions? Mail ihh at fruitfly dot org
ViewVC Help
Powered by ViewVC 1.0.3