Characterization of genome-wide segmental duplications reveals a common genomic feature of association with immunity among domestic animals