extract variants(mismatches) form CIGAR and MD of sam format