Expand description
Crate-level library surface shared by chelae subcommands.
Currently exposes:
IUPAC_MASKS— a 256-entry byte LUT mapping ASCII base characters (and the subset of IUPAC ambiguity codes) onto 4-bit masks. Used by the adapter matcher to evaluate IUPAC-aware base compatibility: two bases are compatible iffIUPAC_MASKS[a] & IUPAC_MASKS[b] != 0.adapter_db— built-in 3’ adapter presets for common sequencing kits, selectable via--kit.
Modules§
- adapter_
db - Built-in 3’ adapter sequence presets for common short-read sequencing kits.
Constants§
- IUPAC_
MASKS - ASCII-indexed IUPAC ambiguity masks. Bit 0 = A, bit 1 = C, bit 2 = G, bit 3 = T
(U is aliased to T). Case-insensitive: both uppercase and lowercase entries are
populated. Non-IUPAC bytes map to 0 — callers compute compatibility via
MASKS[a] & MASKS[b] != 0, and a 0 mask always yields “incompatible”.