Use of whole-genome sequencing to predict Mycobacterium tuberculosis drug resistance in Shanghai, China.