Rounding the frequencies in the browser

Can you explain the rules for how many significant figures are displayed in the v4.1 UI? It seems to vary a bit, for example 0 is displayed as “0.000”, and often long values seem to be rounded at 7 or 8 values past the decimal.

as one example: gnomAD

@browser_team any thoughts?

Hi @Christine_Preston and @jkgoodrich, I’ll be looking into this today.

1 Like

It looks like allele frequencies are rounded to four significant figures in the table on the variant page, whereas on the gene page, AFs are rounded to three significant figures and formatted using scientific notation, to better fit in that dense table. We’ll be adding some help content in the near future to make this clearer.