PTPN22 plays a role in susceptibility to tuberculosis. Here, PTPN22 is linked to tuberculosis.