Skip to content

Commit c8cc7c1

Browse files
doc update
1 parent 9217c43 commit c8cc7c1

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22

33
### Added
44

5+
- Tutorial on CLI usage
6+
- Tutorial on image alignment with the Xenium Explorer
57
- Multi-step segmentation ([#8](https://github.com/gustaveroussy/sopa/issues/8))
68
- Tutorial for multi-step segmentation and custom segmentation
9+
- Improved installation guide
10+
11+
### Fix
12+
- CLI issue (missing file) when used without Snakemake
713

814
### Change
915

docs/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ $ sopa aggregate [OPTIONS] SDATA_PATH
9191
* `--min-transcripts INTEGER`: Cells with less transcript than this integer will be filtered [default: 0]
9292
* `--min-intensity-ratio FLOAT`: Cells whose mean channel intensity is less than `min_intensity_ratio * quantile_90` will be filtered [default: 0]
9393
* `--image-key TEXT`: Optional image key of the SpatialData object. By default, considers the only one image. It can be useful if another image is added later on
94-
* `--method-name TEXT`: If segmentation was performed with a generic method, this is the name of the method used. [required]
94+
* `--method-name TEXT`: If segmentation was performed with a generic method, this is the name of the method used.
9595
* `--help`: Show this message and exit.
9696

9797
### `sopa annotate`

docs/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ conda activate sopa
6868
pip install -e ".[snakemake,cellpose,baysor,tangram]"
6969
```
7070

71-
Now, follow our [snakemake tutorial](../tutorials/snakemake) to get started.
71+
Now, follow our [snakemake tutorial](../tutorials/snakemake) to run your first pipeline.
7272

7373
!!! Note
7474
You can also use a separate environment for `snakemake`. In this case, you don't need to install the `'snakemake'` extra when installing `sopa`. But you may still need to install other extras, for instance `'cellpose'` if you plan to run Cellpose.

docs/tutorials/snakemake.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Note the relative path of your config since you'll need it later, e.g. `config/m
2626
2. Then, activate your environment that has the snakemake command, and go to the `workflow` directory inside the `sopa` directory that you cloned earlier:
2727
```sh
2828
conda activate sopa # or an environment that has `snakemake`
29-
cd sopa/workflow # your own personal path to the workflow directory
29+
cd workflow # run this at the root of the 'sopa' directory
3030
```
3131

3232
1. You can either execute the pipeline locally, or on a high-performance-cluster (choose the right option below)
@@ -69,7 +69,7 @@ Make sure you have setup everything as detailed in this tutorial, and then run t
6969
Make sure you have installed sopa with the Cellpose extra
7070
```sh
7171
conda activate sopa # or an environment that has `snakemake`
72-
cd sopa/workflow # your own personal path to the workflow directory
72+
cd workflow # run this at the root of the 'sopa' directory
7373

7474
# you can replace tuto.zarr by another path where the data will be saved
7575
snakemake --config data_path=. sdata_path=tuto.zarr --configfile=config/toy/uniform_cellpose.yaml --cores 1 --use-conda
@@ -79,7 +79,7 @@ Make sure you have setup everything as detailed in this tutorial, and then run t
7979
Make sure you have installed sopa with the Baysor extra, and that you have installed the `baysor` command
8080
```sh
8181
conda activate sopa # or an environment that has `snakemake`
82-
cd sopa/workflow # your own personal path to the workflow directory
82+
cd workflow # run this at the root of the 'sopa' directory
8383

8484
# replace tuto.zarr by the path where you want the data to be saved
8585
snakemake --config data_path=. sdata_path=tuto.zarr --configfile=config/toy/uniform_baysor.yaml --cores 1 --use-conda

0 commit comments

Comments
 (0)