Closed pcm32 closed 5 years ago
-v gene_ids
means the 1st column "gene_ids" is used as index for the var table, leaving "gene_symbols" as the only column. If -v gene_symbols
is given, the 2nd column "gene_symbols" is used as index and leaving "gene_ids" as the only column. This is the expected behaviour. No information is lost.
Even though
-v gene_ids
is set, the resulting anndata object is ingene_symbols
mode:this produces that our gene symbols on the second column of the genes files don't get incorporated in the anndata object, losing gene symbols.