bd7ad41f40025e2d8d08ea6a001507b935a8ff5d hiram Mon Jul 21 17:39:50 2025 -0700 adding archaea as a new group refs #29545 diff --git src/hg/makeDb/doc/asmHubs/commonHtml.pm src/hg/makeDb/doc/asmHubs/commonHtml.pm index 9ae04cb10a4..eceff0c33ca 100644 --- src/hg/makeDb/doc/asmHubs/commonHtml.pm +++ src/hg/makeDb/doc/asmHubs/commonHtml.pm @@ -13,68 +13,73 @@ # This is a listing of the public methods and variables (which should be # treated as constants) exported by this module: @EXPORT_OK = ( qw( otherHubLinks htmlFooter ) ); # otherHubLinks: arg one: vgpIndex, arg two: asmHubName, arg three: orderList # arguments allow decision on customization of the table for different # types of assembly hubs sub otherHubLinks($$) { my ($vgpIndex, $asmHubName) = @_; my %asmCounts; # key is hubName, value is number of assemblies -my @hubList = qw(primates mammals birds fish vertebrate invertebrate plants fungi viral bacteria); +my @hubList = qw(primates mammals birds fish vertebrate invertebrate plants fungi viral archaea bacteria); foreach my $hubName (@hubList) { my $asmCount = `grep -v "^#" ../${hubName}AsmHub/${hubName}.orderList.tsv | wc -l`; chomp $asmCount; $asmCounts{$hubName} = $asmCount; } my $vgpCount = `grep -h -v "^#" ../vgpAsmHub/vgp.*.orderList.tsv | wc -l`; chomp $vgpCount; $asmCounts{'vgp'} = $vgpCount; my $hprcCount = `grep -c -h -v "^#" ../hprcAsmHub/hprc.orderList.tsv`; chomp $hprcCount; $asmCounts{'hprc'} = $hprcCount; +my $brcCount = `grep -c -h -v "^#" ../brcAsmHub/brc.orderList.tsv`; +chomp $brcCount; +$asmCounts{'brc'} = $brcCount; my $ccgpCount = `grep -c -h -v "^#" ../ccgpAsmHub/ccgp.orderList.tsv`; chomp $ccgpCount; $asmCounts{'ccgp'} = $ccgpCount; my $legacyCount = `grep -c -h -v "^#" ../legacyAsmHub/legacy.orderList.tsv`; chomp $legacyCount; $asmCounts{'legacy'} = $legacyCount; # different table output for VGP index if ((0 == $vgpIndex)) { printf "
\n
| Additional hubs with collections of assemblies | |||
|---|---|---|---|
| Collection | \n"; printf "Hub index pages: | \n"; printf "Assembly statistics: | \n"; printf "Track statistics: | \n"; printf "
| other vertebrates | \n"; } elsif ($hubName =~ m/fish/) { printf "|||
| Fishes | \n"; } elsif ($hubName =~ m/invertebrate/) { printf "|||
| Invertebrates | \n"; } elsif ($hubName =~ m/viral/) { printf "|||
| Viruses | \n"; + } elsif ($hubName =~ m/archaea/) { + printf "|||
| Archaea | \n"; } elsif ($hubName =~ m/bacteria/) { printf "|||
| Bacteria | \n"; } else { printf "|||
| %s | \n", ucfirst($hubName); } printf "%d assemblies | \n", $hubName, $asmCounts{$hubName}; printf "assembly stats | \n", $hubName; printf "track stats | \n", $hubName; printf "
| legacy/superseded | \n"; printf "%d assemblies | \n", "legacy", $asmCounts{'legacy'}; printf "assembly stats | \n"; printf "track stats | \n"; printf "
| VGP - Vertebrate Genome Project | \n"; printf "%d assemblies | \n", "VGP", $asmCounts{'vgp'}; printf "assembly stats | \n"; printf "track stats | \n"; printf "
| CCGP - The California Conservation Genomics Project | \n"; printf "%d assemblies | \n", "CCGP", $asmCounts{'ccgp'}; printf "assembly stats | \n"; printf "track stats | \n"; printf "
| HPRC - Human Pangenome Reference Consortium | \n"; printf "%d assemblies | \n", "HPRC", $asmCounts{'hprc'}; printf "assembly stats | \n"; printf "track stats | \n"; + printf "
| BRC - BRC Analytics - Bioinformatics Research Center | \n"; + printf "%d assemblies | \n", "BRC", $asmCounts{'brc'}; + printf "assembly stats | \n"; + printf "track stats | \n"; printf "
\n
| Alternate sets of VGP assemblies | NCBI Refseq | ||||
|---|---|---|---|---|---|
| Index pages: | \n"; printf "primary assembly | \n"; printf "alternate/haplotype | \n"; printf "trio mat/pat | \n"; printf "legacy/superseded | \n"; printf "other NCBI Refseq assemblies | \n"; printf "
| Assembly statistics: | \n"; printf "primary assembly | \n"; printf "alternate/haplotype | \n";|||