scgpt/embedding

Description

Generation of cell embeddings for the integration of single cell transcriptomic count data using scGPT.

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" ]  
obsm_gene_tokens: [ "gene_id_tokens" ]  
obsm_tokenized_values: [ "values_tokenized" ]  
obsm_padding_mask: [ "padding_mask" ]  
output: "$id.$key.output.h5mu"  
obsm_embeddings: [ "X_scGPT" ]  
pad_token: [ "<pad>" ]  
pad_value: [ -2 ]  
dsbn: [ true ]  
batch_size: [ 64 ]  
id: "run"  
publish_dir: "output/"  
EOM

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

Inputs

Name
Type & Properties
--input
file
required
--modality
string
--model
file
required
--model_vocab
file
required
--model_config
file
required
--obsm_gene_tokens
string
--obsm_tokenized_values
string
--obsm_padding_mask
string
--var_gene_names
string
--obs_batch_label
string
--finetuned_checkpoints_key
string

Outputs

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

Arguments

Name
Type & Properties
--pad_token
string
--pad_value
integer
--dsbn
boolean
--batch_size
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.