The genes and mutations responsible for heritable variation in nature are largely unknown. To identify loci underlying complex trait variation in C. elegans, we generated a mapping population of 239 advanced intercross recombinant inbred lines (RILs). The lines were founded by reciprocal crosses between the N2 (Bristol) and CB4856 (Hawaii) strains. F2 males were randomly paired with F2 hermaphrodites, and random pair intercrosses were continued until the F10 generation, at which time hermaphrodites were singled and inbred by selfing for 10 additional generations. The resulting homozygous recombinant inbred line chromosomes carry random segments of DNA from N2 and CB4856, and exhibit a roughly 6-fold expansion of genetic map distances relative to an F2 population. We genotyped the strains at 1450 SNP markers to facilitate rapid high resolution mapping of the genes responsible for phenotypic variation in these strains. We have used the RIL panel to map a behavioral phenotype, avoidance of 100% octanol by well-fed worms. N2 worms reverse from octanol within a few seconds of presentation, but CB4856 worms are indifferent to it. The continuous trait distribution of time to reversal among the RILs suggests a polygenic and epistatic basis for the behavior, with the majority of lines reversing rapidly when presented with octanol. Interval mapping identified two significant quantitative trait loci (QTLs), one of which spans a small region of the X chromosome. Because F1 worms reverse rapidly and because a small minority of RILs exhibit the CB4856 phenotype, we reasoned that expression of the N2 allele of the X-linked QTL in a CB4856 background would rescue octanol avoidance. Bombardment of CB4856 with fosmids spanning the QTL interval implicated
spat-3 (a suppressor of
par-2 mutations); CB4856 worms carrying the N2
spat-3 DNA reverse rapidly. A
spat-3 deletion strain, VC31, exhibits N2-like behavior, reversing when presented with octanol. However, F1s from a cross between VC31 and CB4856 exhibit the CB4856 behavior, failure to reverse, unlike F1s from an N2xCB4856 cross. Thus the CB4856 allele of
spat-3, interacting with CB4856 alleles at other loci, confers an octanol avoidance defect. The CB4856 allele is not a null allele; it fails to suppress mutations in
par-2. We introgressed
spat-3 alleles from a panel of wild isolates into N2 and tested them for similar epistatic failure to complement the CB4856 allele. The results suggest that the causal polymorphism is a non-coding, regulatory insertion/deletion variant, and that the N2 allele represents the evolutionarily derived state.