How to remove Variants where the Ref and Alt in the reference genome are switched?
1
0
Entering edit mode
5.8 years ago
O.ibra ▴ 10

I ran the sample twice on a WES platform, and there is about 3% discordance between the 2 VCFs. Most of the discordant "variants" seem to be homozygous Refs in the databases, except that the reference genome has the other allele as Ref. It seems to be a problem with the ref genome (hg19). Is there a way to filter out such variants?

Thanks

WES NGS Variant-Calling • 954 views
ADD COMMENT
1
Entering edit mode
5.8 years ago

bcftools norm in https://samtools.github.io/bcftools/bcftools.html

-c, --check-ref e|w|x|s

what to do when incorrect or missing REF allele is encountered: exit (e), warn (w), exclude (x), or set/fix (s) bad sites. The w option can be combined with x and s. Note that s can swap alleles and will update genotypes (GT) and AC counts, but will not attempt to fix PL or other fields.

ADD COMMENT

Login before adding your answer.

Traffic: 1685 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6