ae63ce55185746c5fabb2ead8cc20215faada36d
max
  Mon Nov 3 08:03:14 2025 -0800
adding ancient dna track, refs #36592

diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 1cad2982810..253c2e47d55 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -9691,52 +9691,65 @@
             
             char *hubName = hubNameFromGroupName(group->name);
             struct trackHub *hub = grabHashedHub(hubName);
             if (hub && hub->url)
                 {
                 puts(" ");
                 char infoText[10000];
                 safef(infoText, sizeof infoText, "A track hub is a list of tracks produced and hosted by external data providers. The UCSC browser group is not responsible for them. This hub is loaded from %s", hub->url);
                 printInfoIconColor(infoText, "white");
                 }
 
             hPrintf("</td><td style='text-align:right;'>\n");
             
             if (hubName)
 		{
+                if (cfgOptionBooleanDefault("groupDropdown", FALSE) && hub && hub->genomeList && hub->genomeList->next)
+                    {
+                    puts("<span style='font-size:13px'>Genomes: </span><select style='width:7em' name='db'>");
+                    for (struct trackHubGenome *thg = hub->genomeList; thg != NULL; thg = thg->next)
+                        {
+                        if (!sameWord(thg->name, database))
+                            printf("<option value='%s'>%s</option>\n", thg->name, thg->name);
+                        }
+                    puts("</select>");
+                    }
+
                 // visibility: hidden means that the element takes up space so the center alignment is not disturbed.
                 if (hub != NULL)
                     {
                     if (hub->descriptionUrl == NULL)
                         {
                         hPrintf("<a title='The track hub authors have not provided a descriptionUrl with background "
                                 "information about this track hub. ");
                         if (hub->email)
                             hPrintf("The authors can be reached at %s. ", hub->email);
                         hPrintf("This link leads to our documentation page about the descriptionUrl statement in hub.txt. ");
                         hPrintf("' href='../goldenPath/help/hgTrackHubHelp.html#hub.txt' "
                                 "style='color:#FFF; font-size: 13px;' target=_blank>No Info</a>");
                         }
                     else
                         {
                         hPrintf("<a title='Link to documentation about this track hub, provided by the track hub authors (not UCSC). ");
                         if (hub->email)
                             hPrintf("The authors can be reached at %s", hub->email);
                         hPrintf("' href='%s' "
                             "style='color:#FFF; font-size: 13px;' target=_blank>Info</a>", hub->descriptionUrl);
                         }
                     hPrintf("&nbsp;&nbsp;");
+
+
                     }
                 }
 
             hPrintf("<button type='button' class=\"hgtButtonHideGroup\" data-group-name=\"%s\" "
                     "title='Hide all tracks in this group'>Hide group</button>&nbsp;",
                     group->name);
 
             if (hub)
                 {
 		safef(idText, sizeof idText, "%s_%d_disconn", hubName, disconCount);
                 disconCount++;
                 hPrintf("<input name=\"hubDisconnectButton\" title='Disconnect third-party track hub and remove all tracks' "
                         "id='%s'"
                     " type=\"button\" value=\"Disconnect\">\n", idText);
 		jsOnEventByIdF("click", idText,