Hierarchical Hidden Markov models enable accurate and diverse detection of antimicrobial resistance sequences