biotite.sequence.align.CigarOp

class biotite.sequence.align.CigarOp(value)[source]

Bases: IntEnum

An enum for the different CIGAR operations.

MATCH = 0
INSERTION = 1
DELETION = 2
INTRON = 3
SOFT_CLIP = 4
HARD_CLIP = 5
PADDING = 6
EQUAL = 7
DIFFERENT = 8
BACK = 9
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()