Context-Dependent Acquisition Of Antimicrobial Resistance Mechanisms