-
Notifications
You must be signed in to change notification settings - Fork 31
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
How are AFs computed? #80
Comments
Sorry. I've ignored issues report after leaving academia. I have absolutely no idea what is going on here and would love to have a look. Any chance you could share a BAM slice? |
Yes, I'm sending exactly that file (chromosome 10 only). Notice that
chromosome 10 is called simply "10" (instead of "chr10").
Il giorno gio 19 dic 2019 alle ore 15:15 Andreas Wilm <
[email protected]> ha scritto:
… Sorry. I've ignored issues report after leaving academia. I have
absolutely no idea what is going on here and would love to have a look. Any
chance you could share a BAM slice?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#80?email_source=notifications&email_token=ACMSYGSIWYIRUKILEO36PFDQZN6Y7A5CNFSM4HJ56AIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJXNWQ#issuecomment-567506650>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMSYGS7KCGN57U5RA5Q7HLQZN6Y7ANCNFSM4HJ56AIA>
.
|
Hi Dario, to which email address did you send the file? Could you either upload it and share the link here or share with my private email address: [email protected]. Thanks |
Thanks Dario. I can' t reproduce the problem. Which version are you using? With 2.1.4 (which should in this respect be identical to 2.1.3) gives the following:
|
Sorry Andreas but you need the quality parameters |
Got it. This is a bug. The culprit is
Sorry. Hope this helps anyway |
It certainly gives a lot of insights, so thank you for taking time to inspect the issue. |
@andreas-wilm I have the same issue
When I run other variant callers (BCFTools) and look at IGV, they all report AF > 0.99. If I actually calculate from DP4 i.e. (4892+4304)/(45+18+4892+4304) allele frequency > 0.99. Therefore, I couldn't figure out where is 0.75 AF calculation is coming from
If we don't include mapping and base quality filters at the variant calling run, then how do we filter on base and mapping qualities after variants have been called using lofreq call? Thanks, Rahil |
Also, I really need to filter my variants on allele frequency to get high frequency variants (> 90%). Could you please suggest if I calculating from DP4 would be fine? Thanks, Rahil |
I've read in other closed issues that you suggest not to pre-filter reads because that will distort the signal and that's reasonable but I noticed a strange situation.
Here's the raw counts of a variant obtained from IGV (reference is T)
So, I would expect even with strict filters to see an AF of 100%.
Instead using
-q 30 -Q 30 -m 30
as quality filters this is what I getchr10 123241496 . T C 2874 PASS DP=123;AF=0.788618;SB=0;DP4=0,0,52,71
Can you help understand why that is happening?
The text was updated successfully, but these errors were encountered: