This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to extract mutations in a particular gene from the VCF file of whole genome

I would like to extract all the mutations in a single gene of interest from the VCF file. For example I would like to extract all the mutations in the NFKB1 gene from the whole genome VCF file.

ngs mutations vcf

Please don't post the same question on multiple forums - it's not great etiquette. I've added a comment on your other post but I'll add it here as well:

What have you tried? bcftools view has an option to extract by coordinates or by annotation if your VCF had the gene annotation. If you used custom annotation tools, they may have their own filtering utilities.

Thank you very much for your advice, will keep that in mind next time. Thank you again for the answer, will try it.

0 answers

No answers yet.

Log in to answer this question.