Description
Performs scvi integration as done in the human lung cell atlas https://github.com/LungCellAtlas/HLCA
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
obs_batch: [ "sample_id" ]
sanitize_ensembl_ids: [ true ]
output: "$id.$key.output"
output_model: "$id.$key.output_model"
obsm_output: [ "X_scvi_integrated" ]
n_hidden_nodes: [ 128 ]
n_dimensions_latent_space: [ 30 ]
n_hidden_layers: [ 2 ]
dropout_rate: [ 0.1 ]
dispersion: [ "gene" ]
gene_likelihood: [ "nb" ]
use_layer_normalization: [ "both" ]
use_batch_normalization: [ "none" ]
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 ]
n_obs_min_count: [ 0 ]
n_var_min_count: [ 0 ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v4.0.3 \
-main-script target/nextflow/integrate/scvi/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input -i | file required |
--modality | string |
--input_layer | string |
--obs_batch | string |
--var_gene_names | string |
--var_input | string |
--obs_labels | string |
--obs_size_factor | string |
--obs_categorical_covariate | string multiple |
--obs_continuous_covariate | string multiple |
--sanitize_ensembl_ids | boolean |
Name | Type & Properties |
|---|---|
--output -o | file required output |
--output_model | file output |
--obsm_output | string |
--output_compression | string |
Name | Type & Properties |
|---|---|
--n_hidden_nodes | integer |
--n_dimensions_latent_space | integer |
--n_hidden_layers | integer |
--dropout_rate | double |
--dispersion | string |
--gene_likelihood | string |
Name | Type & Properties |
|---|---|
--use_layer_normalization | string |
--use_batch_normalization | string |
--encode_covariates | boolean_false |
--deeply_inject_covariates | boolean_true |
--use_observed_lib_size | boolean_true |
Name | Type & Properties |
|---|---|
--early_stopping | boolean |
--early_stopping_monitor | string |
--early_stopping_patience | integer |
--early_stopping_min_delta | double |
Name | Type & Properties |
|---|---|
--max_epochs | integer |
--reduce_lr_on_plateau | boolean |
--lr_factor | double |
--lr_patience | double |
Name | Type & Properties |
|---|---|
--n_obs_min_count | integer |
--n_var_min_count | integer |