7a0635be123f35cc0b5063af03911a70ecbc9841
angie
  Fri Jun 1 17:30:41 2012 -0700
Track #7964 (1000 Genomes Phase 1 Variant Calls): adding trackDb entryand code support for database table that has per-chromosome fileNames
because 1000 Genomes provides enormous per-chromosome files.
This is very similar to code support for per-chromosome BAM.
To-do: refactor out bam-specific code and trackDbCustom.c's
tdbBigFileName to use bbiNameFromSettingOrTable(Chrom).

diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h
index 7c7405f..9366f1b 100644
--- src/hg/inc/hdb.h
+++ src/hg/inc/hdb.h
@@ -881,16 +881,20 @@
  * if table has no parent trackDb pass NULL for parent
  * If this is a custom track, pass in function ctLookupName(table) which looks up a
  * custom track by name, otherwise pass NULL
  */
 
 boolean hIsBigBed(char *database, char *table, struct trackDb *parent, struct customTrack *(*ctLookupName)(char *table));
 /* Return TRUE if table corresponds to a bigBed file.
  * if table has no parent trackDb pass NULL for parent
  * If this is a custom track, pass in function ctLookupName(table) which looks up a
  * custom track by name, otherwise pass NULL
  */
 
 char *bbiNameFromSettingOrTable(struct trackDb *tdb, struct sqlConnection *conn, char *table);
 /* Return file name from bigDataUrl or little table. */
 
+char *bbiNameFromSettingOrTableChrom(struct trackDb *tdb, struct sqlConnection *conn, char *table,
+				     char *seqName);
+/* Return file name from bigDataUrl or little table (which might have a seqName column). */
+
 #endif /* HDB_H */