72db51d8eaa9689eab8ff9cd8b37261c1b1290da hiram Wed Jul 29 16:20:00 2026 -0700 stay on the server where the browser is do not go to genome.ucsc.edu refs #37958 diff --git src/hg/utils/automation/AsmHub.pm src/hg/utils/automation/AsmHub.pm index e341976b49b..035f949ab61 100755 --- src/hg/utils/automation/AsmHub.pm +++ src/hg/utils/automation/AsmHub.pm @@ -144,26 +144,26 @@ if ($dh) { @versions = sort { $b cmp $a } grep { -d "$archiveBase/$_" && $_ !~ m/^\./ } readdir($dh); closedir($dh); } } if (@versions) { my @parts = split('_', $ncbiAsmId); my $accession = "$parts[0]_$parts[1]"; my $hashedPath = asmIdToPath($ncbiAsmId); $html .= "<h2>Archived versions</h2>\n<p>\n"; $html .= "Earlier versions of this track, from before NCBI updated the source annotation, remain available as standalone track hubs:\n"; $html .= "</p>\n<ul>\n"; foreach my $version (@versions) { my $hubUrl = "https://hgdownload.soe.ucsc.edu/hubs/$hashedPath/$accession/archive/ncbiGene/$version/hub.txt"; - my $url = "https://genome.ucsc.edu/h/$accession?hubUrl=$hubUrl"; + my $url = "/h/$accession?hubUrl=$hubUrl"; $html .= "<li><a href='$url' target='_blank'>$version</a></li>\n"; } $html .= "</ul>\n\n"; } } return $html; } # ncbiGeneDescription 1;