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

Aliases

is_clipping
alias is_clipping = isClipping

Undocumented in source.

is_match_or_mismatch
alias is_match_or_mismatch = isMatchOrMismatch

Undocumented in source.

is_query_consuming
alias is_query_consuming = isQueryConsuming

Undocumented in source.

is_reference_consuming
alias is_reference_consuming = isReferenceConsuming

Undocumented in source.

Functions

isClipping
bool isClipping()

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

isMatchOrMismatch
bool isMatchOrMismatch()

True iff operation is one of M, =, X

isQueryConsuming
bool isQueryConsuming()

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

isReferenceConsuming
bool isReferenceConsuming()

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

Variables

raw
uint raw;

raw opcode

Meta