We developed an algorithm, called Lever, that systematically maps DNA regulatory motifs or motif combinations to the sets of genes that they likely regulate. Lever accomplishes this by assessing whether the motifs are enriched within cis regulatory modules (CRMs), predicted by our PhylCRM algorithm, in the noncoding sequences surrounding genes in a collection of gene sets.