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

How do deal with overlapping mutations in pass.vcf and fail.vcf? #90

Open
rpetit3 opened this issue Aug 17, 2021 · 0 comments
Open

How do deal with overlapping mutations in pass.vcf and fail.vcf? #90

rpetit3 opened this issue Aug 17, 2021 · 0 comments

Comments

@rpetit3
Copy link

rpetit3 commented Aug 17, 2021

Hello!

This is somewhat related to #53

In my fail.vcf I have:

MN908947.3	694	.	T	A	54.15	PASS	DP=2813;AC=40,25;AM=2748;MC=0;MF=0.0;MB=0.0;AQ=4.55;GM=1;PH=6.02,6.02,6.02,6.02;SC=None;	GT:GQ:PS:UG:UQ	0/1:54.15:.:0/1:54.15

And the pass.vcf I have:

MN908947.3      685     .       AAAGTCATTT      A       500.0   PASS    DP=2812;AC=2,2810;AM=0;MC=0;MF=0.0;MB=0.0;AQ=35.89;GM=1;PH=6.02,6.02,6.02,6.02;SC=None; GT:GQ:PS:UG:UQ  1/1:500.0:.:1/1:500.0
MN908947.3      691     .       AT      A       500.0   PASS    DP=2813;AC=0,2489;AM=324;MC=0;MF=0.0;MB=0.0;AQ=10.48;GM=1;PH=6.02,6.02,6.02,6.02;SC=None;       GT:GQ:PS:UG:UQ  1/1:500.0:.:1/1:500.0

When artic_mask is run, AAAGTCATTT becomes AAAGTCATTN in the preconsensus.fasta, and as a consequence bcftools complains:

Note: the --sample option not given, applying all records regardless of the genotype
The fasta sequence does not match the REF allele at MN908947.3:685:
   REF .vcf: [AAAGTCATTT]
   ALT .vcf: [A]
   REF .fa : [AAAGTCATTN]GACTTAG.....

What would be your recommended procedure in these very rare cases? Ignore the fail.vcf, mask the variant in the pass.vcf?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant