See create_rsidx_index
query_rsid_rsidx(rsid, vcffile, id = NULL, rsidx)
Vector of rsids
Path to .vcf.gz GWAS summary data file
If multiple GWAS datasets in the vcf file, the name (sample ID) from which to perform the filter
Path to rsidx index file
vcf object