Rapid and sensitive molecular subtyping of microorganisms in clinical specimens