single_cell/process_integrate_annotate

Description

A pipeline to process, integrate and annotate single cell (multi-)omics data.
Available integration methods:

  • Harmony

  • scVI
    Available annotation methods:

  • CellTypist

  • scANVI (with scArches)

Type

nextflow_script

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 ]  
reference_layer_lognormalized_counts: [ "log_normalized" ]  
reference_obs_label_unlabeled_category: [ "Unkown" ]  
n_hvg: [ 2000 ]  
mitochondrial_gene_regex: [ "^[mM][tT]-" ]  
ribosomal_gene_regex: [ "^[Mm]?[Rr][Pp][LlSs]" ]  
harmony_theta: [ 2 ]  
harmony_obs_covariates: [ "sample_id" ]  
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 ]  
celltypist_feature_selection: [ false ]  
celltypist_majority_voting: [ false ]  
celltypist_C: [ 1 ]  
celltypist_max_iter: [ 1000 ]  
celltypist_min_prop: [ 0 ]  
leiden_resolution: [ 1 ]  
knn_weights: [ "uniform" ]  
knn_n_neighbors: [ 15 ]  
output: "$id.$key.output.h5mu"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline_composed.git \  
  -revision v0.1.1 \  
  -main-script target/nextflow/single_cell/process_integrate_annotate/main.nf \  
  -params-file params.yaml  

Input (query) data arguments

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

Reference data arguments

Name
Type & Properties
--reference
file
--reference_layer_raw_counts
string
--reference_layer_lognormalized_counts
string
--reference_var_gene_names
string
--reference_obs_batch
string
--reference_obs_label
string
--reference_obs_label_unlabeled_category
string
--reference_var_input
string

Methods

Name
Type & Properties
--integration_methods
string
multiple
--annotation_methods
string
multiple

Pre-processing options: RNA filtering

Name
Type & Properties
--rna_min_counts
integer
--rna_max_counts
integer
--rna_min_genes_per_cell
integer
--rna_max_genes_per_cell
integer
--rna_min_cells_per_gene
integer
--rna_min_fraction_mito
double
--rna_max_fraction_mito
double

Pre-processing options: Highly variable features detection

Name
Type & Properties
--n_hvg
integer

Pre-processing options: Mitochondrial & Ribosomal Gene Detection

Name
Type & Properties
--var_name_mitochondrial_genes
string
--var_name_ribosomal_genes
string
--obs_name_mitochondrial_fraction
string
--obs_name_ribosomal_fraction
string
--mitochondrial_gene_regex
string
--ribosomal_gene_regex
string

Pre-processing options: QC metrics calculation options

Name
Type & Properties
--var_qc_metrics
string
multiple

Harmony integration options

Name
Type & Properties
--harmony_theta
double
multiple
--harmony_obs_covariates
string
required
multiple

scVI, scANVI and scArches training options

Name
Type & Properties
--early_stopping
boolean
--early_stopping_monitor
string
--early_stopping_patience
integer
--early_stopping_min_delta
double
--max_epochs
integer
--reduce_lr_on_plateau
boolean
--lr_factor
double
--lr_patience
double

CellTypist reference model

Name
Type & Properties
--celltypist_model
file

CellTypist annotation options

Name
Type & Properties
--celltypist_feature_selection
boolean
--celltypist_majority_voting
boolean
--celltypist_C
double
--celltypist_max_iter
integer
--celltypist_use_SGD
boolean_true
--celltypist_min_prop
double

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

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.