Evolutionary analysis of viral sequences in eukaryotic genomes