This page lists the most commonly used Cell Ranger pipelines and commands. For the full list of pipelines, commands, and subcommands, run cellranger --help.
Count and analyze gene expression, immune profiling, and/or Feature Barcode data from single sample or multiplexed experiments.
Usage:
cellranger count --id <ID> --config <CSV> [OPTIONS]cellranger count --id <ID> --fastqs <PATH> --transcriptome <PATH> [OPTIONS]
Options
| Option | Description |
|---|---|
--id <ID> | A unique run id and output folder name [a-zA-Z0-9_-]+ |
--description <TEXT> | Sample description to embed in output files (default: "") |
--config <CSV> | Path of CSV file enumerating input libraries and analysis parameters. Cannot be combined with other analysis arguments (alias: --csv) |
-h, --help | Print help |
Pipeline options
| Option | Description |
|---|---|
--dry | Do not execute the pipeline. Generate a pipeline invocation (.mro) file and stop |
--jobmode <MODE> | Job manager to use. Valid options: local (default), sge, lsf, slurm or path to a .template file. Search for help on "Cluster Mode" at 10xgenomics.com/support for more details on configuring the pipeline to use a compute cluster |
--localcores <NUM> | Set max cores the pipeline may request at one time. Only applies to local jobs |
--localmem <NUM> | Set max GB the pipeline may request at one time. Only applies to local jobs |
--localvmem <NUM> | Set max virtual address space in GB for the pipeline. Only applies to local jobs |
--mempercore <NUM> | Reserve enough threads for each job to ensure enough memory will be available, assuming each core on your cluster has at least this much memory available. Only applies to cluster jobmodes |
--maxjobs <NUM> | Set max jobs submitted to cluster at one time. Only applies to cluster jobmodes |
--jobinterval <NUM> | Set delay between submitting jobs to cluster, in ms. Only applies to cluster jobmodes |
--overrides <PATH> | The path to a JSON file that specifies stage-level overrides for cores and memory. Finer-grained than --localcores, --mempercore and --localmem. Consult https://10xgen.com/resource-override for an example override file |
--output-dir <PATH> | Output the results to this directory |
--uiport <PORT> | Serve web UI at http://localhost:PORT |
--disable-ui | Do not serve the web UI |
--noexit | Keep web UI running after pipestance completes or fails |
--nopreflight | Skip preflight checks |
Individual arguments (cannot be combined with --config)
| Option | Description |
|---|---|
--transcriptome <PATH> | Path of folder containing 10x-compatible transcriptome reference |
--fastqs <PATH> | Path to input FASTQ data |
--project <TEXT> | Name of the project folder within a mkfastq or bcl2fastq-generated folder from which to pick FASTQs |
--sample <PREFIX> | Prefix of the filenames of FASTQs to select |
--lanes <NUMS> | Only use FASTQs from selected lanes |
--libraries <CSV> | CSV file declaring input library data sources |
--feature-ref <CSV> | Feature reference CSV file, declaring Feature Barcode constructs and associated barcodes |
--expect-cells <NUM> | Expected number of recovered cells, used as input to cell calling algorithm |
--force-cells <NUM> | Force pipeline to use this number of cells, bypassing cell calling algorithm. Minimum: 10 |
--create-bam <true|false> | Enable or disable BAM file generation. Setting --create-bam=false reduces the total computation time and the size of the output directory (BAM file not generated). We recommend setting --create-bam=true if unsure. See https://10xgen.com/create-bam for additional guidance (possible values: true, false) |
--nosecondary | Disable secondary analysis, e.g. clustering. Optional |
--r1-length <NUM> | Hard trim the input Read 1 to this length before analysis |
--r2-length <NUM> | Hard trim the input Read 2 to this length before analysis |
--include-introns <true|false> | Include intronic reads in count (default: true; possible values: true, false) |
--chemistry <CHEM> | Assay configuration. NOTE: by default the assay configuration is detected automatically, which is the recommended mode. You usually will not need to specify a chemistry. Options are: auto for autodetection, threeprime for Single Cell 3', fiveprime for Single Cell 5', SC3Pv1 or SC3Pv2 or SC3Pv3 or SC3Pv4 for Single Cell 3' v1/v2/v3/v4, SC3Pv3HT for Single Cell 3' v3 HT, SC5P-PE or SC5P-PE-v3 or SC5P-R2 or SC5P-R2-v3 for Single Cell 5', paired-end/R2-only, SC-FB for Single Cell Antibody-only 3' v2 or 5'. To analyze the GEX portion of multiome data, chemistry must be set to ARC-v1 (default: auto) |
--no-libraries | Proceed with processing using a --feature-ref but no Feature Barcode libraries specified with the libraries flag |
--check-library-compatibility <true|false> | Whether to check for barcode compatibility between libraries (default: true; possible values: true, false) |
--tenx-cloud-token-path <PATH> | The path to the 10x Cloud Analysis user token used to enable cell annotation. If not provided, will default to the location stored through cellranger cloud auth setup |
--cell-annotation-model <MODEL> | Cell annotation model to use. Valid model names can be viewed by running cellranger cloud annotation models or on the 10x Genomics Support site (https://www.10xgenomics.com/support). If omitted or set to auto, uses the default model for the species |
--disable-cell-annotation | Disable cell type annotation |
--min-crispr-umi <NUM> | Minimum CRISPR UMI threshold (default: 3) |
Build a reference for use with 10x analysis software (gex, vdj, gtf).
Usage: cellranger buildref <COMMAND>
| Command | Description |
|---|---|
gex | Build a gene expression reference. Requires a GTF and FASTA |
vdj | Build a reference for use with Cell Ranger VDJ |
gtf | Filter a GTF file by attribute prior to building a gene expression reference |
help | Print this message or the help of the given subcommand(s) |
| Option | Description |
|---|---|
-h, --help | Print help |
Usage: cellranger testrun [OPTIONS] --id <ID>
| Option | Description |
|---|---|
--id <ID> | A unique run id and output folder name |
--description <TEXT> | Sample description to embed in output files |
--dry | Do not execute the pipeline. Generate a pipeline invocation (.mro) file and stop |
--jobmode <MODE> | Job manager to use. Valid options: local (default), sge, lsf, slurm or path to a .template file. Search for help on "Cluster Mode" at 10xgenomics.com/support for more details on configuring the pipeline to use a compute cluster |
--localcores <NUM> | Set max cores the pipeline may request at one time. Only applies to local jobs |
--localmem <NUM> | Set max GB the pipeline may request at one time. Only applies to local jobs |
--localvmem <NUM> | Set max virtual address space in GB for the pipeline. Only applies to local jobs |
--mempercore <NUM> | Reserve enough threads for each job to ensure enough memory will be available, assuming each core on your cluster has at least this much memory available. Only applies to cluster jobmodes |
--maxjobs <NUM> | Set max jobs submitted to cluster at one time. Only applies to cluster jobmodes |
--jobinterval <NUM> | Set delay between submitting jobs to cluster, in ms. Only applies to cluster jobmodes |
--overrides <PATH> | The path to a JSON file that specifies stage-level overrides for cores and memory. Finer-grained than --localcores, --mempercore and --localmem. Consult https://10xgen.com/resource-override for an example override file |
--output-dir <PATH> | Output the results to this directory |
--uiport <PORT> | Serve web UI at http://localhost:PORT |
--disable-ui | Do not serve the web UI |
--noexit | Keep web UI running after pipestance completes or fails |
--nopreflight | Skip preflight checks |
-h, --help | Print help |
The official command-line client for 10x Genomics Pipeline Runner. Before using the CLI, you'll need to authenticate with txg auth setup. See txg help auth for more information.
Usage: txg [command], txg help [command]
| Command | Description |
|---|---|
analyses | Manage analyses |
annotation | Cell type annotation functions |
auth | Manage authentication |
fastqs | Upload and manage FASTQs |
files | Upload and manage files |
help | Help about any command |
projects | Manage projects |
references | Upload and manage custom references |
| Flag | Description |
|---|---|
--access-token string | Specify an access token to use. Default: the saved token from txg auth setup. |
-y, --assumeyes | Assume yes (don't interactively prompt for confirmation, etc). Default: off. |
-H, --header header | Extra header to include in the request when sending HTTP requests to a server. May be given multiple times to add multiple headers. Each header must be of the form Header: value. Default: no extra headers. |
-h, --help | Display help and exit. |
-q, --quiet | Don't show progress or messages. Default: off. |
-v, --verbose | Display extra debugging information. Default: off. |
--version | Display version and exit. |
For more information about what data is collected and how it is used, visit https://10xgen.com/pipeline-telemetry.
Usage: cellranger telemetry [help] (collect/check/disable/enable/list/show)
| Option | Description |
|---|---|
collect | Collect telemetry data, if enabled. |
check | Show whether telemetry is currently enabled and configuration information. |
disable | Disable telemetry collection for this user. |
enable | Enable telemetry collection for this user. |
list | List files containing saved telemetry data for this product. |
show | Display contents of saved telemetry data for this product. |