b3c00af4551a848e3f6b83ed1e5fb41e12f039a1 braney Wed Feb 4 13:08:58 2015 -0800 add hgc and hgTables support for bigGenePred in custom tracks. #13861 diff --git src/hg/lib/hgSeq.c src/hg/lib/hgSeq.c index 5b53b0e..65c54a9 100644 --- src/hg/lib/hgSeq.c +++ src/hg/lib/hgSeq.c @@ -218,31 +218,31 @@ /* Print out HTML FORM entries for gene region and sequence display options. * Use defaults from CGI. */ { hgSeqOptionsHtiCart(hti, NULL); } #endif /* NEVER */ void hgSeqOptions(struct cart *cart, char *db, char *table) /* Print out HTML FORM entries for gene region and sequence display options. */ { struct hTableInfo *hti; char chrom[32]; char rootName[256]; -if (startsWith("hub_", table)) +if (isCustomTrack(table) || startsWith("hub_", table)) { // we asssume that this is a bigGenePred table if we got here with it hgSeqFeatureRegionOptions(cart, TRUE, TRUE); hgSeqDisplayOptions(cart, TRUE, TRUE, FALSE); return; } else if ((table == NULL) || (table[0] == 0)) { hti = NULL; } else { hParseTableName(db, table, rootName, chrom); hti = hFindTableInfo(db, chrom, rootName); if (hti == NULL)