Description
Performs mapping to the reference by totalvi model: https://docs.scvi-tools.org/en/stable/tutorials/notebooks/scarches_scvi_tools.html#Reference-mapping-with-TOTALVI
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
query_modality: [ "rna" ]
reference_modality: [ "rna" ]
reference_proteins_modality: [ "prot" ]
obs_batch: [ "sample_id" ]
output: "$id.$key.output"
obsm_output: [ "X_integrated_totalvi" ]
obsm_normalized_rna_output: [ "X_totalvi_normalized_rna" ]
obsm_normalized_protein_output: [ "X_totalvi_normalized_protein" ]
reference_model_path: "$id.$key.reference_model_path"
query_model_path: "$id.$key.query_model_path"
max_epochs: [ 400 ]
max_query_epochs: [ 200 ]
weight_decay: [ 0 ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision 1.0.1 \
-main-script target/nextflow/integrate/totalvi/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input -i | file required |
--reference -r | file required |
--force_retrain -f | boolean_true |
--query_modality | string |
--query_proteins_modality | string |
--reference_modality | string |
--reference_proteins_modality | string |
--input_layer | string |
--obs_batch | string |
--var_input | string |
Name | Type & Properties |
|---|---|
--output -o | file required output |
--obsm_output | string |
--obsm_normalized_rna_output | string |
--obsm_normalized_protein_output | string |
--reference_model_path | file output |
--query_model_path | file output |
Name | Type & Properties |
|---|---|
--max_epochs | integer |
--max_query_epochs | integer |
--weight_decay | double |