Parser cigar in sam files