-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: remove max af 1 from all workflows #1338
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release_v13.0.0 #1338 +/- ##
===================================================
- Coverage 99.44% 99.44% -0.01%
===================================================
Files 39 39
Lines 1975 1974 -1
===================================================
- Hits 1964 1963 -1
Misses 11 11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 💯 🎅
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
This PR:
This change has been made to remove the max allele frequency 1 filter, which has a risk of removing true somatic variants at a very high tumor purity. See issue: #1180
Removed: for now removed features.
Tests:
Note that likely many variants would have been added in the T-only WGS cases if at the same time the T-only WGS specific filter
bcftools filter --threads {threads} --include 'FORMAT/ALT_F1R2 > {params.strand_reads[0]} && (FORMAT/ALT_F1R2 > 0 && FORMAT/ALT_F2R1 > {params.strand_reads[0]} && FORMAT/REF_F1R2 > {params.strand_reads[0]} && FORMAT/REF_F2R1 > {params.strand_reads[0]})' --soft-filter '{params.strand_reads[1]}' --mode '+'
was also removed. But as this filter also requires that some reads support a reference variant, then removing the MAX_AF 1 filter in this analysis type has no real effect.I think we can conclude with these stats that it is safe to remove the MAX AF filter.
Review and tests: