Description
scANVI () is a semi-supervised model for single-cell transcriptomics data. scANVI is an scVI extension that can leverage the cell type knowledge for a subset of the cells present in the data sets to infer the states of the rest of the cells.
This component will instantiate a scANVI model from a pre-trained scVI model, integrate the data and perform label prediction.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
unlabeled_category: [ "Unknown" ]
sanitize_ensembl_ids: [ true ]
output: "$id.$key.output.h5mu"
output_model: "$id.$key.output_model.path/to/output_model"
obsm_output: [ "X_scanvi_integrated" ]
obs_output_predictions: [ "scanvi_pred" ]
obs_output_probabilities: [ "scanvi_proba" ]
early_stopping_monitor: [ "elbo_validation" ]
early_stopping_patience: [ 45 ]
early_stopping_min_delta: [ 0 ]
reduce_lr_on_plateau: [ true ]
lr_factor: [ 0.6 ]
lr_patience: [ 30 ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v4.2.0 \
-main-script target/nextflow/annotate/scanvi/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input -i | file required |
--modality | string |
--input_layer | string |
--var_input | string |
--var_gene_names | string |
--obs_labels | string required |
--unlabeled_category | string |
--sanitize_ensembl_ids | boolean |
Name | Type & Properties |
|---|---|
--scvi_model | file required |
Name | Type & Properties |
|---|---|
--output -o | file required output |
--output_model | file output |
--obsm_output | string |
--obs_output_predictions | string |
--obs_output_probabilities | string |
--output_compression | string |
Name | Type & Properties |
|---|---|
--early_stopping | boolean |
--early_stopping_monitor | string |
--early_stopping_patience | integer |
--early_stopping_min_delta | double |
--max_epochs | integer |
--reduce_lr_on_plateau | boolean |
--lr_factor | double |
--lr_patience | double |