8a0946dd6870f10cde056ba243f1fb4ec1fd16b4
angie
  Thu Feb 27 11:58:33 2014 -0800
Adding support for plain VCF custom tracks (as opposed to VCF+tabix),since users seem to want to upload VCF, and as long as the file is
not too big it will work OK.  This means adding a new track type
vcf (as opposed to vcfTabix) and supporting it in hgTracks, hgTrackUi,
hgc, hgTables and hgVai.  (and others I've forgotten?)
refs #12416

diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h
index ad142c2..a206c27 100644
--- src/hg/inc/trackDb.h
+++ src/hg/inc/trackDb.h
@@ -606,23 +606,23 @@
 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 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);
+return startsWithWord("vcfTabix", tdb->type) || startsWithWord("vcf", tdb->type);
 }
 
 boolean trackDbSettingBlocksConfiguration(struct trackDb *tdb, boolean onlyAjax);
 // Configuration dialogs may be explicitly blocked in tracDb settings
 
 #endif /* TRACKDB_H */