Support homeCell Ranger ARCAnalysis
Cell Ranger ARC Command Line Arguments

Cell Ranger ARC Command Line Arguments

For a list of subcommands, run cellranger-arc --help.

Usage: cellranger-arc <SUBCOMMAND> cellranger-arc --help

SubcommandDescription
countCount ATAC and gene expression reads from a single library
mkfastqRun bcl2fastq on Epi Multiome ATAC + Gene Expression sequencing data
mkrefCreate a cellranger-arc-compatible reference package
aggrAggregate data from multiple cellranger-arc count runs
reanalyzeRe-run secondary analysis (dimensionality reduction, clustering, feature linkage etc.) on a completed cellranger-arc count or cellranger-arc aggr run
testrunRun a tiny cellranger-arc count pipeline to verify software integrity
mkgtfFilter a GTF file by attribute prior to creating a 10x reference
cloudInvoke cloud commands
uploadUpload analysis logs to 10x Genomics support
sitecheckCollect linux system configuration information
telemetryConfigure and inspect telemetry settings and data
FlagsDescription
-h, --helpPrints help information
-V, --versionPrints version information

Count ATAC and gene expression reads from a single library.

Usage: cellranger-arc count [OPTIONS] --id <ID> --reference <PATH> --libraries <CSV> --create-bam <true|false>

OptionDescription
--id <ID>A unique run id and output folder name [a-zA-Z0--9_-]+ of maximum length 64 characters.
--description <TEXT>Sample description to embed in output files.
--reference <PATH>Path to folder containing cellranger-arc-compatible reference. Reference packages can be downloaded from support.10xgenomics.com or constructed using the cellranger-arc mkref command.
--libraries <CSV>Path to a 3-column CSV file defining the paths to ATAC and gene expression FASTQ data.
--min-atac-count <NUM>Cell caller override: define the minimum number of ATAC transposition events in peaks for a cell barcode. Note: this option must be specified in conjunction with min-gex-count. With --min-atac-count=X and --min-gex-count=Y a barcode is defined as a cell if it contains at least X ATAC counts AND at least Y GEX UMI counts.
--min-gex-count <NUM>Cell caller override: define the minimum number of GEX UMI counts for a cell barcode. Note: this option must be specified in conjunction with min-atac-count. With --min-atac-count=X and --min-gex-count=Y a barcode is defined as a cell if it contains at least X ATAC counts AND at least Y GEX UMI counts.
--peaks <BED>Override peak caller: specify peaks to use in downstream analyses from a supplied 3-column BED file. The supplied peaks file must be sorted by position and not contain overlapping peaks; comment lines beginning with # are allowed.
--gex-exclude-intronsDisable counting of intronic reads. In this mode, only reads that are exonic and compatible with annotated splice junctions in the reference are counted. Note: using this mode will reduce the UMI counts in the feature-barcode matrix.
--tenx-cloud-token-path <PATH>The path to the 10x Cloud Analysis user token used to enable cell annotation. If not provided, it will default to the location stored through the cellranger-arc cloud auth setup.
--cell-annotation-model <MODEL>Cell annotation model to use. Valid model names can be viewed by running cellranger-arc cloud annotation models or on the 10x Genomics Support site. If "auto", it uses the default model for the species. If not provided, cell annotation is not run.
--create-bam <true/false>Enable or disable BAM file generation. Setting --create-bam=false reduces computation time and output directory size. We recommend setting --create-bam=true if unsure. See https://10xgen.com/create-bam for guidance. [possible values: true, false]
--nosecondaryDisable secondary analysis, e.g., clustering.
--rna-r1-length <NUM>Trim the input Read 1 for GEX data to this length before analysis.
--rna-r2-length <NUM>Trim the input Read 2 for GEX data to this length before analysis.
--dryDo 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 a path to a .template file. Search for "Cluster Mode" at support.10xgenomics.com for details.
--localcores <NUM>Set the max cores the pipeline may request at one time. Only applies to local jobs.
--localmem <NUM>Set the max GB the pipeline may request at one time. Only applies to local jobs.
--localvmem <NUM>Set the 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. Only applies to cluster jobmodes.
--maxjobs <NUM>Set the max jobs submitted to the cluster at one time. Only applies to cluster jobmodes.
--jobinterval <NUM>Set the delay in milliseconds between submitting jobs to the cluster. Only applies to cluster jobmodes.
--overrides <PATH>The path to a JSON file that specifies stage-level overrides for cores and memory. See https://10xgen.com/resource-override for an example.
--output-dir <PATH>Output the results to this directory.
--uiport <PORT>Serve web UI at http://localhost:PORT.
--disable-uiDo not serve the web UI.
--noexitKeep the web UI running after the pipestance completes or fails.
--nopreflightSkip preflight checks.
-h, --helpPrint help (see a summary with -h).

