Researchers are developing mathematical models to help identify genetic material that could improve food crops’ resilience to climate change.