I have a vcf file containing a couple thousand SNPs. None of them have a number in the ID column. I know that most of these SNPs do not have a dbSNP ID. However, I want to find the ID for the ones that do.
Is there any way to loop over the .vcf file and query a database to fill in the ID for the SNPs that are discovered?
if you have dbSNP vcf and sample vcf, you can intersect both of them