Genomics of Adaptation and Diversification