a7652d074beefd4f023287d09ec32bc2bbf43796 hiram Fri Jan 24 10:26:32 2020 -0800 now using common scripts to build hubs refs #24748 diff --git src/hg/makeDb/doc/primateAsmHub/mkHubIndex.pl src/hg/makeDb/doc/primateAsmHub/mkHubIndex.pl deleted file mode 100755 index f1528d3..0000000 --- src/hg/makeDb/doc/primateAsmHub/mkHubIndex.pl +++ /dev/null @@ -1,244 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; - -my $home = $ENV{'HOME'}; -my $srcDocDir = "primateAsmHub"; -my $asmHubDocDir = "$home/kent/src/hg/makeDb/doc/$srcDocDir"; -my $Name = "Primate"; -my $asmHubName = "primates"; -my $defaultAssembly = "GCF_000001405.39_GRCh38.p13"; - -my $srcDir = "$home/kent/src/hg/makeDb/doc/$srcDocDir"; -my $commonNameOrder = "primates.commonName.asmId.orderList.tsv"; - -my @orderList; # asmId of the assemblies in order from the *.list files -# the order to read the different .list files: -my $assemblyCount = 0; - -############################################################################## -# from Perl Cookbook Recipe 2.17, print out large numbers with comma delimiters: -############################################################################## -sub commify($) { - my $text = reverse $_[0]; - $text =~ s/(\d\d\d)(?=\d)(?!\d*\.)/$1,/g; - return scalar reverse $text -} - -############################################################################## -### start the HTML output -############################################################################## -sub startHtml() { - -my $timeStamp = `date "+%F"`; -chomp $timeStamp; - -# - -print <<"END" - - - - - - -
-Assemblies from NCBI/Genbank/Refseq sources, subset of $asmHubName only. -
- --Individual assemblies are attached to the genome browser via the -link to genome browser in the table below. To attach all -of these assemblies in one set for this hub, select the ${Name}s assembly -hub from our -Public Hubs -page or by clicking these assembly links to any of our official websites: -
-To manually attach all the assemblies in this hub to other genome browsers: -
https://hgdownload.soe.ucsc.edu/hubs/$asmHubName/hub.txt
-After adding the hub, you will be redirected to the gateway page. The -genome assemblies can be selected from the -${Name}s Hub Assembly dropdown menu. -Instead of adding all the assemblies in one collected group, use the individual -link to genome browser in the table below. -
-count | -common name link to genome browser |
- scientific name and data download |
- NCBI assembly | -bioSample | bioProject | -assembly date, source link |
-
---|