Introduction

Primary B cell defects manifesting as predominantly antibody deficiencies are the most common type of inborn errors of immunity (IEI) disorders [1,2,3]. Diverse intrinsic and extrinsic genetic variations result in variable developmental and/or functional defects of the B cell lineage, including defects in early B cell development, class switch recombination (CSR), or terminal B cell differentiation causing agammaglobulinemia, hyper-IgM (HIgM) syndrome, or hypogammaglobulinemia, respectively [4, 5]. Mutations in Bruton tyrosine kinase (BTK) are the most common intrinsic gene defects (85%) that cause early B cell defects, while mutations in CD40 ligand (CD40L, 70%) and transmembrane activator and CAML interactor (TACI, 10%) are the most prevalent causes of class switching defects and terminal B cell defects, respectively [6]. However, B cell defects can be observed in many other monogenic defects due to extrinsic adaptive and innate immunity defects [7, 8]. This dysregulation constitutes a heterogeneous group of disorders, with considerable variability in clinical and immunological phenotypes, encompassing antibody production impairment and recurrent infection, as well as autoimmunity [9, 10].

Several studies have indicated that patients with B cell defects have increased susceptibility to autoimmune complications [1113]. These autoimmune manifestations may even be the first presentation prior to a severe infection or as the only presentation of the disease [14]. It was reported that one-fourth of patients with B cell defect present autoimmune complications. Autoimmunity is more prevalent in common variable immunodeficiency (CVID) (~ 30%) than in patients with agammaglobulinemia (~ 15%), selective immunoglobulin A deficiency (SIgAD) (~ 10%), and CSR defects (~ 5%) [15, 16]. The most common autoimmune disorders in B cell defects are autoimmune cytopenias, including immune thrombocytopenic purpura (ITP) and autoimmune hemolytic anemia (AIHA), due to the lack of self-tolerance. The other recurrent immune diseases in B cell defects include autoimmune thyroid diseases, type 1 diabetes (T1D), rheumatoid arthritis (RA), inflammatory bowel diseases (IBD), alopecia areata, vitiligo, and glomerulonephritis [11].

In the current study, we aimed to investigate the prevalence of autoimmunity in monogenic patients with both intrinsic and extrinsic B cell defects and determine whether the clinical and immunological features of patients in the three stages of B cell developmental defects in terms of early, class switch recombination or terminal B cell differentiation would affect the phenotype of autoimmunity.

Material and Methods

Patients

All available patients with known genetic defects in the B cell development and differentiation stages were included from the cases registered in the national IEI registry at Children’s Medical Center Hospital in Iran. The diagnosis of IEI was established based on the updated clinical diagnostic criteria recommended by the European Society for Immunodeficiencies (ESID) [17] and the Middle East and North Africa Diagnosis and Management Guidelines for IEI [18]. Genes involved in different stages of B lymphocyte differentiation, as well as intrinsic and mixed extrinsic and intrinsic genes, were categorized according to Amirifar et al. [19]. The classification of intrinsic and mixed extrinsic and intrinsic genes is presented in Table S1. The included patients had one pathogenic mutation in the genes involved in the B cell development based on the American College of Medical Genetics and Genomics (ACMG) criteria as described previously [, 7, 8]. Patients with more than one gene defect or missing data were excluded. The patients were divided into main groups based on the mutant gene involved in B cell development and differentiation; then, the groups were compared according to the presence of autoimmunity. The inclusion/exclusion diagram of patients is presented in Figure S1. Written informed consent was obtained from patients/parents. This study is approved by the Ethics Committee of the Alborz University of Medical Sciences (Ethics approval code: IR.ABZUMS.REC.1400.093).

Study Design

The information was collected retrospectively by reviewing the medical records available in the registry or direct interviews with patients and/or their parents. The collected information was comprised of demographic data, medical history, physical examination, immunological assays, and molecular findings. The patient’s medical history included the first presentation, immune-related presentations, and autoimmune or poly-autoimmune (more than one autoimmune manifestation) diseases. Demographic information included age, gender, age of onset, age of diagnosis, delay in diagnosis, and current life status. Laboratory data consisted of white blood cell (WBC), hemoglobin, T and B cell subsets (assessed by flow cytometric analysis), and serum immunoglobulin levels (examined by nephelometry and enzyme-linked immunosorbent assay (ELISA)). The autoimmune diagnosis was confirmed with a combination of clinical manifestations and complementary paraclinical findings, including pathological biopsy results obtained directly or through endoscopy and/or colonoscopy, laboratory tests (direct Coombs test, anti-nuclear antibody profile (ANA), fluorescent anti-nuclear antibody (FANA), double-stranded DNA (anti-dsDNA), and other specific autoantibodies) and radiological studies according to international standards as described previously [15].

Statistical Analysis

Qualitative data were described as frequency (percentages) and quantitative data as mean ± standard deviation (SD) or median (interquartile range, IQR), as appropriate. A chi-square test or Fisher’s exact test was used to compare three stages of B cell development. The assumption of normality of variables was tested using the Shapiro–Wilk test. Mann–Whitney U-tests for nonparametric data and t-tests for parametric data were used to compare numerical variables. Statistical analysis was performed using the SPSS software package, version 22 (SPSS Inc., Chicago, IL, USA). A P value < 0.05 was considered statistically significant.

Results

Molecular Findings and Group Classification

A total of 393 patients with a known genetic defect in the B cell development and differentiation stages (257 males; 65.4%) with a median (IQR) age of 12 (6–20) years were enrolled in this study. The median (IQR) age at onset, age at IEI diagnosis, and diagnostic delay were 1 (0.4–2), 4 (1–7), and 2 (0.3–5) years, respectively. Overall, 265 patients (69%) were born to consanguineous parents. The patients’ characteristics are summarized in Table 1.

Table 1 Demographic data in patients with primary B cell defects

Our genetics analysis identified 37 mutated genes with different inheritance patterns and various types of mutations (Table S2). Regarding the role of the identified gene in B cell development [19], 21 genes were involved in the terminal stage (115 patients), nine genes in the early stage (138 patients), and seven genes in the CSR stage (140 patients). Furthermore, the most frequent mutated genes associated with each stage of B cell development were as follows: early: BTK (55.1%), RAG1 (9.4%), and IGHM (10.1%); CSR: ATM (60.7%), CD40L (18.6%), and DNMT3B (7.1%); terminal stage: LRBA (29.6%), DOCK8 (28.7%), and WAS (10.4%) (Table 2). When categorized based on the intrinsic and extrinsic B cell gene defects, 284 patients had mixed intrinsic and extrinsic gene defects, whereas 109 patients had intrinsic gene defects (Tables S39).

Table 2 Frequency of autoimmune disease in patients with B cell defects, overall and by the mutated gene

Clinical Presentation History

As shown in Fig. 1, the most prevalent first presentations in this cohort were infectious diseases (n = 215, 56%), followed by neurological manifestations and chronic diarrhea (each in 37 patients, 9.4%). Fifteen patients (3.8%) showed autoimmune complications (mostly ITP) as their first presentation. Infection was also the most prevalent first manifestation in each stage of B cell development.

Fig. 1
figure 1

First presentation in 393 patients with primary B cell defects. FTT failure to thrive. Others included presentations such as convulsion, arthritis, faintness, facial nerve palsy, skin lesion, imbalance, stagger, coughing, inguinal hernia, gastrointestinal bleeding, jaundice and anorexia

The clinical manifestations of patients with B cell defects are presented in Table 3. Autoimmunity was reported in 81 (20.6%, 46 of which were male) patients at a median (IQR) age of 4 (2–7) years. Of the 81 patients with autoimmunity, 26 (32.1%) developed poly-autoimmunity (more than one type of autoimmunity). The first episode of autoimmunity in 55.1% of IEI patients with autoimmunity was diagnosed before the IEI, and in 10.3% of patients, IEI and autoimmunity were diagnosed at the same time. The median (IQR) age at onset in patients with autoimmunity was 2 (0.5–3) years, while in patients without autoimmunity was 1 (0.3–2) years (P = 0.023). The diagnosis of B cell defect was at a later age in patients with any autoimmunity presentations in the course of their lives (6 (3–8.8) vs. 4 (1–7) years, P = 0.003) with a slightly higher diagnostic delay compared to patients without autoimmunity. Age at onset, age at IEI diagnosis, and diagnostic delay of B cell development stages were not significantly different in patients with and without autoimmunity.

