one-hot_encoder BED-FASTA-BAM one-hot data encoder method utilizing state transition tuples. The underlying finite state automaton for CIGAR state encoding is as such: