morris-lab / BiddyetalWorkflow

This repository contains our CellTag workflow, as deployed in our 2018 Biddy et al., Nature paper.
30 stars 11 forks source link

custom celltag reference for alignment #2

Closed lb15 closed 5 years ago

lb15 commented 5 years ago

Hi! Thanks for the great workflow! For the custom reference used in the cellranger count function, do you add the entire celltag plasmid sequence or only a small portion containing the celltag barcode and perhaps the GFP sequence?

Thanks!

babiddy commented 5 years ago

Hi! Thanks for the feedback! It is not necessary to add the whole plasmid sequence to the reference. For our custom reference, we added the 3' UTR sequence of the CellTag transcript, the GFP Coding Sequence of the CellTag transcript, and the 3' UTR of the FoxA1/HNF4a construct used for reprogramming. Adding these sequences to the reference allowed us to quantify them using cellranger count and includes them as genes in the final gene expression matrix, but is not required for the workflow as we can still extract the CellTag sequences from the data.

Best, Brent

lb15 commented 5 years ago

Hi Brent,

Thanks for your response, that's helpful! I figured that without the 3' UTR sequence with the CellTag transcript added to the reference genome, the celltag reads would be thrown out and not appear in the BAM file? Or are those reads flagged as non-aligned but kept in the file so you can pull them out in the workflow? Thanks for your help!

Sincerely, Lauren

babiddy commented 5 years ago

Hi Lauren,

No problem! From my understanding cellranger outputs all of the reads to the BAM file. This article from 10x explains how all of the unmapped reads can be identified from the cellranger BAM file. Also when extracting the CellTag sequences, we can see that some, but not all of the reads, are mapped to the 3' UTR sequence. With the workflow, we have been able to pull out both mapped and unmapped CellTag reads. I hope this helps!

Best, Brent

lb15 commented 5 years ago

ah, great! thanks for the info!