b622d147b7dbac52dbf3ba26928cd18e02d42bd8
braney
  Sat Feb 26 12:34:37 2022 -0800
add support for using a bigBed as the chromAlias file

diff --git src/hg/inc/trackHub.h src/hg/inc/trackHub.h
index 2d64fe0..cd0c617 100644
--- src/hg/inc/trackHub.h
+++ src/hg/inc/trackHub.h
@@ -129,30 +129,35 @@
 
 char *trackHubAssemblyField(char *database, char *field);
 /* Get data field from a assembly data hub. */
 
 int trackHubChromCount(char *database);
 /* Return number of chromosomes in a assembly data hub. */
 
 struct slName *trackHubAllChromNames(char *database);
 /* Return a list of all the chrom names in this assembly hub database. */
 
 char *trackHubChromSizes(char *database);
 /* see if this assembly hub has a chrom.sizes file, return url if present
  * returns NULL when not present
  */
 
+char *trackHubAliasBbFile(char *database);
+/* see if this assembly hub has an alias bigBed file, return url if present
+ * returns NULL when not present
+ */
+
 char *trackHubAliasFile(char *database);
 /* see if this assembly hub has an alias file, return url if present
  * returns NULL when not present
  */
 
 struct chromInfo *trackHubAllChromInfo(char *database);
 /* Return a chromInfo structure for all the chroms in this database. */
 
 struct chromInfo *trackHubMaybeChromInfo(char *database, char *chrom);
 /* Return a chromInfo structure for just this chrom in this database. 
  * Return NULL if chrom doesn't exist. */
 
 struct chromInfo *trackHubChromInfo(char *database, char *chrom);
 /* Return a chromInfo structure for just this chrom in this database. 
  * errAbort if chrom doesn't exist. */