The cellranger count pipeline analyzes Universal 3' and 5' Gene Expression, V(D)J, Flex v1/v2, and Feature Barcode (CRISPR Guide Capture, Antibody Capture, and Antigen Capture) data, including combined 5' Gene Expression and V(D)J libraries. It supports both singleplex and multiplex (3'/5' Sample Multiplexing) experiments.
For libraries from a single GEM well, the pipeline performs alignment, filtering, barcode counting, and UMI counting. For Single Cell Immune Profiling libraries, it also performs V(D)J sequence assembly and paired clonotype calling, using Gene Expression cell calls to improve V(D)J cell calls. From these results, the pipeline generates feature-barcode matrices, identifies clusters, performs gene expression analysis, and provides preliminary cell type annotations.
multi, vdj, and count pipelines into a unified count pipeline.See the Inputs Overview for the full list of inputs.
The [gene-expression], [feature], and [vdj] sections configure their respective parts of the analysis, and the [libraries] section lists the paths to the input FASTQ files. See the Config CSV page for more details.
Run cellranger count with these arguments:
| Argument | Description |
|---|---|
--id | A unique run ID, e.g. sample345. Also used as the output folder name. Maximum 64 characters. |
--config or --csv | Path to the config CSV, which defines the input libraries and analysis parameters. |
For example:
mkdir /home/jdoe/runs
cd /home/jdoe/runs
cellranger count --id=sample345 --csv=/home/jdoe/sample345.csv
--localcores (e.g. --localcores=16) and --localmem (memory in GB).Output is written to a folder named after the run ID (e.g. /home/jdoe/runs/sample345). If that folder already exists, Cell Ranger treats it as an existing pipestance and tries to resume it. To restart from scratch, delete the folder and rerun the pipeline.
A successful run ends with a message similar to this:
Waiting 6 seconds for UI to do final refresh.
Pipestance completed successfully!
yyyy-mm-dd hh:mm:ss Shutting down.
Saving pipestance info to "sample345/sample345.mri.tgz"
For details on the output files, see Cell Ranger Outputs.