annotate/random_forest_annotation

Description

Automated cell type annotation tool for scRNA-seq datasets on the basis of random forest.

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 ]  
output: "$id.$key.output.h5mu"  
output_obs_predictions: [ "random_forest_pred" ]  
output_obs_probability: [ "random_forest_probability" ]  
n_estimators: [ 100 ]  
criterion: [ "gini" ]  
class_weight: [ "balanced_subsample" ]  
max_features: [ "200" ]  
id: "run"  
publish_dir: "output/"  
EOM

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

Inputs

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

Reference

Name
Type & Properties
--reference
file
--reference_layer
string
--reference_obs_target
string
required
--reference_var_gene_names
string
--reference_var_input
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
file
--n_estimators
integer
--max_depth
integer
--criterion
string
--class_weight
string
--max_features
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.