workflows/annotation/harmony_knn

Description

Cell type annotation workflow by performing harmony integration of reference and query dataset followed by KNN label transfer.

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" ]  
input_reference_gene_overlap: [ 100 ]  
n_hvg: [ 2000 ]  
harmony_theta: [ 2 ]  
leiden_resolution: [ 1 ]  
knn_weights: [ "uniform" ]  
knn_n_neighbors: [ 15 ]  
output: "$id.$key.output.h5mu"  
output_obsm_integrated: [ "X_integrated_harmony" ]  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \  
  -revision v4.2.0 \  
  -main-script target/nextflow/workflows/annotation/harmony_knn/main.nf \  
  -params-file params.yaml  

Query Input

Name
Type & Properties
--id
string
required
--input
file
required
--modality
string
--input_layer
string
--input_obs_batch_label
string
required
--input_var_gene_names
string
--input_reference_gene_overlap
integer
--overwrite_existing_key
boolean_true

Reference input

Name
Type & Properties
--reference
file
required
--reference_layer
string
--reference_obs_target
string
required
--reference_var_gene_names
string
--reference_obs_batch_label
string
required

HVG subset arguments

Name
Type & Properties
--n_hvg
integer

PCA options

Name
Type & Properties
--pca_num_components
integer

Harmony integration options

Name
Type & Properties
--harmony_theta
double
multiple

Leiden clustering options

Name
Type & Properties
--leiden_resolution
double
multiple

Neighbor classifier arguments

Name
Type & Properties
--knn_weights
string
--knn_n_neighbors
integer

Outputs

Name
Type & Properties
--output
file
required
output
--output_obs_predictions
string
multiple
--output_obs_probability
string
multiple
--output_obsm_integrated
string
--output_compression
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.