We are happy to announce the release of new highlight features for track hubs. These settings follow exactly the same syntax and functionality as the filter
trackDb settings, except instead of items being excluded from the display, items are striped with a colored background to appear "highlighted" compared to the other items in the display. The complete list of highlight trackDb settings is available on the trackDb definitions page.
Please note that at this time, only one highlight color is available per track, and if multiple highlight settings are present on the same track, only items that pass ALL highlight settings will be highlighted.
Examples:
highlight.score 300
In the example above, the highlight.score
setting allows you to highlight items based on the value of the score
field. Passing a value of 300 to the setting will highlight all items with a score of 300 or above.
highlightText.name NM*
The example above uses the highlightText
setting which will apply a highlight on the field name
. Using this setting, any items that begin with NM are highlighted.
highlightColor #ff0000
In this final example, the highlightColor
to set the default highlight color. With this setting, all highlight stripes will use the color red, #ff0000
.
Items in the NCBI RefSeq Historical track for hg38 have all items that begin with "NM" highlighted in red.
Jairo Navarro
UCSC Genome Browser
UC Santa Cruz Genomics Institute
Revealing life’s code.
Google Scholar | Twitter | Facebook | YouTube