Skip to content

Commit e537e9a

Browse files
committed
📝 Build docs
1 parent 53af462 commit e537e9a

File tree

9 files changed

+4254
-11
lines changed

9 files changed

+4254
-11
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
python-version: '3.8'
1919

2020
- name: Install dependencies
21-
run:
21+
run: |
2222
curl -sSL https://install.python-poetry.org | python3 -
2323
pip install --upgrade pip
24-
pip install -e ".[cpu,docs]"
24+
pip install -e ".[cpu,docs]"
2525
2626
- name: Build package
2727
run: |

.readthedocs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
build:
3+
os: ubuntu-20.04
4+
tools:
5+
python: "3.8"
6+
apt_packages:
7+
- pandoc
8+
sphinx:
9+
configuration: docs/conf.py
10+
python:
11+
install:
12+
- method: pip
13+
path: .
14+
extra_requirements:
15+
- docs
16+
- cpu
17+
- dev

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
[![dev-badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/xiachenrui/bc835db052fde5bd731a09270b42006c/raw/version.json)](https://gist.github.com/xiachenrui/bc835db052fde5bd731a09270b42006c)
33
[![build-badge](https://github.com/gao-lab/SLAT/actions/workflows/build.yml/badge.svg)](https://github.com/gao-lab/SLAT/actions/workflows/build.yml)
44
[![license-badge](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5+
[![docs-badge](https://readthedocs.org/projects/slat/badge/?version=latest)](https://salt.readthedocs.io/en/latest/?badge=latest)
56
<!-- [![pypi-badge](https://img.shields.io/pypi/v/<name>)](https://pypi.org/project/<name>) -->
67
<!-- [![conda-badge](https://anaconda.org/bioconda/<name>/badges/version.svg)](https://anaconda.org/bioconda/<name>) -->
7-
<!-- [![docs-badge](https://readthedocs.org/projects/<name>/badge/?version=latest)](https://<name>.readthedocs.io/en/latest/?badge=latest) -->
88

99
# scSLAT: single cell spatial alignment tools
1010

@@ -29,7 +29,7 @@
2929
```
3030

3131
## Tutorial
32-
Tutorial of `scSLAT` is [here](TBD), if you have any question please open an issue on github
32+
Tutorial of `scSLAT` is [here](https://slat.readthedocs.io/en/latest/), if you have any question please open an issue on github
3333

3434
## Installation
3535
### Install from PyPI

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
:caption: Contents:
1616
```
1717

18-
**scSLAT** package implements the **SLAT** (**S**patial **L**inked **A**lignment **T**ool) model, which aims to align single cell spatial data fast and accurate. scSLAT can extend to large dataset and various omics data easily.
18+
**scSLAT** package implements the **SLAT** (**S**patially-**L**inked **A**lignment **T**ool) model, which aims to align single cell spatial data fast and accurate. scSLAT can extend to large dataset and various omics data easily.
1919

2020
```{eval-rst}
2121
.. image:: _static/Model.png
@@ -24,12 +24,12 @@
2424
```
2525

2626
## Key applications of scSLAT
27-
- Accurately align large (20,000+) single cell spatial data in few **seconds**.
27+
- Accurately align large (100,000+) single cell spatial data in few **seconds**.
2828
- Align **multi-platform**(such as Stereo-seq and MERFISH) and **multi-modalities** (such as ATAC and RNA) single cell spatial data.
2929
- Revealing spatial-temporal changes by time-series developmental spatial data alignment.
3030

3131
## Manuscript
32-
Please see our manuscript [Xia et al., 2022] at [*Biorxiv*](https://biorxiv.org) to learn more.
32+
Preparing
3333

3434
## Getting started with scSLAT
3535
To get started with ``scSLAT``, check out our {doc}`installation guide <install>` and {doc}`tutorials <tutorials>`.

docs/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ However, if you only want to run on CPU, you can directly install CPU version:
2222
pip install scSLAT[cpu]
2323
```
2424
## Docker container
25-
Dockerfile of `scSLAT` is available at [`env/Dockerfile`](env/Dockerfile)
25+
Dockerfile of `scSLAT` is available at [`env/Dockerfile`](https://github.com/gao-lab/SLAT/blob/main/env/Dockerfile)
2626

2727
## Install from Conda (Ongoing)
28-
We plan to provide a conda package of `scSLAT` in the near future.
28+
We plan to provide a conda package of `scSLAT` in the future.

env/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ If you want repeat our whole benchmark and evaluation workflow, please configure
77
- dill
88
- parse
99

10-
NOTE: Do **NOT** change install order !
10+
NOTE: Do **NOT** change install order !, you can see `env/envrionment.yml` for more details.
1111
```
1212
mamba create -p ./conda python==3.8 -y && conda activate ./conda
1313
mamba install pytorch=1.11.0 torchvision torchaudio cudatoolkit=11.3 -c pytorch -y

env/environment.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
channels:
2+
- pyg
3+
- pytorch
4+
- conda-forge
5+
- defaults
6+
dependencies:
7+
- python=3.8
8+
- pytorch=1.11.0
9+
- torchvision
10+
- torchaudio
11+
- cudatoolkit=11.3
12+
- ca-certificates
13+
- openssl
14+
- pyg
15+
- certifi

0 commit comments

Comments
 (0)