This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how to extract the variants using Bed file

Hello all,

Sorry if this has been answered before (though I have not found an appropriate answer already) What is an effective way to extract multiple variants from the vcf file using bed file.

I have a huge number of variants in vcf. example I have downloaded the human whole genome vcf. but I am looking for certain exons variants and I have those position in the bed file. I want to find only check those positions alone not the whole vcf. how to extract the variants using Bed file

variant-calling bed next-gen-sequencing

1 answer

The site filtering options in VCFtools has a --bed command, which allows the user to extract or filter variant using a bed file.

Log in to answer this question.