Expand description
DNA sequence utilities and constants.
This crate provides fundamental DNA operations:
- Complement and reverse-complement of DNA sequences
- 2-bit encoding for efficient UMI comparison (Hamming distance)
- Common constants for base quality and no-call handling
Re-exports§
pub use bitenc::BitEnc;pub use dna::complement_base;pub use dna::complement_base_preserve_case;pub use dna::reverse_complement;pub use dna::reverse_complement_str;
Modules§
Constants§
- MIN_
PHRED - Minimum Phred score (Q2, matching fgbio’s
PhredScore.MinValue). - NO_
CALL_ BASE - No-call base character (matches fgbio’s
NoCallBase). - NO_
CALL_ BASE_ LOWER - Lowercase no-call base character.