Molecular methods such as Polymerase Chain Reaction (PCR) and in situ hybridization detect pathogen DNA or RNA directly within tissue samples. These methods are highly sensitive and specific, allowing for the identification of pathogens at very low concentrations and providing information on the genetic makeup of the infectious agents.