def suffix_value(suffix):
    """Get value of taxa suffix.
    
    A = 65, B = 66, ..., Z = 90
    AA = 16705, AB = 16705, BA = 16961
    """
    v = 0
    for idx, ch in enumerate(suffix):
        v += 256 ** (len(suffix) - idx - 1) * ord(ch)
    return v
