Skip to main content

complement_base

Function complement_base 

Source
pub fn complement_base(base: u8) -> u8
Expand description

Returns the Watson-Crick complement of a DNA base.

Non-standard bases (including N) are left unchanged.