A novel classification and regression tree (CART) algorithm, incorporating laboratory, imaging, and endoscopic parameters, found that positive interferon-gamma release assays and circular ulcers are suggestive of intestinal tuberculosis, while involvement of ≥4 segments, along with longitudinal and aphthous ulcers, suggests CD. The gene discussed is IFNG; the disease is intestinal tuberculosis.