In both thymoma and immunodeficiency caused by RAG1 or RAG2 mutations, thymic deficiency of AIRE has been documented. Here, RAG2 is linked to immune system disorder.