A comprehensive protein design protocol to identify resistance mutations and signatures of adaptation in pathogens.