Male butterflies have genes which give them a sexual preference for a partner with a similar appearance to themselves, according to new research. Researchers observed the courtship rituals and sequenced the DNA from nearly 300 butterflies to find out how much of the genome was responsible for their mating behavior.