Gene arrangement and allele compatibility