Exploring the dynamic variations of viral genomes via a novel genetic network