construct Op from raw opcode
construct Op from an operator and operand (length)
True iff operation is one of 'S', 'H'
True iff operation is one of M, =, X
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
True iff operation is one of M, =, X, D, N
raw opcode
Represents a distinct cigar operation