CigarOp#

class biotite.sequence.align.CigarOp(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: IntEnum

An enum for the different CIGAR operations.

static from_cigar_symbol(symbol)#

Get the enum value from the CIGAR symbol.

Parameters:
symbolstr

The CIGAR symbol.

Returns:
opCigarOp

The enum value.

to_cigar_symbol()#
MATCH = 0#
INSERTION = 1#
DELETION = 2#
INTRON = 3#
SOFT_CLIP = 4#
HARD_CLIP = 5#
PADDING = 6#
EQUAL = 7#
DIFFERENT = 8#
BACK = 9#