Application of whole genome sequencing and metagenomics for diagnosis of tuberculosis