Scientists are working on developing a simple system which could end MRSA outbreaks from spreading.
In an early test of the technology, researchers halted an outbreak of MRSA in a special care baby unit at the Rosie Hospital in Cambridge, by identifying the bacterial strains from their genetic codes before targeting the transmission path of the infection and cutting it off.
The device, which combines sophisticated DNA profiling and database analysis, could be available within "a few years", say scientists.
It is believed to be the first time DNA sequencing has been used to contain an infectious disease outbreak at a hospital.
The scientists are now developing the concept into a simple system that can be used routinely by hospital staff.
More top news
The mother of "bucket list" cancer patient Stephen Sutton has said signs of her son's illness were "ignored".
Boxing champion and occasional actor Mike Tyson has been praised for coming to the aid of a motorcyclist injured in a crash in Las Vegas.
A website is threatening the release of hacked nude pictures of Emma Watson, reportedly in response to her speech on gender equality.