quals = [round(v.qual, 4) for v in single_var_stats]
counts, bins = np.histogram(quals, bins=100)
return _format_histogram_for_vega(counts, bins)
def _compute_gq_histogram(single_var_stats):
After Change
quals = [round(v.qual, 4) for v in single_var_stats]
// set range from 0 to 150 by default but allow it to expand
return _default_limits_histogram(quals, default_min=0, default_max=150)
def _compute_gq_histogram(single_var_stats):
Compute a histogram over genotype quality (GQ sub-column under FORMAT in VCF).