Hello Biostars,
I have a list of chromosome and coordinates in my vcf file, see examples:
1:10327
1:10434
1:10440
1:10469
...
Is there anyway to get the rs number for each coordinate using plink or bcftools? I found some old answers here, but I'll like to know how this is currently done.
The example you are showing is not a vcf file. So, is the example you've posted realy the data you have?
Duplicate of: - Get Rs Number Based On Position
For annotating with dbsnp (or any other relevant vcf/bed), you can use bcftools annotate function or bedtools intersect function, provided variants are in vcf. OP is not in vcf.