create vcf from bed coordinates
Heys,
I have a silly question for you, that I am not managing to accomplish. I have a vcf file and a bed file with some coordinate positions and I would like to get a second vcf file with only the SNPs found within the coordinates of my bed file. Any suggestions?
Thanks in advance!
• 1,022 views
•
link
1 answer
Solved!
bcftools view -R regions.bed file.vcf.gz
• 0 views
•
link
Log in to answer this question.