Divalent cations stimulate preferential recognition of a viral DNA end by HIV-1 integrase.