Description
Run totalVI integration followed by neighbour calculations, leiden clustering and run umap on the result.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
id: "run"
layer: [ "log_normalized" ]
modality: [ "rna" ]
prot_modality: [ "prot" ]
output: "$id.$key.output.h5mu"
reference_model_path: "$id.$key.reference_model_path"
query_model_path: "$id.$key.query_model_path"
obs_batch: [ "sample_id" ]
max_epochs: [ 400 ]
max_query_epochs: [ 200 ]
weight_decay: [ 0 ]
rna_reference_modality: [ "rna" ]
rna_obsm_output: [ "X_totalvi" ]
prot_reference_modality: [ "prot" ]
prot_obsm_output: [ "X_totalvi" ]
rna_uns_neighbors: [ "totalvi_integration_neighbors" ]
rna_obsp_neighbor_distances: [ "totalvi_integration_distances" ]
rna_obsp_neighbor_connectivities: [ "totalvi_integration_connectivities" ]
prot_uns_neighbors: [ "totalvi_integration_neighbors" ]
prot_obsp_neighbor_distances: [ "totalvi_integration_distances" ]
prot_obsp_neighbor_connectivities: [ "totalvi_integration_connectivities" ]
rna_obs_cluster: [ "totalvi_integration_leiden" ]
rna_leiden_resolution: [ 1 ]
prot_obs_cluster: [ "totalvi_integration_leiden" ]
prot_leiden_resolution: [ 1 ]
obsm_umap: [ "X_totalvi_umap" ]
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision 1.0.1 \
-main-script target/nextflow/workflows/integration/totalvi_leiden/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--id | string required |
--input | file required |
--layer | string |
--modality | string |
--prot_modality | string |
--reference -r | file required |
Name | Type & Properties |
|---|---|
--output | file required output |
--reference_model_path | file output |
--query_model_path | file output |
Name | Type & Properties |
|---|---|
--obs_batch | string |
--max_epochs | integer |
--max_query_epochs | integer |
--weight_decay | double |
--force_retrain | boolean_true |
--var_input | string |
Name | Type & Properties |
|---|---|
--rna_reference_modality | string |
--rna_obsm_output | string |
Name | Type & Properties |
|---|---|
--prot_reference_modality | string |
--prot_obsm_output | string |
Name | Type & Properties |
|---|---|
--rna_uns_neighbors | string |
--rna_obsp_neighbor_distances | string |
--rna_obsp_neighbor_connectivities | string |
Name | Type & Properties |
|---|---|
--prot_uns_neighbors | string |
--prot_obsp_neighbor_distances | string |
--prot_obsp_neighbor_connectivities | string |
Name | Type & Properties |
|---|---|
--rna_obs_cluster | string |
--rna_leiden_resolution | double multiple |
Name | Type & Properties |
|---|---|
--prot_obs_cluster | string |
--prot_leiden_resolution | double multiple |
Name | Type & Properties |
|---|---|
--obsm_umap | string |