The advance could help protect amphibians from extinction by protecting their breeding grounds.