trajectory_inference/paga_scanpy
Description
PAGA (partition-based graph abstraction) infers the connectivity between cell clusters or
other groupings by quantifying how strongly neighboring partitions of a cell-cell graph are
connected to one another. The result is a coarse-grained, denoised map of the data's
topology that captures both continuous and disconnected structure, and can be used to infer
trajectories between cell populations without assuming an underlying tree-like or linear
shape.
Wolf et al. 2019, Genome Biology
Inputs
Name | Type & Properties | Description |
|---|---|---|
--input -i | file required | A .h5mu file. A neighbors graph must already have been computed for the relevant modality (e.g. via a neighbors component) and stored under .uns['neighbors'], or under the location pointed to by --uns_neighbors. |
--modality | string | Which modality to process. |
--obs_groups | string required | The .obs column containing predefined groups (e.g. cluster labels) to use for the graph abstraction. |
--uns_neighbors | string | The .uns key under which the neighbors settings are stored, used to look up the corresponding connectivities and distances matrices in .obsp. |
Arguments
Name | Type & Properties | Description |
|---|---|---|
--uns_velocity_graph | string | The .uns key under which the directed single-cell RNA velocity graph is stored. When set, RNA velocity is used to orient edges in the abstracted graph and estimate transitions, instead of using connectivities. |
--model | string | The PAGA connectivity model to use. |
Outputs
Name | Type & Properties | Description |
|---|---|---|
--output -o | file required output | Output h5mu file, with the PAGA graph abstraction results stored in the .uns slot pointed to by --uns_output. |
--uns_output | string | The .uns key under which to store the PAGA results (a dict containing the 'connectivities' and 'connectivities_tree' adjacency matrices, plus the .obs column name used for the grouping). |
--output_compression | string | Compression format to use for the output AnnData and/or Mudata H5 files. By default no compression is applied. |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
uns_neighbors: [ "neighbors" ]
model: [ "v1.2" ]
output: "$id.$key.output.h5mu"
uns_output: [ "paga" ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v5.0.0 \
-main-script target/nextflow/trajectory_inference/paga_scanpy/main.nf \
-params-file params.yaml Relationships
Used by
0 relationships
No components use this component.
Current component
trajectory_inference/paga_scanpyopenpipeline v5.0.0
Uses
0 relationships
No component dependencies found.