Thanks for the quick reply,
So if a read has an alignment which is at least equally good as the best alignment, the read is considered ambiguous, and as such written out to the ambiguous FastQ files
- If AS and XS are equally good ==> Read is considered ambiguous because Bismark does not report random alignments for the reason you stated.
- If AS is better than XS ==> Read is not considered ambiguous because, even though it produces multiple alignments, the reported one is the best and the rest are not equally good. Right?
- If XS is better than AS ==> not sure whether that's possible because I would expect the reported alignment to be the best (unless the read is part of a concordantly-aligned pair, says Bowtie2 manual). How do you deal with this case?
Good to know about "--ambig_bam" option, I've been working with an older version of Bismark so I didn't see it.. I've updated now.
Leave a comment: