When scientists want to trace how a species has changed over time—and predict its prospects for survival—they turn to DNA.