ea5b4301814c1df9f2a0f3b2d9e0d2f06b22635e braney Tue May 24 18:37:10 2016 -0700 hgTables support , some display changes, and a better hgc page for longTabix diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index 727aa17..ed38a29 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -604,30 +604,36 @@ // Set visibility in the cart. Handles all the complications necessary for subtracks. // More INLINES which depend on what the definition of "is" is INLINE boolean tdbIsBigBed(struct trackDb *tdb) // Local test to see if something is big bed. Handles hub tracks unlike hIsBigBed. { return startsWithWord("bigBed", tdb->type) || startsWithWord("bigGenePred", tdb->type) || startsWithWord("bigMaf", tdb->type); } INLINE boolean tdbIsBigWig(struct trackDb *tdb) // Local test to see if something is big bed. Handles hub tracks unlike hIsBigBed. { return startsWithWord("bigWig", tdb->type); } +INLINE boolean tdbIsLongTabix(struct trackDb *tdb) +// Return TRUE if tdb corresponds to a long tabix file. +{ +return startsWithWord("longTabix", tdb->type); +} + INLINE boolean tdbIsBam(struct trackDb *tdb) // Return TRUE if tdb corresponds to a BAM file. { return startsWithWord("bam", tdb->type); } INLINE boolean tdbIsVcf(struct trackDb *tdb) // Return TRUE if tdb corresponds to a VCF file. { return startsWithWord("vcfTabix", tdb->type) || startsWithWord("vcf", tdb->type); } INLINE boolean tdbIsBedGraph(struct trackDb *tdb) // Return TRUE if tdb corresponds to a bedGraph track. {