d12a52edb9b3841adcfe42fc25b361e59654ef11
jcasper
  Fri Feb 28 15:59:19 2020 -0800
Better accounting for chromosome aliases in .hic files, refs #25055

diff --git src/hg/inc/chromAlias.h src/hg/inc/chromAlias.h
index 3542623..f8ef164 100644
--- src/hg/inc/chromAlias.h
+++ src/hg/inc/chromAlias.h
@@ -57,16 +57,23 @@
 /* Print out chromAlias as a line in a tab-separated file. */
 
 #define chromAliasCommaOut(el,f) chromAliasOutput(el,f,',',',');
 /* Print out chromAlias as a comma separated list including final comma. */
 
 void chromAliasJsonOutput(struct chromAlias *el, FILE *f);
 /* Print out chromAlias in JSON format. */
 
 /* -------------------------------- End autoSql Generated Code -------------------------------- */
 
 struct hash *chromAliasMakeLookupTable(char *database);
 /* Given a database name and a connection to that database, construct a lookup table
  * that takes chromosome alias names to a matching struct chromAlias.  Returns NULL
  * if the given database does not have a chromAlias table. */
 
+struct hash *chromAliasMakeReverseLookupTable(char *database);
+/* Given a database name and a connection to that database, construct a lookup table
+ * that takes the actual assembly chromosome names to struct chromAliases.  Because a
+ * chromosome name may well have multiple aliases, repeated calls to hashLookupNext
+ * may be required to see them all.  Returns NULL if the given database does not have
+ * a chromAlias table. */
+
 #endif /* CHROMALIAS_H */