Skip to content
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

Allele frequency sum above 1 #241

Closed
mbdabrowska1 opened this issue Nov 16, 2023 · 6 comments
Closed

Allele frequency sum above 1 #241

mbdabrowska1 opened this issue Nov 16, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@mbdabrowska1
Copy link

In my merge_output.vcf.gz file most of the time I'm getting just a single variant per position. However I also get one position where there are two variants, but their allele frequency does no add up to 1, nor do the allelic depths add up to the total read depth for the position. Am i misunderstanding the values or is there something wrong happening with the calculations?

A snippet of my merge_output.vcf.gz looks like this:

#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	SAMPLE
K03455.1	2229	.	C	A	22.46	PASS	F	GT:GQ:DP:AD:AF	1/1:22:19666:255,18257:0.9284
K03455.1	2259	.	G	A	36.43	PASS	F	GT:GQ:DP:AD:AF	1/1:36:19721:182,18951:0.9610
K03455.1	3161	.	G	A,T	18.93	PASS	F	GT:GQ:DP:AD:AF	1/2:18:20313:190,10274,17655:0.5058,0.8691

Where the last row is the one with multiple variants.

Any help would be greatly appreciated

@oxygen311
Copy link

oxygen311 commented Nov 20, 2023

I also got same behaviour with my data for some snips:

#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	SAMPLE
chr1	1606019	.	G	A,C	10.15	PASS	F;ANN=A|intron_variant|MODIFIER|LOC105378586|LOC105378586|transcript|NR_147951.1|pseudogene|2/2|n.235-854G>A||||||,C|intron_variant|MODIFIER|LOC105378586|LOC105378586|transcript|NR_147951.1|pseudogene|2/2|n.235-854G>C||||||	GT:GQ:DP:AD:AF	1/2:10:35:5,17,30:0.4857,0.8571

Seems like bug to me.

@aquaskyline
Copy link
Member

Looking into that and turn back soon

@aquaskyline aquaskyline added the bug Something isn't working label Nov 20, 2023
@zhengzhenxian
Copy link
Collaborator

zhengzhenxian commented Nov 21, 2023

@oxygen311, @mbdabrowska1,

Seem you are using amplicon data with extremely high coverage. Would you please send us a minibam covering the problematic variant and the corresponding reference sequence for us to pinpoint the problem? My email address is zxzheng@cs.hku.hk, thanks!

@mbdabrowska1
Copy link
Author

I have sent the data now. Thank you for helping!

@oxygen311
Copy link

@zhengzhenxian

Could you please confirm that @mbdabrowska1 is enough?
I'm not sure I'm authorised to share data. I definitely can say it's not Amplicon.

@zhengzhenxian
Copy link
Collaborator

@oxygen311 @mbdabrowska1 Thanks for the log, the AF sum bug was fixed in v1.0.5, pls kindly try the new version, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants