Closed iranmdl closed 6 years ago
Unfortunately bam-readcount is fairly stupid when it comes to this sort of thing. It can only count up support from gapped alignments. It looks to me like these don't exist in your BAM for the larger variant and thus you won't be able to get counts from that BAM. Some variant callers that perform realignment internally can generate a BAM containing those realignments that may be more useful for getting counts than the initial BAM.
I had the same experience. bamreadcount missed many long indels called by lancet. https://github.com/nygenome/lancet/issues/11
Yes, this is expected behavior for variant callers that perform any sort of assembly or realignment. The counts from the caller itself are certainly going to be more reliable than anything bam-readcount produces.
Hello! I have a question regarding how deletions are counted in bam-readcount. Let me show you an example.
I have these two variants:
I want to see these two deletions in the bam-readcount output:
So for the first deletion, I can see the deletion in bam-readcount, but not for the second. If I visualize the aligments of these two positions on IGV:
Both seem to be true deletions. My question is, why only the first one is reported as a deletion in bam-readcount? Is it due to the length of the deletion? Maybe due to the spanning reads supporting the deletion in the first variant but not in the second one?
Thank you in advance,