One of those little nasal swabby doo-flotchies...
They did a PCR (poly-something chain reaction) and identified bacteria shaped like anthrax. The PCR, aka the Gene Machine, reproduces copies off genetic material.
Although the bacteria look like anthrax, they are doing tests that more specifically test for anthrax.