Cellranger command for RNA velocity
1
0
Entering edit mode
4 months ago
bioinfo ▴ 10

I am planning to use velocyto to quantify RNA velocity on my samples and I have been doing some reading but I am a bit confused about what the input to velocyto should be. From what I understood I can use the BAM files generated from Cellranger in velocyto and then parse the aligned reads into a spliced and unspliced matrix. However, when generating the BAM files do I need to include --include-introns in the cellranger count command?

Thank you

cellranger Cell velocity RNA Single • 527 views
0
Entering edit mode

Velocyto has generally not worked well for me (high memory useage and long run times). As an alternative I've taken to STARsolo which can additionally output Velocyto-like counts, and as an alternative the alevin-fry RNA-velocity tutorial. Alevin-fry is the scRNA-seq version of Salmon.

0
Entering edit mode
4 months ago

The default settings should be fine as CellRanger will note which reads map to exons and which to introns in the RE tag of the reads in the resulting BAM file (see here)

The naming of the parameter is a bit unfortunate, you can read more about the alignment step here:

Cell Ranger uses an aligner called STAR, which performs splicing-aware alignment of reads to the genome. Cell Ranger then uses the transcript annotation GTF to bucket the reads into exonic, intronic, and intergenic, and by whether the reads align (confidently) to the genome. A read is exonic if at least 50% of it intersects an exon, intronic if it is non-exonic and intersects an intron, and intergenic otherwise.

I think that the --include-introns option mostly makes a difference for the matrix generation of UMI counts, but it's definitely not spelled out well enough to grasp that unless you've read the documentation many times.

To count these intronic reads, the cellranger count and cellranger multi pipelines can be run with the option include-intron

[emphasis mine]

Traffic: 1553 users visited in the last hour
FAQ
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.