Adding code to recover alignment from cigar-like string