We employed single-cell RNA sequencing (scRNA-seq), immune receptor repertoire sequencing (scTCR/BCR-seq), and spatial transcriptome sequencing on biopsy samples from lesion tissues of AIP patients. This evidence concerns the gene BCR and autoimmune pancreatitis.