Merge WGS and genotype data
1
0
Entering edit mode
5.2 years ago
GK1610 ▴ 110

I have a genotype data vcf file of 100 individuals filtered for maf >.01 and then I take wgs file of another 50 individuals

and I intersect the sites that are common in both genotype and wgs data.

I merge the wgs and genotype data for these common sites using bcftools

This new merged vcf file has sites that have MAF of genotype file. How do I update the MAF in new merged vcf file?

SNP • 1.5k views
ADD COMMENT
1
Entering edit mode
5.1 years ago
Shab86 ▴ 310

I would suggest you look at these biostars replies:

  1. A: Merging vcf files (intersection and union)
  2. A: How to use bcftools to calculate AF INFO field from AC and AN in VCF?

Hope this helps!

ADD COMMENT

Login before adding your answer.

Traffic: 1593 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