Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Phred Calculation #131

Merged
merged 5 commits into from
Nov 13, 2024
Merged

Fix Phred Calculation #131

merged 5 commits into from
Nov 13, 2024

Conversation

jwcodee
Copy link
Member

@jwcodee jwcodee commented Nov 13, 2024

Previous Phred average calculation is in correct. It was done by calculating the arithmetic mean of the Phred scores. This is incorrect because Phred are log scaled. To properly calculate the average, the phred score needs to be de-loged to probabilities first.

Has implication for GoldPolish and therefore GoldPolish-Target

@jwcodee jwcodee requested a review from lcoombe November 13, 2024 05:21
Copy link
Member

@lcoombe lcoombe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small question!
Also, could you add a bit more description about how you fixed the Phred in the PR description? Just for posterity.

Copy link
Member

@lcoombe lcoombe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Johnathan!

@jwcodee jwcodee merged commit e520776 into master Nov 13, 2024
3 checks passed
@jwcodee jwcodee deleted the fix_phred branch November 13, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants