annotate/singler

Description

SingleR performs reference-based cell type annotation for single-cell RNA-seq data
by computing Spearman correlations between test cells and reference samples with known labels,
using marker genes to assign the most similar cell type label to each new cell.

Type

r_script

License

MIT

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
modality: [ "rna" ]  
input_reference_gene_overlap: [ 100 ]  
de_method: [ "classic" ]  
quantile: [ 0.8 ]  
fine_tune: [ true ]  
fine_tuning_threshold: [ 0.05 ]  
prune: [ true ]  
sanitize_ensembl_ids: [ true ]  
output: "$id.$key.output.h5mu"  
output_obs_predictions: [ "singler_pred" ]  
output_obs_probability: [ "singler_probability" ]  
output_obs_delta_next: [ "singler_delta_next" ]  
output_obs_pruned_predictions: [ "singler_pruned_labels" ]  
output_obsm_scores: [ "singler_scores" ]  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \  
  -revision v4.0.0 \  
  -main-script target/nextflow/annotate/singler/main.nf \  
  -params-file params.yaml  

Inputs

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

Reference

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

Arguments

Name
Type & Properties
--de_n_genes
integer
--de_method
string
--quantile
double
--fine_tune
boolean
--fine_tuning_threshold
double
--prune
boolean
--sanitize_ensembl_ids
boolean

Outputs

Name
Type & Properties
--output
file
output
--output_obs_predictions
string
--output_obs_probability
string
--output_obs_delta_next
string
--output_obs_pruned_predictions
string
--output_obsm_scores
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.