workflows/integration/scgpt_leiden

Description

Run scGPT integration (cell embedding generation) followed by neighbour calculations, leiden clustering and run umap on the result.

Type

nextflow_script

License

MIT

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
id: "run"  
modality: [ "rna" ]  
output: "$id.$key.output.h5mu"  
obsm_integrated: [ "X_scgpt" ]  
pad_token: [ "<pad>" ]  
pad_value: [ -2 ]  
n_hvg: [ 1200 ]  
hvg_flavor: [ "cell_ranger" ]  
dsbn: [ true ]  
batch_size: [ 64 ]  
n_input_bins: [ 51 ]  
leiden_resolution: [ 1 ]  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \  
  -revision v3.0.2 \  
  -main-script target/nextflow/workflows/integration/scgpt_leiden/main.nf \  
  -params-file params.yaml  

Inputs

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

Model

Name
Type & Properties
--model
file
required
--model_vocab
file
required
--model_config
file
required
--finetuned_checkpoints_key
string

Outputs

Name
Type & Properties
--output
file
required
output
--obsm_integrated
string

Padding arguments

Name
Type & Properties
--pad_token
string
--pad_value
integer

HVG subset arguments

Name
Type & Properties
--n_hvg
integer
--hvg_flavor
string

Tokenization arguments

Name
Type & Properties
--max_seq_len
integer

Embedding arguments

Name
Type & Properties
--dsbn
boolean
--batch_size
integer

Binning arguments

Name
Type & Properties
--n_input_bins
integer
--seed
integer

Clustering arguments

Name
Type & Properties
--leiden_resolution
double
multiple

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.