bb8db448470551c15c9b0ddab573a0c8e2e6303a,deepvariant/vcf_stats.py,,_compute_qual_histogram,#Any#,254

Before Change


  
  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).
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: google/deepvariant
Commit Name: bb8db448470551c15c9b0ddab573a0c8e2e6303a
Time: 2019-09-18
Author: cym@google.com
File Name: deepvariant/vcf_stats.py
Class Name:
Method Name: _compute_qual_histogram


Project Name: CellProfiler/CellProfiler
Commit Name: d0a3a6f8ba7cddade579a4216ff3529b876c6b79
Time: 2011-07-12
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/objects.py
Class Name: Objects
Method Name: relate_children


Project Name: google/deepvariant
Commit Name: bb8db448470551c15c9b0ddab573a0c8e2e6303a
Time: 2019-09-18
Author: cym@google.com
File Name: deepvariant/vcf_stats.py
Class Name:
Method Name: _compute_gq_histogram