Interpreting "*" In Extended Cigar Format
1
1
Entering edit mode
10.7 years ago

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 *?

samtools alignment cigar bwa • 3.6k views
ADD COMMENT
3
Entering edit mode
10.7 years ago
JC 13k

The * means no alignment to show.

ADD COMMENT
0
Entering edit mode

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?

ADD REPLY
0
Entering edit mode

Nice, so all those are unmapped reads :)

ADD REPLY

Login before adding your answer.

Traffic: 2630 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6