src/hg/lib/hui.c 1.264
1.264 2010/03/03 19:30:02 angie
Bam track improvements: 1. Enable indel-coloring. 2. Display soft-clipped sequence instead of pretending it doesn't exist.
Index: src/hg/lib/hui.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hui.c,v
retrieving revision 1.263
retrieving revision 1.264
diff -b -B -U 4 -r1.263 -r1.264
--- src/hg/lib/hui.c 2 Mar 2010 17:38:25 -0000 1.263
+++ src/hg/lib/hui.c 3 Mar 2010 19:30:02 -0000 1.264
@@ -947,9 +947,9 @@
static boolean indelAppropriate(struct trackDb *tdb)
/* Return true if it makes sense to offer indel display options for tdb. */
{
-return (tdb && startsWith("psl", tdb->type) &&
+return (tdb && (startsWith("psl", tdb->type) || sameString("bam", tdb->type)) &&
(cfgOptionDefault("browser.indelOptions", NULL) != NULL));
}
void indelShowOptions(struct cart *cart, struct trackDb *tdb)