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 coverage calculation to reduce false positives #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pontushojer
Copy link

The current coverage calculation is using the total genome length to calculate the mean chromosome coverage. Instead the chromosome length should be used. This is also calculated on line 47 but for whatever reason overwritten by the total genome length value which is removed in this PR.

The error means that for each chromosome the coverage has been calculated too low. Furthermore since the coverage is used to calculate the threshold for calling candidates as "PASS" or "FAIL", this threshold has been calculate too low. This would in turn lead to the higher false positive rates if relying on "PASS" entries.

Note that this PR should follow #20.

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.

1 participant