90aa101ee4f9e47a77b2eac496eca213a787d513 jcasper Mon Jul 22 01:53:32 2019 -0700 Adding table browser support for hic tracks, refs #22316 diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index ff5fa85..0cdfe97 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -670,30 +670,36 @@ 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 tdbIsHic(struct trackDb *tdb) +// Return TRUE if tdb corresponds to a HIC file. +{ +return startsWithWord("hic", tdb->type); +} + INLINE boolean tdbIsBedGraph(struct trackDb *tdb) // Return TRUE if tdb corresponds to a bedGraph track. { return startsWithWord("bedGraph", tdb->type); } boolean trackDbSettingBlocksConfiguration(struct trackDb *tdb, boolean onlyAjax); // Configuration dialogs may be explicitly blocked in tracDb settings struct slPair *trackDbMetaPairs(struct trackDb *tdb); /* Read in metadata given a trackDb entry. This routine understands the three ways * that metadata can be represented in a trackDb stanza: "metadata" lines per stanza, * or a tab-separated or tagStorm file with a foreign key specified by the "meta" tag. */