This study used computational methods TRUST4 to construct TCR repertoire and BCR repertoire from bulk RNA-seq data of both SLE and RA patients’ peripheral blood and analyzed the clonality and diversity of the immune repertoire between the two diseases. The gene discussed is BCR; the disease is systemic lupus erythematosus.