Comparative Genomics Application to Metagenome Inference and Epidemic Viruses