Entering edit mode
10.7 years ago
anand.sarwate
▴
10
I generated and alignment using BWA and the .sam file looks fine, except in my parser I'm not sure how to interpret the extended CIGAR format when the CIGAR string is simply "*". Looking at the samtools documentation:
http://samtools.sourceforge.net/SAMv1.pdf
It just says to the CIGAR is set to "* if unavailable", but don't really know what "unavailable" means. Should I assume the read did not align at all? What would cause BWA to produce a CIGAR of *?
Thanks -- I had seen in previous .sam files that the aligner just removed the unmapped reads, so I guess I will parse these as unmapped. If there are too many I assume I should re-run BWA with less stringent match criteria?
Nice, so all those are unmapped reads :)