Analysing shifts in protein structure in relation to drug resistance in Mycobacterium tuberculosis