e8c22713a73f66943a295ed2b4912e6d8069e782
braney
  Wed Sep 10 16:54:43 2025 -0700
allow quickLiftChain and liftOverChain tables to have different names
specified in hg.conf

diff --git src/hg/inc/liftOver.h src/hg/inc/liftOver.h
index 7b1bfc0cddd..d849fff3fe2 100644
--- src/hg/inc/liftOver.h
+++ src/hg/inc/liftOver.h
@@ -1,29 +1,32 @@
 /* lift genome annotations between assemblies using chain files */
 
 /* Copyright (C) 2013 The Regents of the University of California 
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 
 #ifndef LIFTOVER_H
 #define LIFTOVER_H
 
 #include "chain.h"
 #include "genePred.h"
 
 #define LIFTOVER_MINMATCH        0.95
 #define LIFTOVER_MINBLOCKS       1.00
 
+#define liftOverChainTableConfVariable      "liftOverChainName"
+#define defaultLiftOverChainTableName       "liftOverChain"
+
 enum liftOverFileType
 {
     none = 0,
     bed = 1,
     positions = 2,
 };
 
 struct liftOverChain *liftOverChainList();
 /* Get list of all liftOver chains in the central database */
 
 void filterOutMissingChains(struct liftOverChain **pChainList);
 /* Filter out chains that don't exist.  Helps partially mirrored sites. */
 
 struct liftOverChain *liftOverChainListFiltered();
 /* Get list of all liftOver chains in the central database
@@ -125,18 +128,20 @@
 
 char *liftOverErrHelp();
 /* Help message explaining liftOver failures */
 
 char *remapBlockedBed(struct hash *chainHash, struct bed *bed,  
                              double minMatch, double minBlocks, bool fudgeThick,
                              bool multiple, char *db, char *chainTable);
 /* Remap blocks in bed, and also chromStart/chromEnd.  If multiple, then bed->next may be
  * changed to point to additional newly allocated mapped beds, and bed's pointer members may
  * be free'd so be sure to pass in a properly allocated bed.
  * Return NULL on success, an error string on failure. */
 
 void liftOverAddChainHash(struct hash *chainHash, struct chain *chain);
 /* Add this chain to the hash of chains used by remapBlockedBed */
 
+char *liftOverChainTable();
+/* Return the name of the liftOverChain table. */
 #endif