Skip to content

Commit 5c97a67

Browse files
committed
updated pipeline docs
1 parent 13bc492 commit 5c97a67

File tree

2 files changed

+34
-10
lines changed

2 files changed

+34
-10
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,30 @@ nextflow run nf-core/spatialxe \
6969
--mode coordinate
7070
```
7171

72+
## Run segfree mode <br>
73+
74+
`BAYSOR_SEGFREE`
75+
76+
```bash
77+
nextflow run nf-core/spatialxe \
78+
-profile <docker/singularity/.../institute> \
79+
--input samplesheet.csv \
80+
--outdir <OUTDIR> \
81+
--mode segfree
82+
```
83+
84+
## Run preview mode <br>
85+
86+
`BAYSOR_PREVIEW`
87+
88+
```bash
89+
nextflow run nf-core/spatialxe \
90+
-profile <docker/singularity/.../institute> \
91+
--input samplesheet.csv \
92+
--outdir <OUTDIR> \
93+
--mode preview
94+
```
95+
7296
> [!WARNING]
7397
> Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those provided by the `-c` Nextflow option can be used to provide any configuration _**except for parameters**_; see [docs](https://nf-co.re/docs/usage/getting_started/configuration#custom-configuration-files).
7498

docs/usage.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ This runs the default image mode:<br>
4040

4141
```bash
4242
nextflow run nf-core/spatialxe \
43+
-profile <docker/singularity/...>
4344
--input ./samplesheet.csv \
4445
--outdir ./results \
45-
--mode image \
46-
-profile <docker/singularity/...>
46+
--mode image
4747
```
4848

4949
#### Coordinate-based (transcripts-based) segmentation mode
@@ -53,10 +53,10 @@ This runs the default coordinate mode:<br>
5353

5454
```bash
5555
nextflow run nf-core/spatialxe \
56+
-profile <docker/singularity/...>
5657
--input ./samplesheet.csv \
5758
--outdir ./results \
58-
--mode coordinate \
59-
-profile <docker/singularity/...>
59+
--mode coordinate
6060
```
6161

6262
### Image-based Segmentation mode (--mode image): <br>
@@ -73,26 +73,26 @@ nextflow run nf-core/spatialxe \
7373

7474
#### Run Segmentation with the methods methods mentioned above : <br>
7575

76-
eg: To run proseg segmentation use the `coordinate` mode and the `proseg` segmentation method
76+
eg: To run proseg segmentation use the `coordinate` mode and the `proseg` segmentation method (--method)
7777

7878
```bash
7979
nextflow run nf-core/spatialxe \
80+
-profile <docker/singularity/...>
8081
--input ./samplesheet.csv \
8182
--outdir ./results \
8283
--mode coordinate \
83-
--segmentation proseg \
84-
-profile <docker/singularity/...>
84+
--method proseg
8585
```
8686

87-
eg: To run cellpose segmentation use the `image` mode and the `cellpose` segmentation method
87+
eg: To run cellpose segmentation use the `image` mode and the `cellpose` segmentation method (--method)
8888

8989
```bash
9090
nextflow run nf-core/spatialxe \
91+
-profile <docker/singularity/...>
9192
--input ./samplesheet.csv \
9293
--outdir ./results \
9394
--mode image \
94-
--segmentation cellpose \
95-
-profile <docker/singularity/...>
95+
--method cellpose
9696
```
9797

9898
This will launch the pipeline with the `docker` configuration profile. See below for more information about profiles.

0 commit comments

Comments
 (0)