Table 3 Clinical manifestations in patients with primary B cell defects

Autoimmune diseases involved hematologic (46.9%), rheumatologic (28.4%), gastrointestinal (21%), dermatologic (16%), neurologic (7.4%), and endocrine (6.2%) systems. The most commonly reported types of autoimmune disorders were ITP (7.9%), juvenile idiopathic arthritis (JIA) (5.3%), and AIHA (4.8%) (Table 4). Among patients with autoimmunity, 65 patients (80.2%) had mixed intrinsic and extrinsic and 16 patients (19.8%) had B cell intrinsic gene defects. ITP and AIHA frequencies were significantly higher in patients with mixed intrinsic and extrinsic gene defects compared to those with intrinsic gene defects (Table 5), and in general, the highest number of patients in most autoimmune diseases was from the terminal B cell developmental stage defects. Among patients with the main gene defects, those with LRBA mutation had the highest frequency of autoimmunity, accounting for 70.6% of patients who had autoimmunity presentations; furthermore, over half of the LRBA deficient patients had more than one autoimmune disease (Tables 2 and S7). Among patients with autoimmune diseases, 15.4% of patients with B cell defects at an early stage (8 out of 18), 30.8% at the CSR stage (16 out of 24), and 53.9% at the terminal stage (28 out of 39) had autoimmunities with specific diagnostic autoantibodies (celiac disease, systemic lupus erythematosus, autoimmune hepatitis, and RA). The frequency of autoimmunities with specific autoantibodies was not significantly different between the groups (P = 0.129).

Table 4 Autoimmune manifestation in patients with primary B cell defects
Table 5 Autoimmunity in intrinsic and mixed gene groups

Evidence of infection was reported in 83.5% (n = 323) of the patients and 21.7% (n = 70) of them had concomitant autoimmunity. The most common infections were pneumonia (54.4%), otitis media (38.6%), and sinusitis (29.5%), and only 1.8% of patients had sepsis. There was no significant difference between the infection frequencies in each of the three B cell development stage groups. In each stage, pneumonia was the most prevalent infection. Non-neoplastic lymphoproliferation, including lymphadenopathy, splenomegaly, and hepatomegaly, was observed in 108 patients (27.9%), and its rate was significantly higher in patients with autoimmunity (P < 0.001). Moreover, the frequency rate of lymphoproliferation was significantly higher in the terminal stage (42.4%) in comparison with other groups (P = 0.001). Among other non-infectious manifestations, clubbing and enteropathy were significantly more likely present in patients with autoimmunity and terminal stage B cell defects. In contrast, there was no significant difference in the malignancy rate between patients with and without autoimmunity or at different B cell defect stages.

The most prevalent clinical diagnoses in the early stage were agammaglobulinemia (58%) and severe combined immunodeficiency (SCID) (25.4%), while patients with CSR defects were mainly diagnosed with ataxia-telangiectasia (AT, 55%) and HIgM (27.9%). In the terminal stage, CVID (41.7%) and hyper-IgE syndrome (HIES) were the most common clinical diagnoses (Fig. 2). Most of the patients with B cell defects and autoimmunity were initially diagnosed with the clinical impression of CVID (44.4%), HIgM syndrome (16.1%), and agammaglobulinemia (13.6%). In patients without autoimmunity, the main first clinical diagnoses were agammaglobulinemia (22.4%), AT (21.8%), and CVID (12.5%) (Fig. 3).

Fig. 2
figure 2

