[cvs] / fungiscreen / Makefile Repository:
ViewVC logotype

View of /fungiscreen/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (annotate)
Sun Sep 23 01:17:34 2007 UTC (2 years, 11 months ago) by avu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +17 -5 lines
fixing stuff
#-------------------------------------------------------------------------------
# TODO write header
#-------------------------------------------------------------------------------


################################################################################
#  INCLUDE PIPELINE "LIBRARY" DEFS AND SAFETY CHECKS
#  (this MUST go before any rules or any includes!)
################################################################################

# path to Makefile.defs can be absolute or relative
include /nfs/projects/pipeline/Makefile.defs


################################################################################
#  DEFINITIONS OF VARS UNIQUE TO PROJECT
#  i.e. they don't override pipeline variables
################################################################################

# include this project's makefiles
include $(PROJ_ROOT)/Makefile.source

# this must be absolute
FUNGI_TREE := $(PROJ_ROOT)/source/jason/treefile
JUKES_CANTOR := /nfs/src/dart/grammars/jukescantor.eg

################################################################################
#  RULES/TARGETS THAT OVERRIDE PIPELINE: SUN GRID ENGINE
################################################################################

# fungal genome hackathon and follow-up rerun
testfungi.%.xrate\
fungi00.%.xrate\
fungi01.%.xrate:
	$(ADD_TREE) $(FUNGI_TREE) segment.stock > segment.withtree.stock
	$(WINDOWLICKER) -c 100 -gff segment.gff -gr $(firstword $(subst ., ,$*)) -w 300 -d 100 -g 0.9 -b 0 -r $(SPECIES) -x $(XRATE) segment.withtree.stock -- -s -l 130 -e $(JUKES_CANTOR) -g $(GRAMMARS)/$(word 2,$(subst ., ,$*)).eg\
	> segment.xrate 2>segment.xrate-err
	touch $@


################################################################################
#  RULES/TARGETS THAT OVERRIDE PIPELINE: OTHER
################################################################################

# copy alignment segments to a standard directory structure,
# also converting multi-FASTA format to Stockholm
$(CHECKPOINTS)/segments:
	for i in `ls $(ORIG_SEGMENTS) | egrep ^[0-9]+$$`;\
	do\
		mkdir -pv $(SGE_IN)/$$i;\
		$(DART)/perl/fasta2stockholm.pl $(ORIG_SEGMENTS)/$$i/output.mfa > $(SGE_IN)/$$i/segment.stock;\
	done
	touch $@


################################################################################
#  INCLUDE PIPELINE "LIBRARY" RULES
#  (this MUST go after all the rules!)
################################################################################

include $(PIPE_ROOT)/Makefile.root


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