Extract SNPs by position from gvcf
1
1
Entering edit mode
6.1 years ago
wangdavid758 ▴ 30

I have 10 gvcfs for 10 samples and a list of SNP positions (chr# and position) I want to extract from the gvcfs. I can't just use vcftools to do this because the position is given as a range (start position and end position) in the gvcf and if the position in my list is within the range but not the start of the range, it won't be extracted. How can I combine my 10 gvcfs into a single vcf with only the SNPs at the positions I specify in my list?

gvcf extract SNP position • 3.4k views
ADD COMMENT
2
0
Entering edit mode

What can one do to extract calls that are fixed for reference? They get lost after GenotypeGVCFs.

I need to add SNP calls from new dataset (outgroup species) to my old dataset (species of interest). They were mapped to the same genome and I called haplotypes using GATK. Extracting SNPs from gvcf is my only idea right now.

Many thanks!

ADD REPLY

Login before adding your answer.

Traffic: 2893 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6