Function needletail::sequence::complement[][src]

pub fn complement(n: u8) -> u8

Returns the complementary base for a given IUPAC base code.

Does not work for RNA sequences (maybe we should raise an error or something?)