Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocess pipeline yaml documentation #200

Merged
merged 11 commits into from
Mar 6, 2024
1 change: 1 addition & 0 deletions docs/yaml_docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Workflows configuration files

useful_info_on_yml
pipeline_ingestion_yml
pipeline_preprocess_yml
pipeline_integration_yml
spatial_qc
spatial_preprocess
Expand Down
5 changes: 3 additions & 2 deletions docs/yaml_docs/pipeline_preprocess_yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Specified by the following three parameters:
<span class="parameter">condaenv</span> `String` (Path)<br>
Path to conda environment that should be used to run panpipes.
Leave blank if running native or your cluster automatically inherits the login node environment.
For more information on this, please refer to the detailed explanation [here](https://panpipes-pipelines.readthedocs.io/en/latest/install.html#specifying-conda-environments-to-run-panpipes).

## General project specifications

Expand Down Expand Up @@ -328,8 +329,8 @@ Whether applying scaling or not is still a matter of debate, as stated in the [L
Parameter for CLR normalisation.
The CLR margin determines whether you normalise per cell (as you would normalise RNA data), or by feature (recommended, due to the variable nature of protein assays).
Hence, CLR margin 0 is recommended for informative qc plots in this pipeline.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

margin =1 is recommended

- 0 = normalise column-wise (per feature)
- 1 = normalise row-wise (per cell)
- 0 = normalise row-wise (per cell)
- 1 = normalise column-wise (per feature)

- <span class="parameter">background_obj</span> `String` (Path)<br>
Parameter for DSB normalisation.
Expand Down
6 changes: 2 additions & 4 deletions panpipes/panpipes/pipeline_preprocess/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ resources:

condaenv:

# allows for tweaking where the jobs get submitted, in case there is a special queue for long jobs or you have access to a gpu
# leave as is if you do not want to use the alternative queues

#-------------------------------
# General project specifications
Expand Down Expand Up @@ -157,8 +155,8 @@ prot:
normalisation_methods: clr,dsb

# CLR parameters:
# 0 = normalise column-wise (per feature, recommended)
# 1 = normalise row-wise (per cell)
# 0 = normalise row-wise (per cell)
# 1 = normalise column-wise (per feature, recommended)
clr_margin: 0

# DSB parameters:
Expand Down