Run Illumina demultiplexer on sample sheets that contain 10x-specific sample index sets, and generate 10x-specific quality metrics after the demultiplex. Any bcl2fastq argument will work (except a few that are set by the pipeline to ensure proper trimming and sample indexing). The FASTQ output generated will be the same as when running bcl2fastq directly.

These bcl2fastq arguments are overridden by this pipeline:

  • --fastq-cluster-count
  • --minimum-trimmed-read-length
  • --mask-short-adapter-reads

This pipeline has been deprecated beginning with Cell Ranger ARC v2.1.

Usage: cellranger-arc mkfastq --run=PATH [options] cellranger-arc mkfastq -h | --help | --version

OptionDescription
--run=PATH(required) Path of Illumina BCL run folder.
--id=NAMEName of the folder created by mkfastq. If not supplied, will default to the name of the flowcell referred to by the --run argument.
--csv=PATH, --samplesheet=PATH, --sample-sheet=PATHPath to the sample sheet. The sample sheet can either be a simple CSV with lane, sample and index columns, or an Illumina Experiment Manager-compatible sample sheet. Sample sheet indexes can refer to 10x sample index set names (e.g., SI-GA-A12).
--simple-csv=PATHDeprecated. Same meaning as --csv.
--force-single-indexIf 10x-supplied i7/i5 paired indices are specified, but the flowcell was run with only one sample index, allow the demultiplex to proceed using the i7 half of the sample index pair.
--filter-single-indexOnly demultiplex samples identified by an i7-only sample index, ignoring dual-indexed samples. Dual-indexed samples will not be demultiplexed.
--filter-dual-indexOnly demultiplex samples identified by i7/i5 dual-indices (e.g., SI-TT-A6), ignoring single-index samples. Single-index samples will not be demultiplexed.
--rc-i2-override=BOOLIndicates if the bases in the I2 read are emitted as reverse complement by the sequencing workflow. Set to 'true' for Workflow A / NovaSeq Reagent Kit v1.5 or greater. Set to 'false' for Wokflow B / older NovaSeq Reagent Kits. NOTE: this parameter is autodetected based and should only be passed in special circumstances.
--lanes=NUMSComma-delimited series of lanes to demultiplex. Shortcut for the --tiles argument.
--use-bases-mask=MASKSame as bcl2fastq; override the read lengths as specified in RunInfo.xml. See Illumina bcl2fastq documentation for more information.
--delete-undeterminedDelete the Undetermined FASTQ files left by bcl2fastq. Useful if your sample sheet is only expected to match a subset of the flowcell.
--output-dir=PATHSame as in bcl2fastq. Folder where FASTQs, reports and stats will be generated.
--project=NAMECustom project name, to override the samplesheet or to use in conjunction with the --csv argument.
--jobmode=MODEJob manager to use. Valid options: local (default), sge, lsf, or a .template file.
--localcores=NUMSet max cores the pipeline may request at one time. Only applies to local jobs.
--localmem=NUMSet max GB the pipeline may request at one time. Only applies to local jobs.
--localvmem=NUMSet max virtual address space in GB for the pipeline. Only applies to local jobs.
--mempercore=NUMReserve 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 in cluster jobmodes.
--maxjobs=NUMSet max jobs submitted to cluster at one time. Only applies in cluster jobmodes.
--jobinterval=NUMSet delay between submitting jobs to cluster, in ms. Only applies in cluster jobmodes.
--overrides=PATHThe path to a JSON file that specifies stage-level overrides for cores and memory. Finer-grained than --localcores, --mempercore and --localmem. Consult the 10x support website for an example override file.
--uiport=PORTServe web UI at http://localhost:PORT
--disable-uiDo not serve the UI.
--noexitKeep web UI running after pipestance completes or fails.
--nopreflightSkip preflight checks.
-h --helpShow this message.
--versionShow version.

Reference preparation tool for 10x Genomics Cell Ranger Multiome ATAC + Gene Expression. Build a reference package from a user-supplied genome FASTA and gene GTF file. Creates a new folder named after the genome. NOTE: Multi-species references are not supported by cellranger-arc. If you construct a multi-species reference and run cellranger-arc count you will not be able to generate all the outputs of the pipeline.

Usage: cellranger-arc mkref --config=PATH [options] mkref -h | --help | --version

