Expand description
Fixed-length one-hot DNA encoding for small barcode/primer matching.
Encoding:
A = 0001C = 0010G = 0100T = 1000- anything else, including
N, becomes0000
This means unknown bases match nothing and count as mismatches. That is usually what you want for barcode correction.
OneHot<N> stores N bases in a u128, using four bits per base. Therefore
N <= 32.
Structs§
Enums§
- OneHot
Error - Error returned when constructing a
OneHotsequence.
Type Aliases§
- OneHot9
- Convenience alias for BD Rhapsody C1/C2/C3 9 bp blocks.