src/hg/overlapSelect/tests/makefile 1.33

1.33 2009/07/30 09:03:32 markd
added some test cases around strand
Index: src/hg/overlapSelect/tests/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/overlapSelect/tests/makefile,v
retrieving revision 1.32
retrieving revision 1.33
diff -b -B -U 4 -r1.32 -r1.33
--- src/hg/overlapSelect/tests/makefile	22 Jul 2009 07:01:29 -0000	1.32
+++ src/hg/overlapSelect/tests/makefile	30 Jul 2009 09:03:32 -0000	1.33
@@ -28,9 +28,13 @@
 	rangeTests \
 	cds_id_out_gp \
 	wideTest \
 	name2EmptyTest \
-	orthoStrandTest
+	orthoStrandTest \
+	xenoPslStatsTest \
+	xenoPslStatsStrandTest \
+	xenoPslGpStatsStrandTest \
+	xenoGpPslStatsStrandTest
 
 ###
 # selecting PSLs
 ###
@@ -749,8 +753,28 @@
 orthoStrandTest: mkout
 	${OVERSEL} -strand -aggregate -statsOutputAll input/orthoSel.psl input/orthoIn.gp output/$@.stats
 	${DIFF} expected/$@.stats output/$@.stats
 
+# handle of translated alignments is not straight foward
+# -+ == - strand
+# +- == - strand
+# -- == + strand
+xenoPslStatsTest: mkout
+	${OVERSEL} -statsOutputAll -excludeSelf input/xenoEst1.psl input/xenoEst1.psl output/$@.stats
+	${DIFF} expected/$@.stats output/$@.stats
+
+xenoPslStatsStrandTest: mkout
+	${OVERSEL} -strand -statsOutputAll -excludeSelf input/xenoEst1.psl input/xenoEst1.psl output/$@.stats
+	${DIFF} expected/$@.stats output/$@.stats
+
+xenoPslGpStatsStrandTest: mkout
+	${OVERSEL} -strand -statsOutputAll -excludeSelf input/xenoEst1.psl input/xenoEst1.gp output/$@.stats
+	${DIFF} expected/$@.stats output/$@.stats
+
+xenoGpPslStatsStrandTest: mkout
+	${OVERSEL} -strand -statsOutputAll -excludeSelf input/xenoEst1.gp input/xenoEst1.psl output/$@.stats
+	${DIFF} expected/$@.stats output/$@.stats
+
 mkout:
 	@${MKDIR} output
 
 clean: