The different levels of genetic diversity in sex chromosomes and autosomes.