A homogeneous method of detection of target DNA, such as sequences distinctive of particular bacteria, is taught. A melting curve is derived and a computer controlled analysis is carried out in which a predictive model is used based on a teaching regimen with known DNA.