Some chromosomes in AnnData are not found in the gtf. In this case, nothing is appended to gene_index and this prevents gene_annotations from being merged into adata.var DataFrame.
I tested this with outputs from CellRanger 2.0 and the matching genes.gtf file.
Some chromosomes in AnnData are not found in the gtf. In this case, nothing is appended to
gene_index
and this preventsgene_annotations
from being merged into adata.var DataFrame.I tested this with outputs from CellRanger 2.0 and the matching genes.gtf file.