-
Notifications
You must be signed in to change notification settings - Fork 27
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
Send adjacent SNP and Indel candidates both to full-alignment model #260
Comments
Clair3 concludes genotype based on AF and many other factors. Reads supporting the reference allele could be mistakes due to sequencing or alignment errors. If Clair3's model thinks many of the reads supporting the reference allele are more likely to be mistaken, it might conclude the genotype to be 1/1 instead of 0/1. Clair3 might or might not be correct about your examples, but please pay more attention to them because there exists evidence that discredits the reads supporting the reference allele. |
Thank you. |
Hi, @haraldgrove, Could you please provide us with the pileup result of the flanking 10bp windows? This will help us pinpoint the genotype issue more accurately. To obtain the mpileup result using samtools, you can use the following command:
|
Thanks @haraldgrove, your case shows an insertion following a deletion immediately, and it looks like a bug in Clair3 to me. Besides the mpileup results, could you please also send us a minibam covering the case. Thanks! |
Thank you @aquaskyline and @zhengzhenxian for following up on this. The mpileup output looks like this:
The BAM file for the region is attached. |
Hi, @haraldgrove, Thanks for providing the BAM, it seems the Clair3 pileup model made an incorrect zygosity prediction due to the insertion Could you try to add |
@haraldgrove please kindly let us know if |
Hi. Thank you for the suggestion. The full-alignment mode fixed the problem. |
I've been running Clair3 (v1.01) on some pig samples with ONT reads. I noticed that Clair3 has been assigning the "1/1" genotype to SNVs that have an allele frequency where I would expect an "0/1" genotype.
Example:
Do you have any idea why this might be happening?
-Best regards
Harald
The text was updated successfully, but these errors were encountered: