Description
Cell type annotation workflow using ScanVI with scArches for reference mapping.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
id: "run"
modality: [ "rna" ]
unlabeled_category: [ "Unknown" ]
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 ]
leiden_resolution: [ 1 ]
knn_weights: [ "uniform" ]
knn_n_neighbors: [ 15 ]
output: "$id.$key.output.h5mu"
output_obs_predictions: [ "scanvi_pred" ]
output_obs_probability: [ "scanvi_probabilities" ]
output_obsm_integrated: [ "X_integrated_scanvi" ]
output_model: "$id.$key.output_model"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v3.0.0 \
-main-script target/nextflow/workflows/annotation/scanvi_scarches/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--id | string required |
--input | file required |
--modality | string |
--layer | string |
--input_obs_batch_label | string required |
--input_obs_size_factor | string |
--input_var_gene_names | string |
Name | Type & Properties |
|---|---|
--reference | file required |
--reference_obs_target | string required |
--reference_obs_batch_label | string required |
--reference_obs_size_factor | string |
--unlabeled_category | string |
--reference_var_hvg | string |
--reference_var_gene_names | 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 |
Name | Type & Properties |
|---|---|
--leiden_resolution | double multiple |
Name | Type & Properties |
|---|---|
--knn_weights | string |
--knn_n_neighbors | integer |
Name | Type & Properties |
|---|---|
--output | file required output |
--output_obs_predictions | string |
--output_obs_probability | string |
--output_obsm_integrated | string |
--output_compression | string |
--output_model | file output |