b20d369b166f18509c1fd18682ffc4fc5a5aac09
braney
  Thu Aug 21 17:38:37 2025 -0700
working on detail page for quickLift Chain.

diff --git src/hg/lib/hubConnect.c src/hg/lib/hubConnect.c
index 22391ca82c5..fc6b3ee49c1 100644
--- src/hg/lib/hubConnect.c
+++ src/hg/lib/hubConnect.c
@@ -511,43 +511,46 @@
     if (tdb->parent)
         {
         addQuickToHash( tdb->parent->settingsHash, quickLiftChain, db);
         }
     }
 }
 
 // a string to define trackDb for quickLift chain
 static char *chainTdbString = 
     "shortLabel chain to %s\n"
     "longLabel chain to %s\n"
     "type bigChain %s\n"
     "chainType reverse\n"
     "bigDataUrl %s\n"
     "quickLiftUrl %s\n"
-    "quickLiftDb %s\n";
+    "quickLiftDb %s\n"
+    "otherTwoBitUrl %s\n";
 
 static struct trackDb *makeQuickLiftChainTdb(struct trackHubGenome *hubGenome,  struct hubConnectStatus *hub)
 // make a trackDb entry for a quickLift chain
 {
 struct trackDb *tdb;
 
 AllocVar(tdb);
 
 char buffer[4096];
 safef(buffer, sizeof buffer, "hub_%d_quickLiftChain", hub->id);
 tdb->table = tdb->track = cloneString(buffer);
-safef(buffer, sizeof buffer, chainTdbString, hubGenome->quickLiftDb, hubGenome->quickLiftDb, hubGenome->quickLiftDb, hubGenome->quickLiftChain, hubGenome->quickLiftChain, hubGenome->quickLiftDb);
+char otherTwoBitFile[4096];
+hNibForChrom(hubGenome->quickLiftDb, NULL, otherTwoBitFile);
+safef(buffer, sizeof buffer, chainTdbString, hubGenome->quickLiftDb, hubGenome->quickLiftDb, hubGenome->quickLiftDb, hubGenome->quickLiftChain, hubGenome->quickLiftChain, hubGenome->quickLiftDb, otherTwoBitFile);
 tdb->settings = cloneString(buffer);
 tdb->settingsHash = trackDbSettingsFromString(tdb, buffer);
 trackDbFieldsFromSettings(tdb);
 tdb->visibility = tvDense;
 
 return tdb;
 }
 
 static struct trackDb *fixForQuickLift(struct trackDb *tdbList, struct trackHubGenome *hubGenome, struct hubConnectStatus *hub)
 // assign a quickLift chain to the tdbList and make a trackDb entry for the chain. 
 {
 assignQuickLift(tdbList, hubGenome->quickLiftChain, hub->trackHub->defaultDb);
 
 struct trackDb *quickLiftTdb = makeQuickLiftChainTdb(hubGenome, hub);
 quickLiftTdb->grp = tdbList->grp;