I had to analyze the genotype matrix ("012" format) in R and find out "important" SNPs. I simply feel like there must be a straightforward way of going from the site location (genome position) to variant identifiers, gene id, and/or known annotations. In other words, if there is a list of site locations (like Chr1 2673), what's the best way of getting annotations from RefSeq, Ensembl, and such (downloaded in gff3 or gtf formats, or accessing via any API)? Any help would be appreciated!
Thanks for great suggestions. I look more into Annovar and SnpEff.