Installation

Important software Dependencies

  • scanpy==1.9.3

  • squidpy==1.3.0

  • pytorch==1.13.0(cuda==11.6)

  • torch_geometric==2.3.1(cuda==11.6)

  • R==3.5.1

  • mclust==5.4.10

Setup by Anaconda

  1. Install Anaconda.

  2. Clone the stMSA repository from GitHub:

    git clone https://github.com/hannshu/stMSA.git
    
  3. Download the dataset repository:

    git submodule init
    git submodule update
    
  4. Import the conda environment:

    conda env create -f environment.yml
    
  5. Write a Python script to run stMSA.

  • Note: If you need to generate clustering result by mclust, you need to install mclust package to the R environment in your conda environment.

  • If the environment.yml file not fit your system or device, please try the Docker container we provided.