workflows/integration/totalvi_scarches_leiden

Description

Run totalVI integration by mapping the query dataset to a reference, followed by neighbour calculations, leiden clustering and run umap on the result.

Type

nextflow_script

License

MIT

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
id: "run"  
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 v4.0.0 \  
  -main-script target/nextflow/workflows/integration/totalvi_scarches_leiden/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--id
string
required
--input
file
required
--layer
string
--modality
string
--prot_modality
string
--reference
-r
file
required

Outputs

Name
Type & Properties
--output
file
required
output
--reference_model_path
file
output
--query_model_path
file
output

General TotalVI Options

Name
Type & Properties
--obs_batch
string
--obs_size_factor
string
--obs_categorical_covariate
string
multiple
--obs_continuous_covariate
string
multiple
--max_epochs
integer
--max_query_epochs
integer
--weight_decay
double
--force_retrain
boolean_true
--var_input
string

TotalVI integration options RNA

Name
Type & Properties
--rna_reference_modality
string
--rna_obsm_output
string

TotalVI integration options ADT

Name
Type & Properties
--prot_reference_modality
string
--prot_obsm_output
string

Neighbour calculation RNA

Name
Type & Properties
--rna_uns_neighbors
string
--rna_obsp_neighbor_distances
string
--rna_obsp_neighbor_connectivities
string

Neighbour calculation ADT

Name
Type & Properties
--prot_uns_neighbors
string
--prot_obsp_neighbor_distances
string
--prot_obsp_neighbor_connectivities
string

Clustering options RNA

Name
Type & Properties
--rna_obs_cluster
string
--rna_leiden_resolution
double
multiple

Clustering options ADT

Name
Type & Properties
--prot_obs_cluster
string
--prot_leiden_resolution
double
multiple

Umap options

Name
Type & Properties
--obsm_umap
string

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.