f7738bbbaf7e4795de4aca61f476d1ddfe127e21 hiram Sun Apr 6 22:00:59 2025 -0700 reset scripts to function on hgdownload3 no redmine diff --git src/hg/makeDb/doc/asmHubs/hubIndex.pl src/hg/makeDb/doc/asmHubs/hubIndex.pl index 84e6f5b6962..d7806abcb53 100755 --- src/hg/makeDb/doc/asmHubs/hubIndex.pl +++ src/hg/makeDb/doc/asmHubs/hubIndex.pl @@ -1,32 +1,30 @@ #!/usr/bin/env perl use strict; use warnings; use File::Basename; -my $thisMachine = `uname -n`; +my $thisMachine = `hostname -s`; chomp $thisMachine; if ($thisMachine ne "hgdownload") { - if ($thisMachine ne "hgdownload1" && $thisMachine ne "hgdownload2") { - if ($thisMachine ne "hgdownload1.soe.ucsc.edu") { - printf STDERR "# NOTE: This script is only used on hgdownload\n"; + if ($thisMachine ne "hgdownload1" && $thisMachine ne "hgdownload2" && $thisMachine ne "hgdownload3") { + printf STDERR "# NOTE: This script is only used on hgdownload[123]\n"; exit 255; } } -} ############################################################################# sub startHtml() { printf '<!DOCTYPE HTML 4.01 Transitional> <!--#set var="TITLE" value="GenArk: UCSC Genome Archive" --> <!--#set var="ROOT" value=".." --> <!--#include virtual="$ROOT/inc/gbPageStartHardcoded.html" --> <h1>GenArk: UCSC Genome Archive</h1> ' } ############################################################################# @@ -209,27 +207,27 @@ } printf "</tbody></table>\n"; my $totalAsmHubs = `grep -v "^#" /mirrordata/hubs/UCSC_GI.assemblyHubList.txt | wc -l`; chomp $totalAsmHubs; printf "<p>\n"; printf "Please note: text file <a href='UCSC_GI.assemblyHubList.txt' target=_blank>listing</a> of %d genome assembly hubs\n", $totalAsmHubs; printf "</p>\n"; printf "<p>\n"; printf "Please note, the <em>invertebrate</em> category contains more than just <em>invertebrate</em> animals. Until these clades are sorted out, with extra categories created, you will also find parasites, protozoa, and other single celled eukaryotes in the <em>invertebrate</em> grouping.\n"; printf "</p>\n"; printf "<p>\n"; -printf "Please use the <a href='https://genome.ucsc.edu/assemblyRequest.html?all' target=_blank>Assembly Request</a> page to find and request GenBank assemblies that have not yet been included in the collections here.\n"; +printf "Please use the <a href='https://genome.ucsc.edu/assemblySearch.html' target=_blank>Assembly Search</a> page to find and request GenBank assemblies that have not yet been included in the collections here.\n"; printf "</p>\n"; printf "<p>\n"; printf "To reference these resources in publications, please credit:<br><br>\n"; printf "Clawson, H., Lee, B.T., Raney, B.J. et al.<br>\n"; printf "<b>GenArk: towards a million UCSC genome browsers</b>.<br><em>Genome Biol</em> 24, 217 (2023).\n"; printf "<a href='https://doi.org/10.1186/s13059-023-03057-x' target=_blank>\n"; printf "https://doi.org/10.1186/s13059-023-03057-x</a>\n"; printf "</p>\n"; endHtml;