The spectrum of clinical diagnoses in B cell defective patients in early stage (A, n = 138), CSR stage (B, n = 140), and terminal stage (C, n = 115) of B cell developmental defect. CVID common variable immunodeficiency, HIgM hyper-IgM syndrome, HIES hyper-IgE syndrome, MSMDs Mendelian susceptibility to mycobacterial diseases, SIgAD selective IgA deficiency, WAS Wiskott-Aldrich syndrome, AT ataxia-telangiectasia, SCID severe combined immunodeficiency, SAD specific antibody deficiency, CID combined immunodeficiency, CMCC chronic mucocutaneous candidiasis, XLP X-linked lymphoproliferative, ALPS autoimmune lymphoproliferative syndrome, HLH hemophagocytic lymphohistiocytosis

Fig. 3
figure 3

The spectrum of clinical diagnoses in B cell defective patients with autoimmunity (A, n = 81) and without autoimmunity (B, n = 312). CVID common variable immunodeficiency, HIgM hyper-IgM syndrome, HIES hyper-IgE syndrome, MSMDs Mendelian susceptibility to mycobacterial diseases, SIgAD selective IgA deficiency, WAS Wiskott-Aldrich syndrome, AT ataxia-telangiectasia, SCID severe combined immunodeficiency, SAD specific antibody deficiency, CID combined immunodeficiency, CMCC chronic mucocutaneous candidiasis

Immunologic Evaluation

The immunological findings of patients with IEI are summarized in Table 6. Lymphocyte count was within the normal range in 42% (144 of 343 with available data) of patients, and lymphopenia was reported in 18.1% (62 of 343). Most of the patients had normal lymphocyte subsets, including CD3 + (53.6% (179 of 334)), CD4 + (59.4% (196 of 330)), CD8 + (52% (168 of 323)), CD19 + (37.2% (121 of 325)), and CD16 + 56 + (60.8% (101 of 166)). IEI patients with autoimmunity had a lower frequency of CD16 + 56 + NK cells than patients without autoimmunity (P = 0.016), while the number of CD19 + B cells was higher in IEI patients with autoimmunity than without (P = 0.040). The majority of patients had low levels of serum IgG (59.2% (174 of 325)), IgA (63.4% (232 of 366)), and IgM (40.8% (149 of 365)). About 23% of patients had a high serum level of IgM (84 of 365 patients with available data), while 36.2% had a normal serum level of IgM. The prevalence of patients with low IgG, IgA, and IgM serum levels was higher in the autoimmunity group than in the without group.

Table 6 Immunologic profile in patients with primary B cell defects

The absolute lymphocyte count was significantly lower in patients with mixed intrinsic and extrinsic gene defects, in comparison with the intrinsic gene defect group (2219 cells/μL vs. 3528 cells/μL, P < 0.001). Patients in the intrinsic gene group had a significantly lower frequency of CD19 + B cells and CD16 + 56 + NK cells compared to the mixed intrinsic and extrinsic genes group (P < 0.001). The CD3 + , CD4 + , and CD8 + T cells had a higher frequency in patients with intrinsic gene defects than in the other group (P < 0.001, Table S5).

According to the immunologic profile of patients with mutations in the four main genes, the absolute lymphocyte count was significantly lower in patients with ATM defieincy compared to the other three gene defects (P < 0.001). In patients with ATM mutation, the IgG level was significantly lower in patients with autoimmunity than in those without (P < 0.001). In contrast, patients with ATM defects who had autoimmunity had a higher level of IgM compared to those without autoimmunity (P = 0.040).

The Kaplan–Meier curves illustrated in Fig. 4 demonstrated that no significant differences were observed in the survival status of patients with B cell defects based on the B cell defect stage (P = 0.377) and autoimmunity presence (P = 0.10).

Fig. 4
figure 4

Kaplan–Meier survival analysis in patients with primary B cell defects. A Based on the B cell defect stage (early stage with 138 patients, CSR stage with 140 patients, and terminal stage patients with 115 patients). B Based on the autoimmunity presence (81 patients with autoimmunity and 312 without autoimmunity)

Discussion

