annotate/calculate_marker_genes_scanpy
Description
Calculate marker genes for clusters in a MuData object using scanpy'srank_genes_groups() function.
Inputs
Name | Type & Properties | Description |
|---|---|---|
--input | file required | Path to the input MuData H5MU file. |
--modality | string | Name of the modality in the input MuData object. |
--input_layer | string | Name of the layer to use. This should contain log-normalized data. If not set, the .X matrix will be used. |
--obs_clustering | string required | Name of the `.obs` column that contains cluster assignments to calculate marker genes for. |
Outputs
Name | Type & Properties | Description |
|---|---|---|
--output | file output | Path to the output MuData H5MU file. |
--output_markers | file output | Path to the output CSV file where marker genes will be saved. |
--uns_output | string | Key in `.uns` where the results will be stored. |
--output_compression | string | Compression format to use for the output AnnData and/or Mudata H5 files. By default no compression is applied. |
Rank genes groups
Name | Type & Properties | Description |
|---|---|---|
--method | string | Statistical test used to identify marker genes. |
--corr_method | string | Method used to correct p-values for multiple testing. Not used when `--method` is `logreg`. |
--tie_correct | boolean | Whether to apply tie correction to the Wilcoxon test statistic. Only used when `--method` is `wilcoxon`. |
Filter rank genes groups
Name | Type & Properties | Description |
|---|---|---|
--filter_results | boolean | Whether to filter the results of `rank_genes_groups()` using `filter_rank_genes_groups()`. |
--min_in_group_fraction | double | Minimum in-group fraction required for a marker gene. |
--max_out_group_fraction | double | Maximum out-group fraction allowed for a marker gene. |
--min_fold_change | double | Minimum log fold change required for a marker gene. |
--compare_abs | boolean | Whether to compare against absolute fold changes when filtering. |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
output: "$id.$key.output.h5mu"
output_markers: "$id.$key.output_markers.csv"
uns_output: [ "rank_genes_groups" ]
method: [ "t-test" ]
corr_method: [ "benjamini-hochberg" ]
tie_correct: [ false ]
filter_results: [ false ]
min_in_group_fraction: [ 0.25 ]
max_out_group_fraction: [ 0.5 ]
min_fold_change: [ 1 ]
compare_abs: [ false ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v5.0.0 \
-main-script target/nextflow/annotate/calculate_marker_genes_scanpy/main.nf \
-params-file params.yaml Relationships
Used by
0 relationships
No components use this component.
Current component
annotate/calculate_marker_genes_scanpyopenpipeline v5.0.0
Uses
0 relationships
No component dependencies found.