Question: Inconsistency of allele depth in BAM and VCF
0
gravatar for CY
10 months ago by
CY280
United States
CY280 wrote:

We checked several alleles (locus) in both bam and vcf file. Almost all of them show a little bit high depth in bam file and a bit lower depth (AD) in vcf file. I guess this have something to do with variant caller filtering out some reads based on pre-defined criteria before make the variant calling.

Am I guessing right? If it is, what criteria probably are is this case? Base quality or something else?

bam variant allele depth vcf • 340 views
ADD COMMENTlink modified 10 months ago by Noushin N550 • written 10 months ago by CY280
2

Hello,

the differences might come from how the variant caller works and how you calculate the read depth in the bam file. You have to tell us what variant caller you use and how do you calculate read depth. Than one can say more.

fin swimmer

ADD REPLYlink written 10 months ago by finswimmer11k

I used Metect basically with default parameters.

ADD REPLYlink written 10 months ago by CY280
1
gravatar for Noushin N
10 months ago by
Noushin N550
Baltimore, MD
Noushin N550 wrote:

You are right about the likely reason of this discrepancy. Essentially, you have to compare the filters used in the utility you are using for bam review (e.g. samtools) and the variant caller.

A few choices are:

  • duplicate read exclusion
  • read mapping quality score filter
  • read passing quality controls
  • being part of primary alignment
ADD COMMENTlink written 10 months ago by Noushin N550
Please log in to add an answer.

Help
Access

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