Autoimmune diseases may affect all subgroups of IEI, as reported with considerable frequency in patients with B cell defects [20, 21]. While autoimmunity is a well-known component of immune deficiency, there is an insufficient number of comprehensive studies on the prevalence of autoimmunity based on B cell development and differential stages. In the current study, we retrospectively investigated autoimmune manifestation in patients with intrinsic and extrinsic genetic defects in different stages of B cell development and compared the clinical, immunologic, and molecular characteristics between patients with and without autoimmunity in each stage. Our current findings on cases with intrinsic B cell defects showed that they have higher age and longer follow-up as well as lower mortality rate compared to patients with mixed/extrinsic defects. Although respiratory manifestations (infections and consequential bronchiectasis) and antibody production impairment/low B cell counts are more prominent in intrinsic B cell defects, severe/opportunistic infections (expect meningitis), other systemic complications, lymphoproliferation, and cellular immunity abnormality are frequently observed cases with mixed/extrinsic defects. Since the molecular pathogenesis of these groups is distinct, majority of previous research studied them separately [19, 22]; however, there are very little known about the comparison of B cell function and associated clinical manifestations between these two groups [23,24,25]. It has been reported that most of the B cell defects are caused by intrinsic causes, but some patients are secondary to functional impairments of other immune cell lineages (non-B cell–specific defect) [26]. This group includes impairments of T cell differentiation or the defect in T cell co-stimulatory molecules or abnormality in the generation, maintenance, or activation of T follicular helper cells (TFH). As more recently described, the phenomenon can also be caused by functional impairments in innate immune cells as defects in neutrophils or in Toll-like receptor (TLR) pathways [7, 19, 27].

The frequency of autoimmune manifestations varied in different IEI studies. In this cohort study, 20% of patients with monogenic B cell defects had a history of autoimmunity. In a study by Fischer et al., autoimmunity/inflammation was observed in 26.2% of patients with IEI [28], while in another study by Kaplan et al., autoimmune/inflammatory manifestations were observed in 10.1% of IEI cases [29]. The age at the onset and diagnosis of B cell defects was significantly higher in patients with autoimmunity than in others. Similarly, a recent study reported a considerably longer diagnostic delay in IEI patients with autoimmunity, which was related to the less severe non-infectious presentations in these patients [30]. These findings partly explain that the presence of autoimmunity might affect the diagnosis of the patients. The age at the onset of B cell defect in patients with the early-stage impairment was significantly lower compared to other stages, and delay in diagnosis was higher in patients with a defect in the terminal stage. We speculate that this might be due to the severity of manifestations and the higher rate of infection as the first presentation in the early stage and the higher rate of autoimmunity in the terminal stage, considering patients with autoimmunity had higher age of diagnosis.

Our patients with a defect in the terminal stage of B cell development had a higher frequency of autoimmunity (33.9% compared to 17.1% and 13% related to CSR and early stage, respectively). To our knowledge, no distinct study has investigated the prevalence of autoimmunity in each stage of B cell differentiation. However, various studies have been conducted to study the association between autoimmunity and a specific mutation responsible for genetic defects at each stage. Various literature reported that CVID was the most common primary antibody deficiency that occurred with autoimmunity, with an approximate ratio of 20–30% [16, 20, 31]. In former reports of CVID patients [32, 33], organ-specific autoimmune disease was diagnosed in 28.6% and 36.6% of subjects, respectively, with ITP as the most frequent autoimmunity in both publications. Autoimmunity phenotype is much less common in XLA than in other types of IEI [34]. According to Azizi et al., the autoimmunity rate in agammaglobulinemia was 12.7% [15]. In a survey, 69% of XLA patients reported at least one, and 53% reported multiple inflammatory symptoms. However, only 28% of patients were formally diagnosed with an inflammatory disease [35]. Among the patients with autoimmunity, 67.9% had only one type of autoimmunity, whereas 32.1% had poly-autoimmunity, most of whom had terminal stage defects. The most prevalent organ-specific autoimmunity was hematological, including ITP and AIHA. These findings are consistent with our prior studies, which found that the most common autoimmune manifestation among patients with IEI is autoimmune cytopenias [15, 36].

