22a67b8eddff877e9265906cfbc4df5a41c3e0db lrnassar Mon Aug 5 12:01:54 2019 -0700 Pointing hard-coded links to hgdownload refs #23734 diff --git src/hg/makeDb/doc/VGP/mkAsmStats.pl src/hg/makeDb/doc/VGP/mkAsmStats.pl index 979c3a4..ab72eb9 100755 --- src/hg/makeDb/doc/VGP/mkAsmStats.pl +++ src/hg/makeDb/doc/VGP/mkAsmStats.pl @@ -1,266 +1,266 @@ #!/usr/bin/env perl use strict; use warnings; use File::stat; my @orderList; # asmId of the assemblies in order from the *.list files # the order to read the different .list files: my @classList = qw( mammal bird reptile amphibian fish ); my %class; # key is asmId, value is from class list my $assemblyCount = 0; my $overallNucleotides = 0; my $overallSeqCount = 0; my $overallGapSize = 0; my $overallGapCount = 0; my %betterName; # key is asmId, value is common name ############################################################################## # 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"
This assembly hub contains assemblies released by the Vertebrate Genomes Project.
count | common name view in browser |
scientific name | NCBI assembly | sequence count | genome size nucleotides |
gap count | unknown bases (gap size sum) | masking percent |
---|---|---|---|---|---|---|---|---|
TOTALS: | assembly count $assemblyCount | $commaSeqCount | $commaNuc | $commaGapCount | $commaGapSize |