This project investigates the diagnosis of Systemic Lupus Erythematosus using predictive modelling. The code in this repo belongs to the following publication:
Brunekreef TE, Reteig LC, Limper M, Haitjema S, Dias J, Mathsson-Alm L, van Laar JM, Otten HG. Microarray analysis of autoantibodies can identify future Systemic Lupus Erythematosus patients. Human Immunology. 2022 Jun 1;83(6):509-14.
data/contains just a README describing the data files; the original patient data were not shared along with the publication. If you don't have access to this data, but would still like to run the code, the notebooks offer the option to generate some simple synthetic datanotebooks/contains several jupyter notebooks that contain all the (exploratory) analyses that we ran (for which we were able to publish the code).notebooks/Main Results.ipynbcontains all the results that were published in the paper
src/sle/contains a number of python modules with supporting code that are imported in the notebooks
-
You'll need either the
condaor themambapackage manager to recreate the computational environment. It might takecondaa while to resolve the environment inenvironment.yml(see step 3), so it's recommended to use mamba instead.If you already have
condainstalled, you can install mamba as follows:conda install mamba -n base -c conda-forge
If you don't have conda, you can skip it and install
mambaforgeinstead:wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh" bash Mambaforge-$(uname)-$(uname -m).sh
-
Clone this repo, e.g.:
git clone https://github.com/umcu/SLE-autoantibody-prediction cd SLE-autoantibody-prediction -
Make and activate the virtual environment, e.g.:
mamba env create -f environment.yaml conda activate SLE
-
Install the project package (see
src/sle), e.g.pip install -e . -
Open and run any of the notebooks, for instance with JupyterLab:
jupyter lab