Hi everyone,
I have a vcf file and a bed file which contains region information for some of the variants in vcf file. I want to extract the regions in the bed file which are corresponding to the variants in the vcf file. Can someone please tell me how I can do this? I know vcf tools can filter a vcf file using a bed file, but here I want to filter the bed file based on vcf file and out put the regions in bed file.