CigarOperation

Represents single CIGAR operation

Constructors

this
this(uint length, char operation_type)

Length must be strictly less than 2^28.
Operation type must be one of M, I, D, N, S, H, P, =, X.

this
this(uint _raw)
Undocumented in source.

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()

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

length
uint length()

Operation length

toSam
void toSam(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
type
char type()

CIGAR operation as one of MIDNSHP=X. Absent or invalid operation is represented by '?'

Meta