module
Meru::Kmer
Extended Modules
Defined in:
meru/kmer.crConstant Summary
-
MAX_K =
32
Instance Method Summary
- #canonical(forward : Encoded, reverse_complement : Encoded) : Encoded
-
#each_canonical(seq : String | IO::Memory, k : Int32, & : Encoded -> )
Rolling 2-bit encoding keeps the implementation compact while avoiding re-encoding every window from scratch.
- #each_canonical_bytes(bytes : Bytes, k : Int32, & : Encoded -> )
- #reverse_complement(kmer : Encoded, k : Int32) : Encoded
- #validate_k!(k : Int32)
Instance Method Detail
Rolling 2-bit encoding keeps the implementation compact while avoiding re-encoding every window from scratch.