OptionDescription
--config(required) Path to configuration file containing additional information about the reference. See online documentation for more details.Path to configuration file containing additional information about the reference. See online documentation for more details.
--nthreads=<num>Number of threads used during STAR genome index generation. Defaults to 1.
--memgb=<num>Maximum memory (GB) used when aligning reads with STAR. Defaults to 16.
--ref-version=<str>Optional reference version string to include with reference.
-h --helpShow this message.
--versionShow version.

Aggregate data from multiple cellranger-arc count runs.

Usage: cellranger-arc aggr [OPTIONS] --id <ID> --reference <PATH> --csv <CSV>

OptionDescription
--id <ID>A unique run id and output folder name [a-zA-Z0-9_-]+ of maximum length 64 characters.
--description <TEXT>Sample description to embed in output files. [default: ]
--reference <PATH>Path to folder containing cellranger-arc-compatible reference. Reference packages can be downloaded from support.10xgenomics.com or constructed using the cellranger-arc mkref command. Note: this reference must match the reference used for the initial cellranger-arc count run.
--csv <CSV>Path to CSV file enumerating 'cellranger-arc count' outputs required for aggregation.
--peaks <BED>Override peak caller: specify peaks to use in downstream analyses from a supplied 3-column BED file. The supplied peaks file must be sorted by position and not contain overlapping peaks; comment lines beginning with # are allowed.
--normalize <MODE>Library depth normalization mode. [default: depth] [possible values: none, depth]
--nosecondaryDisable secondary analysis, e.g., clustering.
--dryDo 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 a path to a .template file. Search for "Cluster Mode" at support.10xgenomics.com for details.
--localcores <NUM>Set the max cores the pipeline may request at one time. Only applies to local jobs.
--localmem <NUM>Set the max GB the pipeline may request at one time. Only applies to local jobs.
--localvmem <NUM>Set the 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. Only applies to cluster jobmodes.
--maxjobs <NUM>Set the max jobs submitted to the cluster at one time. Only applies to cluster jobmodes.
--jobinterval <NUM>Set the delay in milliseconds between submitting jobs to the cluster. Only applies to cluster jobmodes.
--overrides <PATH>The path to a JSON file that specifies stage-level overrides for cores and memory. See https://10xgen.com/resource-override for an example.
--output-dir <PATH>Output the results to this directory.
--uiport <PORT>Serve web UI at http://localhost:PORT.
--disable-uiDo not serve the web UI.
--noexitKeep the web UI running after the pipestance completes or fails.
--nopreflightSkip preflight checks.
-h, --helpPrint help (see a summary with -h).

Re-run secondary analysis (dimensionality reduction, clustering, feature linkage etc.) on a completed cellranger-arc count or cellranger-arc aggr run.

Usage: cellranger-arc reanalyze [OPTIONS] --id <ID> --reference <PATH> --matrix <H5> --atac-fragments <TSV.GZ>

OptionDescription
--id <ID>A unique run id and output folder name [a-zA-Z0-9_-]+ of maximum length 64 characters.
--description <TEXT>Sample description to embed in output files. [default: ]
--reference <PATH>Path to folder containing cellranger-arc-compatible reference. Reference packages can be downloaded from support.10xgenomics.com or constructed using the cellranger-arc mkref command. Note: this reference must match the reference used for the initial cellranger-arc count run.
--matrix <H5>Path to a feature barcode matrix H5 generated by cellranger-arc count or aggr. Use the raw matrix if you intend to subset barcodes, otherwise use the filtered feature barcode matrix.
--atac-fragments <TSV.GZ>Path to the atac_fragments.tsv.gz generated by cellranger-arc count or aggr. Note: it is assumed that the tabix index file atac_fragments.tsv.gz.tbi is present in the same directory.
--params <CSV>Specify key-value pairs in CSV format for analysis.
--barcodes <CSV>Specify barcodes to use in analysis from a text file (one barcode per line) or a CSV file (first column is used).
--min-atac-count <NUM>Cell caller override: define the minimum number of ATAC transposition events in peaks for a cell barcode. Must be specified with --min-gex-count.
--min-gex-count <NUM>Cell caller override: define the minimum number of GEX UMI counts for a cell barcode. Must be specified with --min-atac-count.
--peaks <BED>Override peak caller: specify peaks to use in secondary analyses from a supplied 3-column BED file. The supplied peaks file must be sorted by position and not contain overlapping peaks; comment lines beginning with # are allowed.
--agg <AGGREGATION_CSV>If the input matrix was produced by cellranger-arc aggr, pass the same aggregation CSV to retain per-library tag information in the resulting .cloupe file.
--dryDo 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 a path to a .template file. Search for "Cluster Mode" at support.10xgenomics.com for details.
--localcores <NUM>Set the max cores the pipeline may request at one time. Only applies to local jobs.
--localmem <NUM>Set the max GB the pipeline may request at one time. Only applies to local jobs.
--localvmem <NUM>Set the 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. Only applies to cluster jobmodes.
--maxjobs <NUM>Set the max jobs submitted to the cluster at one time. Only applies to cluster jobmodes.
--jobinterval <NUM>Set the delay in milliseconds between submitting jobs to the cluster. Only applies to cluster jobmodes.
--overrides <PATH>The path to a JSON file that specifies stage-level overrides for cores and memory. See https://10xgen.com/resource-override for an example.
--output-dir <PATH>Output the results to this directory.
--uiport <PORT>Serve web UI at http://localhost:PORT.
--disable-uiDo not serve the web UI.

