Hi,
is there a way to parse a BAM file and look for reads that can align to two different places on the reference genome equally well? For example, a read might be aligned to some coordinate in chr1, but maybe there is an equally good alignment elsewhere in the reference.
I believe a BAM file has provision for this kind of info to be set in one of the optional columns (XA:Z ?), but BWA doesn't seem to output this column by default. Is there a way to set an option to BWA to output this? Or is there a more obvious way to get this info?
thanks,
Ashwatha.
is there a way to parse a BAM file and look for reads that can align to two different places on the reference genome equally well? For example, a read might be aligned to some coordinate in chr1, but maybe there is an equally good alignment elsewhere in the reference.
I believe a BAM file has provision for this kind of info to be set in one of the optional columns (XA:Z ?), but BWA doesn't seem to output this column by default. Is there a way to set an option to BWA to output this? Or is there a more obvious way to get this info?
thanks,
Ashwatha.
Comment