CigarOp

Represents a distinct cigar operation

Constructors

this
this(uint raw)

construct Op from raw opcode

this
this(uint len, Ops op)

construct Op from an operator and operand (length)

Members

Functions

is_clipping
bool is_clipping()

True iff operation is one of 'S', 'H'

is_match_or_mismatch
bool is_match_or_mismatch()

True iff operation is one of M, =, X

is_query_consuming
bool is_query_consuming()

Credit to Biod for this code below https://github.com/biod/BioD from their bam.cigar module True iff operation is one of M, =, X, I, S

is_reference_consuming
bool is_reference_consuming()

True iff operation is one of M, =, X, D, N

Variables

raw
uint raw;

raw opcode

Meta