Parameter reference¶
The pipeline parameters behind the scfoundry commands. The common ones have a
command-line option; every other one is forwarded as --name value (see
forwarding).
Note
Method modules declare their own defaults, and Nextflow scopes them per module — so
--model genuinely resolves to scGPT/scGPT_human under --method scgpt and to
UCE/33l_8ep_1024t_1280.torch under --method uce, even though both modules are loaded.
Passing a value on the command line overrides every module at once, which is harmless
because only one method runs per invocation.
Global¶
Defined in the workspace nextflow.config and available to every task.
Parameter |
Option |
Default |
Description |
|---|---|---|---|
|
|
|
GPU index (or list) exposed to the container. |
|
|
|
Host directory bind-mounted at |
|
|
|
Container image cache and Nextflow caches. |
|
— |
|
Stand-in |
|
— |
|
Pipeline code, bind-mounted at |
|
|
|
The workspace; the three directories above derive from it. |
download¶
Parameter |
Option |
Default |
Description |
|---|---|---|---|
|
|
required |
One of the 16 methods with a |
|
|
per method |
Checkpoint variant, where a method offers more than one (Novae). |
check¶
Parameter |
Option |
Default |
Description |
|---|---|---|---|
|
|
required |
Input |
|
|
none |
Method the file is meant for; adds its requirements ( |
|
|
|
Label column to look for. |
|
|
|
Batch column to look for. |
|
|
none |
|
|
|
|
Reports land in |
embed¶
These also apply to the embedding step of transfer.
Parameter |
Option |
Default |
Description |
|---|---|---|---|
|
|
required |
Method to run. Also selects the container image. |
|
|
required |
Input |
|
|
per method |
Checkpoint path relative to |
|
|
per method |
Inference batch size. Not declared by every method. |
|
|
|
Batch column. Integration methods only. |
|
|
|
Output root; embeddings land in |
Method-specific parameters — --bin_num, --nlayers, --how, --max_len,
--scfoundation_pool_type, --top_k, --scimilarity_use_gpu, --scvi_*,
--scprint_*, --pca_*, --integration_*, --seurat_* — are listed with their defaults
in method-specific parameters.
transfer¶
Parameter |
Option |
Default |
Description |
|---|---|---|---|
|
|
required |
Model providing the embeddings. |
|
|
none |
Labelled reference set. Required to fit. |
|
|
none |
Query set to label. Required to predict. |
|
|
none |
Fitted model directory. Required when |
|
|
|
|
|
|
|
|
|
|
|
Neighbours for the |
|
|
|
Output root; models and predictions land in |
All embed parameters apply as well.
finetune¶
Parameter |
Option |
Default |
Description |
|---|---|---|---|
|
|
required |
Model to fine-tune. |
|
|
none |
Labelled training set. Required to fine-tune. |
|
|
none |
Query set to predict. Required to predict. |
|
|
none |
Fine-tuned model directory. Required when |
|
|
|
|
|
|
per method |
Training epochs. Defaults follow each model’s published recipe. |
|
|
per method |
Training batch size. Not declared by CellPLM. |
|
— |
per method |
Validation fraction, |
|
— |
per method |
Inference batch size. Not declared by CellPLM or CELLama. |
|
|
per method |
Pretrained checkpoint to start from. |
|
|
|
Output root; models and predictions land in |
|
— |
|
CELLama only. |
|
— |
|
scFoundation only. |
Per-method values for the four training defaults are tabulated on Fine-tune.
benchmark¶
Parameter |
Option |
Default |
Description |
|---|---|---|---|
|
|
required |
Embedding |
|
|
directory name |
Method label written into the tables. |
|
|
|
Cell-type column. The Leiden target cluster count follows its cardinality. |
|
|
|
Batch column. Only read when |
|
|
|
|
|
|
|
|
|
|
|
Stratified subsample for the batch metrics; |
|
|
|
Output root; tables land in |
geometry¶
Parameter |
Option |
Default |
Description |
|---|---|---|---|
|
|
required |
Embedding |
|
|
required |
The raw-count input, or a directory matched by file name. |
|
|
directory name |
Method label written into the tables. |
|
|
|
Cell-type column. |
|
|
|
Batch column; a missing column means one batch. |
|
|
|
Subsample larger datasets to this many cells. |
|
|
|
Seed for subsampling and pair sampling. |
|
|
|
Output root; tables land in |
Nextflow options worth knowing¶
Passed after --, verbatim to nextflow run:
Option |
Why it matters here |
|---|---|
|
Cap concurrent tasks within a run. |
|
Execution reports, useful for sizing memory and runtime before a large run. |
|
Move scratch off the workspace filesystem. Useful on clusters with fast node-local disk. |
-c, -profile and -resume have their own options (--config, --profile,
--resume).
See also
Command reference — the commands and their run options.
Method reference — per-method defaults and method-specific flags.
nextflow.config reference — the configuration file itself.