Stanford researchers have identified a small set of genes that can be used to diagnose active tuberculosis (TB), distinguish active TB from latent TB or other diseases, and predict progression from latent to active TB months before conventional tests.