Installation

Note

1.3.21

scArches requires scvi-tools as the backbone, to be on the safe side please install scvi-tools-0.8.1. Newer versions might produce errors on compatibility with scArches

Note

From version 0.3.0 we moved to PyTorch, however you can still install latest Tensoflow version by installing 0.2.4.

scArches requires Python 3.6 or 3.7. We recommend to use Miniconda.

PyPI

The easiest way to get scArches is through pip using the following command:

sudo pip install -U scarches

Development

You can also get the latest development version of scArches from Github using the following steps: First, clone scArches using git:

git clone https://github.com/theislab/scarches

Then, cd to the scArches folder and run the install command:

cd scarches
python3 setup.py install

On Windows machines you may need to download a C++ compiler if you wish to build from source yourself.

Dependencies

The list of dependencies for scArches can be found in the requirements.txt file in the repository.

If you run into issues, do not hesitate to approach us or raise a GitHub issue.