def operation_char
import bend-edit-distance@0.2.2.0/EdlibTypes.bend as EdlibTypesimport Base
119def operation_char(format: CigarFormat, operation: Operation) -> Char:
120 match format operation:
121 case _ Insert{}:
122 'I'
123 case _ Delete{}:
124 'D'
125 case Standard{} _:
126 'M'
127 case Extended{} Match{}:
128 '='
129 case Extended{} Mismatch{}:
130 'X'