Probabilistic Models Of Dna Sequence And Complex Trait Variation Under Adaptation