the type of pathogen and its resistance genes