Giter Site home page Giter Site logo

slat's Introduction

stars-badge dev-badge build-badge license-badge docs-badge

scSLAT: single cell spatial alignment tools

scSLAT package implements the SLAT (Spatial Linked Alignment Tool) model to align single cell spatial omics data.

Model architecture

Directory structure

.
├── scSLAT/                  # Main Python package
├── env/                     # Extra environment
├── data/                    # Data files
├── evaluation/              # SLAT evaluation pipeline
├── benchmark/               # Benchmark pipeline
├── case/                    # Case studies in paper
├── docs/                    # Documentation files
├── resource/                # Other useful resource 
├── pyproject.toml           # Python package metadata
└── README.md

Tutorial

Tutorial of scSLAT is here, if you have any question please open an issue on github

Installation

Docker

Dockerfile of scSLAT is available at env/Dockerfile. You can also pull the docker image from here by :

docker push huhansan666666/slat:latest

Development

Installing scSLAT within a new conda environment is recommended.

For development purpose, clone this repo and install:

git clone [email protected]:gao-lab/SLAT.git
cd SLAT
pip install -e ".[torch]"
pip install -e ".[pyg,dev,doc]"

Install from PyPI (Ongoing)

Fist we create a clean environment and install scSLAT from PyPI:

We need install dependency torch before install pyg.

conda create -n scSLAT python=3.8 -y && conda activate scSLAT
pip install scSLAT[torch]
pip install scSLAT[pyg]

Install from Conda (Ongoing)

We plan to provide a conda package of scSLAT in the near future.

Reproduce results

  1. Please follow the env/README.md to install all dependencies. Please checkout the repository to v0.1.0 before install scSLAT:
git checkout tags/v0.1.0
pip install -e '.'
  1. Download and pre-process data follow the data/README.md
  2. Whole benchmark and evaluation procedure can be found in /benchmark and /evaluation, respectively.
  3. Every case study is recorded in the /case directory in the form of jupyter notebook.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.