Description
Annotate gene expression data with cell type classes through the scGPT model.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
finetuned_checkpoints_key: [ "model_state_dict" ]
label_mapper_key: [ "id_to_class" ]
modality: [ "rna" ]
obsm_gene_tokens: [ "gene_id_tokens" ]
obsm_tokenized_values: [ "values_tokenized" ]
output: "$id.$key.output.h5mu"
output_compression: [ "gzip" ]
output_obs_predictions: [ "scgpt_pred" ]
output_obs_probability: [ "scgpt_probability" ]
pad_token: [ "<pad>" ]
pad_value: [ -2 ]
n_input_bins: [ 51 ]
batch_size: [ 64 ]
dsbn: [ true ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision 2.0.0 \
-main-script target/nextflow/scgpt/cell_type_annotation/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--model | file required |
--model_config | file required |
--model_vocab | file required |
--finetuned_checkpoints_key | string |
--label_mapper_key | string |
Name | Type & Properties |
|---|---|
--input | file required |
--modality | string |
--obs_batch_label | string |
--obsm_gene_tokens | string |
--obsm_tokenized_values | string |
Name | Type & Properties |
|---|---|
--output | file required output |
--output_compression | string |
--output_obs_predictions | string |
--output_obs_probability | string |
Name | Type & Properties |
|---|---|
--pad_token | string |
--pad_value | integer |
--n_input_bins | integer |
--batch_size | integer |
--dsbn | boolean |
--seed | integer |