Run a tiny cellranger-arc count pipeline to verify software integrity.

Usage: cellranger-arc testrun [OPTIONS] --id <ID>

OptionDescription
--id <ID>A unique run id and output folder name [a-zA-Z0-9_-]+ of maximum length 64 characters.
--description <TEXT>Sample description to embed in output files.
--jobmode <MODE>Job manager to use. Valid options: local (default), sge, lsf, slurm or a path to a .template file. See support.10xgenomics.com for details on cluster configuration.
--localcores <NUM>Set the max cores the pipeline may request at one time. Only applies to local jobs.
--localmem <NUM>Set the max GB the pipeline may request at one time. Only applies to local jobs.
--localvmem <NUM>Set the 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 is available. Only applies to cluster jobmodes.
--maxjobs <NUM>Set the max jobs submitted to the cluster at one time. Only applies to cluster jobmodes.
--jobinterval <NUM>Set the delay in milliseconds between submitting jobs to the cluster. Only applies to cluster jobmodes.
--overrides <PATH>The path to a JSON file that specifies stage-level overrides for cores and memory. See https://10xgen.com/resource-override for an example.
--output-dir <PATH>Output the results to this directory.
--uiport <PORT>Serve web UI at http://localhost:PORT.
--disable-uiDo not serve the web UI.
--noexitKeep the web UI running after the pipestance completes or fails.
--nopreflightSkip preflight checks.
-h, --helpPrint help.

Genes GTF tool for 10x Genomics Cell Ranger Multiome ATAC + Gene Expression. Filter user-supplied GTF files for use as Cell Ranger Multiome ATAC + Gene Expression-compatible genes files for mkref tool.

Usage: mkgtf <input_gtf> <output_gtf> [--attribute=KEY:VALUE...] mkgtf -h | --help | --version

ArgumentDescription
input_gtfPath to input genes GTF file.
output_gtfPath to filtered output genes GTF file.
OptionDescription
--attribute=<key:value>Key-value pair in attributes field to be kept in the GTF file.
-h --helpShow this message.
--versionShow version.

The official command-line client for 10x Genomics Cloud Analysis.

You can use txg help [command] for more information on any of the available commands.

Before using the CLI, you will need to authenticate with txg auth setup. See txg help auth for more information, or visit https://support.10xgenomics.com/cloud-analysis

Usage: txg [command]

CommandDescription
analysesManage analyses
annotationCell type annotation functions
authManage authentication
fastqsUpload and manage FASTQs
filesUpload and manage files
helpHelp about any command
projectsManage projects
referencesUpload and manage custom references
FlagDescription
--access-token stringSpecify an access token to use. Default: the saved token from txg auth setup.
-y, --assumeyesAssume yes (don't interactively prompt for confirmation, etc). Default: off.
-H, --header headerExtra header to include in HTTP requests. May be given multiple times. Each header must be of the form 'Header: value'. Default: no extra headers.
-h, --helpDisplay help and exit.
-q, --quietDon't show progress or messages. Default: off.
-v, --verboseDisplay extra debugging information. Default: off.
--versionDisplay version and exit.

Upload analysis logs to 10x Genomics support.

Usage: cellranger-arc upload <your_email> <file>

Collect Linux system configuration information.

Usage: cellranger-arc sitecheck cellranger-arc sitecheck -h | --help | --version

Usage: cellranger-arc telemetry [help] (collect|check|disable|enable|list|show)

For more information about what data is collected and how it's used, visit this page

CommandDescription
collectCollect telemetry data, if enabled.
checkShow whether telemetry is currently enabled and configuration information.
disableDisable telemetry collection for this user.
enableEnable telemetry collection for this user.
listList files containing saved telemetry data for this product.
showDisplay contents of saved telemetry data for this product.