feature_annotation/score_genes_scanpy

Description

Calculates the score of a set of genes for each cell, as implemented by scanpy.
The score is the average expression of a set of genes subtracted with the average expression of a reference set of genes.

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" ]  
output: "$id.$key.output.h5mu"  
obs_score: [ "score" ]  
ctrl_size: [ 50 ]  
n_bins: [ 25 ]  
random_state: [ 0 ]  
id: "run"  
publish_dir: "output/"  
EOM

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

Inputs

Name
Type & Properties
--input
file
required
--gene_list
string
multiple
--gene_list_file
file
--gene_pool
string
multiple
--gene_pool_file
file
--modality
string
--input_layer
string
--var_gene_names
string
--allow_missing_genes
boolean

Outputs

Name
Type & Properties
--output
file
required
output
--obs_score
string
--output_compression
string

Arguments

Name
Type & Properties
--ctrl_size
integer
--n_bins
integer
--random_state
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.