This repository contains the python package to train and use scConcept (Single-cell contrastive cell pre-training) method for single-cell transcriptomics data.
- Install uv if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh- Create and activate a virtual environment and install dependencies:
sh ./scripts/setup_uv.sh- Create and activate virtual environment:
python -m venv venv
source venv/bin/activate- Install the package and dependencies:
pip install -e .- Install Flash Attention 2:
pip install flash-attn==2.7.* --no-build-isolation- Install
lamin-dataloader(optional: only required for training over large number of anndata objects):
pip install git+https://github.com/theislab/lamin_dataloader.gitscConcept is licensed under the MIT License