Genotyping of Mycobacterium tuberculosis using whole genome sequencing