Question: What genes should I filter using the
mkgtf tool when making a custom reference for Cell Ranger?
Answer: In order to create a custom reference, you will start with a GTF file that contains gene annotations. We recommend filtering the GTF file so that it contains only gene categories of interest by using the
cellranger mkgtf tool. Which genes to filter depends on your research question. The attributes used for filtering in pre-built 10x Genomics references include:
- Protein-coding genes (
- Long intergenic noncoding RNAs (
- Antisense (
- Psuedogenes (
- V(D)J germline genes, for example:
For more information please see Using Custom References.
Note that Cell Ranger does not use reads that map to multiple genes for expression (UMI) counting, so having overlapping genes in your reference will result in ignored reads. From this perspective, your reference should only have a small number of overlapping gene annotations.
Please refer to our step-by-step tutorial on creating a custom reference.