This repo keeps the reproducible analysis pipeline of our manuscript "Global immune repertoire profiling suggests multifaceted unresolved dysregulation upon systemic lupus erythematosus immunosuppressant therapy".
We use R-4.2.1
, and record the all used R packages and their version in renv.lock
file. To reproduce our environment, just run
install.packages("renv")
renv::restore()
We use conda
to manage Python environment. To reproduce the environment, run
conda env create --name <ENV_NAME> --file=environments.yml
If you want to run VDJtools
, please install Java
following https://www.java.com/.
The code is organized as follows:
.
│── Figure/ # dir of the scripts for reproducing figures in the manuscript
│── data/ # dir of the input data
│── atlas/ # dir of the scripts for building the single cell SLE atlas
│── output_file/ # dir of the key outputs of the analysis pipeline
├── scripts/ # dir of the scripts for RNA analysis
│── vdj/ # dir of the scripts for BCR analysis
│── tcr_vdj/ # dir of the scripts for TCR analysis
│── renv.lock # file keeps R packages and their version
├── environments.yml # file keeps conda environment
And there will be detailed instructions in each folder.
Single cell RNA matrix and VDJ data will be available upon publication.
We mainly use R package Seurat
to analyze single cell RNA data, and analysis pipeline is in directory scripts/seurat
. Other specific analysis is also in scripts/
, such as scripts/monocle2
, scripts/CellChat
and scripts/scvelo
.
We use R package immcatation
, VDJtools
and scRepertoire
to analyze the single cell TCR/BCR data. The analysis pipeline is in tcr_vdj/
and vdj
respectively.
Run Figure/Figures_plot.R
to reproduce main figures in manuscript. Input data needs to be requested from the authors. (we can not put it online due to the privacy of the patients)
Our manuscript is under review.
If you have any questions, please contact Chen-Rui Xia (xiachenrui@mail.cbi.pku.edu.cn) or open an issue on GitHub.