Skip to content

Bug: FastQC averages phred scores naively #110

Description

@rhpvorderman

Phred quality scores are log scores. A quality of 30 stands for a 1 in 1000 error rate. A quality of 10 stands for a 1 in 10 error rate. The average of 10 and 30 is therefore -10 * log10((0.1 + 0.001) /2) ~= 13. Not (10 + 30) / 2 = 20.
On actual realworld data the average quality between the naive method and the proper can differ more than 10 Phred units. That is an overestimation of the quality by a factor of 10!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions