Question: Merge WGS and genotype data
gravatar for GK1610
17 months ago by
United States
GK161080 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 • 616 views
ADD COMMENTlink modified 10 months ago by Biostar ♦♦ 20 • written 17 months ago by GK161080
gravatar for Shab86
17 months ago by
Shab86250 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 17 months ago by Shab86250
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: 1622 users visited in the last hour