Entering edit mode
4.8 years ago
evelyn
▴
230
Hello,
I am trying to remove duplicate SNP rows from a multiple sample vcf file. SNPs have different positions but multiple duplicate rows. I tried using
bcftools norm -d in.vcf -o out.vcf
but it does not work. Is there any other way to remove duplicates from vcf file that does not change the file format. Thank you!
@finswimmer, thank you! I have tried
D
as well but it just results in the same as input file without removing duplicates.Hm, do you have an example of your vcf file?
This works for me:
Thank you! I will check again.