Detection and analysis of ancient segmental duplications in mammalian genomes