Scientists are learning to spot pandemic threats without touching dangerous pathogens.