Installation guide

Main package

The scglue package can be installed via conda using one of the following commands:

1conda install -c conda-forge -c bioconda scglue  # CPU only
2conda install -c conda-forge -c bioconda scglue pytorch-gpu  # With GPU support

Or, it can also be installed via pip:

1pip install scglue


To avoid potential dependency conflicts, installing within a conda environment is recommended.

Optional dependencies

Some functions in the scglue package use metacell aggregation via k-Means clustering, which can receive significant speed up with the faiss package.

You may install faiss following the official guide.

Now you are all set. Proceed to tutorials for how to use the scglue package.