Question: Merge WGS and genotype data
gravatar for GK1610
8 months ago by
United States
GK161060 wrote:

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 • 315 views
ADD COMMENTlink modified 12 days ago by Biostar ♦♦ 20 • written 8 months ago by GK161060
gravatar for Shab86
7 months ago by
Shab86240 wrote:

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 COMMENTlink written 7 months ago by Shab86240
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1543 users visited in the last hour