Levels of variability and rates of adaptive evolution can be affected by hitchhiking, the effect of selection on variants at linked sites. Hitchhiking can be caused either by selective sweeps or by background selection, involving the spread of new favorable alleles or the elimination of deleterious mutations, respectively. Recent analyses of population genomic data have fitted models where both these processes act simultaneously, in order to infer the parameters of selection. Here, we investigate the consequences of relaxing a key assumption of some of these studies -that neutral variability at a site affected by recurrent selective sweeps fully recovers between successive sweeps. We derive a simple expression for the expected level of neutral variability in the presence of recurrent selective sweeps and background selection.We also derive approximate integral expressions for the effects of recurrent selective sweeps on a given gene. The accuracy of the theoretical predictions was tested against multilocus simulations, using the software SLiM with selection, recombination and mutation parameters that are realistic for Drosophila melanogaster. We find good agreement between the simulation results and predictions from the integral approximations, except when rates of crossing over are close to zero. We show that the observed relations between the rate of crossing over and the level of synonymous site diversity and rate of adaptive evolution largely reflect background selection, whereas selective sweeps are needed to produce substantial distortions of the site frequency spectrum.All rights reserved. No reuse allowed without permission.(which was not peer-reviewed) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity.The copyright holder for this preprint . http://dx.doi.org/10.1101/358309 doi: bioRxiv preprint first posted online Jun. 29, 2018; 3 The effect of selection at a given locus on the properties of neutral variability at linked sites is a classic problem in population genetics, first studied by Sved (1968) and Ohta and Kimura (1970) in the context of associative overdominance -the apparent heterozygote advantage induced at a neutral locus by variants at linked loci, maintained by heterozygote advantage or by mutation to partially recessive deleterious alleles. This early work was followed by the classic paper of Maynard Smith and Haigh (1974) on the hitchhiking effect, whereby the spread of a favorable mutation reduces the level of neutral variability at a linked locus; this process has come to be termed a 'selective sweep ' (Berry et al. 1991). It was later shown that selection against recurrent deleterious mutations also reduces neutral variability at linked sites by a hitchhiking process, known as background selection (Charlesworth et al. 1993). The same basic equation that describes the effect of selection at one locus on the allele frequency at a linked neutral locus has recently been shown to underlie all three of these processes (Zhao and Charlewor...