Researchers say strategy will help understand the history of life, monitor the spread of pathogens or create new treatments for disease.