ec78332ec7a8d2c17e446ed76adf23a968655fe8,cnvlib/coverage.py,,interval_coverages_count,#Any#Any#,17

Before Change


         % (tot_time,
            int(round(tot_reads / tot_time, 0)),
            int(round(len(all_counts) / tot_time, 0))))
    echo("Summary of counts:",
         "\n\tbins=%d, total reads=%d" % (len(all_counts), tot_reads),
         "\n\tmean=%.4f min=%s max=%s" % (tot_reads / len(all_counts),
                                          min(all_counts), max(all_counts)))
    tot_mapped_reads = bam_total_reads(bam_fname)
    if tot_mapped_reads:
        echo("On-target percentage: %.3f (of %d mapped)"
            % (100. * tot_reads / tot_mapped_reads, tot_mapped_reads))

After Change


         % (tot_time,
            int(round(tot_reads / tot_time, 0)),
            int(round(len(all_counts) / tot_time, 0))))
    echo("Summary:",
         "//bins=%d," % len(all_counts),
         "//reads=%d," % tot_reads,
         "mean=%.4f," % tot_reads / len(all_counts),
         "min=%s," % min(all_counts),
         "max=%s" % max(all_counts))
    tot_mapped_reads = bam_total_reads(bam_fname)
    if tot_mapped_reads:
        echo("On-target percentage: %.3f (of %d mapped)"
            % (100. * tot_reads / tot_mapped_reads, tot_mapped_reads))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: etal/cnvkit
Commit Name: ec78332ec7a8d2c17e446ed76adf23a968655fe8
Time: 2014-07-25
Author: eric.talevich@gmail.com
File Name: cnvlib/coverage.py
Class Name:
Method Name: interval_coverages_count


Project Name: etal/cnvkit
Commit Name: e06b04eacb0eefdd392e54a0ec2a4f24c22ef50c
Time: 2014-09-08
Author: eric.talevich@gmail.com
File Name: cnvlib/target.py
Class Name:
Method Name: assign_names


Project Name: etal/cnvkit
Commit Name: ec78332ec7a8d2c17e446ed76adf23a968655fe8
Time: 2014-07-25
Author: eric.talevich@gmail.com
File Name: cnvlib/coverage.py
Class Name:
Method Name: interval_coverages_pileup