Emerging drug-resistant strains are posing significant challenges to the global fight against tuberculosis (TB) and it is a critical task to detect treatment failure as early as possible.