New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we use BAQ
model when detect variants sites?
#106
Comments
Hi Zhuqing, I think it is advisable to apply BAQ when using ANGSD. GATK does not apply BAQ anymore because they do local re-assembly around candiate variable sites, which handles false-positive SNP's around indels better than BAQ does. Also note, that ANGSD provides two versions of BAQ: standard with claudius |
Dear @claudiuskerth Many thanks. I think the Best |
Yes, Zhuqing,I think you are right. That's what I have read in forum posts by Heng Li (the author of BAQ). BAQ 2 (or "extended BAQ") as far as I understand should be more sensitive at the cost of accuracy. So more detected SNP's but also more false positive SNP's as compared to BAQ 1. I currently use BAQ 2, because my impression has been that BAQ 1 could lead to too many false negatives. I also get a much better looking site frequency spectrum with BAQ 2 as compared to BAQ 1. claudius |
Dear @claudiuskerth Best |
Dear all,
In order to compare with
GATK
, I also called the variants usingANGSD
with following command which can report the homozygous for alternative alleles. But I found theANGSD
have excluded many sites which can be high quality inGATK
. But when I ran withoutBAQ
model, the variants detected byANGSD
andGATK
will have a high overlapping rate. So I want to know when should we run useBAQ
when runningANGSD
.angsd -bam $list -only_proper_pairs 1 -uniqueOnly 1 -remove_bads 1 -minQ 20 -minMapQ 30 -C 50 -ref reference.fa -baq 1 -r $chr -out $chr -doMaf 1 -minInd $min -skipTriallelic 1 -doMajorMinor 4 -GL 1 -setMinDepth $mindepth -setMaxDepth $maxdepth -doCounts 1 -P 5 -doGlf 2 -SNP_pval 1e-6
Best
zhuqing
The text was updated successfully, but these errors were encountered: