8efbcad3f2816dec50b5671a4445d2e6943f7f91 max Mon Apr 13 07:57:41 2026 -0700 Use light gray for monomorphic strVar loci (het=0), distinct from no-data gray, refs #36652 Add a separate color for loci where heterozygosity is exactly 0 (single allele observed) across all four strVar subtracks: light gray (200,200,200). This distinguishes them from the existing medium gray (128,128,128) used when no allele frequency data is available. Previously het=0 was lumped into the dark blue "nearly monomorphic" bin. Also expand the itemRgb field description in all four .as files to list the full color scheme. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> diff --git src/hg/makeDb/scripts/webstr/webstr.as src/hg/makeDb/scripts/webstr/webstr.as index 26ed024c6a6..a5389ec081f 100644 --- src/hg/makeDb/scripts/webstr/webstr.as +++ src/hg/makeDb/scripts/webstr/webstr.as @@ -1,27 +1,27 @@ table webstr "WebSTR short tandem repeat loci with allele frequency data from EnsembleTR panel" ( string chrom; "Chromosome" uint chromStart; "Start position" uint chromEnd; "End position" string name; "Repeat motif x copy count" uint score; "Score (0-1000)" char[1] strand; "Strand" uint thickStart; "Thick start (same as chromStart)" uint thickEnd; "Thick end (same as chromEnd)" - uint reserved; "Item color RGB" + uint reserved; "Item color RGB|by heterozygosity: light gray (het=0), dark blue (<0.1), medium blue (0.1-0.3), light purple (0.3-0.5), salmon (0.5-0.7), dark red (>=0.7), medium gray (no data)" string motif; "Repeat unit motif" uint period; "Length of repeat unit" uint numCopies; "Number of repeat copies in reference" string repeatId; "WebSTR repeat identifier" float het; "Expected heterozygosity|1 - sum(p_i^2) pooled across all 1000 Genomes populations" lstring afrHist; "AFR allele frequency histogram (space-separated allele=freq pairs)" uint afrN; "AFR sample count" lstring amrHist; "AMR allele frequency histogram (space-separated allele=freq pairs)" uint amrN; "AMR sample count" lstring easHist; "EAS allele frequency histogram (space-separated allele=freq pairs)" uint easN; "EAS sample count" lstring eurHist; "EUR allele frequency histogram (space-separated allele=freq pairs)" uint eurN; "EUR sample count" lstring sasHist; "SAS allele frequency histogram (space-separated allele=freq pairs)" uint sasN; "SAS sample count"