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

VAT Performance / Reliability Improvements #7828

Merged
merged 7 commits into from
May 5, 2022
Merged

Conversation

kcibul
Copy link
Contributor

@kcibul kcibul commented May 4, 2022

No description provided.

## 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
Copy link
Collaborator

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

Copy link
Contributor

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
Copy link

codecov bot commented May 5, 2022

Codecov Report

❗ No coverage uploaded for pull request base (ah_var_store@d51a4e5). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             ah_var_store     #7828   +/-   ##
================================================
  Coverage                ?   86.305%           
  Complexity              ?     35195           
================================================
  Files                   ?      2170           
  Lines                   ?    164837           
  Branches                ?     17774           
================================================
  Hits                    ?    142262           
  Misses                  ?     16253           
  Partials                ?      6322           

@kcibul kcibul merged commit c1c8154 into ah_var_store May 5, 2022
@kcibul kcibul deleted the vat_speed_kctest branch May 5, 2022 14:49
This was referenced Mar 17, 2023
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.

4 participants