6301b9d4214f464863531b4af0e0ba2c0f6106b4 angie Wed Jan 6 20:33:39 2021 -0800 Increase branch width for VCF+tree display; it was really hard to follow branches with the narrow width. Russ asked to make it configurable; for now, just make it wider. diff --git src/hg/hgTracks/vcfTrack.c src/hg/hgTracks/vcfTrack.c index 2afb164..15f5dd7 100644 --- src/hg/hgTracks/vcfTrack.c +++ src/hg/hgTracks/vcfTrack.c @@ -1971,31 +1971,31 @@ if (runLength > maxRunLength) { maxRunLength = runLength; maxRunColor = childColors[ix-1]; } if (maxRunLength > (childCount>>1)) return maxRunColor; return defaultCol; } static Color rDrawPhyloTreeInLabelArea(struct phyloTree *node, struct hvGfx *hvg, int x, int yOff, double pxPerHap, MgFont *font, struct hash *highlightSamples, struct hash *sampleColors) /* Recursively draw the tree in the left label area. */ { -const int branchW = 4; +const int branchW = 8; int labelEnd = leftLabelX + leftLabelWidth; Color color = MG_BLACK; if (!sampleColors) { // Misuse the branch length value as RGB color (if it's the typical small number, will still // draw as approximately black): unsigned int rgb = node->ident->length; color = MAKECOLOR_32( ((rgb>>16)&0xff), ((rgb>>8)&0xff), (rgb&0xff) ); } if (node->numEdges > 0) { // Draw each child and a horizontal line to child int minY = -1, maxY = 0; Color childColors[node->numEdges]; int ix;