feature_annotation/score_genes_cell_cycle_scanpy

Description

Calculates the score associated to S phase and G2M phase and annotates the cell cycle phase 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

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_phase: [ "phase" ]  
obs_s_score: [ "S_score" ]  
obs_g2m_score: [ "G2M_score" ]  
n_bins: [ 25 ]  
random_state: [ 0 ]  
allow_missing_genes: [ false ]  
id: "run"  
publish_dir: "output/"  
EOM

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

Inputs

Name
Type & Properties
--input
file
required
--modality
string
--input_layer
string
--var_gene_names
string

Gene list inputs

Name
Type & Properties
--s_genes
string
multiple
--s_genes_file
file
--g2m_genes
string
multiple
--g2m_genes_file
file
--gene_pool
string
multiple
--gene_pool_file
file

Outputs

Name
Type & Properties
--output
file
required
output
--output_compression
string
--obs_phase
string
--obs_s_score
string
--obs_g2m_score
string

Arguments

Name
Type & Properties
--n_bins
integer
--random_state
integer
--allow_missing_genes
boolean

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.