cigar icon indicating copy to clipboard operation
cigar copied to clipboard

simple library for dealing with SAM cigar strings

Results 2 cigar issues
Sort by recently updated
recently updated
newest added

Here's an example: `print("3M1D137M",cigar.Cigar("3M1D137M").mask_left(4).cigar)` Which will yield: > 3M1D137M 5S136M Which is incorrect, as the original "3M1D137M" string has query sequence length 140, but the left-masked query sequence length of...

Correct handling of "D" in mask_left(), with new merge_softclipped_deletions() and merge_softclipped_insertions() functions to ensure "S" operations are not immediately followed by "D", "N", "I" or "P" This should address issue...