Characterizing Functional Genetic Diversity in Mycobacterium tuberculosis