annotate/onclass

Description

OnClass is a python package for single-cell cell type annotation. It uses the Cell Ontology to capture the cell type similarity.
These similarities enable OnClass to annotate cell types that are never seen in the training data.

Type

python_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 ]  
sanitize_ensembl_ids: [ true ]  
unknown_celltype: [ "Unknown" ]  
output: "$id.$key.output.h5mu"  
output_obs_predictions: [ "onclass_pred" ]  
output_obs_probability: [ "onclass_prob" ]  
max_iter: [ 30 ]  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \  
  -revision v4.2.0 \  
  -main-script target/nextflow/annotate/onclass/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_reference_gene_overlap
integer
--sanitize_ensembl_ids
boolean

Ontology

Name
Type & Properties
--cl_nlp_emb_file
file
required
--cl_ontology_file
file
required
--cl_obo_file
file
required

Reference

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

Outputs

Name
Type & Properties
--output
file
output
--output_obs_predictions
string
--output_obs_probability
string
--output_compression
string

Model arguments

Name
Type & Properties
--model
string
--max_iter
integer

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.