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

Violin plot: filter Inf values #2380

Merged
merged 2 commits into from Feb 25, 2024
Merged

Violin plot: filter Inf values #2380

merged 2 commits into from Feb 25, 2024

Conversation

vladsavelyev
Copy link
Member

We fixed the issue before caused by DRAGEN setting Inf in wgs_coverage_metrics.csv, e.g.:

COVERAGE SUMMARY,,Mean/Median autosomal coverage ratio over genome,inf

However, the Infs were still passed down to the violin plot, where they don't make much sense. They also caused a runtime warning in the outlier calculation stage, as numpy didn't handle Infs there. So filtering them out in violins.

Fixes #2377

@vladsavelyev vladsavelyev merged commit 9379f89 into main Feb 25, 2024
6 checks passed
@vladsavelyev vladsavelyev deleted the violin-filter-inf branch February 25, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DRAGEN wgs_coverage_metrics RuntimeWarning encountering an invalid value
2 participants