Cell Ranger6.0, printed on 01/18/2022
The cellranger pipeline outputs an HDF5 file containing per-molecule information for all molecules that contain a valid barcode and valid UMI and were assigned with high confidence to a gene or Feature Barcode. This HDF5 file contains data corresponding to the observed molecules, as well as data about the libraries and feature set(s) used.
The following HDF5 datasets in the molecule info file correspond to columns of a table. Each row of that table corresponds to a unique (UMI, cell-barcode, feature) tuple indicating the feature best supported by the reads (i.e., including PCR duplicates) assigned to that UMI and cell-barcode.
|uint64||A zero-based index into the |
|uint32||Number of reads associated with this putative molecule that were confidently mapped to the assigned feature.|
|uint32||A zero-based index into the feature list (see next section), indicating the feature to which this putative molecule was assigned.|
|uint16||Integer label that distinguishes data coming from distinct 10x GEM reactions (such as different channels or chips).|
|uint16||A zero-based index into the |
|uint32||2-bit encoded (see note below) processed (i.e. corrected) UMI sequence.|
|uint32||A boolean array specifying whether the molecule aligned to an exonic (1) or intronic (0) region of the associated feature.|
In addition, the molecule info file has datasets corresponding to information about the libraries, barcodes, and feature set(s) that were used in the analysis.
At the top level of the HDF5 file hierarchy, the
library_info datasets provide information about the experiments contained in this analysis:
|string||A list of all barcodes that had at least 1 read in this experiment. The |
|string||A JSON-formatted array of objects, where each object contains metadata for a single library. Each library will at a minimum contain the metadata |
The HDF5 group
barcode_info gives information regarding the barcodes that were called as cells during the analysis. This HDF5 group contains two columns
|string||A list of all genome references used for gene expression libraries in this analysis.|
|uint64||A matrix with three columns that contains one row per passing cell-barcode. Each row is a tuple |
The HDF5 group
features contains information regarding the feature reference(s) used for the analysis. The datasets within the
features group represent columns in a table containing one row per feature. Values in the
feature_idx column described in the previous section provide indices into the rows of this hypothetical table.
In addition to the columns described below, user-specified tags may also be present. The dataset
_all_tag_keys contains a list of user-specified tags as well as built-in tags (
|string||The type of feature reference to which this feature belongs (Gene Expression, CRISPR Guide Capture, Antibody Capture, or Custom).|
|string||The genome reference for a given feature (e.g., "GRCh38" or "mm10"). For non-gene expression features, this entry is an empty string.|
|string||The unique id corresponding to this feature (for example, an Ensembl gene ID).|
|string||A human-readable name associated with this feature (for example, the common name associated with a gene).|
|string||[Feature Barcode only] Specifies how to extract the Feature Barcode sequence from the read.|
|string||[Feature Barcode only] Specifies which RNA sequencing read ("R1" or "R2") contains the Feature Barcode.|
|string||[Feature Barcode only] Feature-barcode sequence associated with this feature (e.g., a sgRNA protospacer sequence).|
features group also contains an HDF5 group
target_sets used for Targeted Gene Expression samples. When a target gene panel is present, indices of the target genes are stored inside
target_sets, in an HDF5 dataset named after the target gene panel (e.g., "Human Gene Signature").
(root) ├─ barcode_idx ├─ barcode_info [HDF5 group] │ ├─ genomes │ └─ pass_filter ├─ barcodes ├─ count ├─ feature_idx ├─ features [HDF5 group] │ ├─ _all_tag_keys │ ├─ target_sets [for Targeted Gene Expression] │ │ └─ [target set name] │ ├─ feature_type │ ├─ genome │ ├─ id │ ├─ name │ ├─ pattern [Feature Barcode only] │ ├─ read [Feature Barcode only] │ └─ sequence [Feature Barcode only] ├─ gem_group ├─ library_idx ├─ library_info ├─ metrics_json [HDF5 dataset; see below] └─ umi
Note that the cell-barcode sequences do not have this encoding. Instead, they are stored as plain strings in the
library_info HDF5 group.
metrics_json dataset contains pipeline metrics in JSON format that are used internally by Cell Ranger. users should view metrics using the Cell Ranger metrics outputs.