Accounting for sex in the genome