Among patients with a terminal stage mutation, ITP was the most common autoimmunity, while RA/JIA was the most prevalent autoimmunity in patients with a gene defect in the early stage. Various studies have reported that ITP is the most frequent manifestation in CVID patients [33, 37,38,39]. A review by Chawla et al. reported that the proportion of patients with CVID who develop ITP ranges from 7.4 to 19% and summarized the findings of various studies about immunopathogenesis associated with autoimmune cytopenia in patients with CVID. Some review studies found an increased proportion of CD21low B cells and CD4 + HLA-DR + T cells in patients with CVID-associated autoimmune cytopenia [40]. In a cohort of 62 antibody-deficient patients, the expansion of CD21low B cells was seen in antibody-deficient patients with non-infectious complications when presented as the frequency of total B cells but not in absolute cell numbers [41]. The current study showed a significant correlation between the increased frequencies of CD19 + B cells and autoimmunity. Previous studies demonstrated that rheumatologic involvement is the most frequent manifestation in patients with agammaglobulinemia and investigated the importance of BTK for human B cell tolerance and the role of its deficiency in systemic autoimmune diseases such as RA [42, 43]. Endocrine autoimmunity including insulin-dependent diabetes mellitus (IDDM) and autoimmune thyroiditis (AIT) was the least common manifestation (only five patients), and 80% of them were at the terminal stages. A previous cohort study investigated the role of the LRBA gene, involved in the terminal stage of B cell defects, in the etiology of neonatal diabetes [44].

It is noteworthy that autoimmune diseases could be the first or only clinical manifestations of the IEI diagnosis. In the current study, 3.8% of all patients showed an autoimmune complication as the first presentation of their IEI, 53.3% of whom were with the defects of terminal stage of B cells. As the first presentation, infection was reported in higher frequency in patients with a defect in the early stage. This study showed that 55.1% of IEI patients with autoimmune complications had the first episode of autoimmunity before the IEI diagnosis; in 34.6% of patients, IEI was diagnosed prior to autoimmunity, and in 10.3% of patients, IEI and autoimmunity were diagnosed at the same time. Our previous study and others have also reported that autoimmune manifestations are diagnosed before IEI in most patients with IEI [15, 29]. While in Massaad et al.’s study, 47% of autoimmune manifestations were among the presenting symptoms at the time of IEI diagnosis, 53% were documented after establishing the diagnosis [30]. Therefore, autoimmunity may be a warning sign of IEI, especially hematologic, and these patients could benefit from regular follow-up.

Mutations in various genes involved in B cell development and tolerance lead to impaired antibody production; thus challenging the detection of diagnostic auto-antibodies and documentation of the autoimmunity diagnosis [45]. In about 60% of our cases, immunodeficiency was caused by a mutation in 3 out of 37 identified genes, including ATM, BTK, and LRBA. Autoimmune diseases were more frequently present in patients with a mutation in the LRBA gene (> 70% of cases). More than half of LRBA-deficient patients with autoimmunity had poly-autoimmunity. In a previous study by Azizi et al., autoimmunity presented as poly-autoimmunity in 64.2% of patients, and autoimmune cytopenias were the most prevalent complication [46]. The spectrum of symptoms related to LRBA deficiency is vast and variable. In a cohort of 22 LRBA-deficient patients, the leading clinical complication of LRBA deficiency was autoimmune diseases (95%), particularly enteropathy, autoimmune hemolytic anemia, and ITP [47]. Regarding the biological role of LRBA protein in the immune system, it is thought to regulate the CTLA4 protein, an inhibitory immunoreceptor with a critical function in maintaining self-tolerance and regulatory T cells [48].

In conclusion, defects in different stages of B cell development can lead to different types of B cell defects with various autoimmune manifestations. Although further investigations are needed, this study contributes to a better understanding of the impact of mutation in the genes involved in different stages of B cell development in causing different types of autoimmune diseases. Our data suggest that the terminal stage and gene mutations involved in the terminal stage have the most association with autoimmunity compared to the other two stages.