Function bio::scores::blosum62::blosum62[][src]

pub fn blosum62(a: u8, b: u8) -> i32

Return the BLOSUM62 substitution matrix score of [a, b]

Example

use bio::scores::blosum62;
assert_eq!(blosum62(b'H', b'A'), -2);