Every parameter the pipeline accepts, grouped as in --help. They are checked against nextflow_schema.json before anything is fetched: a wrong type (--starsolo ture), an unknown species or a missing --datasets stops the run at once. nextflow run main.nf --help prints the same list.
Tab-separated table of dataset_id and sample_id, whatever its extension. Columns dataset_id and sample_id; sample_id holds comma-separated accessions. Leaving it empty processes the WHOLE series, which is intentional, but a series is often mixed: run with --metaonly first to see what it holds.
--outdir
string (directory)
results
Directory to save results.
--publish_mode
string
link
How published files are written into –outdir. Allowed: symlink, rellink, link, copy, copyNoFollow, move.
Run options
Parameter
Type
Default
Description
--metaonly
boolean
false
Only fetch metadata; skip downloading and alignment.
--starsolo
boolean
false
Align with STARsolo after downloading.
--cellranger
boolean
false
Align with Cell Ranger after downloading.
--no_raw
boolean
false
Publish nothing under raw/ (downloaded BAM/SRA/FASTQ, per-run and renamed FASTQs) nor their index CSVs. The files then exist only in the work directory. Pair it with -profile lineage_keep to have them deleted as each sample finishes, while a failed sample’s stay for its -resume.
Species options
Parameter
Type
Default
Description
--default_specie
string
–
Species for samples whose metadata is missing or contradictory. Allowed: human, mouse. If unset, such samples are skipped with a warning and listed in skipped_samples.tsv.
--no_infer_specie
boolean
false
Ignore species in the metadata and assign –default_specie to every sample. Requires –default_specie.
Reference options
-profile sanger sets all five to the farm’s copies; anywhere else pass the ones you need.
Parameter
Type
Default
Description
--wl_basedir
string (directory)
–
Directory of 10x barcode whitelists, read by chemistry inference. Required unless –metaonly. Needs the 10x whitelists under their Cell Ranger names (737K-august-2016.txt, 3M-february-2018.txt, …; see docs/10x_chemistry_reference.md). The STARsolo image ships them: docker run --rm -u $(id -u):$(id -g) -v $PWD:/out quay.io/cellgeni/starsolo:v4.4 cp -r /opt/STARsolo/data/whitelists /out/.
--star_human_reference
string (directory)
–
STAR index for human samples. –starsolo needs this or –star_mouse_reference. A genomeGenerate directory compatible with STAR 2.7.10a, the version in quay.io/cellgeni/starsolo:v4.4. The farm’s is built from Cell Ranger’s GRCh38 2020-A.
--star_mouse_reference
string (directory)
–
STAR index for mouse samples. –starsolo needs this or –star_human_reference. A genomeGenerate directory compatible with STAR 2.7.10a, the version in quay.io/cellgeni/starsolo:v4.4. The farm’s is built from Cell Ranger’s mm10 2020-A.
--cr_human_reference
string (directory)
–
Cell Ranger reference for human samples. –cellranger needs this or –cr_mouse_reference.
--cr_mouse_reference
string (directory)
–
Cell Ranger reference for mouse samples. –cellranger needs this or –cr_human_reference.
Rules across parameters
Combinations that stop the run at launch:
--no_infer_specie needs --default_specie.
A container engine is required: run with -profile sanger, singularity or docker.
--wl_basedir is required unless --metaonly is set.
--starsolo needs --star_human_reference or --star_mouse_reference, and --cellranger needs --cr_human_reference or --cr_mouse_reference. With only one of the two, the other species’ samples are not aligned, and a warning says so.
Hidden parameters
Not shown by --help; --help --showHidden lists them.
Parameter
Type
Default
Description
--help
boolean
false
Show this help message and exit.
--monochrome_logs
boolean
false
Do not use coloured log output.
--trace_report_suffix
string
–
Suffix of the trace, report and DAG file names; defaults to the launch timestamp.