workflows/multiomics/process_samples

Description

A pipeline to analyse multiple multiomics samples.

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"  
output: "$id.$key.output.h5mu"  
add_id_to_obs: [ true ]  
add_id_obs_output: [ "sample_id" ]  
add_id_make_observation_keys_unique: [ true ]  
highly_variable_features_var_output: [ "filter_with_hvg" ]  
highly_variable_features_obs_batch_key: [ "sample_id" ]  
mitochondrial_gene_regex: [ "^[mM][tT]-" ]  
ribosomal_gene_regex: [ "^[Mm]?[Rr][Pp][LlSs]" ]  
top_n_vars: [ 50, 100, 200, 500 ]  
log1p_transform: [ true ]  
clr_axis: [ 0 ]  
rna_scaling_output_layer: [ "scaled" ]  
rna_scaling_pca_obsm_output: [ "scaled_pca" ]  
rna_scaling_pca_loadings_varm_output: [ "scaled_pca_loadings" ]  
rna_scaling_pca_variance_uns_output: [ "scaled_pca_variance" ]  
rna_scaling_umap_obsm_output: [ "scaled_umap" ]  
publish_dir: "output/"  
EOM

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

Inputs

Name
Type & Properties
--id
string
required
--input
-i
file
required
--rna_layer
string
--prot_layer
string
--gdo_layer
string

Outputs

Name
Type & Properties
--output
file
required
output

Sample ID options

Name
Type & Properties
--add_id_to_obs
boolean
--add_id_obs_output
string
--add_id_make_observation_keys_unique
boolean

RNA filtering options

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
--rna_min_fraction_ribo
double
--rna_max_fraction_ribo
double
--skip_scrublet_doublet_detection
boolean_true
--scrublet_score_threshold
double

CITE-seq filtering options

Name
Type & Properties
--prot_min_counts
integer
--prot_max_counts
integer
--prot_min_proteins_per_cell
integer
--prot_max_proteins_per_cell
integer
--prot_min_cells_per_protein
integer

GDO filtering options

Name
Type & Properties
--gdo_min_counts
integer
--gdo_max_counts
integer
--gdo_min_guides_per_cell
integer
--gdo_max_guides_per_cell
integer
--gdo_min_cells_per_guide
integer

Cross-modality filtering

Name
Type & Properties
--intersect_obs
boolean_true

Highly variable features detection

Name
Type & Properties
--highly_variable_features_var_output
--filter_with_hvg_var_output
string
--highly_variable_features_obs_batch_key
--filter_with_hvg_obs_batch_key
string

Mitochondrial & Ribosomal Gene Detection

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

QC metrics calculation options

Name
Type & Properties
--var_qc_metrics
string
multiple
--top_n_vars
integer
multiple
--log1p_transform
boolean

PCA options

Name
Type & Properties
--pca_overwrite
boolean_true

CLR options

Name
Type & Properties
--clr_axis
integer

RNA Scaling options

Name
Type & Properties
--rna_enable_scaling
boolean_true
--rna_scaling_output_layer
string
--rna_scaling_pca_obsm_output
string
--rna_scaling_pca_loadings_varm_output
string
--rna_scaling_pca_variance_uns_output
string
--rna_scaling_umap_obsm_output
string
--rna_scaling_max_value
double
--rna_scaling_zero_center
boolean_false

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.