Analyzing Your 10x Chromium Single Cell 3’ scRNA-seq Assay Data

Step 0: Get started with seqspec

To ensure that all data generated at Caltech are standardized and reproducible, we require that every dataset include a seqspec file. A seqspec file provides a machine-readable description of your experiment, specifying the assay information, library structure, and read structure in a YAML-formatted file.

seqspec Tutorials

Step 1: Assess the Quality of Your Sequencing Data with FastQC

If you do not already have FastQC installed, please refer to Installing FastQC.

You can launch the FastQC graphical interface by simply running:

fastqc

Alternatively, you can run FastQC directly from the command line:

fastqc --extract --outdir=outdir somefile.fastq someotherfile.fastq ...

where you list all the FASTQ files you wish to analyze after the fastqc command, and outdir is the directory in which you would like the output files to be stored.

For a detailed tutorial on using FastQC and interpreting the output reports, see our page on Quality Control of Raw Sequencing Data with FastQC.

Step 2: Pseudoalign Your Library Reads with kb-python

Aligning reads from a 10x Genomics Library is relatively straightforward. After generating a reference index with kb ref, pseudoalign your reads to the reference with kb count.

An Example

Here we provide a brief example of how to pseudoalign a 10x library to a reference using kb count. For a more in-depth tutorial, see our page on kb-python.

To pseudoalign your scRNA-seq 10x data, run:

kb count --h5ad -x 10XV3 -g t2g.txt -i index.idx \
  R1.fastq.gz R2.fastq.gz

where index.idx and t2g.txt are files generated by kb ref, and R1.fastq.gz and R2.fastq.gz are your raw paired-end reads. The --h5ad argument outputs an .h5ad file suitable for downstream processing with Scanpy.

If you performed a single-nucleus RNA-seq experiment, instead use the NAC workflow to pseudoalign both nascent and mature reads:

kb count --h5ad -x 10XV3 --workflow=nac -g t2g.txt -i index.idx  \ 
  -c1 cdna.txt -c2 nascent.txt R1.fastq.gz R2.fastq.gz

Here, cdna.txt and nascent.txt are files generated by kb ref --workflow=nac.

Important

This example is specifically for the 10x Chromium Single Cell Next Gem v3 chemistry. For the v4 chemistry, replace the technology string -x 10XV3 with -x 10XV4.

Step 3: Process and Analyze Your Data

Now you are ready to process your data! To continue with downstream analysis, follow our example scRNA-seq workflow.