Predicting function from sequence in a large multifunctional toxin family.