ukhsa-collaboration / snapperdb

GNU General Public License v3.0
21 stars 5 forks source link

warning msg on calculating AD ratio issue #11

Closed Wang-Jing-NZ closed 6 years ago

Wang-Jing-NZ commented 6 years ago

A warning message like this: WARNING: Could not calculate AD ratio from Record(CHROM=gi|15829254|ref|NC_002695.1|, POS=267176, REF=C, ALT=[G, T]) POS: 267176

Can you provide some insight of this warning message? I am trying to understand this msg's implication, if this will be called as a SNP? I noticed Tim opened an issue last year about mixed positions allowed cutoff, are they related?

ulfschaefer commented 6 years ago

The AD ratio cannot be calculated if there are two different ref bases called. If you filter your vcf on the AD ratio, this position will fail that filter, so an N would be put in at that position.