preprocessing/regress_out
Description
Regress out (mostly) unwanted sources of variation.
Uses simple linear regression. This is a GPU-accelerated wrapper around
rapids_singlecell.pp.regress_out, taking the listed .obs columns as
covariates to regress out of the expression matrix.
Inputs
Name | Type & Properties | Description |
|---|---|---|
--input -i | file required | Input h5mu file. |
--modality | string | Which modality from the input MuData file to process. |
--input_layer | string | Input layer to use. By default, X is used. |
--obs_keys | string required multiple | Keys of the .obs columns to regress out as covariates. |
Outputs
Name | Type & Properties | Description |
|---|---|---|
--output -o | file required output | Output h5mu file. |
--output_layer | string | Output layer to use. By default, use X. |
--output_compression | string | Compression format to use for the output AnnData and/or Mudata objects. By default no compression is applied. |
Options
Name | Type & Properties | Description |
|---|---|---|
--batchsize | integer | Number of genes per batch. If None, all genes are processed at once. |
GPU memory
Name | Type & Properties | Description |
|---|---|---|
--managed_memory | boolean_true | Allocate GPU memory with RMM managed memory from the start. Managed memory lets data that does not fit in VRAM spill to host RAM, at the cost of speed. By default, the component runs with regular GPU memory and only switches to managed memory, retrying once, if the GPU runs out of memory. |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
output: "$id.$key.output"
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline_rapids.git \
-revision v0.3.0 \
-main-script target/nextflow/preprocessing/regress_out/main.nf \
-params-file params.yaml Relationships
Used by
0 relationships
No components use this component.
Current component
preprocessing/regress_outopenpipeline_rapids v0.3.0
Uses
0 relationships
No component dependencies found.