-
Notifications
You must be signed in to change notification settings - Fork 590
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
VAT Performance / Reliability Improvements #7828
Conversation
## remove those rows (that match up to the first 5 cols) | ||
zgrep -v -wFf duplicates.tsv ~{normalized_vcf} > deduplicated.vcf.gz | ||
rm ~{normalized_vcf} ## clean up | ||
bcftools query normalized.filtered.bcf -f '%CHROM\t%POS\t%ID\t%REF\t%ALT\n' | sort check_duplicates.tsv | uniq -d | cut -f1,2,3,4,5 > duplicates.tsv |
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.
I think this can be simplified to:
grep -v '^#' normalized.filtered.bcf | cut -f 1-5 | sort | uniq -d > duplicates.tsv
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.
and actually we dont need ID either so we could do it with f1,2,4,5
Codecov Report
@@ Coverage Diff @@
## ah_var_store #7828 +/- ##
================================================
Coverage ? 86.305%
Complexity ? 35195
================================================
Files ? 2170
Lines ? 164837
Branches ? 17774
================================================
Hits ? 142262
Misses ? 16253
Partials ? 6322 |
No description provided.