pub fn complement_base(base: u8) -> u8Expand description
Complement a single DNA base (uppercase).
Matches the complement logic used in both BAMFile.java’s reverseComplement() and Contaminant.java’s reverse complement computation. Non-ACGT bases (like N) are returned unchanged.